Discrete Mathematics · Unit 1 · Topic 04

Mathematical induction: push the first domino, and the rest follow.

Short answer

To prove \(P(n)\) for all \(n \ge n_0\): show \(P(n_0)\) is true (base case), then show that \(P(k)\) true implies \(P(k+1)\) true (inductive step).

For example, if \(1 + 2 + \cdots + k = \dfrac{k(k+1)}{2}\), adding \(k + 1\) gives \(\dfrac{(k+1)(k+2)}{2}\), so the formula holds for every \(n\).

EngineeringComputer Science / ITBSc
01

The principle of induction

Suppose you want to prove a statement \(P(n)\) for every whole number \(n\) from some starting value \(n_0\) onwards, for example \(1 + 2 + \cdots + n = \dfrac{n(n+1)}{2}\). You cannot check infinitely many cases one by one. Induction replaces them with two checks.

Principle of mathematical induction

If

1. Base case: \(P(n_0)\) is true, and

2. Inductive step: for every \(k \ge n_0\), \(P(k)\) true \(\Rightarrow\) \(P(k+1)\) true,

then \(P(n)\) is true for all \(n \ge n_0\).

Think of a line of dominoes. The base case knocks over the first one. The inductive step says each domino, if it falls, knocks over the next. Together they bring down the whole line. Leave out either part and the argument collapses: a perfect chain reaction does nothing if nobody pushes the first domino.

In the inductive step, the assumption "\(P(k)\) is true" is called the inductive hypothesis. You are not assuming what you want to prove. You are proving an implication: if it holds for \(k\), it holds for \(k + 1\).

02

Strong induction

Strong induction

If \(P(n_0)\) is true, and for every \(k \ge n_0\), \(P(n_0), P(n_0 + 1), \dots, P(k)\) all true \(\Rightarrow P(k+1)\) true, then \(P(n)\) is true for all \(n \ge n_0\).

The only change is that you may use all earlier cases, not just the one before. Use it when \(P(k+1)\) depends on a case further back, as with Fibonacci numbers (which use the two previous terms) or with "every integer \(n \ge 2\) is a product of primes" (where \(k + 1 = ab\) breaks into smaller factors). If the step reaches back \(j\) places, you need \(j\) base cases. Strong induction proves exactly the same statements as ordinary induction; it is just more convenient for these problems. You will meet it again with recurrence relations.

03

Writing an induction proof

  1. State \(P(n)\) and the starting value \(n_0\).
  2. Base case. Check \(P(n_0)\) by direct calculation. Show both sides.
  3. Inductive hypothesis. Write "Assume \(P(k)\) is true for some \(k \ge n_0\)" and write \(P(k)\) out in full.
  4. Target. Write \(P(k+1)\) out in full, so you know where you are heading.
  5. Inductive step. Start from one side of \(P(k+1)\), use the hypothesis, and reach the other side.
  6. Conclude. "By the principle of mathematical induction, \(P(n)\) is true for all \(n \ge n_0\)."

These standard results are all proved this way:

SumFormula
\(1 + 2 + \cdots + n\)\(\dfrac{n(n+1)}{2}\)
\(1^2 + 2^2 + \cdots + n^2\)\(\dfrac{n(n+1)(2n+1)}{6}\)
\(1^3 + 2^3 + \cdots + n^3\)\(\left[\dfrac{n(n+1)}{2}\right]^2\)
\(1 + 3 + 5 + \cdots + (2n - 1)\)\(n^2\)
\(1 + 2 + 4 + \cdots + 2^{n-1}\)\(2^n - 1\)
\(\dfrac{1}{1\cdot 2} + \dfrac{1}{2\cdot 3} + \cdots + \dfrac{1}{n(n+1)}\)\(\dfrac{n}{n+1}\)
04

Solved examples

Example 1: Sum of the first n numbers

Easy

Prove that \(1 + 2 + \cdots + n = \dfrac{n(n+1)}{2}\) for all \(n \ge 1\).

  1. Base case \(n = 1\): left side 1, right side \(\dfrac{1 \cdot 2}{2} = 1\). ✓
  2. Assume \(1 + 2 + \cdots + k = \dfrac{k(k+1)}{2}\).
  3. Then \[1 + 2 + \cdots + k + (k+1) = \frac{k(k+1)}{2} + (k+1) = (k+1)\left(\frac{k}{2} + 1\right) = \frac{(k+1)(k+2)}{2}\]
  4. That is the formula with \(n = k + 1\).

AnswerTrue for all \(n \ge 1\) by induction.

Example 2: Sum of odd numbers

Easy

Prove that \(1 + 3 + 5 + \cdots + (2n - 1) = n^2\).

  1. Base case \(n = 1\): \(1 = 1^2\). ✓
  2. Assume \(1 + 3 + \cdots + (2k - 1) = k^2\).
  3. The next odd number is \(2(k+1) - 1 = 2k + 1\). Adding it: \(k^2 + 2k + 1 = (k + 1)^2\).

AnswerTrue for all \(n \ge 1\).

Example 3: Sum of squares

Medium

Prove that \(1^2 + 2^2 + \cdots + n^2 = \dfrac{n(n+1)(2n+1)}{6}\).

  1. Base case \(n = 1\): \(1 = \dfrac{1 \cdot 2 \cdot 3}{6}\). ✓
  2. Assume it for \(k\). Target: \(\dfrac{(k+1)(k+2)(2k+3)}{6}\).
  3. Add \((k+1)^2\) and take out \(\dfrac{k+1}{6}\) before expanding: \[\frac{k(k+1)(2k+1)}{6} + (k+1)^2 = \frac{(k+1)\big[k(2k+1) + 6(k+1)\big]}{6} = \frac{(k+1)(2k^2 + 7k + 6)}{6}\]
  4. Factorise: \(2k^2 + 7k + 6 = (k+2)(2k+3)\). This matches the target.

AnswerTrue for all \(n \ge 1\).

Example 4: A divisibility proof

Medium

Prove that \(3 \mid n^3 - n\) for every \(n \ge 1\).

  1. Base case \(n = 1\): \(1 - 1 = 0\), and \(3 \mid 0\). ✓
  2. Assume \(k^3 - k = 3m\) for some integer \(m\).
  3. Expand: \((k+1)^3 - (k+1) = k^3 + 3k^2 + 3k + 1 - k - 1 = (k^3 - k) + 3(k^2 + k)\).
  4. So \((k+1)^3 - (k+1) = 3m + 3(k^2 + k) = 3(m + k^2 + k)\), a multiple of 3.

Answer\(3 \mid n^3 - n\) for all \(n \ge 1\).

Example 5: Powers of 7

Medium

Prove that \(7^n - 1\) is divisible by 6 for all \(n \ge 1\).

  1. Base case: \(7 - 1 = 6\). ✓
  2. Assume \(7^k - 1 = 6m\).
  3. Write the next term so that the hypothesis appears: \(7^{k+1} - 1 = 7 \cdot 7^k - 7 + 6 = 7(7^k - 1) + 6\).
  4. So \(7^{k+1} - 1 = 7(6m) + 6 = 6(7m + 1)\).

Answer\(6 \mid 7^n - 1\) for all \(n \ge 1\).

Example 6: An inequality

Exam level

Prove that \(2^n > n^2\) for all \(n \ge 5\).

  1. Base case \(n = 5\): \(32 > 25\). ✓ (The statement fails at \(n = 2, 3, 4\): \(4 = 4\), \(8 < 9\), \(16 = 16\). That is why we start at 5.)
  2. Assume \(2^k > k^2\) for some \(k \ge 5\). Then \(2^{k+1} = 2 \cdot 2^k > 2k^2\).
  3. It is enough to show \(2k^2 \ge (k+1)^2\), that is, \(k^2 - 2k - 1 \ge 0\), or \((k - 1)^2 \ge 2\). This is true for every \(k \ge 3\), so certainly for \(k \ge 5\).
  4. Hence \(2^{k+1} > 2k^2 \ge (k+1)^2\).

Answer\(2^n > n^2\) for all \(n \ge 5\).

Example 7: A telescoping sum

Exam level

Prove that \(\dfrac{1}{1\cdot 2} + \dfrac{1}{2\cdot 3} + \cdots + \dfrac{1}{n(n+1)} = \dfrac{n}{n+1}\).

  1. Base case: \(\dfrac{1}{2} = \dfrac{1}{1 + 1}\). ✓
  2. Assume the sum up to \(k\) is \(\dfrac{k}{k+1}\). Add the next term \(\dfrac{1}{(k+1)(k+2)}\):
  3. \[\frac{k}{k+1} + \frac{1}{(k+1)(k+2)} = \frac{k(k+2) + 1}{(k+1)(k+2)} = \frac{(k+1)^2}{(k+1)(k+2)} = \frac{k+1}{k+2}\]

AnswerTrue for all \(n \ge 1\).

Example 8: Strong induction: coins

Exam level

Prove that every amount of ₹12 or more can be paid exactly using only ₹4 and ₹5 coins.

  1. Base cases: \(12 = 4 + 4 + 4\), \(13 = 4 + 4 + 5\), \(14 = 4 + 5 + 5\), \(15 = 5 + 5 + 5\). ✓
  2. Strong hypothesis: for some \(k \ge 15\), every amount from 12 to \(k\) can be paid.
  3. Take the amount \(k + 1 \ge 16\). Then \(k + 1 - 4 = k - 3\) lies between 12 and \(k\), so it can be paid. Add one ₹4 coin.
  4. We needed four base cases because the step reaches back 4 places. (₹11 cannot be paid, so the starting value 12 is the smallest possible.)

AnswerEvery amount \(n \ge 12\) can be paid with ₹4 and ₹5 coins.

Vipul Sir's tip

In a sum proof, write the new term separately before touching the algebra: (sum up to \(k + 1\)) = (sum up to \(k\)) + (term \(k + 1\)). Replace the first bracket using the hypothesis, then take out the common factor, usually \(k + 1\), before you expand anything. Expanding everything into one big polynomial is where most students lose the thread.

05

Common mistakes

1. Skipping the base case

Claim: "\(n^2 + n\) is odd for all \(n\)." The step works: if \(k^2 + k\) is odd, then \((k+1)^2 + (k+1) = (k^2 + k) + 2(k + 1)\) is odd plus even, which is odd. But at \(n = 1\), \(1 + 1 = 2\) is even. In fact \(n^2 + n = n(n+1)\) is always even. The base case is not a formality.

2. Working on both sides of P(k+1) at once

Wrong: write \(P(k+1)\) as an equation, simplify both sides until you get \(0 = 0\), and call it proved. That assumes the result. Right: start from the left side of \(P(k+1)\), use \(P(k)\), and transform it step by step into the right side.

3. A step that fails for small k

The step must work for every \(k \ge n_0\). In Example 6 the step needs \((k - 1)^2 \ge 2\), true for \(k \ge 3\), so starting at 5 is safe. The famous "all horses are the same colour" proof fails because its step breaks going from \(k = 1\) to \(k = 2\): the argument needs two groups of \(k\) horses that share a horse, and two groups of one horse each share nothing.

06

Practice questions

Try each one on paper before you open the answer.

Q1Prove \(1^3 + 2^3 + \cdots + n^3 = \left[\dfrac{n(n+1)}{2}\right]^2\).

Base: \(1 = 1\). Step: \[\frac{k^2(k+1)^2}{4} + (k+1)^3 = \frac{(k+1)^2\big(k^2 + 4k + 4\big)}{4} = \frac{(k+1)^2(k+2)^2}{4}\]

Q2Prove \(2 + 4 + 6 + \cdots + 2n = n(n+1)\).

Base: \(2 = 1 \cdot 2\). Step: \(k(k+1) + 2(k+1) = (k+1)(k+2)\).

Q3Prove \(1 + 2 + 4 + \cdots + 2^{n-1} = 2^n - 1\).

Base: \(1 = 2 - 1\). Step: \((2^k - 1) + 2^k = 2 \cdot 2^k - 1 = 2^{k+1} - 1\).

Q4Prove that \(5^n - 1\) is divisible by 4 for all \(n \ge 1\).

Base: \(5 - 1 = 4\). Step: \(5^{k+1} - 1 = 5(5^k - 1) + 4\). If \(5^k - 1 = 4m\), this is \(4(5m + 1)\).

Q5Prove that \(n! > 2^n\) for all \(n \ge 4\).

Base: \(24 > 16\). Step: \((k+1)! = (k+1)\,k! > (k+1)\,2^k > 2 \cdot 2^k = 2^{k+1}\), since \(k + 1 > 2\). (It is false for \(n = 1, 2, 3\).)

Q6The Fibonacci numbers are \(F_1 = F_2 = 1\), \(F_n = F_{n-1} + F_{n-2}\). Prove \(F_n < 2^n\) for all \(n \ge 1\).

Strong induction with two base cases: \(F_1 = 1 < 2\) and \(F_2 = 1 < 4\). Step, for \(k \ge 2\): \(F_{k+1} = F_k + F_{k-1} < 2^k + 2^{k-1} < 2^k + 2^k = 2^{k+1}\).

Stuck on a question?

Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.

07

Frequently asked questions

What is mathematical induction?

A method of proving a statement for all integers \(n \ge n_0\): prove it for \(n_0\) (base case), then prove that whenever it holds for \(k\) it also holds for \(k + 1\) (inductive step).

What is the difference between ordinary and strong induction?

In ordinary induction the step uses only \(P(k)\). In strong induction it may use every case \(P(n_0), \dots, P(k)\). Strong induction suits problems where the next case depends on cases further back, like Fibonacci numbers.

Why is the base case needed?

Without it the chain never starts. The statement "\(n^2 + n\) is odd" has a working inductive step but is false for every \(n\), because there is no true base case.

Can induction start from a number other than 1?

Yes. Start wherever the statement first becomes true, and check the step for all \(k\) from there. For \(2^n > n^2\) the base case is \(n = 5\).

Related lessons

← All 10 Discrete Mathematics topics
Vipul Sir
Written by Vipul Sir

Vipul Sir has taught mathematics for over 15 years to HSC, CBSE, ICSE, IGCSE/IB, Diploma, Engineering and BSc students at VVS Classes in Goregaon and Vile Parle, Mumbai. He teaches every class himself, concepts first and exam technique second.

Discrete Mathematics

Get Discrete Mathematics right, with Vipul Sir beside you.

Concept-first classes in small batches in Goregaon and Vile Parle, or online. Your first class is free.

WhatsApp↗