EECS 203: Discrete Mathematics Fall 2019 Discussion 12 - Notes
EECS 203: Discrete Mathematics Fall 2019 Discussion 12 - Notes
Fall 2019
Discussion 12 - Notes
1 Definitions
• Big-O:
• Big-Ω:
• Big-Θ:
• Master Theorem:
2. Not in Book 1
Prove that 5n is not O(3n )
1
5. Section 3.2 Problem 30 (a, e)
Show that each of these pairs of functions are of the same order.
(a) 3x + 7, x
(e) log10 x, log2 x
8. Exercise 8.1.12
a) Find a recurrence relation for the number of ways to climb n stairs if the person
climbing the stairs can take one, two, or three stairs at a time.
b) What are the initial conditions?
c) In how many ways can this person climb 8 stairs?
2
10. 8.1 Not in Book
(a) Derive a recurrence relation for the number of binary strings of length n that do
not have consecutive 0’s. You must explain how you derive the relation.
(b) Find the solution to the recurrence relation you found in part (a).
13. 8.2.20
Find the general form of the solutions of the recurrence relation an = 8an−2 − 16an−4 .