

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


July 7, 2009
Recall the method of proof by induction. It involves a sequence of statements P 1 , P 2 , P 3 ,... that we want to prove. We do so by proving the base case, P 1 , and by proving the induction step, namely, that Pn implies Pn+1.
Question 1. Why is proving something by induction valid?
Example 1. Prove that 1 + 2 + 2^2 + 2^3 + 2^4 +... + 2n^ = 2n+1^ − 1
Proof. Let Pn be the above statement. Then, for example, P 3 is the statement 1 + 2 + 2^2 + 2^3 = 2^4 − 1, which is easily verified. Note the sum on the LHS of Pn can be written as
20 + 2^1 + 2^2 +... + 2n,
so the base case, P 1 , is the statement 2^0 + 2^1 = 2^2 − 1, or 1 + 2 = 4 − 1. Suppose now that Pk holds for k = n. Then to prove Pk for k = n + 1, calculate
2 n+1^ − 1
Hence 1 + 2 +... + 2k^ = 2k+1^ − 1
for k = n + 1, as required.
A prime number is a positive integer greater than 1 whose only divisors are 1 and itself. Equivalently, a prime is a positive integer with exactly two divisors. The first few primes are 2, 3, 5, 7, 11, 13, 17, 19, 23.... An integer m can be nontrivially factored if it is the product of positive integers n and q, neither of which is 1 or −1. Hence a positive integer other than 1 is either prime or a product of smaller positive integers.
Theorem 1 (Prime factorization theorem for the natural numbers). Every positive integer greater than 1 is a prime or can be expressed as a product of primes.
For example, 8 can be written as 2 × 2 × 2 and 12 can be written as 2 × 2 × 3.
Proof. We proceed by induction. Let Pm be the statement “each integer greater than 1 and at most m is prime or a product of primes.” The first step is to prove the base case, which here is the statement P 2 , or “each integer greater than 1 and at most 2 is prime or a product of primes.” But this statement is equivalent to “2 is a prime or a product of primes,” which is true because 2 is prime! Hence we have proven the base case. Now assume for a moment that Pm is true. That is, assume that each integer greater than 1 and at most m is a prime or a product of primes. We want to show that Pm+1 is true. To prove Pm+1, let let k be an integer greater than 1 and at most m + 1. (Consider all cases.) Either k = m + 1 or k ≤ m. In the second case, the statement Pm implies that k is prime or a product of primes. Hence we just need to show that m + 1 is prime or a product of two primes. (Consider all cases again.) Either m + 1 is prime or not prime. If it is prime, then certainly it “is a prime or a product of primes. If m + 1 is not prime, then by definition of primes, m + 1 is the product of n and q, where n and q are positive integers less than m + 1. But integers less than m + 1 are are most m. So the statement Pm implies that n and q are primes or products of primes. In either case, when we multiply n and q to get m, we get a product of primes. This proves the induction step.
1 , 1 , 2 , 3 , 5 , 8 , 13 , 21 , 34 , 55 , 89 , 144 ,....
Formally, for n ≥ 3, we have Fn = Fn− 1 + Fn− 2. Prove that the sum of the first n Fibonacci numbers is the (n + 2)-th Fibonacci number minus 1, i.e.,
F 1 + F 2 +... + Fn = Fn+2 − 1.
F 1 + F 3 + F 5 +... + F 2 n− 1 = F 2 n.
For example, F 1 + F 3 = F 4 and F 1 + F 3 + F 5 = F 6.