Applications. More Counting Problems. Complexity of Algorithms
|
|
- June Doreen Miles
- 6 years ago
- Views:
Transcription
1 Recurrences
2 Applications More Counting Problems Complexity of Algorithms
3 Part I Recurrences and Binomial Coefficients
4 Paths in a Triangle P(0, 0) P(1, 0) P(1,1) P(2, 0) P(2,1) P(2, 2) P(3, 0) P(3,1) P(3, 2) P(3, 3) P(n 1,0) P(n 1,k 1) P(n 1,k) P(n 1,n 1) P(n, k) P(n, 0) P(n, n) P(n, k) = P(n 1, k 1) + P(n 1, k)
5 Taxi Cab Paths in a Rectangle n n 1 T (m 1, n) T (m, n) T (m, n 1) T (0, j) 2 1 start T (i, 0) m 1 m T (m, n) = T (m, n 1) +T (m 1, n)
6 Paths in a Rectangle a 1 a 3 a 5 a 2n 3 a 2n 1 a 2 a 4 a 6 a 2n 2 a 2n a 2n = a 2n 1 + a 2n 2
7 Path Problems Triangle P(n, k) = P(n 1, k 1) + P(n 1, k) C(n, k) = C(n 1, k 1) + C(n 1, k) P(n, k) = C(n, k) -- P(n, 0) = 1 = C(n, 0) Rectangle (Taxicab) T (m, n) = T (m, n 1) +T (m 1, n) C(m + n, n) = C(m + n 1, n 1) + C(m + n 1, n) T (m, n) = C(m + n, n) -- T (m, 0) = 1 = C(m, m) -- T (0, n) = 1 = C(n, n)
8 Taxicab Problem Solution T (m, n) = C(m + n, n) Examples T (8, 8) = C(16, 8) = 12, T (16,16) = C(32,16) = 601, 080, T (32, 32) = C(64, 32) = 1,832,624,140,942,590, Conclusion Searching even moderate size grids for optimal path is not feasible.
9 Pascal s Triangle and Fibonacci Numbers Definitions a n = C(n, 0) + C(n 1,1) + C(n 2, 2) + + C(n / 2, n / 2) a n 1 = C(n 1, 0) + C(n 2,1) + + C(n / 2, n / 2 1) + C ((n 1)/ 2, (n 1) / 2) Sum = C(n +1, 0) + C(n,1) + C(n 1, 2) + + C(n / 2 +1, n / 2) + C ((n +1) / 2,(n +1) / 2) Conclusion a n 1 + a n = a n+1
10 Indistinguishable Objects in Distinguishable Boxes Problem How many ways W (n, m) can you put n similar objects into m different boxes placing at least r j 0 objects into box j? Solution W (n, m) = W(n 1, m) + W (n, m 1) -- Either you put an object in the first box or you don t. C(m + n 1, m) = C(m + n 1, m 1) + C(m + n 1, m) W (n, m) = C(m + n 1, m 1) = C(m + n 1, n) -- W (n, 1) = 1 = C(n, 0)
11 Part II Linear Recurrences with Constant Coefficients
12 Recurrences with Constant Coefficients Linear Homogeneous Recurrence a n = c 1 a n c k a n k Linear Inhomogeneous Recurrence a n = c 1 a n c k a n k + f (n) Nonlinear Recurrence Some a j not to first power Will not study See homework for simple examples Problems Derive the recurrence Solve the recurrence
13 Fibonacci Sequences (Homogeneous) Permutations where each element either stays in place or changes places with an adjacent neighbor Examples: 1234, , 2143, 2134, 1324 a n = number of such permutations of n objects a 1 = 1, a 2 = 2, a 3 = 3, a 4 = 5, a n = a n 1 + a n 2 (either n changes places or it doesn t) 1, 2, 3, 5, 8, 13, Rabbits breed one pair/month after the second month f n = number of rabbit pairs after n months (no deaths) f 0 = f 1 = 1 f n = f n 1 + f n 2 (number last month + newborn) 1, 1, 2, 3, 5, 8, 13, 21,
14 More Fibonacci Sequences (Homogeneous) Bitstrings of length n that do NOT have two consecutive zeros Examples: 01 0, 011, 101, 110, 111 a 1 = 2 a 2 = 3 a n = a n 1 + a n 2 (sequence either ends in 1 or ends in 0) 2, 3, 5, 8, 13, 21, Pascal s Triangle Arrange binomial coefficients in a right triangle Sum along diagonal slant f n +1 = C(n, 0) + C(n 1,1) + + C(n / 2, n / 2) 1, 1, 2, 3, 5, 8, 13, 21,
15 Exponential Sequences (Homogeneous) Compound Interest r = interest rate A n = amount of money after n years -- A 0 = Initial deposit -- A n = (1 + r)a n 1 A n A n 1 = r A n 1 - A n = (1 + r) n A 0 Biological Growth r = yearly (hourly) rate of growth or decay A n = population after n years (hours) -- A 0 = Initial population -- A n = (1 ± r)a n 1 A n A n 1 = ±ra n 1 -- A n = (1 ± r) n A 0
16 Analogy to Differential Equations Differential Equations Difference Equations da dt = ra A n = A n A n 1 = ra n 1 A(t) = A 0 e rt A n = (1 ± r) n A 0
17 Inhomogeneous Equations Tower of Hanoi h n = number of moves needed to solve Tower of Hanoi -- h 1 = 1 -- h n = 2h n h n = 2 n 1 (by induction on n) Regions of Space r n = number of planar regions generated by n nonconcurrent lines -- r 1 = 2 -- r n = r n 1 + n (every crossing creates a new region) -- r n = n(n +1) 2 +1 (by induction on n or by inspection)
18 Backwards Difference Differences a n = a n a n 1 k +1 a n = k a n k a n 1 Examples a n = a n a n 1 2 a n = a n a n 1 = (a n a n 1 ) (a n 1 a n 2 ) = a n 2a n 1 + a n 2 3 a n = 2 a n 2 a n 1 = (a n 2a n 1 + a n 2 ) (a n 1 2a n 2 + a n 3 ) = a n 3a n 1 + 3a n 2 a n 3 Lemma: k a n = k j=0 ( 1) j ( k j )a n j Proof: By induction on k.
19 Lemma: k a n = k j=0 ( 1) j ( k j )a n j Proof: By induction on k. Base cases already verified for k = 1,2, 3 Inductive Step: Assume: k a n = k j=0 ( 1) j ( k j )a n j Must Show: k +1 a n = k +1 ( 1) j ( k +1 j )a n j j =0 Use the Inductive Definition: k +1 a n = k a n k a n 1
20 Must Show: k +1 a n = k +1 ( 1) j ( k +1 j )a n j j =0 But by definition: k +1 a n = k a n k a n 1, so k +1 a n = k +1 a n = k +1 a n = k +1 a n = k +1 a n = k j =0 k j =0 k j =0 k +1 j =0 k +1 k ( 1) j ( k j )a n j ( 1) j ( k j )a n 1 j j =0 k +1 ( 1) j ( k j )a n j ( 1) j 1 ( k j 1 )a n j {reindex j j 1} j=1 k +1 ( 1) j ( k j )a n j + ( 1) j ( k j 1)a n j {adjust signs} ( 1) j j=1 {( k ) ( j + k )} j 1 a n j ( 1) j ( k +1 j )a n j j =0
21 Backwards Differences and Recurrences Recurrence a n = c 1 a n c k a n k Differences a n = a n a n 1 k +1 a n = k a n k a n 1 Lemma: k a n = k j=0 ( 1) j ( k j )a n j Corollary 1: a n k can be written in terms of a n, n a,, k a n. Corollary 2: a n = b 1 a n + + b k k a n.
22 Characteristic Equation Explicit Solution for Linear Homogeneous Recurrence a n = c 1 a n c k a n k -- a n = r n -- rn = c 1 r n c k r n k Characteristic Equation r k c 1 r k 1 c k = 0
23 Analogy to Linear Homogeneous Differential Equations Difference Equation a n = b 1 a n + + b k k a n -- a n = r n (Exponential in n) -- r = solution of characteristic equation Differential Equation A(t) = b 1 da dt + + b k d k A dt k -- A(t) = e rt (Exponential in t) -- r = solution of characteristic equation
24 Solving Linear Homogeneous Recurrence Relations Hypotheses Recurrence Relation: a n = c 1 a n c k a n k Characteristic Poly: r k c 1 r k 1 c k = 0 Theorem If r 1,, r k are k distinct roots of the characteristic polynomial, then the only solutions of the recurrence are of the form: n a n = b 1 r n bk r k
25 Proof n a n = r j is a solution since n rj satisfies the characteristic polynomial. if a n = r(n) and a n = s(n) are two solutions of the recurrence, then by linearity so are -- a n = r(n) + s(n) -- a n = br(n) Given k initial conditions, we can solve for the constants b 1,, b k, since the coefficient matrix is a Vandermonde in r 1,, r k. n Therefore a n = b 1 r n bk r k is a solution that satisfies the initial conditions. Since the initial conditions specify a unique solution, all solutions must have this form.
26 Linearity Lemma: If a n = r(n) and a n = s(n) are two solutions of the recurrence, a n = c 1 a n c k a n k then so are i. a n = r(n) + s(n) ii. a n = br(n) Proof: If a n = r(n) and a n = s(n) are two solutions of the recurrence, then r(n) = c 1r(n 1) + + c k r(n k) s(n) = c 1s(n 1) + + c k s(n k) Therefore i. r(n) + s(n) = c 1 ( r(n 1) + s(n 1) ) + + c k ( r(n k)+ s(n k) ) ii. br(n) = c 1 ( b r(n 1) ) + + c k ( b r(n k) )
27 Initial Conditions and Vandermonde Matrices Initial Conditions 0 a 0 = b 1 r bk r 0 1 a 1 = b 1 r bk r k a k 1 = b 1 r 1 k bk r k k r 1 r 2 r k k 1 r 1 k 1 r 2 k 1 rk b 1 b 2 b k = a 0 a 1 a k 1 Vandermonde Determinant det r 1 r 2 r k r 1 k 1 r 2 k 1 r k k 1 0 provided r 1 r 1 r k
28 Vandermonde Determinants 2 2Vandermonde Determinant det 1 1 r 1 r 2 = r 2 r 1 0 if r 2 r 1 k k Vandermonde Determinant r 1 r 2 r k det k 1 k 1 k 1 r 1 r 2 r k 0 provided r 1 r 1 r k since a polynomial of degree k 1 has at most k-1 roots.
29 What if Question What happens if the roots r 1,, r k are not unique? Answer Given: a n = c 1 a n 1 + c 2 a n 2 and r 1 = r 2. Solutions: a n = b 1 r 1 n + b2 n r k n (Homework).
30 Solving Recurrences Recurrence Relation: a n = c 1 a n c k a n k n k Initial Conditions: a 0,, a k 1 Characteristic Poly: r k c 1 r k 1 c k = 0 Distinct Roots: r 1,, r k General Solution: a n = b 1 r 1 n + + bk r k n Constants from a 0 = b b k Initial Conditions: a 1 = b 1 r b k r k a k 1 = b 1 r 1 k bk r k k 1
31 Fibonacci -- Revisited Fibonacci Sequence f 0 = 0 f 1 = 1 f n = f n 1 + f n 2 Characteristic Polynomial r 2 r 1 = 0 r = (1 ± 5 )/ 2 (Golden Ratio)
32 Fibonacci -- Revisited (continued) Solution f n = b 1 2 n b 2 2 n Initial Conditions b 1 + b 2 = 0 (n = 0) b b = 1 (n = 1) -- b 1 = 1 5 b 2 = 1 5 Solution f n = n n
33 Polynomial Recurrences
34 Motivation Question What happens when r 1 = r 2 = = r k = 1 are the roots of the characteristic polynomial? Answer Recurrence is no longer an exponential. Recurrence is a polynomial. Characteristic Polynomial k (1 r) k = ( 1) k j ( k j )r k j = ( 1) k ( 1) j ( k j )r k j Recurrence j =0 k j =0 a n ( k 1 )a n 1 + ( k 2 )a n 2 + ( 1) k +1 a n k = 0
35 Backwards Difference Differences a n = a n a n 1 k +1 a n = k a n k a n 1 Examples a n = a n a n 1 2 a n = a n a n 1 = (a n a n 1 ) (a n 1 a n 2 ) = a n 2a n 1 + a n 2 3 a n = 2 a n 2 a n 1 = (a n 2a n 1 + a n 2 ) (a n 1 2a n 2 + a n 3 ) = a n 3a n 1 + 3a n 2 a n 3 Linearity k (a n + b n ) = k a n + k b n k (ca n ) = c k a n
36 Backwards Differences and Polynomial Recurrences Lemma: k a n = k j=0 ( 1) j ( k j )a n j Proof: By induction on k. Polynomial Recurrences a n ( k 1 )a n 1 + ( k 2 )a n 2 + ( 1) k +1 a n k = 0 k a n = 0 Examples See IQ-tests
37 Theorem: k +1 n k = 0 {k constant, n varies} Proof: By induction on k. Base Case: k = 0, n 0 = 1 n 0 = 1 1= 0. Inductive Step. Assume k n j = 0, j < k. Apply the binomial theorem. Must Show: k +1 n k = 0. k +1 n k = k n k k (n 1) k = k ( n k (n 1) k ) = k ( kn k 1 + lower order terms ) = 0 {by the inductive hypothesis}
38 Consequences Theorem: k +1 n k = 0 {k constant, n varies} Corollary 1: k +1 p = 0 if p is any polynomial of degree k. Corollary 2: k p = constant if p is any polynomial of degree k. Analogy: d k p dt = constant if p is any polynomial of degree k.
39 Theorem: The only solutions of the recurrence k +1 a n = 0 are of the form: a n = b k n k + b k 1 n k b 0 Proof: By the Corollary 1, a n = b k n k + b k 1 n k b 0 is a solution. Given k +1 initial conditions, we can solve for the constants b 0,, b k since the coefficient matrix is Vandermonde in 1, 2,, k. Therefore a n = b k n k + b k 1 n k b 0 is a solution that satisfies the initial conditions. Since the initial conditions specify a unique solution, all solutions must have this form.
40 Forward Differences Differences a n = a n +1 a n k +1 a n = k a n k a n 1 Examples a n = a n +1 a n 2 a n = a n+1 a n = (a n+2 a n +1 ) (a n +1 a n ) = a n +2 2a n+1 + a n 3 a n = 2 a n 2 a n 1 = (a n+3 2a n +2 + a n+1 ) (a n+2 2a n +1 + a n ) = a n +3 3a n+2 + 3a n+1 a n Lemma: k a n = k j=0 ( 1) k j ( k j )a n+ j Proof: By induction on k.
41 Forward Differences Differences a n = a n +1 a n k +1 a n = k a n k a n 1 Example ( ) = t(t 1) (t k 1) (t 1) (t k) = (t 1) (t k 1) ( t (t k) ) (t 1) (t k) = k(t 1) (t k 1) Similar to Differentiation Linearity k (a n + b n ) = k a n + k b n k (ca n ) = c k a n
42 Forward Differences and Polynomial Recurrences Lemma: k a n = k j=0 ( 1) k j ( k j )a n+ j Proof: By induction on k. Polynomial Recurrences a n +k ( k 1 )a n +k 1 + ( k 2 )a n+k 2 + ( 1) k +1 a n = 0 k a n = 0 Examples See IQ-Tests
43 IQ Tests Quadratic 2 a n : 6 6 6? a n : ? a n : ? p(t) =? Cubic 3 a n : 6 6? 2 a n : ? a n : ? a n : ? p(t) =?
44 IQ Tests -- continued Quadratic 2 a n : a n : a n : p(t) = 6(t 1)(t 2) 2 + 9(t 1) + 4 Cubic 3 a n : a n : a n : a n : p(t) = 6(t 1)(t 2)(t 3) 3! + 12(t 1)(t 2) 2 +11(t 1) + 5
45 IQ Tests -- Revisited Exponential 2 a n : a n : a n : de t dt = e t analogous to 2 n = 2 n Fibonacci 2 a n : a n : a n : a n = a n is the signature of an exponential
46 Polynomial Evaluation Evenly Spaced Points a n +1 = a n + h Differencing Calculate n evenly spaced values by Horner s method Build difference triangle Propagate the difference triangle Evaluate new points using only addition, no multiplication
47 Generating Functions
48 Applications Counting Solutions to Diophantine Equations Placing Indistinguishable objects into Indistinguishable boxes Making Change Combinatorial Identities Expectation of Binomial Distribution Vandermonde Identity Solving (In)Homogeneous Linear Equations Analogous to series solutions to differential equations
49 Methods Coding Information in Exponents Counting Solutions to Diophantine Equations Coding Information in Coefficients Combinatorial Identities Solving Linear Recurrences
50 Linear Equations with Unit Coefficients Unconstrained Solve x x k = n -- order matters # Solutions in non-negative integers = C(n + k 1, n) Constrained Solve x x k = n -- order matters Constraints: a 1 x 1 b 1 a k x k b k # Solutions -- Apply Inclusion/Exclusion (Old Method) -- Take Coeff of x n in (x a x b 1 ) (x a k + + x b k ) Equations n Indistinguishable objects into k Distinguishable boxes
51 Linear Equations with Unit Coefficients -- Constrained Example Solve x 1 + x 2 + x 3 = order matters Constraints: 1 x 1 2, 2 x 2 5, 4 x Indistinguishable Objects into 3 Distinguishable Boxes # Solution -- Coeff of x 10 in (x + x 2 ) (x 2 + x 3 + x 4 + x 5 ) (x 4 + x 5 + x 6 + x 7 ) = 7
52 Partitioning the Integers Partitions Find all partitions of n into non-negative integers -- ignore order Solve x x k = n -- ignore order # Solutions in non-negative integers is coeff of x n in a polynomial product Partitions with distinct summands -- (1+ x)(1 + x2 ) (1 + x n ) Partitions with repeated summands -- (1+ x + x2 + x n )(1 + x 2 + x 4 + ) (1 + x n ) Partitions n Indistinguishable objects into k Indistinguishable boxes
53 Examples Partitions of 6 with Distinct Summands Coeff of x 6 in -- (1+ x) (1 + x 2 ) (1 + x 3 ) (1 + x 4 ) (1 + x 5 ) (1 + x 6 ) 4 Solutions: (6, 0), (5,1), (4, 2), (3, 2,1) Partitions of 6 with Repeated Summands Coeff of x 6 in -- (1+ x + + x6 )(1 + x 2 + x 4 + x 6 ) (1+ x 3 + x 6 ) (1 + x 4 ) (1 + x 5 ) (1 + x 6 ) 11 Solutions: (6, 0), (5,1), (4, 2), (4,1,1), (3, 3), (3, 2,1), (3,1,1,1), (2, 2, 2), (2, 2,1,1), (2,1,1,1,1), (1,1,1,1,1,1)
54 # Solutions to Diophantine Equations Diophantine Equation -- Solutions in Non-Negative Integers a 1x a k x k = n a 1,, a k non-negative integers Coeff x n in (1+ x a 1 + x 2a 1 )(1 + x a 2 + x 2a 2 + ) (1 + x a k + x 2a k + ) Example: Change for a Dollar x 1 + 5x 2 +10x x x 5 = 100 Coeff x 100 in (1+ x + x x 100 )(1+ x 5 + x x 100 ) (1 + x 50 + x 100 )
55 Generating Functions Definition A = a 0, a 1, a 2, = sequence finite or infinite G(x) = a k x k = Generating Function of A k Examples a k = 1 0 k n G(x) = n x k k =0 = 1 xn+1 1 x a k = 1 0 k < G(x) = x k k =0 = 1 1 x
56 Generating Functions More Examples a k = r k 0 k < G(x) = r k x k = k =0 1 1 rx n a k = B k (t) = ( n k )t k (1 t) n k 0 k n G(x) = n n k B k (t)x = ( k n )t k x k (1 t) n k = (1 t) + t x k =0 n k =0 ( ) n
57 Binomial Distribution Generating Function n B k (t) = ( n k )t k (1 t) n k 0 k n n n k G(x) = B k (t)x = ( k n )t k x k (1 t) n k = (1 t) + t x k =0 n k =0 ( ) n G (x) = n k =0 kb k n (t)x k 1 = nt ((1 t) + t x) n 1 Expectation G (1) = n k =0 kb k n (t) = nt G ( j) (1) j! n n = C(k, j)b k (t) = C(n, j)t j k = j
58 Vandermonde s Identity Generating Function (1+ t) m +n = (1 + t) m (1+ t) n Binomial Theorem m +n C(n + m, k)t k m = C(m, i)t i k =0 i=0 n j =0 C(n, j)t j Identity C(m + n, k) = C(m, i)c(n, j) k min(m, n) i+ j=k
59 Algebra of Generating Functions Setup F(x) = a k x k k G(x) = b k x k k Addition F(x) + G(x) = (a k + b k )x k k Multiplication {Discrete Convolution} ( ) k b k j x k F(x) G(x) = a j j
60 Geometric Series Sums S = c + cr + cr2 + rs = cr + cr2 + cr 3 + S rs = c S = c 1 r Examples x + x 2 + x 3 = x 1 x 1+ ax + a 2 x 2 + = 1 1 ax
61 Solving Recurrence Relations -- Tower of Hanoi (Inhomogeneous) Tower of Hanoi (Inhomogeneous) h 0 = 0 h 1 = 1 h n = 2h n 1 +1 n 1 Generating Function h n x n = 2h n 1 x n + x n H(x) = h n x n = 2x h n 1 x n 1 + x n n =1 n =1 H(x) = 2xH(x) + x /(1 x) (Functional Equation) n=1
62 Solving Recurrence Relations -- Tower of Hanoi (continued) Generating Function (continued) H(x) = h n x n n =1 H(x) = 2xH(x) + x /(1 x) -- (1 2x)H (x) = x / (1 x) -- H(x) = x /(1 x)(1 2x) =1 /(1 2x) 1/ (1 x) H(x) = 2 n x n x n = (2 n n =0 n=0 n =0 1)x n Conclusion h n = 2 n 1
63 Solving Recurrence Relations -- Fibonacci Sequence (Homogeneous) Fibonacci Sequence f 0 = 0 f 1 = 1 f n = f n 1 + f n 2 n 2 Generating Function F(x) = f n x n n =1 f n x n = f n 1 x n + f n 2 x n f n x n = x f n 1 x n 1 + x 2 f n 2 n =2 n=2 n =2 x n 2 F(x) x = xf(x) + x 2 F(x) (Functional Equation)
64 Solving Recurrence Relations -- Fibonacci Sequence (continued) Generating Function (continued) F(x) x = xf(x) + x 2 F(x) -- (1 x x 2 )F(x) = x -- F(x) = x / (1 x x 2 ) = x / (1 ax)(1 bx) F(x) = ax 1 1 bx -- a = b = F(x) = 1 5 (a n b n )x n f n = an b n 5 n =0 Analogous to series solutions for ordinary differential equations.
65 Algorithm for Solving Linear Recurrences Algorithm 1. Multiply both sides of the recurrence by x n. 2. Sum over n. 3. Replace the power series by generating functions a. Find the functional equation 4. Solve the functional equation for the generating function -- explicit formula. 5. Convert the explicit formula back to a power series. 6. Read off the coefficients of the power series.
66 Fun Exercises 1. Prove that the generating function of a linear homogeneous recurrence is a rational function. 2. Prove that the roots of the denominator of the generating function are the reciprocals of the roots of the characteristic polynomial of the recurrence. 3. Prove that the numerator of the generating function for the recurrence a n = c 1 a n c k a n k is given by taking the product (a 0 + a 1 x + a k 1 x k 1 ) (c 1 x + + c k 1 x k 1 ) and truncating to the first k 1 powers of x.
67 Placing Objects into Boxes Objects Boxes Constraints Solution n type I k type D x j 1 C(n 1, k 1) n type I k type D x j 0 C(n + k 1, n) n type D k type D x j 1 ( 1) k C(n, k)(n k) m (Onto Functions) m type D n type I x j 1 n k =0 n k =0 ( 1) k C(n, k)(n k) m n! n type I k type I x j 0 Coeff x n (1+ x + + x n )(1+ x 2 + ) (1 + x n ) I = indistinguishable D = distinguishable
68 The Master Theorem and Algorithmic Complexity
69 The Master Theorem -- Divide and Conquer Binary Search f (n) = f (n / 2) + 2 Maxima and Minima f (n) = 2 f (n / 2) + 2 Divide and Conquer f (n) = a f (n /b) + c -- Divide problem into a subproblems, each of size n / b, using c additional operations. -- Conquer f (n) by solving the smaller problems
70 Master Theorem Theorem: Let f (n) = a f (n /b) + c Then i. f (n) = O log b (a) ii. ( ) a > 1 f (n) = O ( log(n) ) a = 1 Proof: f (n) = a f (n /b) + c { f (n / b) = a f (n / b 2 ) + c } = a 2 f (n / b 2 ) + ac + c { f (n / b 2 ) = a f (n / b 3 ) + c} = a 3 f (n / b 3 ) + a 2 c + ac + c = a k f (n / b k ) + a k 1 c + + ac + c (*)
71 Case 1. a > 1: a. Suppose n = b k. k = log b (n) a k = a log b (n) = n log b (a) (take log b of both sides) Then by (*) f (n) = a k f (1) + c ak 1 a 1 = f (1) + c a a 1 k b. Suppose b k < n < b k +1. Then since f is increasing c a 1 = O nlog b (a) ( ) f (n) < f (b k +1 ) = C 1 a k +1 + C 2 = (C 1 a)a k + C 2 < (C 1 a)a log b (n) + C 2 = (C 1 a)n log b (a) + C 2 = O( n log b (a) )
72 Case 2. a = 1: a. Suppose n = b k. Then by (*) f (n) = f (1) + kc = f (1) + c log b (n) = O ( log b (n)) b. Suppose b k < n < b k +1. Then since f is increasing f (n) < f (b k +1 ) = C 1 (k +1) + C 2 = (C 1 + C 2 ) + C 1 k = (C 1 + C 2 ) + C 1 log b (n) = O( log b (n)) QED
73 Examples Binary Search f (n) = f (n / 2) + 2 f (n) = O ( log(n) ) since a = 1 Maxima and Minima f (n) = 2 f (n / 2) + 2 f (n) = O(n) since a = b = 2
74 Theorem: Let f (n) = a f (n /b) + cn d, where a 1 Then i. f (n) = O(n d ) a < b d ii. iii. f (n) = O ( n d log(n) ) a = b d f (n) = O ( n log b (a) ) a > b d Proof: Homework
Recurrence Relations
Recurrence Relations Winter 2017 Recurrence Relations Recurrence Relations A recurrence relation for the sequence {a n } is an equation that expresses a n in terms of one or more of the previous terms
More informationAdvanced Counting Techniques. Chapter 8
Advanced Counting Techniques Chapter 8 Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence Relations Nonhomogeneous Recurrence Relations Divide-and-Conquer
More informationAdvanced Counting Techniques
. All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education. Advanced Counting
More informationPartition of Integers into Distinct Summands with Upper Bounds. Partition of Integers into Even Summands. An Example
Partition of Integers into Even Summands We ask for the number of partitions of m Z + into positive even integers The desired number is the coefficient of x m in + x + x 4 + ) + x 4 + x 8 + ) + x 6 + x
More informationGenerating Functions
Semester 1, 2004 Generating functions Another means of organising enumeration. Two examples we have seen already. Example 1. Binomial coefficients. Let X = {1, 2,..., n} c k = # k-element subsets of X
More informationCSC2100B Data Structures Analysis
CSC2100B Data Structures Analysis Irwin King king@cse.cuhk.edu.hk http://www.cse.cuhk.edu.hk/~king Department of Computer Science & Engineering The Chinese University of Hong Kong Algorithm An algorithm
More informationEvery subset of {1, 2,...,n 1} can be extended to a subset of {1, 2, 3,...,n} by either adding or not adding the element n.
11 Recurrences A recurrence equation or recurrence counts things using recursion. 11.1 Recurrence Equations We start with an example. Example 11.1. Find a recurrence for S(n), the number of subsets of
More informationPrentice Hall: Algebra 2 with Trigonometry 2006 Correlated to: California Mathematics Content Standards for Algebra II (Grades 9-12)
California Mathematics Content Standards for Algebra II (Grades 9-12) This discipline complements and expands the mathematical content and concepts of algebra I and geometry. Students who master algebra
More informationHow do we analyze, evaluate, solve, and graph quadratic functions?
Topic: 4. Quadratic Functions and Factoring Days: 18 Key Learning: Students will be able to analyze, evaluate, solve and graph quadratic functions. Unit Essential Question(s): How do we analyze, evaluate,
More information) = nlog b ( m) ( m) log b ( ) ( ) = log a b ( ) Algebra 2 (1) Semester 2. Exponents and Logarithmic Functions
Exponents and Logarithmic Functions Algebra 2 (1) Semester 2! a. Graph exponential growth functions!!!!!! [7.1]!! - y = ab x for b > 0!! - y = ab x h + k for b > 0!! - exponential growth models:! y = a(
More informationGenerating Functions
8.30 lecture notes March, 0 Generating Functions Lecturer: Michel Goemans We are going to discuss enumeration problems, and how to solve them using a powerful tool: generating functions. What is an enumeration
More informationChapter Generating Functions
Chapter 8.1.1-8.1.2. Generating Functions Prof. Tesler Math 184A Fall 2017 Prof. Tesler Ch. 8. Generating Functions Math 184A / Fall 2017 1 / 63 Ordinary Generating Functions (OGF) Let a n (n = 0, 1,...)
More information12 Sequences and Recurrences
12 Sequences and Recurrences A sequence is just what you think it is. It is often given by a formula known as a recurrence equation. 12.1 Arithmetic and Geometric Progressions An arithmetic progression
More informationDiscrete Mathematics. Kishore Kothapalli
Discrete Mathematics Kishore Kothapalli 2 Chapter 4 Advanced Counting Techniques In the previous chapter we studied various techniques for counting and enumeration. However, there are several interesting
More informationWeek 9-10: Recurrence Relations and Generating Functions
Week 9-10: Recurrence Relations and Generating Functions April 3, 2017 1 Some number sequences An infinite sequence (or just a sequence for short is an ordered array a 0, a 1, a 2,..., a n,... of countably
More informationBinomial Coefficient Identities/Complements
Binomial Coefficient Identities/Complements CSE21 Fall 2017, Day 4 Oct 6, 2017 https://sites.google.com/a/eng.ucsd.edu/cse21-fall-2017-miles-jones/ permutation P(n,r) = n(n-1) (n-2) (n-r+1) = Terminology
More informationPrentice Hall CME Project, Algebra
Prentice Hall Advanced Algebra C O R R E L A T E D T O Oregon High School Standards Draft 6.0, March 2009, Advanced Algebra Advanced Algebra A.A.1 Relations and Functions: Analyze functions and relations
More informationCSI2101-W08- Recurrence Relations
Motivation CSI2101-W08- Recurrence Relations where do they come from modeling program analysis Solving Recurrence Relations by iteration arithmetic/geometric sequences linear homogenous recurrence relations
More informationAdvanced Counting Techniques. 7.1 Recurrence Relations
Chapter 7 Advanced Counting Techniques 71 Recurrence Relations We have seen that a recursive definition of a sequence specifies one or more initial terms and a rule for determining subsequent terms from
More informationFoundations of Math II Unit 5: Solving Equations
Foundations of Math II Unit 5: Solving Equations Academics High School Mathematics 5.1 Warm Up Solving Linear Equations Using Graphing, Tables, and Algebraic Properties On the graph below, graph the following
More informationAlgebra II Learning Targets
Chapter 0 Preparing for Advanced Algebra LT 0.1 Representing Functions Identify the domain and range of functions LT 0.2 FOIL Use the FOIL method to multiply binomials LT 0.3 Factoring Polynomials Use
More informationAlgorithms: Background
Algorithms: Background Amotz Bar-Noy CUNY Amotz Bar-Noy (CUNY) Algorithms: Background 1 / 66 What is a Proof? Definition I: The cogency of evidence that compels acceptance by the mind of a truth or a fact.
More information5. Sequences & Recursion
5. Sequences & Recursion Terence Sim 1 / 42 A mathematician, like a painter or poet, is a maker of patterns. Reading Sections 5.1 5.4, 5.6 5.8 of Epp. Section 2.10 of Campbell. Godfrey Harold Hardy, 1877
More informationAlgorithmic Approach to Counting of Certain Types m-ary Partitions
Algorithmic Approach to Counting of Certain Types m-ary Partitions Valentin P. Bakoev Abstract Partitions of integers of the type m n as a sum of powers of m (the so called m-ary partitions) and their
More informationMiller Objectives Alignment Math
Miller Objectives Alignment Math 1050 1 College Algebra Course Objectives Spring Semester 2016 1. Use algebraic methods to solve a variety of problems involving exponential, logarithmic, polynomial, and
More informationCHINO VALLEY UNIFIED SCHOOL DISTRICT INSTRUCTIONAL GUIDE ALGEBRA II
CHINO VALLEY UNIFIED SCHOOL DISTRICT INSTRUCTIONAL GUIDE ALGEBRA II Course Number 5116 Department Mathematics Qualification Guidelines Successful completion of both semesters of Algebra 1 or Algebra 1
More informationExercises for Chapter 1
Solution Manual for A First Course in Abstract Algebra, with Applications Third Edition by Joseph J. Rotman Exercises for Chapter. True or false with reasons. (i There is a largest integer in every nonempty
More informationIndex. Index. Index A53
A Addition of integers, 1 linear equations, 4 linear inequalities, 54 of polynomials, 337, 340 341, 396 Property of Equality, 4 of Inequality, 54 of radicals and square roots, 465, 470 in units of measure,
More informationand the compositional inverse when it exists is A.
Lecture B jacques@ucsd.edu Notation: R denotes a ring, N denotes the set of sequences of natural numbers with finite support, is a generic element of N, is the infinite zero sequence, n 0 R[[ X]] denotes
More information17 Advancement Operator Equations
November 14, 2017 17 Advancement Operator Equations William T. Trotter trotter@math.gatech.edu Review of Recurrence Equations (1) Problem Let r(n) denote the number of regions determined by n lines that
More informationHomework 8 Solutions to Selected Problems
Homework 8 Solutions to Selected Problems June 7, 01 1 Chapter 17, Problem Let f(x D[x] and suppose f(x is reducible in D[x]. That is, there exist polynomials g(x and h(x in D[x] such that g(x and h(x
More informationPre-calculus 12 Curriculum Outcomes Framework (110 hours)
Curriculum Outcomes Framework (110 hours) Trigonometry (T) (35 40 hours) General Curriculum Outcome: Students will be expected to develop trigonometric reasoning. T01 Students will be expected to T01.01
More informationWhat you learned in Math 28. Rosa C. Orellana
What you learned in Math 28 Rosa C. Orellana Chapter 1 - Basic Counting Techniques Sum Principle If we have a partition of a finite set S, then the size of S is the sum of the sizes of the blocks of the
More informationAlgebra 2 (2006) Correlation of the ALEKS Course Algebra 2 to the California Content Standards for Algebra 2
Algebra 2 (2006) Correlation of the ALEKS Course Algebra 2 to the California Content Standards for Algebra 2 Algebra II - This discipline complements and expands the mathematical content and concepts of
More informationArithmetic properties of lacunary sums of binomial coefficients
Arithmetic properties of lacunary sums of binomial coefficients Tamás Mathematics Department Occidental College 29th Journées Arithmétiques JA2015, July 6-10, 2015 Arithmetic properties of lacunary sums
More informationCHAPTER 3 Further properties of splines and B-splines
CHAPTER 3 Further properties of splines and B-splines In Chapter 2 we established some of the most elementary properties of B-splines. In this chapter our focus is on the question What kind of functions
More informationcorrelated to the Washington D.C. Public Schools Learning Standards Algebra II
correlated to the Washington D.C. Public Schools Learning Standards Algebra II McDougal Littell Algebra 2 2007 correlated to the Washington DC Public Schools Learning Standards Algebra II NUMBER SENSE
More informationWarm-up Simple methods Linear recurrences. Solving recurrences. Misha Lavrov. ARML Practice 2/2/2014
Solving recurrences Misha Lavrov ARML Practice 2/2/2014 Warm-up / Review 1 Compute 100 k=2 ( 1 1 ) ( = 1 1 ) ( 1 1 ) ( 1 1 ). k 2 3 100 2 Compute 100 k=2 ( 1 1 ) k 2. Homework: find and solve problem Algebra
More information{ 0! = 1 n! = n(n 1)!, n 1. n! =
Summations Question? What is the sum of the first 100 positive integers? Counting Question? In how many ways may the first three horses in a 10 horse race finish? Multiplication Principle: If an event
More informationn=0 xn /n!. That is almost what we have here; the difference is that the denominator is (n + 1)! in stead of n!. So we have x n+1 n=0
DISCRETE MATHEMATICS HOMEWORK 8 SOL Undergraduate Course Chukechen Honors College Zhejiang University Fall-Winter 204 HOMEWORK 8 P496 6. Find a closed form for the generating function for the sequence
More informationAlgebra 2. Chapter 4 Exponential and Logarithmic Functions. Chapter 1 Foundations for Functions. Chapter 3 Polynomial Functions
Algebra 2 Chapter 1 Foundations for Chapter 2 Quadratic Chapter 3 Polynomial Chapter 4 Exponential and Logarithmic Chapter 5 Rational and Radical Chapter 6 Properties and Attributes of Chapter 7 Probability
More informationSpiral Review Probability, Enter Your Grade Online Quiz - Probability Pascal's Triangle, Enter Your Grade
Course Description This course includes an in-depth analysis of algebraic problem solving preparing for College Level Algebra. Topics include: Equations and Inequalities, Linear Relations and Functions,
More informationCS2800 Fall 2013 October 23, 2013
Discrete Structures Stirling Numbers CS2800 Fall 203 October 23, 203 The text mentions Stirling numbers briefly but does not go into them in any depth. However, they are fascinating numbers with a lot
More informationCheck boxes of Edited Copy of Sp Topics (was 217-pilot)
Check boxes of Edited Copy of 10024 Sp 11 213 Topics (was 217-pilot) College Algebra, 9th Ed. [open all close all] R-Basic Algebra Operations Section R.1 Integers and rational numbers Rational and irrational
More informationComplex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i
Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i 2 = 1 Sometimes we like to think of i = 1 We can treat
More informationDiscrete Mathematics -- Chapter 10: Recurrence Relations
Discrete Mathematics -- Chapter 10: Recurrence Relations Hung-Yu Kao ( 高宏宇 ) Department of Computer Science and Information Engineering, National Cheng Kung University First glance at recurrence F n+2
More informationPUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes
PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES Notes. x n+ = ax n has the general solution x n = x a n. 2. x n+ = x n + b has the general solution x n = x + (n )b. 3. x n+ = ax n + b (with a ) can be
More informationLECTURE 5, FRIDAY
LECTURE 5, FRIDAY 20.02.04 FRANZ LEMMERMEYER Before we start with the arithmetic of elliptic curves, let us talk a little bit about multiplicities, tangents, and singular points. 1. Tangents How do we
More informationReview problems solutions
Review problems solutions Math 3152 December 15, 2017 1. Use the binomial theorem to prove that, for all n 1 and k satisfying 0 k n, ( )( ) { n i ( 1) i k 1 if k n; i k 0 otherwise. ik Solution: Using
More informationRecurrence Relations
Recurrence Relations Recurrence Relations Reading (Epp s textbook) 5.6 5.8 1 Recurrence Relations A recurrence relation for a sequence aa 0, aa 1, aa 2, ({a n }) is a formula that relates each term a k
More informationAlgebra II. A2.1.1 Recognize and graph various types of functions, including polynomial, rational, and algebraic functions.
Standard 1: Relations and Functions Students graph relations and functions and find zeros. They use function notation and combine functions by composition. They interpret functions in given situations.
More informationDIFFERENTIATION RULES
3 DIFFERENTIATION RULES DIFFERENTIATION RULES We have: Seen how to interpret derivatives as slopes and rates of change Seen how to estimate derivatives of functions given by tables of values Learned how
More informationChapter R - Basic Algebra Operations (94 topics, no due date)
Course Name: Math 00024 Course Code: N/A ALEKS Course: College Algebra Instructor: Master Templates Course Dates: Begin: 08/15/2014 End: 08/15/2015 Course Content: 207 topics Textbook: Barnett/Ziegler/Byleen/Sobecki:
More information1 Sequences and Summation
1 Sequences and Summation A sequence is a function whose domain is either all the integers between two given integers or all the integers greater than or equal to a given integer. For example, a m, a m+1,...,
More information1.) Suppose the graph of f(x) looks like this (each tick mark denotes 1 unit). x y
College Algebra Summer 2014 Exam File Exam #1 1.) Suppose the graph of f(x) looks like this (each tick mark denotes 1 unit). Graph g(x) = -0.5 f(x + 1) - 3 2.) Consider the following table of values. x
More informationAlgebra , Martin-Gay
A Correlation of Algebra 1 2016, to the Common Core State Standards for Mathematics - Algebra I Introduction This document demonstrates how Pearson s High School Series by Elayn, 2016, meets the standards
More informationChapter 5: Integer Compositions and Partitions and Set Partitions
Chapter 5: Integer Compositions and Partitions and Set Partitions Prof. Tesler Math 184A Winter 2017 Prof. Tesler Ch. 5: Compositions and Partitions Math 184A / Winter 2017 1 / 32 5.1. Compositions A strict
More informationCombinatorics. But there are some standard techniques. That s what we ll be studying.
Combinatorics Problem: How to count without counting. How do you figure out how many things there are with a certain property without actually enumerating all of them. Sometimes this requires a lot of
More informationSums and Products. a i = a 1. i=1. a i = a i a n. n 1
Sums and Products -27-209 In this section, I ll review the notation for sums and products Addition and multiplication are binary operations: They operate on two numbers at a time If you want to add or
More information1 Functions, Graphs and Limits
1 Functions, Graphs and Limits 1.1 The Cartesian Plane In this course we will be dealing a lot with the Cartesian plane (also called the xy-plane), so this section should serve as a review of it and its
More informationCHAPTER 2 POLYNOMIALS KEY POINTS
CHAPTER POLYNOMIALS KEY POINTS 1. Polynomials of degrees 1, and 3 are called linear, quadratic and cubic polynomials respectively.. A quadratic polynomial in x with real coefficient is of the form a x
More information1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =
Chapter 5 Sequences and series 5. Sequences Definition 5. (Sequence). A sequence is a function which is defined on the set N of natural numbers. Since such a function is uniquely determined by its values
More informationThe solutions to the two examples above are the same.
One-to-one correspondences A function f : A B is one-to-one if f(x) = f(y) implies that x = y. A function f : A B is onto if for any element b in B there is an element a in A such that f(a) = b. A function
More informationCS 5321: Advanced Algorithms - Recurrence. Acknowledgement. Outline. Ali Ebnenasir Department of Computer Science Michigan Technological University
CS 5321: Advanced Algorithms - Recurrence Ali Ebnenasir Department of Computer Science Michigan Technological University Acknowledgement Eric Torng Moon Jung Chung Charles Ofria Outline Motivating example:
More informationGenerating Functions
Generating Functions Karen Ge May, 07 Abstract Generating functions gives us a global perspective when we need to study a local property. We define generating functions and present its applications in
More informationChapter 5: Integer Compositions and Partitions and Set Partitions
Chapter 5: Integer Compositions and Partitions and Set Partitions Prof. Tesler Math 184A Fall 2017 Prof. Tesler Ch. 5: Compositions and Partitions Math 184A / Fall 2017 1 / 46 5.1. Compositions A strict
More informationCalifornia Algebra 1
California Algebra 1 This course covers the topics shown below. Students navigate learning paths based on their level of readiness. Institutional users may customize the scope and sequence to meet curricular
More informationCS 5321: Advanced Algorithms Analysis Using Recurrence. Acknowledgement. Outline
CS 5321: Advanced Algorithms Analysis Using Recurrence Ali Ebnenasir Department of Computer Science Michigan Technological University Acknowledgement Eric Torng Moon Jung Chung Charles Ofria Outline Motivating
More informationFLORIDA STANDARDS TO BOOK CORRELATION
FLORIDA STANDARDS TO BOOK CORRELATION Florida Standards (MAFS.912) Conceptual Category: Number and Quantity Domain: The Real Number System After a standard is introduced, it is revisited many times in
More informationAlgebra and Trigonometry 2006 (Foerster) Correlated to: Washington Mathematics Standards, Algebra 2 (2008)
A2.1. Core Content: Solving problems The first core content area highlights the type of problems students will be able to solve by the end of, as they extend their ability to solve problems with additional
More informationPUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.
PUTNAM TRAINING NUMBER THEORY (Last updated: December 11, 2017) Remark. This is a list of exercises on Number Theory. Miguel A. Lerma Exercises 1. Show that the sum of two consecutive primes is never twice
More informationAlgebra II Vocabulary Word Wall Cards
Algebra II Vocabulary Word Wall Cards Mathematics vocabulary word wall cards provide a display of mathematics content words and associated visual cues to assist in vocabulary development. The cards should
More informationEx. Here's another one. We want to prove that the sum of the cubes of the first n natural numbers is. n = n 2 (n+1) 2 /4.
Lecture One type of mathematical proof that goes everywhere is mathematical induction (tb 147). Induction is essentially used to show something is true for all iterations, i, of a sequence, where i N.
More informationSMSU Mathematics Course Content
Southwest Minnesota State University Department of Mathematics SMSU Mathematics Course Content 2012-2013 Thefollowing is a list of possibletopics and techniques to cover in your SMSU College Now course.
More informationNever leave a NEGATIVE EXPONENT or a ZERO EXPONENT in an answer in simplest form!!!!!
1 ICM Unit 0 Algebra Rules Lesson 1 Rules of Exponents RULE EXAMPLE EXPLANANTION a m a n = a m+n A) x x 6 = B) x 4 y 8 x 3 yz = When multiplying with like bases, keep the base and add the exponents. a
More informationALGEBRA 2/TRIGONMETRY TOPIC REVIEW QUARTER 2 POWERS OF I
ALGEBRA /TRIGONMETRY TOPIC REVIEW QUARTER Imaginary Unit: i = i i i i 0 = = i = = i Imaginary numbers appear when you have a negative number under a radical. POWERS OF I Higher powers if i: If you have
More informationAlgebra 2 Khan Academy Video Correlations By SpringBoard Activity
SB Activity Activity 1 Creating Equations 1-1 Learning Targets: Create an equation in one variable from a real-world context. Solve an equation in one variable. 1-2 Learning Targets: Create equations in
More informationCMSC Discrete Mathematics SOLUTIONS TO FIRST MIDTERM EXAM October 18, 2005 posted Nov 2, 2005
CMSC-37110 Discrete Mathematics SOLUTIONS TO FIRST MIDTERM EXAM October 18, 2005 posted Nov 2, 2005 Instructor: László Babai Ryerson 164 e-mail: laci@cs This exam contributes 20% to your course grade.
More informationDiscrete Math Notes. Contents. William Farmer. April 8, Overview 3
April 8, 2014 Contents 1 Overview 3 2 Principles of Counting 3 2.1 Pigeon-Hole Principle........................ 3 2.2 Permutations and Combinations.................. 3 2.3 Binomial Coefficients.........................
More informationAlgebra 2 Khan Academy Video Correlations By SpringBoard Activity
SB Activity Activity 1 Creating Equations 1-1 Learning Targets: Create an equation in one variable from a real-world context. Solve an equation in one variable. 1-2 Learning Targets: Create equations in
More informationTopics in Algorithms. 1 Generation of Basic Combinatorial Objects. Exercises. 1.1 Generation of Subsets. 1. Consider the sum:
Topics in Algorithms Exercises 1 Generation of Basic Combinatorial Objects 1.1 Generation of Subsets 1. Consider the sum: (ε 1,...,ε n) {0,1} n f(ε 1,..., ε n ) (a) Show that it may be calculated in O(n)
More informationCS483 Design and Analysis of Algorithms
CS483 Design and Analysis of Algorithms Lecture 6-8 Divide and Conquer Algorithms Instructor: Fei Li lifei@cs.gmu.edu with subject: CS483 Office hours: STII, Room 443, Friday 4:00pm - 6:00pm or by appointments
More informationUNIVERSITY OF NORTH ALABAMA MA 110 FINITE MATHEMATICS
MA 110 FINITE MATHEMATICS Course Description. This course is intended to give an overview of topics in finite mathematics together with their applications and is taken primarily by students who are not
More informationA video College Algebra course & 6 Enrichment videos
A video College Algebra course & 6 Enrichment videos Recorded at the University of Missouri Kansas City in 1998. All times are approximate. About 43 hours total. Available on YouTube at http://www.youtube.com/user/umkc
More informationELEMENTARY LINEAR ALGEBRA
ELEMENTARY LINEAR ALGEBRA K R MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND First Printing, 99 Chapter LINEAR EQUATIONS Introduction to linear equations A linear equation in n unknowns x,
More informationRon Paul Curriculum Mathematics 8 Lesson List
Ron Paul Curriculum Mathematics 8 Lesson List 1 Introduction 2 Algebraic Addition 3 Algebraic Subtraction 4 Algebraic Multiplication 5 Week 1 Review 6 Algebraic Division 7 Powers and Exponents 8 Order
More informationAlgebra I. Book 2. Powered by...
Algebra I Book 2 Powered by... ALGEBRA I Units 4-7 by The Algebra I Development Team ALGEBRA I UNIT 4 POWERS AND POLYNOMIALS......... 1 4.0 Review................ 2 4.1 Properties of Exponents..........
More informationOptimization. CS Summer 2008 Jonathan Kaldor
Optimization CS3220 - Summer 2008 Jonathan Kaldor Problem Setup Suppose we have a function f(x) in one variable (for the moment) We want to find x such that f(x ) is a minimum of the function f(x) Can
More informationALGEBRA 2 FINAL EXAM REVIEW
Class: Date: ALGEBRA 2 FINAL EXAM REVIEW Multiple Choice Identify the choice that best completes the statement or answers the question.. Classify 6x 5 + x + x 2 + by degree. quintic c. quartic cubic d.
More informationMath 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction
Math 4 Summer 01 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If
More informationInternet Mat117 Formulas and Concepts. d(a, B) = (x 2 x 1 ) 2 + (y 2 y 1 ) 2., y 1 + y 2. ( x 1 + x 2 2
Internet Mat117 Formulas and Concepts 1. The distance between the points A(x 1, y 1 ) and B(x 2, y 2 ) in the plane is d(a, B) = (x 2 x 1 ) 2 + (y 2 y 1 ) 2. 2. The midpoint of the line segment from A(x
More information1 Recursive Algorithms
400 lecture note #8 [ 5.6-5.8] Recurrence Relations 1 Recursive Algorithms A recursive algorithm is an algorithm which invokes itself. A recursive algorithm looks at a problem backward -- the solution
More informationCommon Core Edition Table of Contents
Common Core Edition Table of Contents ALGEBRA 1 Chapter 1 Foundations for Algebra 1-1 Variables and Expressions 1-2 Order of Operations and Evaluating Expressions 1-3 Real Numbers and the Number Line 1-4
More informationIntroduction to Algorithms 6.046J/18.401J/SMA5503
Introduction to Algorithms 6.046J/8.40J/SMA5503 Lecture 3 Prof. Piotr Indyk The divide-and-conquer design paradigm. Divide the problem (instance) into subproblems. 2. Conquer the subproblems by solving
More informationUnit 5: Sequences, Series, and Patterns
Unit 5: Sequences, Series, and Patterns Section 1: Sequences and Series 1. Sequence: an ordered list of numerical terms 2. Finite Sequence: has a first term (a beginning) and a last term (an end) 3. Infinite
More information1 Determinants. 1.1 Determinant
1 Determinants [SB], Chapter 9, p.188-196. [SB], Chapter 26, p.719-739. Bellow w ll study the central question: which additional conditions must satisfy a quadratic matrix A to be invertible, that is to
More informationContents. CHAPTER P Prerequisites 1. CHAPTER 1 Functions and Graphs 69. P.1 Real Numbers 1. P.2 Cartesian Coordinate System 14
CHAPTER P Prerequisites 1 P.1 Real Numbers 1 Representing Real Numbers ~ Order and Interval Notation ~ Basic Properties of Algebra ~ Integer Exponents ~ Scientific Notation P.2 Cartesian Coordinate System
More informationCollege Algebra and Trigonometry
GLOBAL EDITION College Algebra and Trigonometry THIRD EDITION J. S. Ratti Marcus McWaters College Algebra and Trigonometry, Global Edition Table of Contents Cover Title Page Contents Preface Resources
More informationIntermediate Level Learning Targets
Learning Target #1: Develop proficiency in analyzing, graphing and solving linear equations and inequalities. F1.1,,, B1. C1. 1.1 Students will be able to identify different types of relations and functions.
More information1 Recurrence relations, continued continued
1 Recurrence relations, continued continued Linear homogeneous recurrences are only one of several possible ways to describe a sequence as a recurrence. Here are several other situations which may arise.
More information