2. Proof by Contrapositive0%

Methods of Proof · Topic 2 of 5

2. Proof by Contrapositive

Video coming soon2 worked examples

Theory

To prove “if PP then QQ”, it is sometimes easier to prove the logically equivalent contrapositive: “if not QQ then not PP”. The two statements are always true or false together.

(PQ)(¬Q¬P)(P \Rightarrow Q) \quad\equiv\quad (\lnot Q \Rightarrow \lnot P)

The Golden Rule: the contrapositive negates and swaps the two parts. It is not the converse “if QQ then PP”, which is not equivalent.

⚠️ Common Examiner Traps

  • Contrapositive vs converse: the converse QPQ \Rightarrow P is a different statement — do not prove that instead.
  • Negating carelessly: the negation of “even” is “odd”; make sure the negations are exact.
  • Stopping early: once the contrapositive is proved, state that the original statement therefore holds.

Worked examples

Example 1

Prove, by contrapositive, that for any integer nn, if n2n^2 is even then nn is even.

Step 1: The contrapositive is: “if nn is odd then n2n^2 is odd”. Assume nn is odd, so n=2k+1n = 2k+1.

Step 2: Square it:

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

Step 3: This is of the form 2×integer+12 \times \text{integer} + 1, so n2n^2 is odd. The contrapositive holds, so the original statement is true.

Example 2

Prove, by contrapositive, that for any integer nn, if 3n+23n + 2 is odd then nn is odd.

Step 1: The contrapositive is: “if nn is even then 3n+23n + 2 is even”. Assume nn is even, so n=2kn = 2k.

Step 2: Substitute:

3n+2=3(2k)+2=6k+2=2(3k+1)3n + 2 = 3(2k) + 2 = 6k + 2 = 2(3k + 1)

Step 3: This is even. The contrapositive holds, so the original statement is true.