2d ) prove each of the following divisibility statements by mathematical induction: is divisible by 4 for all
- let the proposition P(n) be is divisible by 4
- assume that P(k) is true for some
- then is divisible by 4
- P(k+1) =
- all factors are divisible by 4, which means the equation is divisible by 4.
formula for sums of series
- consider adding odd numbers
- 1 = 1
- 1 + 3 = 4
- 1 + 3 + 5 = 9
- 1 + 3 + 5 + 7 = 16
- 1 + 3 + 5 + 7 = 25
- the sum of the first odd numbers seems to be $n^2$$$1+3+5+\dots+2n-1=n^2$$
- we want to prove that
- for all integers
- Let P(n) stand for ’’
- First, prove P(1)
- with , LHS = and RHS
- Hence P(1) is true
- Second, prove: If P(k) is true for some , then P(k+1) is also true.
- Assume that P(k) is true for some
- Then
- Now
- That is,
- Hence P(k+1) is also true.
- We have shown that P(1) is true, and that if P(k) is true for some then so is P(k+1).
- Hence, by the principle of mathematical induction, P(n) is true for all .
Common Errors: Evaluating LHS & RHS separately
- When showing an identity is true, you should not evaluate it by simplifying the Left Hand Side (LHS) and Right Hand Side (RHS) separately.
- e.g. Let P(n) be the proposition that
- with n=1, LHS of P(1)
- RHS of P(1)
- is true