Exercises on natural numbers and induction
Prove by induction that for every positive integer n, ānk=0 (4k + 1) = (2n + 1)(n + 1)
Prove by induction that for every positive integer n
12 + 22 + 32 + ... + n2 = n(n+1)(2n+1)/6
Prove by induction that for every positive integer n, the power set š(X) of a finite set X with n elements has 2n elements.
Prove by mathematical induction the formula for partial sums of a geometric series: sn = a[(1 āqn +1)/(1 ā q)].
Prove the binomial theorem;
Solutions
For n = 0, we have 1 = 1. We suppose the relation true for nā1 and we prove it for n.
ānk=0 (4k + 1) = ānā1k=0 (4k + 1) + 4n +1 = (2n + 1)(n + 1) (2n + 1)(n + 1)[2(nā1) + 1] ā n + 4n + 1 = (2n ā 1) ā n + 4n + 1 = 2n2 ān + 4n +1 = 2n2 + 3n +1 = (2n+1) ā (n+1) ā
For n = 1 is true. We suppose 12 + 22 + 32 + ... + (n ā 1)2 = ((nā1)n(2(nā1) + 1))/6 and prove it for n.
12 + 22 + 32 + ... + n2 = ((nā1)n(2(nā1) + 1))/6 + n2 = n(n+1)(2n+1)/6. ā
It's true for n = 0, you could use that as the base case, X has exact one (= 20) the empty subset. We suppose true that every set X with nā1 elements has 2nā1 subsets. The set {X} \ {x} has nā1 elements, hence it has 2nā1 subsets. To obtain the subsets of X we must add to each of these 2nā1 subsests the element x, obtaining another 2nā1 subsests thus in total 2nā1 + 2nā1 = 2n subsests.
Clearly P(0) is true; So we suppose that P(n) is true and show that P(n +1) is true as well
For n = 0, the result is trivial as (a + b)0 = 1 = (0 0) a0b0. Assume that it holds when n = k for some integer k ≥ 0, that is
and we try to prove it for n + 1. Observe that
Applying
we have that
as desired. ā