Skip to content
IB Diploma ProgrammeSL & HL

Proof by induction and contradiction

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Proof by induction and contradiction notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Proof by induction and contradiction notes as text: skim, search, and jump between subtopics.

~12 min read

1. Proof by induction: the four steps

Proof by mathematical induction shows that a statement is true for every positive integer n. The syllabus links it to sums of sequences, divisibility, complex numbers and differentiation; the May 2025 paper used it for an inequality.

There are four steps. Show that the statement is true for n=1. Then assume true for n=k, which means the statement P_k is taken as true. Next, use that assumption to show the statement is true for n=k+1. Finish with a sentence that links the steps: if true for n=k then true for n=k+1, and as true for n=1, true for all n∈Z⁺.

For a sum, the sum to k+1 terms is the sum to k terms plus the (k+1)th term. Replace the sum to k terms using the assumption, then simplify to the required form with k+1 in place of n.

S_k+1 = S_k + (term k+1)

true for n=1 and (P_k true ⇒ P_k+1 true) so true for all n ∈ Z⁺

Worked example 15 marks

Prove by mathematical induction that 1 + 3 + 5 + ⋯ + (2n-1) = n² for n ∈ Z⁺.

  1. 1

    for n=1: LHS =1 and RHS =1²=1, so true for n=1 (A1) [1]

  2. 2

    assume true for n=k, that is 1+3+⋯+(2k-1)=k² (M1) [1]

  3. 3

    for n=k+1 the sum is k² + (2(k+1)-1) = k²+2k+1 (M1) [1]

  4. 4

    k²+2k+1=(k+1)², which is the statement with n=k+1 (A1) [1]

  5. 5

    true for n=1, and if true for n=k then true for n=k+1, so true for all n∈Z⁺ (R1) [1]

2. Induction for divisibility

To prove that an expression is divisible by a number, write the assumption as an equation with a whole-number multiple. If 7^(k)-1 is divisible by 6, then 7^(k)-1=6m for some integer m.

Rearrange the assumption so that the power on its own is the subject: 7^(k)=6m+1. Then write the expression for n=k+1 using the power 7^(k+1)=7× 7^(k), and substitute.

The aim is to reach 6×(an integer). State that it is a multiple of 6 before the final sentence.

assume f(k) = N m, m ∈ Z

show f(k+1) = N × (an integer)

Worked example 15 marks

Prove by mathematical induction that 7ⁿ - 1 is divisible by 6 for n ∈ Z⁺.

  1. 1

    for n=1: 7¹-1=6, which is divisible by 6 (A1) [1]

  2. 2

    assume true for n=k: 7^(k)-1=6m for some m∈Z, so 7^(k)=6m+1 (M1) [1]

  3. 3

    7^(k+1)-1 = 7× 7^(k) - 1 = 7(6m+1)-1 (M1) [1]

  4. 4

    =42m+6=6(7m+1), a multiple of 6 since 7m+1∈Z (A1) [1]

  5. 5

    true for n=1, and if true for n=k then true for n=k+1, so true for all n∈Z⁺ (R1) [1]

3. Induction for inequalities

For an inequality, the assumption is an inequality such as k>log₂ k. Work from the left-hand side of the statement for n=k+1, use the assumption to replace part of it, then use a result from an earlier part, here 1+log₂ k ≥ log₂(k+1).

The mark scheme asks for a clear assumption of truth. Statements such as "let n=k" or "assume n=k is true" earn no mark. "Assume P_k true" is accepted. The final reasoning mark is awarded only if the three marks before it have been awarded.

k > log₂ k ⇒ 1+k > 1+log₂ k

1 + log₂ k ≥ log₂ (k+1)

Worked example 17 marks

Seema claims that n > log₂ n for n ∈ Z⁺.

(a) Show that 1 + log₂ n ≥ log₂(n + 1) for n ∈ Z⁺. [2]

(b) Use mathematical induction and the result from part(a) to prove that Seema's claim is valid. [5]

  1. 1

    (a) 1+log₂ n = log₂ 2 + log₂ n = log₂(2n) (A1) [1]

  2. 2

    2n ≥ n+1 for n∈Z⁺, and log₂ x is an increasing function, so log₂(2n)≥log₂(n+1) (R1) (AG) [1]

  3. 3

    (b) for n=1: log₂ 1=0 and 1>0, so true for n=1 (R1) [1]

  4. 4

    assume true for n=k, that is k>log₂ k (M1) [1]

  5. 5

    hence 1+k > 1+log₂ k (using the assumption) (M1) [1]

  6. 6

    ≥ log₂(k+1) (using the result from part (a)) (A1) [1]

  7. 7

    if true for n=k then true for n=k+1, and as true for n=1, true for all n∈Z⁺ (R1) [1]

4. Proof by contradiction

Proof by contradiction assumes the statement is false and reasons correctly until two facts disagree, so the statement is true. The syllabus examples include √3, the cube root of 5 and Euclid's proof of an infinite number of primes.

To prove a number is irrational, assume it is rational. A rational number can be written p/q with p and q integers that have no common factor, and q≠0. For √3, the contradiction is that p and q do have a common factor.

Worked example 15 marks

Prove by contradiction that √3 is irrational.

  1. 1

    assume √3 is rational, so √3=()/pq with p,q∈Z, q≠0, and p and q have no common factor (M1) [1]

  2. 2

    square both sides: 3q²=p², so p² is a multiple of 3 (M1) [1]

  3. 3

    3 is prime, so p is a multiple of 3. Write p=3m (A1) [1]

  4. 4

    then 3q²=9m², so q²=3m² and q is also a multiple of 3 (A1) [1]

  5. 5

    p and q have a common factor 3. This contradicts the assumption, so √3 is irrational (R1) [1]

5. Contradiction with a rational and an irrational number

A rational number plus an irrational number is irrational. Prove it by assuming the sum is rational.

Let a be rational and b irrational. Assume a+b is rational. Write a and a+b as fractions of integers. Then subtract: b=(a+b)-a is a difference of two rational numbers.

A difference of two fractions of integers is again a fraction of integers. So b is rational. This contradicts b being irrational.

a=()/mn, a+b=()/pq ⇒ b=()/pq-()/mn=(pn-mq)/qn

Worked example 15 marks

Prove by contradiction that if a is a rational number and b is an irrational number, then a+b is an irrational number.

  1. 1

    assume a+b is rational (M1) [1]

  2. 2

    write a=()/mn and a+b=()/pq with m,n,p,q∈Z and n,q≠0 (M1) [1]

  3. 3

    b=()/pq-()/mn=(pn-mq)/qn (A1) [1]

  4. 4

    pn-mq and qn are integers and qn≠0, so b is rational. This contradicts b being irrational (R1) [1]

  5. 5

    the assumption is false, so a+b is irrational (R1) [1]

6. A counterexample

To show that a statement is not always true, find one case where it fails. This case is a counterexample. One counterexample is enough.

Stating the counterexample alone is not sufficient. Explain why the example is a counterexample: show that it meets the conditions of the statement and that the claimed result does not hold.

For the statement "there are no positive integer solutions to x²+y²=10", the values x=1 and y=3 are positive integers and 1²+3²=10. So the statement is false.

a statement for all n is false if it fails for one n

Worked example 14 marks

Consider the set P of numbers of the form n²+41n+41, n∈N. Show that not all elements of P are prime.

  1. 1

    choose n=41, which is in N (M1) [1]

  2. 2

    41²+41×41+41=41(41+41+1)=41×83=3403 (A1) [1]

  3. 3

    3403 has factors 41 and 83 other than 1 and itself, so 3403 is not prime (R1) [1]

  4. 4

    so n=41 is a counterexample: not all elements of P are prime (R1) [1]

Recap

  • Induction has four steps: true for n=1, assume true for n=k, show true for n=k+1, then conclude.
  • For a sum, add the (k+1)th term to the assumed sum to k terms.
  • For divisibility, write the assumption as f(k)=Nm and reach N×(an integer).
  • For an inequality, apply the assumption, then a known result, and keep the sign direction.
  • Contradiction: assume the opposite, reason to two facts that disagree, then state the original is true.
  • A rational number can be written ()/pq with p,q integers, no common factor and q≠0.
  • A counterexample must be explained: show why it meets the conditions and why the claim fails.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State the value of n checked first in a proof by induction that a statement is true for all n∈Z⁺.1 mark
    Answer
    1. n=1 (A1).

    Trap: The statement is for positive integers, so n=0 is not in the set. Start at n=1.

  2. Do not use a calculator. Outline the first step of a proof by contradiction that √2 is irrational.2 marks
    Answer
    1. assume the opposite, that √2 is rational (M1).
    2. √2=()/pq with p,q integers, q≠0 and no common factor (A1).

    Trap: Assuming √2 is irrational assumes the result. The first step takes the opposite.

  3. Do not use a calculator. Show that the statement "x²>x for all real x" is false.2 marks
    Answer
    1. choose x=1: x²=1 and x=1 (M1).
    2. 1>1 is not true, so x=1 is a counterexample and the statement is not always true (R1).

    Trap: Choosing x=2 gives 4>2, which agrees with the statement. A counterexample must make the statement fail, and the reason must be written.

  4. Do not use a calculator. Sam claims that n²-n+11 is prime for every positive integer n. Show that Sam is wrong.3 marks
    Answer
    1. choose n=11 (M1).
    2. 11²-11+11=121=11×11 (A1).
    3. 121 has the factor 11, so it is not prime. n=11 is a counterexample (R1).

    Trap: Stating "n=11" with no working is not sufficient. Explain why 121 is not prime.

  5. Do not use a calculator. Given that √2 is irrational, prove by contradiction that 3√2 is irrational.4 marks
    Answer
    1. assume 3√2 is rational, so 3√2=()/pq with p,q∈Z, q≠0 (M1).
    2. √2=p/3q (A1).
    3. p and 3q are integers and 3q≠0, so √2 is rational (R1).
    4. this contradicts √2 being irrational, so 3√2 is irrational (R1).

    Trap: Stopping at √2=()/p3q proves nothing. Say it is a ratio of integers, and what it contradicts.

  6. Prove by mathematical induction that 2+4+6+⋯+2n=n(n+1) for n∈Z⁺.5 marks
    Answer
    1. n=1: LHS =2 and RHS =1×2=2, so true (A1).
    2. assume true for n=k: 2+4+⋯+2k=k(k+1) (M1).
    3. for n=k+1: sum =k(k+1)+2(k+1) (M1).
    4. =(k+1)(k+2)=(k+1)((k+1)+1) (A1).
    5. true for n=1, and if true for n=k then true for n=k+1, so true for all n∈Z⁺ (R1).

    Trap: The new term is 2(k+1), not 2k. Substitute n=k+1 into the general term.

  7. Do not use a calculator. Prove by mathematical induction that 5ⁿ+3 is divisible by 4 for n∈Z⁺.5 marks
    Answer
    1. n=1: 5+3=8=4×2, so true (A1).
    2. assume true for n=k: 5^(k)+3=4m, so 5^(k)=4m-3 (M1).
    3. 5^(k+1)+3=5(4m-3)+3 (M1).
    4. =20m-12=4(5m-3), a multiple of 4 (A1).
    5. true for n=1, and if true for n=k then true for n=k+1, so true for all n∈Z⁺ (R1).

    Trap: Multiplying 5^(k)+3 by 5 gives 5^(k+1)+15, not 5^(k+1)+3. Make 5^(k) the subject first.

  8. Do not use a calculator. Prove by mathematical induction that 2ⁿ≥ n+1 for n∈Z⁺.5 marks
    Answer
    1. n=1: 2¹=2 and 1+1=2, so 2≥2 is true (A1).
    2. assume true for n=k: 2^(k)≥ k+1 (M1).
    3. 2^(k+1)=2×2^(k)≥2(k+1)=2k+2 (M1).
    4. 2k+2≥ k+2 since k>0 (A1).
    5. true for n=1, and if true for n=k then true for n=k+1, so true for all n∈Z⁺ (R1).

    Trap: Writing 2^(k+1)=2^(k)+2 is a slip. 2^(k+1)=2×2^(k).

  9. (a) Show that 2k² ≥ (k+1)² for k ≥ 3. [2] (b) Hence, prove by mathematical induction that 2ⁿ > n² for all integers n ≥ 5. [5]7 marks
    Answer
    1. (a) 2k²-(k+1)²=k²-2k-1=(k-1)²-2 (M1).
    2. for k≥3, (k-1)²≥4, so (k-1)²-2≥2>0 and 2k²≥(k+1)² (R1) (AG).
    3. (b) n=5: 2⁵=32 and 5²=25, and 32>25, so true for n=5 (R1).
    4. assume true for n=k (k≥5), ie 2^(k)>k² (M1).
    5. hence 2^(k+1)=2×2^(k)>2k² (using the assumption) (M1).
    6. ≥(k+1)² (using part (a), since k≥5≥3) (A1).
    7. if true for n=k then true for n=k+1, and as true for n=5, true for all integers n≥5 (R1).

    Trap: Checking n=1 as the first case is wrong here: the claim fails for n=2,3,4 (4>4, 8>9 and 16>16 are all false), so the first case is the first value in the stated set, n=5.

  10. A puzzle moves a stack of n rings. The least number of moves, mn, satisfies m₁=1 and mn₊₁=2mn+1 for n∈Z⁺. (a) Find m₂, m₃ and m₄. [2] (b) Prove by mathematical induction that mn=2ⁿ-1 for n∈Z⁺. [5] (c) A student notices that m₂, m₃, m₅ and m₇ are all prime and claims that mn is prime whenever n is prime. Given that 23×89=2047, show that the claim is not always true. [2]9 marks
    Answer
    1. (a) m₂=2×1+1=3 and m₃=2×3+1=7 (A1).
    2. m₄=2×7+1=15 (A1).
    3. (b) n=1: 2¹-1=1=m₁, so true for n=1 (A1).
    4. assume true for n=k, ie m_k=2^(k)-1 (M1).
    5. m_k+1=2m_k+1=2(2^(k)-1)+1 (M1).
    6. =2^(k+1)-2+1=2^(k+1)-1 (A1).
    7. if true for n=k then true for n=k+1, and as true for n=1, true for all n∈Z⁺ (R1).
    8. (c) n=11 is prime, and by part (b) m₁₁=2¹¹-1=2048-1=2047 (A1).
    9. 2047=23×89 has factors other than 1 and itself, so m₁₁ is not prime: n=11 is a counterexample (R1).

    Trap: Writing only "n=11" is not sufficient: explain why 11 meets the condition (it is prime) and why m₁₁=2047 is not prime.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
Let n=k.Assume true for n=k, ie k>log₂ k
Assume n=k is true.Assume P_k true, or assume true for n=k: the assumption of truth must be clear
n=41 is a counterexamplen=41 gives 3403=41×83, which is not prime, so it is a counterexample

Frequently asked questions

What are the steps of a proof by mathematical induction?
There are four steps. Show the statement is true for n = 1. Assume it is true for n = k, then show it is true for n = k + 1 using that assumption. Finish by linking the steps: if true for n = k then true for n = k + 1, and as it is true for n = 1, it is true for all n ∈ Z⁺.
How do I prove by induction that a number is divisible by 6?
Write the assumption as an equation with a whole-number multiple. If 7^(k) - 1 is divisible by 6, then 7^(k) - 1 = 6m, so 7^(k) = 6m + 1. Then 7^(k+1) - 1 = 7(6m + 1) - 1 = 6(7m + 1), which is a multiple of 6 because 7m + 1 is an integer.
How do I prove by induction that a sum formula is true?
For a sum, the sum to k + 1 terms is the sum to k terms plus the (k+1)th term. Replace the sum to k terms using the assumption, then simplify to the required form with k + 1 in place of n. For 1 + 3 + 5 + ⋯ + (2n - 1) = n², the step gives k² + 2k + 1 = (k+1)².
How do I prove that a number like the square root of 3 is irrational?
Use proof by contradiction. Assume the number is rational, so √3 = p/q with p and q integers, q ≠ 0 and no common factor. Square both sides to get 3q² = p². Then p and q are both multiples of 3, so they have a common factor. This contradicts the assumption, so √3 is irrational.
How do I show that a statement is false using a counterexample?
Find one case where the statement fails: one counterexample is enough. Explain why it is a counterexample by showing that it meets the conditions and that the claimed result does not hold. For n = 41 in n² + 41n + 41 the value is 41 × 83 = 3403, which is not prime, so not all elements of the set are prime.
Why is stating n = 41 alone not enough for a counterexample?
A counterexample must be explained. Stating n = 41 with no working does not earn the reasoning mark. Show that n = 41 gives 3403 = 41 × 83, which is not prime, so n = 41 is a counterexample. The same method works for n = 11 in n² - n + 11, where 121 = 11 × 11.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters