Back to Discrete Mathematics: An Open Introduction

Induction

Proof by mathematical induction, set against the recursive definitions just covered so the base-case/inductive-step structure lines up with the recursion it verifies.

Discrete Mathematics: An Open Introduction, Induction

Status
FlagsLoading your progress…

12 exercises

Exercise 1

On the way to the market, you exchange your cow for some magic dark chocolate espresso beans. These beans have the property that every night at midnight, each bean splits into two, effectively doubling your collection. You decide to take advantage of this and each morning (around 8am) you eat 5 beans.

  1. Explain why it is true that if at noon on day nn you have a number of beans ending in a 5, then at…

2.5

Exercise 2

Use induction to prove for all n∈Nn \in \N that ∑k=0n2k=2n+1−1\d\sum_{k=0}^n 2^k = 2^{n+1} - 1.

2.5

Exercise 3

Prove that 7n−17^n - 1 is a multiple of 6 for all n∈Nn \in \N.

2.5

Exercise 4

Prove that 1+3+5+⋯+(2n−1)=n21 + 3 + 5 + \cdots + (2n-1) = n^2 for all n≥1n \ge 1.

2.5

Exercise 5

Prove that F0+F2+F4+⋯+F2n=F2n+1−1F_0 + F_2 + F_4 + \cdots + F_{2n} = F_{2n+1} - 1 where FnF_n is the nnth Fibonacci number.

2.5

Exercise 6

Prove that 2n<n!2^n \lt n! for all n≥4n \ge 4. (Recall, n!=1⋅2⋅3⋅⋯⋅nn! = 1\cdot 2 \cdot 3 \cdot \cdots\cdot n.)

2.5

Exercise 12

What is wrong with the following “proof” of the “fact” that n+3=n+7n+3 = n+7 for all values of nn (besides of course that the thing it is claiming to prove is false)?

Let P(n)P(n) be the statement that n+3=n+7n + 3 = n + 7. We will prove that P(n)P(n) is true for all n∈Nn \in \N. Assume, for induction that P(k)P(k) is true. That is, k+3=k+7k+3 = k+7. We must show that P(k+1)P(k+1) is true. Now since k+3=k+7k + 3 = k + 7, add 1 to both sides. This gives k+3+1=k+7+1k + 3 + 1 = k + 7 + 1. Regrouping (k+1)+3=(k+1)+7(k+1) + 3 = (k+1) + 7. But this is simply P(k+1)P(k+1). Thus by the prin…

2.5

Exercise 13

The proof in the previous problem does not work. But if we modify the “fact,” we can get a working proof. Prove that n+3<n+7n + 3 \lt n + 7 for all values of n∈Nn \in \N. You can do this proof with algebra (without induction), but the goal of this exercise is to write out a valid induction proof.

2.5

Exercise 14

Find the flaw in the following “proof” of the “fact” that n<100n \lt 100 for every n∈Nn \in \N.

Let P(n)P(n) be the statement n<100n \lt 100. We will prove P(n)P(n) is true for all n∈Nn \in \N. First we establish the base case: when n=0n = 0, P(n)P(n) is true, because 0<1000 \lt 100. Now for the inductive step, assume P(k)P(k) is true. That is, k<100k \lt 100. Now if k<100k \lt 100, then kk is some number, like 80. Of course 80+1=8180+1 = 81 which is still less than 100. So k+1<100k +1 \lt 100 as well. But this is what P(k+1)P(k+1) claims, so we have shown tha…

2.5

Exercise 16

What is wrong with the following “proof” of the “fact” that for all n∈Nn \in \N, the number n2+nn^2 + n is odd?

Let P(n)P(n) be the statement “n2+nn^2 + n is odd.” We will prove that P(n)P(n) is true for all n∈Nn \in \N. Suppose for induction that P(k)P(k) is true, that is, that k2+kk^2 + k is odd. Now consider the statement P(k+1)P(k+1). Now (k+1)2+(k+1)=k2+2k+1+k+1=k2+k+2k+2(k+1)^2 + (k+1) = k^2 + 2k + 1 + k + 1 = k^2 + k + 2k + 2. By the inductive hypothesis, k2+kk^2 + k is odd, and of course 2k+22k + 2 is even. An odd plus an even is always odd, so therefore (k+1)2+(k+1)(k+1)^2 + (k+1) is odd. Therefore by…

2.5

Exercise 19

Prove that every positive integer is either a power of 2, or can be written as the sum of distinct powers of 2.

2.5

Exercise 25

Use the product rule for logarithms (log⁡(ab)=log⁡(a)+log⁡(b)\log(ab) = \log(a) + \log(b)) to prove, by induction on nn, that log⁡(an)=nlog⁡(a)\log(a^n) = n \log(a), for all natural numbers n≥2n \ge 2.

2.5

Adapted from Discrete Mathematics: An Open Introduction © 2013–2019 Oscar Levin. Licensed under CC BY-SA 4.0. Source: Discrete Mathematics: An Open Introduction. Imported at revision 1e2e26b.