AxoPrep

Mathematics: Analysis and Approaches

AHL 1.15 Proof by induction, contradiction and counterexample

Induction proves statements for every natural number, contradiction proves a claim by showing its opposite is impossible, and a single counterexample disproves a general claim. Study guide, 1 practice questions with markschemes and 2 flashcards. Free.

Steps of mathematical induction · Induction for series, divisibility and derivatives · Proof by contradiction (e.g. irrationality) · Disproof by counterexample · Writing a rigorous conclusion

Practise all 1 questions Study 2 flashcards

Study guide

Why proof matters

Checking a statement for many examples does not prove it. The expression \(n^2 + n + 41\) gives a prime for every \(n\) from 0 to 39, yet at \(n = 40\) it equals \(1681 = 41^2\). HL Paper 1 and 2 expect three tools to settle such questions rigorously.

Proof by induction

Think of an infinite line of dominoes. To knock all of them down you need two facts: the first one falls, and each falling domino knocks over the next. Induction has the same structure.

  1. Basis: show the statement \(P(n)\) is true for the first value (often \(n = 1\)).
  2. Assumption: assume \(P(k)\) is true for some integer \(k \ge 1\).
  3. Inductive step: using that assumption, prove \(P(k + 1)\).
  4. Conclusion: since \(P(1)\) is true, and \(P(k)\) true implies \(P(k + 1)\) true, \(P(n)\) is true for all \(n \in \mathbb{Z}^+\).

Worked example: a series

Prove that \(\sum_{r=1}^{n} (2r - 1) = n^2\) for all positive integers \(n\).

Divisibility. To show \(5^n - 1\) is divisible by 4: the basis is \(5 - 1 = 4\). Assume \(5^k - 1 = 4m\) for an integer \(m\). Then \(5^{k+1} - 1 = 5 \cdot 5^k - 1 = 5(5^k - 1) + 4 = 20m + 4 = 4(5m + 1)\), a multiple of 4. The key move is to rewrite the \((k+1)\) case so the assumed expression appears inside it.

Derivatives. Induction can also prove formulas such as \(\frac{d^n}{dx^n}(x e^x) = (x + n)e^x\): differentiate the assumed \(k\)th derivative once to get the \((k+1)\)th.

Proof by contradiction

Assume the opposite of what you want, then reason until something impossible appears. The assumption must be false.

Classic example: \(\sqrt{2}\) is irrational. Suppose \(\sqrt{2} = \frac{p}{q}\) in lowest terms. Then \(p^2 = 2q^2\), so \(p^2\) is even and therefore \(p\) is even, say \(p = 2s\). Then \(4s^2 = 2q^2\), so \(q^2 = 2s^2\) and \(q\) is even too. But then \(\frac{p}{q}\) was not in lowest terms: contradiction. Hence \(\sqrt{2}\) is irrational.

Disproof by counterexample

To show a statement "for all \(x\)..." is false, one specific case where it fails is enough. Claim: "\(2^n + 1\) is prime for all positive integers \(n\)." Counterexample: \(n = 3\) gives 9, which is not prime. State the counterexample clearly and show the calculation.

Common mistakes

Exam tips

Cheat sheet

Induction template

  1. Show \(P(1)\) true.
  2. Assume \(P(k)\) true, \(k \in \mathbb{Z}^+\).
  3. Prove \(P(k+1)\) using the assumption.
  4. "Since \(P(1)\) is true and \(P(k) \Rightarrow P(k+1)\), \(P(n)\) is true for all \(n \in \mathbb{Z}^+\)."

Useful moves

Contradiction: assume \(\neg P\), reach an impossibility, conclude \(P\).
Counterexample: one explicit failing case disproves "for all".

Key definitions

Mathematical induction

A proof method that establishes a statement for all integers \(n \ge n_0\) via a basis case and an inductive step.

Basis step

Showing the statement holds for the first value of \(n\).

Inductive step

Showing that if the statement holds for \(n = k\) then it holds for \(n = k + 1\).

Inductive hypothesis

The assumption that the statement is true for \(n = k\).

Proof by contradiction

Assuming the negation of a statement and deducing something impossible.

Counterexample

A single case showing that a general statement is false.

Irrational number

A real number that cannot be written as \(p/q\) with integers \(p, q\) and \(q \ne 0\).

Practice questions

HLPaper 1Challenging

Question 1

Use mathematical induction to prove that \(7^n - 3^n\) is divisible by 4 for all \(n \in \mathbb{Z}^+\).

(a) [7]

Prove the statement by mathematical induction.

Markscheme
  • 1 Base case: \(n = 1\) gives \(7 - 3 = 4\), which is divisible by 4
  • 1 Assumes true for \(n = k\): \(7^k - 3^k = 4m\) for some \(m \in \mathbb{Z}\)
  • 1 Considers \(n = k + 1\): \(7^{k+1} - 3^{k+1}\)
  • 1 Splits correctly, e.g. \(7 \cdot 7^k - 3 \cdot 3^k = 7(7^k - 3^k) + 4 \cdot 3^k\)
  • 1 Uses assumption: \(= 28m + 4 \cdot 3^k = 4(7m + 3^k)\)
  • 1 States this is divisible by 4
  • 1 Conclusion: true for \(n = 1\), and true for \(n = k\) implies true for \(n = k + 1\), so true for all \(n \in \mathbb{Z}^+\)

Key facts

The structure of a proof by mathematical induction
  1. Prove the base case. 2) Assume true for \(n = k\). 3) Prove true for \(n = k + 1\) using the assumption. 4) Write the conclusion sentence.
What is enough to disprove a statement 'for all \(n\)'?

A single counterexample. E.g. \(n^2 + n + 11\) is prime for all \(n\)? False: \(n = 10\) gives \(121 = 11^2\).