← Logic for the TMUA

Proof by Contradiction

What you'll get from this section. Starting from the contrapositive you already know, you'll build up to proof by contradiction — one of the most powerful tools in mathematics. You'll learn the recipe, see it on the classic example, and learn to tell it apart from proof by contrapositive.

Starting from the contrapositive

From Section 4: to prove PQP \Rightarrow Q, you may instead prove its contrapositive ¬Q¬P\neg Q \Rightarrow \neg P — assume ¬Q\neg Q and deduce ¬P\neg P. This is proof by contrapositive.

Here it is in action. Suppose we want to prove:

If n2n^2 is even, then nn is even.

The contrapositive is "if nn is odd, then n2n^2 is odd". So assume nn is odd and write n=2k+1n = 2k + 1. Then

n2=(2k+1)2=4k2+4k+1=2(2k2+2k)+1,n^2 = (2k+1)^2 = 4k^2 + 4k + 1 = 2\big(2k^2 + 2k\big) + 1,

which is odd. We've proved the contrapositive, so the original statement holds.

From contrapositive to contradiction

Look closely at what just happened. When we prove PQP \Rightarrow Q, we are entitled to assume PP — it's the hypothesis. In the argument above we assumed ¬Q\neg Q and reached ¬P\neg P. But PP was supposed to be true. So we'd be holding PP and ¬P\neg P at once — an impossibility.

That suggests a slightly different way to run the same argument. Instead of quietly proving the contrapositive, assume the thing you want to prove is false, and chase that assumption until it forces something impossible. The only way an implication PQP \Rightarrow Q can be false is for PP to hold while QQ fails — so we suppose exactly that, PP and ¬Q\neg Q together, and look for the impossibility.

Recast our example this way:

Suppose, for contradiction, that n2n^2 is even but nn is odd. Since nn is odd, n2n^2 is odd (as above). But n2n^2 is even. So n2n^2 is both even and odd — impossible. Hence no such nn exists, and the statement holds.

Same mathematics, dressed as a contradiction. That "reach an impossibility" move is the whole idea.

The method in general

Proof by contradiction is not limited to implications. To prove any statement SS:

  1. Assume ¬S\neg S — that SS is false.
  2. Reason validly from that assumption.
  3. Arrive at a contradiction — typically some statement RR together with its negation ¬R\neg R, or a clash with a known fact.
  4. Since assuming ¬S\neg S led to the impossible, ¬S\neg S cannot hold. Therefore SS is true.

The power of the method is that step 1 hands you an extra assumption to work with, and you only need to reach one absurdity to win.

The classic: √2 is irrational

This is the proof everyone meets, and it isn't about an implication at all — which is exactly why it shows the method's reach.

Suppose, for contradiction, that 2\sqrt{2} is rational. Then we may write

2=ab\sqrt{2} = \frac{a}{b}

where aa and bb are integers with no common factor (the fraction is in lowest terms) and b0b \neq 0. Squaring both sides,

2=a2b2,soa2=2b2.2 = \frac{a^2}{b^2}, \qquad \text{so} \qquad a^2 = 2b^2.

Then a2a^2 is even, and so — by the lemma we proved above — aa is even. Write a=2ka = 2k:

(2k)2=2b2    4k2=2b2    b2=2k2,(2k)^2 = 2b^2 \;\Rightarrow\; 4k^2 = 2b^2 \;\Rightarrow\; b^2 = 2k^2,

so b2b^2 is even, and therefore bb is even too. But now aa and bb are both even, so they share a factor of 22 — contradicting our choice of a fraction in lowest terms.

The assumption that 2\sqrt{2} is rational is therefore untenable, so 2\sqrt{2} is irrational. ∎

Notice the teamwork: the contradiction proof leans on the lemma "a2a^2 even a\Rightarrow a even", which we ourselves proved by contrapositive. (Euclid's proof that there are infinitely many primes is another famous argument of the same shape.)

Contrapositive or contradiction?

They're close cousins, but worth keeping apart:

  • Proof by contrapositive works only on an implication PQP \Rightarrow Q. You assume ¬Q\neg Q, deduce ¬P\neg P, and you're done — there's no "absurdity", just a clean deduction that lands on ¬P\neg P.
  • Proof by contradiction works on any statement. You assume the statement is false and derive an impossibility.

For an implication the two run almost in parallel — a contradiction proof of PQP \Rightarrow Q assumes PP and ¬Q\neg Q and often retraces the very steps of the contrapositive until PP and ¬P\neg P collide. But contradiction is the more general weapon: it can prove things, like the irrationality of 2\sqrt{2}, that aren't implications at all.

Common mistakes

1. Never actually reaching a contradiction. The argument only works if you hit something genuinely impossible — a statement and its negation, or a clash with a known fact. "Surprising" isn't enough.

2. Assuming too little for an implication. To prove PQP \Rightarrow Q by contradiction, assume both PP and ¬Q\neg Q — that is the full statement of "the implication is false". Assuming only ¬Q\neg Q is the contrapositive setup, and then you should be deducing ¬P\neg P, not hunting a contradiction.

3. Negating the claim wrongly at the start. Step 1 is "assume ¬S\neg S", so SS must be negated correctly — use the rules from Section 3.

Summary

  • Proof by contrapositive: to prove PQP \Rightarrow Q, assume ¬Q\neg Q and deduce ¬P\neg P.
  • Proof by contradiction: to prove any statement SS, assume ¬S\neg S and derive an impossibility.
  • For an implication the two are close kin; contradiction is the more general tool.
  • The classic worked example is the irrationality of 2\sqrt{2}, which itself reuses a contrapositive lemma.

Next: Section 6 — Equivalence.