Lesson 10.2 · Sequences, Series and Counting
Mathematical induction
How can you prove that a formula like is true for every positive integer ? Checking is evidence, not proof, since there are infinitely many cases left. Mathematical induction lets you cover all of them with just two finite arguments.
The domino idea
Picture an endless row of dominoes. To be sure every one falls, you need two facts:
- The first domino falls.
- Whenever any domino falls, it knocks over the next one.
Neither fact alone is enough. A push with no chain reaction topples one domino; a perfect chain that nobody pushes does nothing. Together they guarantee that domino knocks down , which knocks down , and so on forever.
The principle of mathematical induction
Let be a statement about the positive integer . If
- Base case: is true, and
- Inductive step: for every , if is true, then is true,
then is true for every positive integer .
The assumption " is true" in the inductive step is called the inductive hypothesis. You are not assuming what you want to prove. You are proving an implication: if the statement holds at , then it holds at . The base case is what starts the chain.
A template for induction proofs
Every induction proof has the same skeleton:
- State clearly.
- Base case: verify directly (or if the claim starts at some other integer ).
- Inductive hypothesis: assume is true for some integer .
- Inductive step: using that assumption, show is true. Write down exactly what says before you start, so you know your target.
- Conclude: by induction, holds for all .
Worked example: Sum of the first n odd numbers
Prove that for every positive integer .
Base case. When , the left side is and the right side is . ✓
Inductive hypothesis. Assume that for some ,
Target. says . The new last term is .
Inductive step. Start from the left side of the target and use the hypothesis on everything but the last term:
That is exactly . By induction, the formula holds for every positive integer .
Notice the move in the middle: you find a copy of the case inside the case, replace it using the hypothesis, and then do algebra to reach the target. Almost every induction proof works this way.
Worked example: Proving the sum of squares formula
Prove that for all .
Base case. : the left side is ; the right side is . ✓
Inductive hypothesis. Assume for some .
Target. , which is the formula with replaced by .
Inductive step.
This is the target, so the formula holds for all .
Tip
Factor out common pieces (like above) instead of expanding everything. You know what the answer should look like, so steer the algebra toward it.
Divisibility proofs
Induction also proves statements like " is divisible by for every ." The trick is to rewrite the expression so the expression appears inside it.
Worked example: A divisibility statement
Prove that is divisible by for every positive integer .
Base case. , which is divisible by . ✓
Inductive hypothesis. Assume for some integer .
Inductive step. Rewrite so that appears:
Since is an integer, is divisible by . By induction, is divisible by for all .
Inequalities and other starting points
A statement doesn't have to start at . If the claim is only true from on, use as the base case and assume in the inductive step.
Worked example: An inequality that starts at n = 3
Prove that for every integer .
(It fails for small : and .)
Base case. : . ✓
Inductive hypothesis. Assume for some .
Inductive step. We want .
Now whenever , which is certainly true for . So . By induction the inequality holds for every .
Common mistake
Don't skip the base case, and don't treat a pattern as a proof. The expression is prime for , which looks convincing, but at it equals . In the other direction, the "proof" that has a perfectly valid inductive step (add to both sides of ), yet the statement is never true, because the base case fails.
Practice
You want to prove : for all . Which of these is the inductive step?
The formula can be proved by induction. As a check, compute both sides at . What number do they equal?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
In proving by induction, you assume the formula holds for . Which term do you add to the left side to get the sum for ? Give your answer in terms of .
Enter an expression, e.g. 3x^2 - 2x + 1
To prove that is divisible by for all , you write . What is the constant ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The inequality is true for every integer from some starting value on (and it can be proved by induction from that base case). What is the smallest such that for all ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A sequence has and . Its first terms suggest , which can be proved by induction: if , then . Use the formula to find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
To prove that is divisible by for all , you assume divides and expand:
What is , and why is it divisible by ?
Someone claims is prime for every nonnegative integer , having checked through . What is the smallest nonnegative for which is not prime?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.