Tutorials › Real Analysis › The Contrapositive Strategy

Proof Strategy · Tutorial 944 of 1000

The Contrapositive Strategy

Learn to recognize when reversing an implication and negating both parts leads to a clearer proof, and practise the strategy on sequences and uniform continuity.

Advanced 12 min read

What You'll Learn

  • Identify the contrapositive of an implication and distinguish it from the converse
  • Negate universally quantified implications without losing their hypotheses
  • Prove that every Cauchy sequence of real numbers is bounded by the contrapositive strategy
  • Recognize uniform continuity through pairs of sequences whose distances tend to zero
  • Use the sequential criterion to test uniform continuity on unbounded domains

Change the Route Without Changing the Claim

In “The Direct Proof Strategy,” the proof began by assuming the hypotheses of an implication and deriving its conclusion. Sometimes that route is awkward: the conclusion may be easier to establish after changing what is assumed and what must be shown. The contrapositive makes that change without changing the logical content of the claim.

For an implication “if \(P\), then \(Q\),” its contrapositive is “if not \(Q\), then not \(P\).” These statements are logically equivalent. A contrapositive proof therefore establishes the original implication, but it starts from the failure of the conclusion and aims to rule out the hypothesis. This can be useful when the negation of the conclusion gives a concrete condition to work with.

Definition (Contrapositive strategy): To prove an implication \(P\Rightarrow Q\), prove its contrapositive \(\neg Q\Rightarrow\neg P\). For a universally quantified implication, fix an arbitrary object in the stated domain and prove the contrapositive for that object.

The contrapositive is not the converse. The converse of “if \(P\), then \(Q\)” is “if \(Q\), then \(P\),” and it need not be true. Nor is a contrapositive proof the same as simply assuming the original hypothesis and conclusion are both false. The assumptions and target must be negated and exchanged in the correct way.

Theorem (Equivalence of an Implication and Its Contrapositive): For any propositions \(P\) and \(Q\), \(P\Rightarrow Q\) is true if and only if \(\neg Q\Rightarrow\neg P\) is true.

Proof. Suppose first that \(P\Rightarrow Q\) is true. To prove \(\neg Q\Rightarrow\neg P\), assume \(\neg Q\). If \(P\) were true, the implication \(P\Rightarrow Q\) would make \(Q\) true, contrary to \(\neg Q\). Thus \(P\) is false, so \(\neg P\) holds. This proves the contrapositive.

Conversely, suppose \(\neg Q\Rightarrow\neg P\) is true. Assume \(P\). We show that \(Q\) must hold. If \(Q\) were false, then \(\neg Q\) would hold, and the assumed contrapositive would give \(\neg P\), contradicting \(P\). Therefore \(Q\) holds, which proves \(P\Rightarrow Q\). The two implications are equivalent. \(\square\)

For a statement quantified over a domain, the same equivalence applies to each fixed object. A careful proof therefore begins by fixing an arbitrary object, then negating the conditional’s conclusion and hypothesis. For example, the negation of “for every \(x\in A\), if \(P(x)\), then \(Q(x)\)” is “there exists \(x\in A\) such that \(P(x)\) holds and \(Q(x)\) fails.” This is the Negating a Universal Implication result from “How to Recognize a Proof Strategy.”

1
Write the implication precisely.
Identify its hypothesis, conclusion, and the domain of any arbitrary object.
2
Form the contrapositive.
Negate the conclusion to obtain the new assumption, and negate the hypothesis to obtain the new target.
3
Check the route.
Ask whether the new assumption gives useful definitions, bounds, or witnesses that lead to the new target.
4
State the logical conclusion.
Once the contrapositive is proved, explicitly invoke its equivalence to the original implication.

Worked Examples: Finding a Useful Contrapositive

Worked Example: An Implication About a Real Number

Consider the claim: for every real \(x\), if \(x^2<9\), then \(|x|<3\). Its contrapositive is: if \(|x|\geq3\), then \(x^2\geq9\). This reverses the original route: instead of starting with an upper bound on \(x^2\), we start with a lower bound on \(|x|\).

Assume \(|x|\geq3\). Both sides are nonnegative, so squaring preserves the inequality and gives

$$ x^2=|x|^2\geq3^2=9. $$

Thus the contrapositive holds, and so does the original implication. The converse would be “if \(|x|<3\), then \(x^2<9\),” which happens to be true as well, but it is not the contrapositive used in this proof. The hypotheses and conclusions must be negated and exchanged, not merely swapped.

A common reason to use this strategy is that “not bounded” or “not Cauchy” can be expressed in terms of failure of a definition. In the next result, the contrapositive turns an assumption of unboundedness into a direct way to violate the Cauchy condition.

Theorem (Every Cauchy Sequence of Real Numbers Is Bounded): If a sequence \((a_n)\) of real numbers is Cauchy, then it is bounded.

Proof. We prove the contrapositive: if \((a_n)\) is unbounded, then it is not Cauchy. Since the sequence is unbounded, every tail is unbounded. Indeed, if some tail \((a_n)_{n\geq N}\) were bounded, then the finitely many terms \(a_1,\ldots,a_{N-1}\) would also be bounded, and together these bounds would bound the entire sequence.

Fix any positive integer \(N\). The tail beginning at \(N\) is unbounded, so there is an index \(m\geq N\) such that \(|a_m|>|a_N|+1\). The triangle inequality implies

$$ |a_m-a_N|\geq |a_m|-|a_N|>1. $$

Consequently, for every \(N\), there are indices \(m,N\geq N\) whose terms are more than \(1\) apart. The Cauchy condition fails with tolerance \(1\): there is no stage after which every pair of terms is within \(1\) of one another. Thus an unbounded sequence is not Cauchy. By equivalence with its contrapositive, every Cauchy sequence is bounded. \(\square\)

Worked Example: Showing That the Sequence of Integers Is Not Cauchy

Let \(a_n=n\). We can show directly through the contrapositive theorem that this sequence is not Cauchy: it is unbounded, since for any real bound \(M\), choosing an integer \(n>M\) gives \(|a_n|=n>M\). The theorem then implies that \((a_n)\) is not Cauchy.

The definition also shows exactly where the Cauchy condition fails. Given any positive integer \(N\), choose \(m=N+1\) and \(n=N\). Both indices are at least \(N\), but

$$ |a_m-a_n|=|(N+1)-N|=1. $$

For the Cauchy condition with tolerance \(\varepsilon=1/2\), these terms are not within the required distance. Since this happens after every proposed stage \(N\), no stage satisfies the condition. The theorem supplies a general route from unboundedness to failure of the Cauchy property; the calculation verifies that failure explicitly here.

A Sequential Test for Uniform Continuity

For functions, a contrapositive argument can expose a failure of uniform continuity as a pair of sequences. Uniform continuity requires one input distance to work throughout the domain. Its failure therefore gives pairs of inputs that become arbitrarily close while their function values remain separated by a fixed positive amount.

Theorem (Sequential Criterion for Uniform Continuity): Let \(A\subseteq\mathbb{R}\) and \(f:A\to\mathbb{R}\). The function \(f\) is uniformly continuous on \(A\) if and only if, for every pair of sequences \((x_n)\) and \((y_n)\) in \(A\) with \(|x_n-y_n|\to0\), one has \(|f(x_n)-f(y_n)|\to0\).

Proof. First suppose \(f\) is uniformly continuous. Let \((x_n)\) and \((y_n)\) be sequences in \(A\) such that \(|x_n-y_n|\to0\). Given \(\varepsilon>0\), uniform continuity supplies a \(\delta>0\) such that, for all \(x,y\in A\), if \(|x-y|<\delta\), then \(|f(x)-f(y)|<\varepsilon\). Since \(|x_n-y_n|\to0\), there is an \(N\) such that \(n\geq N\) implies \(|x_n-y_n|<\delta\). Hence \(n\geq N\) implies \(|f(x_n)-f(y_n)|<\varepsilon\), as required.

For the converse, we prove the contrapositive. Suppose \(f\) is not uniformly continuous on \(A\). Negating the definition of uniform continuity gives an \(\varepsilon_0>0\) such that for every \(\delta>0\), there are \(x,y\in A\) with \(|x-y|<\delta\) but \(|f(x)-f(y)|\geq\varepsilon_0\). For each positive integer \(n\), apply this statement with \(\delta=1/n\), and choose \(x_n,y_n\in A\) such that

$$ |x_n-y_n|<\frac{1}{n} \qquad\text{and}\qquad |f(x_n)-f(y_n)|\geq\varepsilon_0. $$

The first inequality shows that \(|x_n-y_n|\to0\). The second shows that \(|f(x_n)-f(y_n)|\) does not tend to zero, since it is never less than the fixed positive number \(\varepsilon_0\). Thus failure of uniform continuity produces sequences that violate the stated sequence property. By the contrapositive, if the sequence property holds, \(f\) is uniformly continuous. \(\square\)

Worked Example: The Square Function Is Not Uniformly Continuous on the Real Line

Let \(f(x)=x^2\) on \(\mathbb{R}\). For each positive integer \(n\), choose \(x_n=n\) and \(y_n=n+1/n\). The inputs become close because

$$ |x_n-y_n|=\left|n-\left(n+\frac{1}{n}\right)\right|=\frac{1}{n}\longrightarrow0. $$

But the difference between the function values is

$$ |f(y_n)-f(x_n)| =\left(n+\frac{1}{n}\right)^2-n^2 =n^2+2+\frac{1}{n^2}-n^2 =2+\frac{1}{n^2}\geq2. $$

The output differences do not tend to zero. The Sequential Criterion therefore shows that \(f\) is not uniformly continuous on \(\mathbb{R}\). The pairs are chosen to make the input difference small while allowing the size of the inputs to grow; this reveals why a single uniform input tolerance cannot control the output everywhere.

When the Contrapositive Helps—and What to Check

The strategy is most useful when the negation of the conclusion has a workable definition or gives a concrete witness. Unboundedness, failure of a limit, and failure of uniform continuity all provide such information. In the uniform-continuity theorem, the negated definition supplies an \(\varepsilon_0\) and pairs of points for every proposed \(\delta\); choosing \(\delta=1/n\) converts those witnesses into sequences.

A contrapositive proof still needs the same care as a direct proof. Check that each negation is correct, including the order of quantifiers. For instance, “for every \(\varepsilon>0\), there exists \(\delta>0\)” becomes “there exists \(\varepsilon_0>0\) such that for every \(\delta>0\)” when negated. Reversing that order would describe a different claim.

Also check the distinction between “less than” and “less than or equal to” when negating inequalities. The negation of \(|u|<\varepsilon\) is \(|u|\geq\varepsilon\), not \(|u|>\varepsilon\). Finally, once the contrapositive has been proved, say that it establishes the original implication. That final link makes the proof’s logical structure explicit.

Check Your Understanding

For each question, identify the logical transformation or the key estimate used in the argument.

  1. What is the contrapositive of “if \(P\), then \(Q\),” and how does it differ from the converse?
  2. Why is every tail of an unbounded real sequence unbounded?
  3. In the proof that a Cauchy sequence is bounded, why does finding terms more than \(1\) apart after every stage show that the sequence is not Cauchy?
  4. What quantifier pattern results from negating the definition of uniform continuity?
  5. For \(f(x)=x^2\) on \(\mathbb{R}\), why do the pairs \(x_n=n\) and \(y_n=n+1/n\) disprove uniform continuity?