PrecalculusSequences, Series and Probability2 of 5
Sequences, Series and Probability · 2
Mathematical Induction
We often spot a pattern that works for the first few whole numbers, and we need a way to prove it holds for every whole number all the way to infinity.
1
How One Step Forces the Next
Adding the first few odd numbers always gives a perfect square:
1+3+5+⋯+(2n−1)=n2
Checking the first five or ten cases cannot tell us whether this pattern suddenly breaks at the millionth number, so instead of testing more numbers, we look at how one step builds the next.
How One Step Forces the Next
1,3,5,7,9,…
11+31+3+51+3+5+7first n odd numbers1+3+5+⋯=1=4=9=16=?
In a k×k square of dots, adding the next odd number 2k+1 always gives k dots along the right edge, k dots along the top edge, and 1 dot in the corner to complete a (k+1)×(k+1) square:
k2+(2k+1)=(k+1)2
Every next odd number of dots splits into two matching edges and a corner dot, turning any square into the next bigger square.
2
The Logic of Mathematical Induction
Once we know that any working step forces the next step to work, we only need a valid starting step to set off an unending chain.
The Logic of Mathematical Induction
3
Proving a Sum Formula
We want to prove that for every positive integer n, the sum of the first n positive integers is
1+2+3+⋯+n=2n(n+1)
Proving a Sum Formula
1+2+3+⋯+n=?2n(n+1)
for every whole number n
Text solution
Check the starting number n=1We plug n=1 into both sides to make sure the formula starts off true.
Base CaseLeft side: 1Right side: 21(1+1)=22=1
Write what is known at step k and the target at step k+1Assuming the formula works at step k, we replace n with k+1 on the right side in the corner of the page so we know the exact expression our algebra needs to reach.
Inductive Hypothesis1+2+3+⋯+k=2k(k+1)Target at k+1: 2(k+1)((k+1)+1)=2(k+1)(k+2)
Group the first k terms and factor toward the targetWriting the kth term right before (k+1) lets us swap the first k terms for 2k(k+1), and spotting (k+1) in both terms of the numerator saves us from multiplying everything out.
Inductive Step[1+2+3+⋯+k]Swap in step k+(k+1)=2k(k+1)+(k+1)=2k(k+1)+22(k+1)(Common denominator of 2)=2k(k+1)+2(k+1)(Combine numerators)=2(k+1)(k+2)(Factor out k+1)
Since the left side at step k+1 simplifies to the exact target on the right side, 1+2+3+⋯+n=2n(n+1) holds for every positive integer n.
4
Sums in Sigma Notation
In the first sum, the nth term was simply n. When a sum is written in sigma notation, each term comes from a formula, and we want to prove that for every positive integer n,
i=1∑n(3i−2)=2n(3n−1)
Sums in Sigma Notation
i=1∑n(3i−2)=?2n(3n−1)
Text solution
Write out the terms and check n=1Plugging in i=1,2,3,…,n writes out the sum term by term, and at n=1 both sides equal 1.
1+4+7+⋯+(3n−2)=2n(3n−1)(n=1: 1=21(3(1)−1)=1)
Find the (k+1)th term and the target right sideStarting from the original formula, we put (k+1) in parentheses in place of n to get the last term on the left and the target fraction on the right.
Known at step k: 1+4+7+⋯+(3k−2)=2k(3k−1)Next term at k+1: 3(k+1)−2=3k+3−2=3k+1Target at k+1: 2(k+1)(3(k+1)−1)=2(k+1)(3k+2)
Swap the first k terms and use the target to factorAfter replacing the first k terms with 2k(3k−1) and combining over 2, we check that the target numerator (k+1)(3k+2) multiplies out to 3k2+5k+2 instead of guessing how to factor 3k2+5k+2.
2k(3k−1)[1+4+7+⋯+(3k−2)]+(3k+1)=2k(3k−1)+(3k+1)=2k(3k−1)+2(3k+1)(Common denominator of 2)=23k2−k+6k+2(Distribute)=23k2+5k+2(Combine like terms)=2(k+1)(3k+2)(Factor using target)
Matching the step k+1 target proves that ∑i=1n(3i−2)=2n(3n−1) holds for every positive integer n.
5
Divisibility with Exponents
Induction also works when there is no sum at all. First, we want to prove a divisibility statement with n in the exponent:
For every positive integer n,4n−1 is divisible by 3.
Divisibility with Exponents
Is 4n−1 divisible by 3
for every positive integer n?
Text solution
Check the starting number n=1Plugging n=1 into 4n−1 gives 3, which is a multiple of 3.
41−1=3=3(1)
Write step k as an equation and solve for 4kWriting "divisible by 3" as 3m for some integer m gives an equation we can solve for 4k.
4k−1⟹4k=3m=3m+1(m is an integer)
Split off one factor of 4 at step k+1 and factor out 3Splitting 4k+1 into 4⋅4k brings out the 4k from step k so we can swap in 3m+1.
4k+1−1=4⋅3m+1(4k)−1(Split off one factor of 4)=4(3m+1)−1(Substitute 3m+1)=12m+4−1(Distribute 4)=12m+3(Subtract 1)=3(4m+1)(Factor out 3)
Since m is an integer, 4m+1 is also an integer, so 4k+1−1 is a multiple of 3 and 4n−1 is divisible by 3 for every positive integer n.
6
Divisibility with Polynomials
Now n is in the base of a polynomial instead of the exponent:
For every positive integer n,n3+2n is divisible by 3.
To expand step k+1, we use the formula for (k+1)3:
(k+1)3=k3+3k2+3k+1
Divisibility with Polynomials
Is n3+2n divisible by 3
for every positive integer n?
Text solution
Check n=1 and write the step k equationAt n=1,n3+2n equals 3, and at step k we set k3+2k equal to 3m for some integer m.
n=1: 13+2(1)=3=3(1)Known at step k: k3+2k=3m(m is an integer)
Expand step k+1 and group the step k terms at the frontRather than combining 3k and 2k into 5k, we move k3 and 2k together at the front so k3+2k appears right where we can replace it with 3m.
(k+1)3+2(k+1)=k3+3k2+3k+1+2k+2(Expand both parts)=3m(k3+2k)+3k2+3k+3(Group k3+2k at the front)=3m+3k2+3k+3(Swap in 3m)=3(m+k2+k+1)(Factor out 3)
Because m+k2+k+1 is an integer, (k+1)3+2(k+1) is a multiple of 3, which proves n3+2n is divisible by 3 for every positive integer n.
7
Inequalities and Later Starting Numbers
Some statements compare two expressions with an inequality and only become true starting at a whole number past 1:
Prove that 2n>2n+1for all integers n≥3.
Inequalities and Later Starting Numbers
2n>?2n+1
for all integers n≥3
Text solution
Check the starting number n=3The inequality is false at n=1 (2<3) and n=2 (4<5), so we check the base case at the given starting number n=3.
Left side: 23Right side: 2(3)+1=8=7(8>7)
Write what is known at step k≥3 and the target at step k+1We assume the inequality holds for some integer k≥3 and simplify the target right side for n=k+1.
Known at step k≥3: 2k>2k+1Target at k+1: 2k+1>2(k+1)+1=2k+3
Split off a factor of 2 and compare with the target using k≥3Replacing 2k with the smaller 2k+1 makes the expression smaller, and since k≥3, adding 2k adds at least 6, which is greater than the 1 needed to reach 2k+3.
2k+1=2⋅2k(Split off one factor of 2)>2(2k+1)(Replace 2k withsmaller 2k+1)=4k+2(Distribute 2)=(2k+2)+2k(Split 4k to comparewith 2k+3)>2k+3(Since k≥3, 2k≥6>1)
Reading the chain from start to finish gives 2k+1>2k+3, so 2n>2n+1 holds for all integers n≥3.
Once the doubling bar catches up, each doubling adds far more than the steady step on the right.
8
The Induction Workflow
In our proofs for sums, divisibility, and inequalities, we used the same sequence of steps.
The Induction Workflow
Key concepts
Plugging in a few numbers like n=1,2,3 is how you find where a pattern starts (such as 2n>2n+1 failing at 1 and 2 before working at n=3) and how you check the Base Case, but testing examples never proves an infinite statement on its own. To prove it for every integer from the starting number onward, pair the base case with the Inductive Step: write down what is known at step k (Inductive Hypothesis), write your simplified Target for n=k+1 in the corner first, and find the step k piece inside step k+1:
Sums
Write the (k+1)th term at the end by plugging (k+1) in parentheses into the nth-term formula, and group the first k terms in front of it:
2k(3k−1)[1+4+7+⋯+(3k−2)]+3k+1(3(k+1)−2)
When the terms in the numerator already share a factor from your target, like (k+1) in 2k(k+1)+2(k+1), factor it out right away instead of multiplying out.
Exponents
Turn "divisible by 3" into 4k−1=3m to solve for 4k=3m+1, then split one factor of 4 off 4k+1:
4k+1−1=4⋅3m+14k−1=4(3m+1)−1=3(4m+1)
Polynomials
Expand the (k+1) expression (using (k+1)3=k3+3k2+3k+1), and before combining all like terms, group the original step k terms at the front so they swap out cleanly:
(k+1)3+2(k+1)=3m(k3+2k)+3k2+3k+3=3(m+k2+k+1)
Inequalities
For 2n>2n+1 starting at n=3, check the base case at 3, split off a factor of 2 to substitute the smaller 2k+1, and use k≥3 to show the result is larger than the target 2k+3:
2k+1=2⋅2k>2(2k+1)=(2k+2)+2k>2k+3(since 2k≥6)
9
Practice
1
Prove by mathematical induction that for every positive integer n,2+4+6+⋯+2n=n(n+1).
What is the (k+1)th even term added right after 2k, and what factor do both terms share after you swap in k(k+1)?
Base case (n=1)The left side is 2 and the right side is 1(1+1)=2, so the formula holds for n=1.
Inductive hypothesisAssume that at step k,
2+4+6+⋯+2k=k(k+1)
Target at step k+1Replacing n with k+1 gives 2+4+6+⋯+2k+2(k+1)=(k+1)(k+2).(Be careful to use parentheses in the next term 2(k+1)=2k+2; leaving them out writes the next term as 2k+1, which gives k2+3k+1 and does not factor to the target.)
Inductive stepStarting with the left side at step k+1,
which matches the target. By mathematical induction, 2+4+6+⋯+2n=n(n+1) holds for every positive integer n.
2
Prove by mathematical induction that for every positive integer n,∑i=1n(5i−3)=2n(5n−1).
Write out the first few terms, then plug (k+1) in parentheses into 5i−3 to find the new term added at step k+1.
Write out the sum and check the base case (n=1)Writing out the terms gives 2+7+12+⋯+(5n−3)=2n(5n−1). At n=1, the left side is 5(1)−3=2 and the right side is 21(5(1)−1)=24=2, so the base case holds.
Inductive hypothesisAssume that at step k,
2+7+12+⋯+(5k−3)=2k(5k−1)
Next term and target at step k+1The (k+1)th term is 5(k+1)−3=5k+2, and the target right side is 2(k+1)(5(k+1)−1)=2(k+1)(5k+4).(Watch out for substituting k+1 without parentheses as 5k+1−3=5k−2, which leads to 25k2+9k−4 instead of 25k2+9k+4.)
Inductive stepStarting with the sum up to step k+1,
(Don't forget to multiply (5k+2) by 2 when putting it over the common denominator; skipping that gives 25k2+4k+2.) This matches the target, so by mathematical induction, the formula holds for every positive integer n.
3
Prove by mathematical induction that for every positive integer n,5n−1 is divisible by 4.
Set 5k−1=4m, solve for 5k, and rewrite 5k+1 so 5k appears.
Base case (n=1)51−1=4=4(1), which is divisible by 4.
Inductive hypothesisAssume 5k−1=4m for some integer m, so
5k=4m+1
Inductive stepAt step k+1, split off one factor of 5:
5k+1−1=5⋅5k−1=5(4m+1)−1=20m+5−1=20m+4=4(5m+1)
(Be sure to distribute 5 to both terms inside (4m+1); writing 5(4m+1)−1=20m+1−1=20m drops the +1 in 4(5m+1).) Since m is an integer, 5m+1 is an integer, so 5k+1−1 is divisible by 4. By mathematical induction, 5n−1 is divisible by 4 for every positive integer n.
4
Prove by mathematical induction that for every positive integer n,n3+5n is divisible by 3.
After expanding (k+1)3+5(k+1), which two terms should you group at the front before combining anything else?
Base case (n=1)13+5(1)=6=3(2), which is divisible by 3.
Inductive hypothesisAssume k3+5k=3m for some integer m.
Inductive stepExpand (k+1)3+5(k+1) at step k+1 and group k3+5k at the front:
(Avoid two common slips here: expanding (k+1)3 as k3+1 misses 3k2+3k, and combining 3k+5k into 8k hides the k3+5k piece we need for the substitution.) Since m+k2+k+2 is an integer, (k+1)3+5(k+1) is divisible by 3. By mathematical induction, n3+5n is divisible by 3 for every positive integer n.
5
Find the smallest positive integer n for which 2n>3n+1, and prove by mathematical induction that the inequality holds for all integers n greater than or equal to that number.
Do not start at n=1 or n=3, where the inequality is still false.Do not start at n=1 or n=3, where the inequality is still false.
Test n=1,2,3,4 to find where 2n first becomes greater than 3n+1, then split a factor of 2 off 2k+1.
Find the starting number and check the base caseTesting small positive integers gives 21=2<4 at n=1,22=4<7 at n=2,23=8<10 at n=3, and 24=16>13 at n=4.(Do not start at n=1 or n=3, where the inequality is still false.) The smallest positive integer is n=4, which is our base case (16>13).
Inductive hypothesisAssume 2k>3k+1 for some integer k≥4.
Target at step k+12k+1>3(k+1)+1=3k+4.(Use parentheses in 3(k+1)+1; without them you get 3k+2 instead of 3k+4.)
Inductive stepSplit off one factor of 2 at step k+1:
So 2k+1>3k+4. By mathematical induction, 2n>3n+1 for all integers n≥4.
6
Prove by mathematical induction that for every positive integer n,12+22+32+⋯+n2=6n(n+1)(2n+1).
What does 2n+1 simplify to when n is replaced by (k+1), and how can you factor (k+1) out of both terms before expanding the rest of the numerator?
Base case (n=1)The left side is 12=1 and the right side is 61(2)(3)=1, so the base case holds.
Inductive hypothesisAssume that at step k,
12+22+32+⋯+k2=6k(k+1)(2k+1)
Target at step k+1Replacing n with (k+1) gives 6(k+1)(k+2)(2(k+1)+1)=6(k+1)(k+2)(2k+3).(Be careful with parentheses in 2(k+1)+1=2k+3; writing 2k+1+1=2k+2 gives the wrong target factor.)
Inductive stepStarting with the left side at step k+1,
(Don't forget the factor of 6 on 6(k+1)2 when getting a common denominator; leaving it off gives 6(k+1)(2k2+2k+1).) This matches the target, so by mathematical induction, the formula holds for every positive integer n.