Mathematical Induction
Learn to prove statements for every positive integer with mathematical induction: base case, inductive hypothesis, inductive step and conclusion.
Definition
- 1.Base case: is true.
- 2.Inductive step: for every , if is true, then is also true. The assumption " is true" is called the inductive hypothesis.
Try it now
Worked Examples
Prove that for every .
Base case: check
Left side: . Right side: → is true
Inductive hypothesis: assume for some
Assume → We may use this equation
Inductive step: add the next term to both sides
→
Compare with
says the sum equals → is true
Answer: By induction, for every . For example, .
Common Mistakes
Skipping the base case
Why it's wrong: The inductive step alone proves nothing: it only says IF one domino falls, the next one falls too. Example: the false claim has a working inductive step, but for the left side is and the right side is .
Correct: Always check the first case explicitly. Without a first falling domino, nothing falls.
Assuming what you want to prove
Why it's wrong: Writing "assume is true for all " or "assume " is circular: it assumes the conclusion.
Correct: Assume for ONE value (the inductive hypothesis) and prove from it.
Wrong algebra in the inductive step
Why it's wrong: A common slip is adding the wrong next term, for example adding instead of in the odd number sum, or forgetting to add the new term on one side.
Correct: Write out in full first (replace every by ), then work toward exactly that expression.
Thinking that checking many cases is a proof
Why it's wrong: The formula gives prime numbers for , but for it gives , which is not prime.
Correct: Examples help you guess a formula. Only the base case plus the inductive step proves it for every .
Interactive Visual
Sequence Explorer
Formula
a_n = 1 + 2(n - 1) = 2n - 1S_8 = 8/2 × (2×1 + 7×2) = 64Partial sums
1
9
19
39
Sequence Explorer
Formula
a_n = 1 × 2^(n-1)S_8 = 1 × (1 - 2^8) / (1 - 2) = 255Partial sums
|r| ≥ 1: the partial sums do not settle on one value, so the infinite series has no sum.
1
16
512
524,288
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsWhich two parts must every proof by mathematical induction contain?
Why It Matters
- Formulas for sums: you can prove that follows from a general formula, not from luck
- Computer science: programmers prove that loops and recursive functions give the right result for every input size
- Patterns that look true: a pattern that holds for 40 cases can still fail at case 41; induction tells you when a pattern really holds forever
- Puzzles and games: the Tower of Hanoi, tiling problems and many competition questions are solved by induction
- Higher mathematics: almost every area of mathematics uses induction somewhere
Real World Applications
Checking Computer Programs
Programmers use induction to prove that a loop gives the right answer after any number of rounds: if it is correct after $k$ rounds, it is correct after $k+1$ rounds.
Example:
A loop adds to a running total. Induction proves that after rounds the total is .
A program adds the numbers from to in a loop.
What total does the program print?
Step 1: Write the mathematical expression
Use with :
The Tower of Hanoi
In this puzzle you move a stack of discs to another peg, one disc at a time, never putting a larger disc on a smaller one. Induction proves that $n$ discs need $2^n - 1$ moves.
Example:
To move discs, move the top discs away, move the largest disc, then move the discs back on top: moves.
A tower has discs. Moving discs takes moves.
How many moves do discs need?
Step 1: Write the mathematical expression
Use moves for 6 discs (moves for 5 discs) :
Rice on a Chessboard
An old legend: put $1$ grain of rice on the first square, $2$ on the second, $4$ on the third, doubling each time. The sum of powers of 2 tells you the total.
Example:
On the first squares there are grains.
You fill the first squares. Square holds grains.
How many grains are on the first squares together?
Step 1: Write the mathematical expression
Use with :
Key Takeaways
- 1Mathematical induction proves a statement for every integer from a starting value on
- 2Base case: show that the first case, usually , is true
- 3Inductive hypothesis: assume is true for one arbitrary
- 4Inductive step: use the hypothesis to prove
- 5Conclusion: like a row of dominoes, the statement is true for every
- 6Both parts are needed: a working step without a base case, or a few checked cases without a step, prove nothing
Frequently Asked Questions
Glossary
- Mathematical induction
- A proof method that proves for every integer from a starting value on, using a base case and an inductive step
- Base case
- The first case of the statement, usually , checked directly
- Inductive hypothesis
- The assumption that is true for some arbitrary integer
- Inductive step
- The proof that implies for every from the starting value on
- P(n)
- The statement we want to prove, written as a function of the integer
- Conclusion
- The final sentence of an induction proof: is true for every from the starting value on
Formula Card
Principle of induction
Base case plus inductive step proves the statement for every $n$
Sum of the first n integers
For $n = 5$: $15$
Sum of the first n odd numbers
For $n = 5$: $25$
Sum of powers of 2
For $n = 6$: $127$