CMSC 341 Math Review
Exponents Identities (XA)B = XAB XA * XB = XA+B XA / XB = XA-B
Logarithms Definition: N = logAX if and only if AN = X In this course and text, all logarithms are base 2 unless otherwise noted Identities
Mathematical series Geometric series:
Mathematical series (cont.) Infinite series. Ex. Other series:
Proof by induction Three steps: to prove a theorem F(N) for any positive integer N Step 1: Base case: prove F(1) is true there may be different base cases (or more than one base) Step 2: Hypothesis: assume F(k) is true for any k >= 1 (it is an assumption, don’t try to prove it) Step 3: Inductive proof: prove that if F(k) is true (assumption) then F(k+1) is true F(1) from base case F(2) from F(1) and inductive proof F(3) from F(2) and inductive proof … F(k+1) from F(k) and inductive proof
Proof by induction Ex., show that
exercise Fibonacci numbers: 0, 1, 1, 2, 3, 5, 8, 13,… Formal definition: F(0) = 0; F(1) = 1; F(n) = F(n-1) + F(n-2) for n > 1. Show that