Worked examples · Sheet 2
Proofs by induction
Theory used:The principle of inductionSum of the first n natural numbersBernoulli's inequality
Go to: Exercise 1Exercise 2Exercise 3
Exercise 1
Prove by induction that, for every ,
The formula holds for every .
To apply the principle of induction, verify the base case and the inductive step.
For the base case, set . The left-hand side has a single term, the odd number , and the right-hand side is , so the formula holds for .
For the inductive step, assume that the formula holds for some and show that it holds for , that is, that the sum of the first odd numbers is . The odd number in position is . The sum of the first odd numbers is therefore obtained by adding to the sum of the first odd numbers, which by the inductive hypothesis is . The expression is the expansion of the square of the binomial , so the sum is , as the formula states for .
The base case and the inductive step have been verified, so by the principle of induction the formula holds for every . For example, the odd numbers from to , of which there are , have sum . The same formula also follows by summing the terms of an arithmetic progression with common difference .
Exercise 2
Prove by induction that, for every , the number is divisible by .
The number is divisible by for every .
An integer is divisible by if it can be written as times an integer. The statement to prove is therefore “ for some integer .” We use the principle of induction.
For the base case, setting gives , which is divisible by .
For the inductive step, assume that is divisible by , that is, that with an integer, and consider . The idea is to write the expression in terms of , whose divisibility is known. By the rule for powers, . Now add and subtract , so that , with left over. By the inductive hypothesis, . Factoring out gives . The number is an integer because is an integer, so is divisible by .
Both steps have been verified, so the statement holds for every . For example, .
Exercise 3
Prove by induction that for every .
The inequality holds for every .
For the first few values of , the inequality does not always hold. For example, is less than , and equals . For this reason, take as the base case, and the principle of induction gives the result for every . For , we have , so the base case holds.
For the inductive step, assume , with , and aim to show . Write and multiply both sides of the inductive hypothesis by . The direction of the inequality is preserved because . This gives .
It remains to compare with . The inequality is equivalent to . The quadratic has roots and , and its parabola opens upward, so the quadratic is greater than or equal to for . This condition holds because . Combining the two inequalities gives and verifies the inductive step. By the principle of induction, the inequality holds for every .