Math 55 Midterm #2
Math 55 Midterm #2
Chapter 5: Induction
● Induction- For some statement P(n), we want to show its correctness for all 𝑛 ∈ ℕ
○ First prove a base case, like P(0) or P(1) or whatever the smallest/lowest possible
case is.
○ Next assume correctness for P(k), and try to show correctness for P(k+1).
○ Try to break up P(k+1) into P(k) and some extra parts. Getting P(k) is the most
important.
● Strong Induction- For some statement P(n), we want to show its correctness for all
𝑛 ∈ ℕ, or sometimes the integers.
○ First prove some base cases, like the lowest base case, and then a couple extra
cases after it. Like P(0), P(1), P(2), P(3), and however many more you need to be
sure you are correct :)
○ Next assume correctness for P(j) for j = 0, 1, 2,... ,k-1, k. Now try to show
correctness for P(k+1).
○ Try to break up P(k+1) into smaller pieces, like P(k) or any other smaller cases
before P(k).
● Well-ordering principle- An Axiom which states that every non-empty subset of the
integers greater than or equal to zero, has some least element.
○ (an Axiom is something we DEFINED to be true, and thus there is no need for a
proof for it)
● Recursive functions- a recursive function is one which defines f(k+1) for some k, in
terms of f(k), f(k-1), f(k-2),... f(1), and f(0).
○ Basically whenever a function uses its past terms to define its future terms, its a
recursive function. A famous example is the fibonacci sequence!
😁
good)
○ Binomial coefficients- (see the example below )
𝑛
○ Binomial Theorem- (𝑥 + 𝑦) = ∑
𝑛
𝑟=0
( )𝑥 𝑦
𝑛
𝑟
𝑟 𝑛−𝑟
■ This can look confusing, but often we just use it to find the coefficient of a
specific term in some binomial that we don't want to expand all the way out.
■ It helps if you think of x and y as the whole term instead of just the variable. For
23
example: find the coefficient of the 7th term of (5𝑎 − 3𝑏)
■ This would be a DISASTER to try and expand, so let's use the theorem and be
lazy! In this case, we will say that 𝑥 = 5𝑎 and 𝑦 = -3𝑏.
*It's important to remember the sign of the term here!*
■ Using the theorem, for 𝑟 = 7, we see the term would be ( ) (5𝑎) (− 3𝑏)
23
7
7 23−7
■ Basically this is just the instructions on how to build Pascal’s triangle. For some
part that you want, just sum the two elements together that are above and to the
right, and above and to the left.
■ This can maybe be used in induction if you wanted to break up a k+1 case into a k
( ) ( ) ()
𝑘+1
case. Like for example 𝑟 = 𝑟−1 + 𝑟
𝑘 𝑘
Induction problems:
1. Prove the following using mathematical induction. (from worksheet 11):
𝑛 3
a. Prove that ∀𝑛 ≥ 1: 3 > 𝑛
𝑛
𝑘 (𝑛+1)
b. Prove that ∀𝑛 ≥ 1: ∑ 𝑘 * 2 = (𝑛 − 1) * 2 + 2
𝑘=1
2. Prove the following using strong induction. (from worksheet 11):
a. Let 𝑛 ≥ 1. Prove that you can always make n cents using 2-cent and 5-cent coins
for any 𝑛 ≥ 4
b. Prove that for all 𝑛 ≥ 1, the Fibonacci sequence
𝑛
𝐹1− 1, 𝐹2− 1, and 𝐹n− 𝐹𝑛 − 1 + 𝐹𝑛 − 2 satisfies 𝐹n < 2