📘 CodingMarble Learn

Proof by Mathematical Induction

Mathematical induction proves that a statement P(n) is true for every natural number n. Step 1 (base case): show P(1) is true. Step 2 (inductive step): assume P(k) is true for some k, and use it to show P(k + 1) is true. Then, like a line of dominoes, P(1) makes P(2) true, P(2) makes P(3) true, and so on for ever.

🎬 Step-by-step story

  1. Here are 10 dominoes. Each one is a statement: domino n stands for P(n). We want to show every one of them falls.
  2. Base case: push domino 1. It falls. This means P(1) is true. We check it by putting n = 1 in the formula.
  3. Inductive step: look at any domino k. If it falls, it hits domino k + 1. In maths: if P(k) is true, then P(k + 1) is true.
  4. Put both together. Domino 1 falls, it knocks 2, 2 knocks 3, and so on. Every domino falls, so P(n) is true for all n.
  5. An example: 1 + 2 + 3 + 4. Two equal staircases of blocks fit into a 4 by 5 rectangle. So the sum is half of 20, which is 10.
  6. Free play: switch off the base case, or break the chain at one place. See why a proof needs both steps.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why can't I just check many values of n?

Checking dominoes 1 to 40 says nothing about domino 41. Only the chain rule (inductive step) covers every domino.

Isn't assuming P(k) the same as assuming what we want to prove?

No. We only say IF domino k falls, THEN k + 1 falls. Whether k falls is decided by the chain starting from domino 1.

What if the base case is missing?

The chain never starts, so no domino falls, even if every link is perfect.

Why do we start at n = 1?

We start at the first domino in the line. If a statement is only true from n = 4, the line starts at 4 and we check P(4).

Where did the n(n + 1)/2 formula come from?

Two copies of the staircase 1 + 2 + … + n fit into an n by (n + 1) rectangle, so one copy is half of it.

What is the principle of mathematical induction?

Some statements talk about every natural number n = 1, 2, 3, … . We cannot check them one by one for ever. Induction is a way to prove all of them at once.

Let P(n) be a statement about n. If

  1. Base case: P(1) is true, and
  2. Inductive step: whenever P(k) is true, P(k + 1) is also true,

then P(n) is true for every natural number n.

The assumption "P(k) is true" is called the inductive hypothesis. We do not prove it; we use it to reach P(k + 1).

The base case can start at another number. For example, to prove something for n ≥ 4, check P(4) first.

How to write an induction proof

  1. Write the statement P(n) clearly.
  2. Base case: put n = 1 (or the first value). Work out both sides and show they are equal.
  3. Assume P(k) is true for some natural number k. Write it out.
  4. Target: write P(k + 1), what you must reach.
  5. Start from one side of P(k + 1), use P(k) somewhere, and work until you get the other side.
  6. Conclude: "Since P(1) is true and P(k) ⇒ P(k + 1), by induction P(n) is true for all n ≥ 1."

Worked proof: sum of the first n numbers

P(n): 1 + 2 + … + n = n(n + 1)/2.

Base: n = 1: left = 1, right = 1 × 2/2 = 1 ✓.

Assume 1 + … + k = k(k + 1)/2. Then 1 + … + k + (k + 1) = k(k + 1)/2 + (k + 1) = (k + 1)(k + 2)/2, which is P(k + 1) ✓.

Types of induction proofs

1. Sums (series)

Add the next term (the (k + 1)th term) to both sides of P(k), then simplify.

2. Divisibility

Example: 3 divides 4ⁿ − 1. Base: 4 − 1 = 3 ✓. Assume 4ᵏ − 1 = 3m. Then 4ᵏ⁺¹ − 1 = 4 × 4ᵏ − 1 = 4(3m + 1) − 1 = 12m + 3 = 3(4m + 1) ✓.

3. Inequalities

Example: 2ⁿ > n. Base: 2 > 1 ✓. Assume 2ᵏ > k. Then 2ᵏ⁺¹ = 2 × 2ᵏ > 2k ≥ k + 1 (since k ≥ 1) ✓.

4. Sequences defined by a rule

If u₁ = 1 and uₙ₊₁ = 2uₙ + 1, prove uₙ = 2ⁿ − 1. Base: 2 − 1 = 1 ✓. Assume uₖ = 2ᵏ − 1. Then uₖ₊₁ = 2(2ᵏ − 1) + 1 = 2ᵏ⁺¹ − 1 ✓. Induction is also used to show a sequence is increasing or bounded.

Strong induction (extra)

Sometimes you assume P(1), …, P(k) are all true to prove P(k + 1). This is useful for rules that use two earlier terms, like the Fibonacci numbers.

Why both steps are needed

No base case: the statement "n + 1 = n" has a working inductive step (if k + 1 = k then k + 2 = k + 1), but it is false for every n. Nothing starts the chain.

No inductive step: n² − n + 41 is prime for n = 1 to 40, but at n = 41 it equals 41², which is not prime. Checking many cases is not a proof.

Key formulas and definitions

Worked examples

1. Prove 1 + 3 + 5 + … + (2n − 1) = n².

Base: n = 1: 1 = 1² ✓. Assume 1 + 3 + … + (2k − 1) = k². Add the next odd number 2k + 1: k² + 2k + 1 = (k + 1)² ✓. So true for all n.

2. Prove 1² + 2² + … + n² = n(n + 1)(2n + 1)/6.

Base: 1 = 1·2·3/6 ✓. Assume true for k. Add (k + 1)²: k(k + 1)(2k + 1)/6 + (k + 1)² = (k + 1)[k(2k + 1) + 6(k + 1)]/6 = (k + 1)(2k² + 7k + 6)/6 = (k + 1)(k + 2)(2k + 3)/6 ✓.

3. Prove 5ⁿ − 1 is divisible by 4.

Base: 5 − 1 = 4 ✓. Assume 5ᵏ − 1 = 4m. Then 5ᵏ⁺¹ − 1 = 5(4m + 1) − 1 = 20m + 4 = 4(5m + 1) ✓.

4. Prove n³ − n is divisible by 6 for n ≥ 1.

Base: 0 is divisible by 6 ✓. Assume k³ − k = 6m. (k + 1)³ − (k + 1) = k³ + 3k² + 2k = (k³ − k) + 3k(k + 1) = 6m + 3k(k + 1). k(k + 1) is even, so 3k(k + 1) is a multiple of 6 ✓.

5. Prove 3ⁿ ≥ 2n + 1 for n ≥ 1.

Base: 3 ≥ 3 ✓. Assume 3ᵏ ≥ 2k + 1. Then 3ᵏ⁺¹ ≥ 3(2k + 1) = 6k + 3 ≥ 2k + 3 = 2(k + 1) + 1 ✓.

6. u₁ = 3 and uₙ₊₁ = uₙ + 4. Prove uₙ = 4n − 1.

Base: 4 − 1 = 3 ✓. Assume uₖ = 4k − 1. Then uₖ₊₁ = 4k − 1 + 4 = 4(k + 1) − 1 ✓.

Common mistakes

Practice quiz

1. The first step of an induction proof is to:
2. In the inductive step we assume:
3. In the domino picture, the inductive step means:
4. For P(n): 1 + 2 + … + n = n(n + 1)/2, the term added to go from P(k) to P(k + 1) is:
5. Induction proves a statement for:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is mathematical induction in simple words?

A way to prove a rule for all natural numbers: show it works for the first one, then show that if it works for one number it works for the next. Like dominoes falling.

What are the two steps of proof by induction?

The base case (prove P(1)) and the inductive step (assume P(k), prove P(k + 1)).

Can induction start from a number other than 1?

Yes. If the statement is claimed for n ≥ 5, prove P(5) as the base case and then do the inductive step for k ≥ 5.

Where this is taught

RomaniaClasa a IX-aAlgebra: Mathematical logic
RomaniaClasa a X-aCounting methods
Ukraine10 класAlgebra: functions, polynomials, equations and inequalities (36 h)
CBSE (India)Class 11Formative-only topics
England (GCSE, A level)Year 12A Proof
Japan高校2年Sequences
South Korea고등학교 2학년Sequences
South Korea고등학교 3학년Sequences
FranceTerminaleAnalysis
Russia9 классSequences and progressions
Russia10 классElements of calculus
China高二Ch.4 Sequences

Learn first

Learn next

Related lessons

All Maths lessons