Some Review Problems for Exam 2: Solutions
|
|
- Elvin Hicks
- 6 years ago
- Views:
Transcription
1 Math 5366 Fall 017 Some Review Problems for Exam : Solutions 1 Find the coefficient of x 15 in each of the following: 1 (a) (1 x) 6 Solution: 1 (1 x) = ( ) k + 5 x k 6 k ( ) ( ) 0 0 so the coefficient of x 15 is = = 15, (b) (1 + x ) 3 (1 x) 6 Solution: The coefficient of x 15 will be (c) 15!(1 + x ) 3 e 6x (1 + x ) 3 (1 x) 6 = (1 + 3x + 3x 4 + x 6 ) ( ) ( ) k + 5 x k k ( ) ( ) ( ) 14 = 56, Solution: The coefficient of x n in e 6x is 6n 615 We have 15!( n! 15! 13! or P (15, ) P (15, 4) P (15, 6) + 69 ), 11! 9! Find a closed form expression for the generating function for the sequence: (a) 5, 5, 5, 5, Solution: Answer: 5 + 5x + 5x + = 5 1 x (b) 5, 0, 5, 0, 5, 0, Solution: Here, the generating function is 5 + 5x + 5x 4 +, which is the same as in part (a), but with x replaced by x 5, so the answer is 1 x (c) 1, 6, 17, 34, (the k th term is 1 + k + 3k ) Solution: We could break up the problem to finding 3 different generating functions: x k + kx k + 3k x k But it is usually easier to use the trick
2 ( ) m + k that x k 1 = k (1 x) To use the trick, try to write m+1 1+n+3n as a sum of binomial coefficients of the appropriate type This is another version of an undetermined coefficients problem: Write ( ) ( ) n + 1 n n + 3n = A + B + C 1 When n = 0 we get A + B + C = 1, when n = 1, A + B + 3C = 6, and when n =, A + 3B + 6C = 17 This system has solution A =, B = 7, C = 6 so (1 + k + 3k )x k = ( ( ) k ( k = 1 x 7 (1 x) + 6 (1 x) 3 )) x k 3 Use the answer to part (c) above to find a formula for (1 + n + 3n ) Solution: We need the coefficient of x n in 1 A(x), where A(x) is the generating 1 x function for the sequence in part (c) That is, we need the coefficient of x n in or (1 x) 7 (1 x) (1 x), 4 ( ) ( ) ( ) n + 1 n + n = n3 + 5n + 5n + 4 Find the generating function for each of the following problems Write your answer as simply as possible (that is, 1 + x + x 3 + x 4 + should be written 1 1 x+x x or ) 1 x 1 x Note: Just find the generating function (ordinary or exponential,) don t solve for x n (a) In how many ways can n balls be put into 5 boxes if there is at least one ball in the first box and at most 3 in the second? Solution: x 1 x (1 + x + x + x ) 1 x 1 x 1 x = x(1 + x + x + x 3 ), or (1 x) 4 x x 5 (1 x) 5 Page
3 (b) How many sequences made up of a, b, c, d, e of length n are there if there is at least one a and at most 3 b s? Solution: (e x 1) ) ) (1 + x + x! + x3 e x e x e x = (1 + x + x 3!! + x3 (e 4x e 3x ) 3! (c) How many ways can n balls be put into 5 boxes if the first box has an even number of balls and the second, an odd number? Solution: The generating function for an even number of balls in a box is 1 + x + x 4 + = 1 For an odd number of balls, you just multiply this by 1 x x The generating function we seek is x (1 x ) (1 x) 3 (d) How many sequences made up of a, b, c, d, e of length n are there if there must be an even number of a s and an odd number of b s? Solution: Here, the generating functions for even/odd are ex + e x The generating function we seek is and ex e x e x + e x e x e x e x e x e x = e5x e x 4 (e) How many ways can n balls be put into 5 boxes if no box has exactly balls? Solution: For one box it would be 1 + x + x 3 + x 4 + = 1 1 x x = 1 x + x 3 Probably the first formula is better Our generating function is 1 x ( ) x x Page 3
4 (f) How many sequences made up of a, b, c, d, e of length n are there if you can t have exactly of any letter? Solution: Here there really only is one answer: ) 5 (e x x 5 Find the solutions to the problems in question 1 (a) In how many ways can n balls be put into 5 boxes if there is at least one ball in the first box and at most 3 in the second? Solution: We seek the coefficient of x n in x x5 This will be (1 x) 5 ( ) ( ) ( ) ( ) n n n + 3 n 1 = I( will note that this formula is correct if n > 0 (rather than just n > 5) because n ) k is defined to be 0 k > n 0 (b) How many sequences made up of a, b, c, d, e of length n are there if there is at least one a and at most 3 b s? Solution: Here we are stuck ( with a rather complicated ) expression We need n! times the coefficient of x n in 1 + x + x + x3 (e 4x e 3x ) We get! 3! 4 n 3 n +n(4 n 1 3 n 1 )+ n(n 1) (4 n 3 n )+ I don t know of any good way to simplify this n(n 1)(n ) (4 n 3 3 n 3 ) 6 (c) How many ways can n balls be put into 5 boxes if the first box has an even number of balls and the second, an odd number? Solution: We need the coefficient of x n x in This is just a hard (1 x ) (1 x) 3 problem If we were to use partial fractions, we would have x (1 x ) (1 x) = x 3 (1 + x) (1 x) 5 = 1 ( x 4 (1 x) + 4 (1 x) (1 x) 3 ) x (1 + x) Page 4
5 Our coefficient would be ( ( ) ( ) ) 1 n + n (n + 1) ( 1) n (n + 1)( 1) n 64 4 (d) How many sequences made up of a, b, c, d, e of length n are there if there must be an even number of a s and an odd number of b s? Solution: This problem is much easier as we want n! times the coefficient of x n in e5x e x, or 5n (e) How many ways can n balls be put into 5 boxes if no box has exactly balls? Solution: We have ( ) x 1 x = (1 x) 5x 5 (1 x) + 10x4 4 (1 x) 10x6 3 (1 x) + 5x8 1 x x10 so if n > 10 we get ( ) ( ) ( ) n + 4 n + 1 n (n 5) + 5, 4 3 with various other answers for smaller n (f) How many sequences made up of a, b, c, d, e of length n are there if you can t have exactly of any letter? Solution: This time, the two cases are fairly similar in complexity We have ) 5 (e x x = e 5x 5x e 4x + 10x 4 e 3x 10x 6 e x + 5x 8 e x x 10 so for n > 10 the answer is 5 n 5n(n 1)4 n + 10P (n, 4)3 n 4 10P (n, 6) n 6 5P (n, 8) Technically, we only need worry about n = 10 as an exceptional case here, since P (n, k) = 0 if n < k When n = 10, we must subtract 10! from the expression above (with n replaced by 10 everywhere) Page 5
6 6 Use generating functions to find the number of ways to put n balls into 3 boxes if the first box can hold at most 5 balls and the second can hold at most 10 Your answer will vary depending on the size of n For large n, simplify your answer as much as possible Can you prove your answer (for large n) by an easy counting argument? Solution: The generating function is or (1 + x + x + x 3 + x 4 + x 5 )(1 + x + + x 10 )(1 + x + x + ), (1 x 6 )(1 x 11 ) (1 x) 3 = 1 x6 x 11 + x 17 (1 x) 3 The coefficient of x n in this expression, for large n is ( ) ( ) ( ) ( ) n + n 4 n 9 n 15 + Expanding this out and simplifying, you get a constant, 66 The reason: for large n, there are 6 choices for how many balls to put in the first box and 11 for the second What s left goes in the third box So if n 17 we get 6 11 = 66 possible combinations 7 Find recurrences, with initial conditions, for each of the following problems (a) How many n-digit ternary sequences do not contain consecutive 0 s? Solution: This is kind of easy after the last few questions The reason: This problem (both parts) came from a past exam If the first position is a 1 or a, the remaining n 1 positions just have to avoid consecutive 0 s This can happen in a n 1 ways If the first position is a 0 then the second position must contain 1 or, and the remaining n positions just need to avoid consecutive 0 s The relation is a n = a n 1 + a n For initial conditions, the empty sequence does not contain consecutive 0 s, nor does any sequence of length 1 so we have a 0 = 1, a 1 = 3 If you worry about whether the empty sequence has some property, you can find a 1 and a instead In this case there is only one bad string of length so a = 9 1 = 8 (b) How many n-digit ternary sequences contain consecutive 0 s? Solution: Usually, the recurrence for this kind of problem is the same as for without, except that there will be an inhomogeneous term The count goes like this: If the first position is a 1 or a, then we need to pick up consecutive 0 s Page 6
7 among the remaining n 1 positions for a count of a n 1 If the first position is a 0 but the second is 1 or, we still need consecutive 0 s, and they must come from the remaining n positions for a count of a n But here, we have another case: If the first two positions are 0 s, we have our consecutive 0 s and the remaining n positions are arbitrary The recurrence is a n = a n 1 + a n + 3 n Here, the initial conditions are a 0 = 0, a 1 = 0, or if you prefer, a 1 = 0, a = 1 (c) How many n-digit quaternary sequences do not contain any of 00, 10, 10, 11? Solution: First, there is a typo: It should have been 00, 01, 10, 11 that we are avoiding If the first position is a or a 3, then we need only avoid 00, 01, 10, 11 in the remaining n 1 positions This leads to a count of a n 1 If we start with a 0 or a 1, then the next position must be a or a 3, and the remaining n positions must still avoid 00, 01, 10, 11 Since there are two possibilities for each of the first two positions, this case has a count of 4a n Our recurrence is a n = a n 1 + 4a n, with initial conditions a 0 = 1, a 1 = 4 (d) How many n-digit quaternary sequences do not have any 0 s or 1 s to the right of any 3? Solution: If we start with 0, 1 or, then we need only avoid 3 s to the right of 0 s or 1 s the rest of the way for a count of 3a n 1 But if the first position is a 3, then no subsequent position can be 0 or 1, leaving only two choices ( or 3) for each of the remaining n 1 positions, for a count of n 1 Our recurrence is a n = 3a n 1 + n 1 with initial condition a 0 = 1 8 Solve the recurrence in question 7(d) Solution: For the practice, I will use the iterative approach We have a 0 = 1, a 1 = 3 + 1, a = , a 3 = , This might be enough to guess that a n will have two pieces, 3 n and a geometric piece 3 n n + 3 n n 1 If we multiply this second piece by 3 - it becomes 3 n n Thus, it appears that a n = 3 n n To check, we show that this satisfies the recurrence If a n 1 = 3 n 1 n 1 then a n = 3a n 1 n 1 = 3( 3 n 1 n 1 ) + n 1 = 3 n 3 n 1 + n 1 = 3 n n, as desired Page 7
8 9 I once put the following problem on Exam, but the class found it fairly hard (under exam conditions) Suppose we form a sequence out of the numbers 0, 1,, 3, 4, 5 (a) Find a recurrence for a n, the number of such sequences of length n which don t contain consecutive numbers not divisible by 3 That is, sequences like are ok but 1343 is not because 4 and are consecutive numbers not divisible by 3 Solution: o and 3 are divisible by 3, and 1,, 4, 5 are not If the first position is 0 or 3, we just need to avoid consecutive numbers not divisible by 3 in the remaining n 1 positions, contributing a n 1 If the first digit is 1,, 4, or 5, then the next digit must be 0 or 3, and we need to avoid numbers not divisible by 3 in the remaining n positions This gives a count of 4 a n for this case The recurrence is a n = a n 1 + 8a n (b) Find the initial conditions for a n Solution: As usual, sequence of length 0 or 1 are to short to cause problems so a 0 = 1, a 1 = 6 If you want a 1 and a in stead, we must do a little more work There are 36 sequences of length, and 4 4 = 16 of them are bad so a = 0 (c) Solve the recurrence There should be fractions but no radicals Solution: This was the point of the problem: I was proud of myself for coming up with a fairly natural recurrence that had a nice solution The characteristic polynomial is x x 8 = (x + )(x 4) The general solution is a n = A( ) n + B4 n The initial conditions tell us A + B = 1, A + 4B = 6 so B = 4, A = 1 Our solution is a 3 3 n = 4n+1 ( ) n 3 (d) Find a recurrence for the number of such sequences of length n which DO contain consecutive numbers not divisible by 3 Now is not ok but 1343 is not Another typo here it was supposed to say that 143 IS OK Solution: If we start 0 or 3, we need consecutive numbers not divisible by 3 in the remaining n 1 positions If we start with 1,, 4, 5 but follow with 0 or 3, then we need to fulfill the requirements in the remaining n positions Finally, if the first and second positions contain any of 1,, 4, 5, then the remaining n positions are arbitrary The recurrence is a n = a n 1 + 8a n n The initial conditions are a 0 = 0, a 1 = 0 Page 8
9 10 Solve the following recurrence relations (a) a n = 3a n 1 + 4a n 1a n 3, a 0 = 1, a 1 = 4, a = 14 Solution: The characteristic polynomial is x 3 3x 4x+1 = (x )(x+)(x 3) The general solution is a n = A n + B( ) n + C3 n The initial conditions give A + B + C = 1, A B + 3C = 4, 4A + 4B + 9C = 14, which has solution C =, A = 1, B = 0 The solution is a n = 3 n n (b) a n = 3a n 1 + 4a n 1a n n, a 0 = 1, a 1 =, a = 6 Solution: We try for particular solution a n = P 4 n, which gives P 4 n = 3P 4 n 1 + 4P 4 n 1P 4 n n Dividing by 4 n, we have 16P = 1P + 4P 3P + 3, or P = 1 The general solution is a n = A n + B( ) n + C3 n + 4 n, and with the initial conditions, A + B + C = 0, A B + 3C = 6, 4A + 4B + 9C = 10, and we have A = 1, B = 1, C = so a n = 4 n 3 n + n + ( ) n (c) a n = 7a n 1 16a n + 1a n 3, a 0 = 1, a 1 =, a = 6 Solution: The characteristic polynomial is x 3 7x +16x 1 = (x ) (x 3) The general solution is a n = (A + Bn) n + C3 n, and the initial conditions tell us A + C = 1, A + B + 3C =, 4A + 8B + 9C = 6 The solution to these is A = 1, B = 1, C = so a n = 3 n (n + 1) n (d) a n = 7a n 1 16a n + 1a n 3 n, a 0 = 4, a 1 = 7, a = 1 Solution: Since is a double root of the characteristic polynomial we can t use a n = P n or even np n We try a n = n P n We have a mess: n P n = 7(n 1) P n 1 16(n ) P n + 1(n 3) P n 3 n Dividing by n 1, P n = 7P (n 1) P 8P (n ) + 3P (n 3), or P (n 7n + 14n 7 + 8n 3n + 3 3n + 18n 7) = This simplifies to P =, or P = 1 The fact that the n terms and n terms cancelled tells us that our guess was right The general solution is a n = (A+Bn) n +C3 n + n, and the initial conditions give A+C = 4, A+B+3C = 5, 4A + 8B + 9C = 5, leading to A = 3, B =, C = 1 The solution to the recurrence is a n = 3 n + (n n + 3) n Page 9
10 (e) a n = a n 1 a n, a 0 = 1, a 1 = 3, USING generating functions Solution: We let A(x) = recurrence: A(x) = a 0 + a 1 x + a n x n We pull off the first two terms and use the n=0 a n x n = a 0 + a 1 x + (a n 1 a n )x n We break the sum into two pieces a n 1 x n, a n x n The second of these is a 0 x a 1 x 3 a x 4 + = x A(x) For the first, we do something similar Factoring an x out we have x(a 1 x + a x + ) = x(a(x) a 0 ) Putting the pieces together, A(x) = a 0 + a 1 x + x(a(x) a 0 ) x A(x) We solve this equation for A(x) and we have (x x + 1)A(x) = a 0 + x(a 1 a 0 ) Plugging in the initial conditions, 1 + x A(x) = x x + 1 = 1 + x (1 x) ( ) ( ) n + 1 n a n is the coefficient of x n in A(x), or + = n (f) a n = 6a n 1 9a n + 3 n, a 0 = 1, a 1 = 0, with and without generating functions Solution: Without generating functions: The characteristic polynomial for the homogeneous problem is x 6x + 9 = (x 3), so the particular solution must have the form a n = P n 3 n Plugging in, P n 3 n = 6P (n 1) 3 n 1 9P (n ) 3 n + 3 n We divide by 3 n giving P n = P (n 1) P (n ) + So P (n n + 4n + n 4n + 4) = or P = The general solution is a n = (A + Bn)3 n + 3 n, and the initial conditions tell us A = 1, B = so a n = (n n + 1)3 n With generating functions: A(x) = a n x n = a 0 +a 1 x+ a n x n = a 0 +a 1 x+ (6a n 1 9a n + 3 n )x n n=0 Page 10
11 we have 6a n 1 x n = 6x a n 1 x n 1 = 6x(A(x) a 0 ), 9a n x n = 9x a n x n = 9x A(x) 3 n x n = 18x 3 n x n = 18x 1 3x and so A(x) = a 0 +a 1 x+6x(a(x) a 0 ) 9x A(x)+ 18x 1 3x, or (1 6x+9x )A(x) = a 0 + a 1 x 6xa x 1 3x = 1 6x + 18x 1 3x Thus, A(x) = and the coefficient of x n is ( ) ( ) n + 1 n 3 n 6 3 n as before ( n 1 6x (1 3x) + 18x (1 3x) 3 ) 3 n = 3 n (n+1 n+n n) = (n n+1)3 n, (g) a n = na n 1 + n n!, a 1 = 1, with and without generating functions For the generating function approach, use exponential generating functions Solution: One way to avoid generating functions is to make a change of variables to get constant coefficients If we write a n = n! b n then the recurrence becomes n! b n = n((n 1)! b n 1 ) + n n! = n!(b n 1 + n ) or b n = b n 1 + n If a 0 = 1 and b 0 = 1 as well Iteration tells us b 1 = +, b = + +, etc so we must have b n = (n + 1) n giving a n = (n + 1)! n Using exponential generating functions, we let A(x) = the first term and use the recurrence: A(x) = a 0 + n=0 x n a n n! = 1 + (na n 1 + n n!) xn n! x n a n We pull off n! The point of exponential generating functions is that they help the factor of n Page 11
12 go away That is, n n! = 1 (n 1)! Thus, we have A(x) = 1 + x n a n 1 (n 1)! + n x n = 1 + x x n 1 a n 1 (n 1)! + x 1 x, or A(x) = 1 + xa(x) + x 1 x = xa(x) x, or A(x) = 1 (1 x) The coefficient of x n in this expression is (n+1) n, but we need n! times this number giving a n = n!(n + 1) n = (n + 1)! n 11 Solve each of the following recurrence relations (a) a n = a n 1 + 4a n + 4a n a 0, a 0 = 1, a 1 = 10 Solution: This can probably be done with generating functions but the following is easier If n 3 then a n 1 = a n + 4a n a 0 and if we subtract this from the original we have a n a n 1 = a n 1 + 3a n, or a n = a n 1 + 3a n Now we have a second order recurrence, but only from n = 3 on It has characteristic polynomial x x 3 = (x 3)(x + 1) The general solution has the form a n = A3 n + B( 1) n We can t plug a 0 and a 1 into this, we need a 1 and a instead We use the original recurrence to tell us a = a 1 + 4a 0 = 14 Now 3A B = 10, 9A + B = 14 so A =, B = 4 Our solution is a 0 = 1, a n = 3 n 4( 1) n for n 1 As a check, when n = 3 we have a 3 = a + 4a 1 + 4a 0 = = 58 and 3 3 4( 1) 3 = = 58 (b) a n = a n 1 + a n + 4a n n 1 a 0, a 0 = 1 Solution: This can be done fairly easily with generating functions because a n is almost a convolution (of the a s and n ) We have A(x) = a n x n = a 0 + a n x n = a 0 + (a n 1 +a n +4a n n 1 a 0 )x n n=0 If we change the index on this last sum we have (a n +a n 1 +4a n + + n a 0 )x n+1 = x (a n +a n 1 +4a n + + n a 0 )x n, n=0 which is a convolution (again, of a 0 + a 1 x + a x + and 1 + x + x + ) 1 This gives A(x) = a 0 + xa(x) 1 x = 1 + A(x) x Solving for A(x), 1 x ( 1 x ) 1 3x A(x) = 1, or A(x) = 1 1 x 1 x n=0 Page 1
13 Thus, A(x) = 1 x 1 3x, and a n is the coefficient of x n in this That coefficient is 1 when n = 0 and 3 n 3 n 1 = 3 n 1 when n 1 So for n 1, a n = 3 n 1 Easier is to use the same trick as in part (a) We can t just subtract a n 1, in this case When n we can write a n 1 = a n +a n n a 0 If we multiply this by and subtract from the original recurrence we have a n a n 1 = a n 1, or a n = 3a n 1 Noting that a 1 = 1, ti follows that a n = 3 n 1 for all n 1 Finally, I will mention that on this problem, it is easy to guess the answer We have a 0 = 1, a 1 = a 0 = 1, a = a 1 + a 0 = 3, a 3 = a + a 1 + 4a 0 = 9 If we guess a 0 = 1, a n = 3 n 1 for n 1 then a n = a n 1 + a n + + n a 1 + n 1 a 0 = 3 n + 3 n n n + n 1 All but the last term are part of a geometric series with common ratio 3 so a n = 3n 3 n n 1 = 3 n 1 n 1 + n 1 = 3 n 1, verifying that the formula is correct Page 13
Exam 2 Solutions. x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4
Math 5366 Fall 015 Exam Solutions 1. (0 points) Find the appropriate generating function (in closed form) for each of the following problems. Do not find the coefficient of x n. (a) In how many ways can
More informationMath 2602 Finite and Linear Math Fall 14. Homework 8: Core solutions
Math 2602 Finite and Linear Math Fall 14 Homework 8: Core solutions Review exercises for Chapter 5 page 183 problems 25, 26a-26b, 29. Section 8.1 on page 252 problems 8, 9, 10, 13. Section 8.2 on page
More informationMath 112 Rahman. Week Taylor Series Suppose the function f has the following power series:
Math Rahman Week 0.8-0.0 Taylor Series Suppose the function f has the following power series: fx) c 0 + c x a) + c x a) + c 3 x a) 3 + c n x a) n. ) Can we figure out what the coefficients are? Yes, yes
More informationSome Review Problems for Exam 3: Solutions
Math 3355 Spring 017 Some Review Problems for Exam 3: Solutions I thought I d start by reviewing some counting formulas. Counting the Complement: Given a set U (the universe for the problem), if you want
More informationPartial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.
Partial Fractions June 7, 04 In this section, we will learn to integrate another class of functions: the rational functions. Definition. A rational function is a fraction of two polynomials. For example,
More informationMATH 243E Test #3 Solutions
MATH 4E Test # Solutions () Find a recurrence relation for the number of bit strings of length n that contain a pair of consecutive 0s. You do not need to solve this recurrence relation. (Hint: Consider
More informationLecture 10: Powers of Matrices, Difference Equations
Lecture 10: Powers of Matrices, Difference Equations Difference Equations A difference equation, also sometimes called a recurrence equation is an equation that defines a sequence recursively, i.e. each
More informationMath 2142 Homework 5 Part 1 Solutions
Math 2142 Homework 5 Part 1 Solutions Problem 1. For the following homogeneous second order differential equations, give the general solution and the particular solution satisfying the given initial conditions.
More informationSome Review Problems for Exam 3: Solutions
Math 3355 Fall 018 Some Review Problems for Exam 3: Solutions I thought I d start by reviewing some counting formulas. Counting the Complement: Given a set U (the universe for the problem), if you want
More informationCS1800: Sequences & Sums. Professor Kevin Gold
CS1800: Sequences & Sums Professor Kevin Gold Moving Toward Analysis of Algorithms Today s tools help in the analysis of algorithms. We ll cover tools for deciding what equation best fits a sequence of
More informationMath 475, Problem Set #8: Answers
Math 475, Problem Set #8: Answers A. Brualdi, problem, parts (a), (b), and (d). (a): As n goes from to 6, the sum (call it h n ) takes on the values,, 8, 2, 55, and 44; we recognize these as Fibonacci
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 informationPartial Fractions. (Do you see how to work it out? Substitute u = ax + b, so du = a dx.) For example, 1 dx = ln x 7 + C, x x (x 3)(x + 1) = a
Partial Fractions 7-9-005 Partial fractions is the opposite of adding fractions over a common denominator. It applies to integrals of the form P(x) dx, wherep(x) and Q(x) are polynomials. Q(x) The idea
More information5.2 Infinite Series Brian E. Veitch
5. Infinite Series Since many quantities show up that cannot be computed exactly, we need some way of representing it (or approximating it). One way is to sum an infinite series. Recall that a n is the
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 informationMath101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:
Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2: 03 17 08 3 All about lines 3.1 The Rectangular Coordinate System Know how to plot points in the rectangular coordinate system. Know the
More informationWhat if the characteristic equation has complex roots?
MA 360 Lecture 18 - Summary of Recurrence Relations (cont. and Binomial Stuff Thursday, November 13, 01. Objectives: Examples of Recurrence relation solutions, Pascal s triangle. A quadratic equation What
More informationMATH 3012 N Solutions to Review for Midterm 2
MATH 301 N Solutions to Review for Midterm March 7, 017 1. In how many ways can a n rectangular checkerboard be tiled using 1 and pieces? Find a closed formula. If t n is the number of ways to tile the
More informationSECTION 7.4: PARTIAL FRACTIONS. These Examples deal with rational expressions in x, but the methods here extend to rational expressions in y, t, etc.
SECTION 7.4: PARTIAL FRACTIONS (Section 7.4: Partial Fractions) 7.14 PART A: INTRO A, B, C, etc. represent unknown real constants. Assume that our polynomials have real coefficients. These Examples deal
More informationElementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test Find the radius of convergence of the power series
Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test 2 SOLUTIONS 1. Find the radius of convergence of the power series Show your work. x + x2 2 + x3 3 + x4 4 + + xn
More informationMath 20 Spring Discrete Probability. Midterm Exam
Math 20 Spring 203 Discrete Probability Midterm Exam Thursday April 25, 5:00 7:00 PM Your name (please print): Instructions: This is a closed book, closed notes exam. Use of calculators is not permitted.
More informationMATH141: Calculus II Exam #4 review solutions 7/20/2017 Page 1
MATH4: Calculus II Exam #4 review solutions 7/0/07 Page. The limaçon r = + sin θ came up on Quiz. Find the area inside the loop of it. Solution. The loop is the section of the graph in between its two
More informationChapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers
Fry Texas A&M University! Fall 2016! Math 150 Notes! Section 1A! Page 1 Chapter 1A -- Real Numbers Math Symbols: iff or Example: Let A = {2, 4, 6, 8, 10, 12, 14, 16,...} and let B = {3, 6, 9, 12, 15, 18,
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 informationCDM. Recurrences and Fibonacci. 20-fibonacci 2017/12/15 23:16. Terminology 4. Recurrence Equations 3. Solution and Asymptotics 6.
CDM Recurrences and Fibonacci 1 Recurrence Equations Klaus Sutner Carnegie Mellon University Second Order 20-fibonacci 2017/12/15 23:16 The Fibonacci Monoid Recurrence Equations 3 Terminology 4 We can
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 informationLearning Objectives
Learning Objectives Learn about recurrence relations Learn the relationship between sequences and recurrence relations Explore how to solve recurrence relations by iteration Learn about linear homogeneous
More informationChapter 5.2: Series solution near an ordinary point
Chapter 5.2: Series solution near an ordinary point We now look at ODE s with polynomial coefficients of the form: P (x)y + Q(x)y + R(x)y = 0. Thus, we assume P (x), Q(x), R(x) are polynomials in x. Why?
More informationMath221: HW# 7 solutions
Math22: HW# 7 solutions Andy Royston November 7, 25.3.3 let x = e u. Then ln x = u, x2 = e 2u, and dx = e 2u du. Furthermore, when x =, u, and when x =, u =. Hence x 2 ln x) 3 dx = e 2u u 3 e u du) = e
More informationA SUMMARY OF RECURSION SOLVING TECHNIQUES
A SUMMARY OF RECURSION SOLVING TECHNIQUES KIMMO ERIKSSON, KTH These notes are meant to be a complement to the material on recursion solving techniques in the textbook Discrete Mathematics by Biggs. In
More informationWhat if the characteristic equation has a double root?
MA 360 Lecture 17 - Summary of Recurrence Relations Friday, November 30, 018. Objectives: Prove basic facts about basic recurrence relations. Last time, we looked at the relational formula for a sequence
More informationCIS 2033 Lecture 5, Fall
CIS 2033 Lecture 5, Fall 2016 1 Instructor: David Dobor September 13, 2016 1 Supplemental reading from Dekking s textbook: Chapter2, 3. We mentioned at the beginning of this class that calculus was a prerequisite
More informationIntroduction to Combinatorial Mathematics
Introduction to Combinatorial Mathematics George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 300 George Voutsadakis (LSSU) Combinatorics April 2016 1 / 57
More informationPart 2 - Beginning Algebra Summary
Part - Beginning Algebra Summary Page 1 of 4 1/1/01 1. Numbers... 1.1. Number Lines... 1.. Interval Notation.... Inequalities... 4.1. Linear with 1 Variable... 4. Linear Equations... 5.1. The Cartesian
More informationMA094 Part 2 - Beginning Algebra Summary
MA094 Part - Beginning Algebra Summary Page of 8/8/0 Big Picture Algebra is Solving Equations with Variables* Variable Variables Linear Equations x 0 MA090 Solution: Point 0 Linear Inequalities x < 0 page
More informationMATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.
MATH 4 Summer 011 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 informationCDM. Recurrences and Fibonacci
CDM Recurrences and Fibonacci Klaus Sutner Carnegie Mellon University 20-fibonacci 2017/12/15 23:16 1 Recurrence Equations Second Order The Fibonacci Monoid Recurrence Equations 3 We can define a sequence
More informationUnderstand the existence and uniqueness theorems and what they tell you about solutions to initial value problems.
Review Outline To review for the final, look over the following outline and look at problems from the book and on the old exam s and exam reviews to find problems about each of the following topics.. Basics
More informationSequences and infinite series
Sequences and infinite series D. DeTurck University of Pennsylvania March 29, 208 D. DeTurck Math 04 002 208A: Sequence and series / 54 Sequences The lists of numbers you generate using a numerical method
More informationConceptual Explanations: Simultaneous Equations Distance, rate, and time
Conceptual Explanations: Simultaneous Equations Distance, rate, and time If you travel 30 miles per hour for 4 hours, how far do you go? A little common sense will tell you that the answer is 120 miles.
More informationMATH 408N PRACTICE MIDTERM 1
02/0/202 Bormashenko MATH 408N PRACTICE MIDTERM Show your work for all the problems. Good luck! () (a) [5 pts] Solve for x if 2 x+ = 4 x Name: TA session: Writing everything as a power of 2, 2 x+ = (2
More informationSome Review Problems for Exam 1: Solutions
Math 3355 Fall 2018 Some Review Problems for Exam 1: Solutions Here is my quick review of proof techniques. I will focus exclusively on propositions of the form p q, or more properly, x P (x) Q(x) or x
More informationAP Calculus Chapter 9: Infinite Series
AP Calculus Chapter 9: Infinite Series 9. Sequences a, a 2, a 3, a 4, a 5,... Sequence: A function whose domain is the set of positive integers n = 2 3 4 a n = a a 2 a 3 a 4 terms of the sequence Begin
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 informationRecursion: Introduction and Correctness
Recursion: Introduction and Correctness CSE21 Winter 2017, Day 7 (B00), Day 4-5 (A00) January 25, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 Today s Plan From last time: intersecting sorted lists and
More informationPolynomials and Polynomial Equations
Polynomials and Polynomial Equations A Polynomial is any expression that has constants, variables and exponents, and can be combined using addition, subtraction, multiplication and division, but: no division
More information3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:
3 Algebraic Methods b The first appearance of the equation E Mc 2 in Einstein s handwritten notes. So far, the only general class of differential equations that we know how to solve are directly integrable
More informationThe trick is to multiply the numerator and denominator of the big fraction by the least common denominator of every little fraction.
Complex Fractions A complex fraction is an expression that features fractions within fractions. To simplify complex fractions, we only need to master one very simple method. Simplify 7 6 +3 8 4 3 4 The
More informationLearning Packet. Lesson 5b Solving Quadratic Equations THIS BOX FOR INSTRUCTOR GRADING USE ONLY
Learning Packet Student Name Due Date Class Time/Day Submission Date THIS BOX FOR INSTRUCTOR GRADING USE ONLY Mini-Lesson is complete and information presented is as found on media links (0 5 pts) Comments:
More informationTwitter: @Owen134866 www.mathsfreeresourcelibrary.com Prior Knowledge Check 1) Simplify: a) 3x 2 5x 5 b) 5x3 y 2 15x 7 2) Factorise: a) x 2 2x 24 b) 3x 2 17x + 20 15x 2 y 3 3) Use long division to calculate:
More informationACCUPLACER MATH 0311 OR MATH 0120
The University of Teas at El Paso Tutoring and Learning Center ACCUPLACER MATH 0 OR MATH 00 http://www.academics.utep.edu/tlc MATH 0 OR MATH 00 Page Factoring Factoring Eercises 8 Factoring Answer to Eercises
More informationNotes for Recitation 14
6.04/18.06J Mathematics for Computer Science October 7, 006 Tom Leighton and Ronitt Rubinfeld Notes for Recitation 14 Guessing a Particular Solution A general linear recurrence has the form: fn) = b 1
More informationSecondary Math 2H Unit 3 Notes: Factoring and Solving Quadratics
Secondary Math H Unit 3 Notes: Factoring and Solving Quadratics 3.1 Factoring out the Greatest Common Factor (GCF) Factoring: The reverse of multiplying. It means figuring out what you would multiply together
More informationAlgebra Review. Finding Zeros (Roots) of Quadratics, Cubics, and Quartics. Kasten, Algebra 2. Algebra Review
Kasten, Algebra 2 Finding Zeros (Roots) of Quadratics, Cubics, and Quartics A zero of a polynomial equation is the value of the independent variable (typically x) that, when plugged-in to the equation,
More informationACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Lines and Their Equations
ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER 1 017/018 DR. ANTHONY BROWN. Lines and Their Equations.1. Slope of a Line and its y-intercept. In Euclidean geometry (where
More informationMath 016 Lessons Wimayra LUY
Math 016 Lessons Wimayra LUY wluy@ccp.edu MATH 016 Lessons LESSON 1 Natural Numbers The set of natural numbers is given by N = {0, 1, 2, 3, 4...}. Natural numbers are used for two main reasons: 1. counting,
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 informationMath 353, Fall 2017 Study guide for the final
Math 353, Fall 2017 Study guide for the final December 12, 2017 Last updated 12/4/17. If something is unclear or incorrect, please let me know so I can update the documents. Updates 12/4: De-emphasized
More informationPROBLEMS GUIDE Mathcounts / Contest Math
COPYRIGHT Brandon Wang. No distribution other than through BrWang.com shall be allowed. PROBLEMS GUIDE Mathcounts / Contest Math This material was created and copyrighted by Brandon Wang. No distribution
More informationA polynomial expression is the addition or subtraction of many algebraic terms with positive integer powers.
LEAVING CERT Honours Maths notes on Algebra. A polynomial expression is the addition or subtraction of many algebraic terms with positive integer powers. The degree is the highest power of x. 3x 2 + 2x
More informationBefore this course is over we will see the need to split up a fraction in a couple of ways, one using multiplication and the other using addition.
CH MORE FRACTIONS Introduction I n this chapter we tie up some loose ends. First, we split a single fraction into two fractions, followed by performing our standard math operations on positive and negative
More informationMath 3 Variable Manipulation Part 3 Polynomials A
Math 3 Variable Manipulation Part 3 Polynomials A 1 MATH 1 & 2 REVIEW: VOCABULARY Constant: A term that does not have a variable is called a constant. Example: the number 5 is a constant because it does
More informationSolving Quadratic & Higher Degree Equations
Chapter 7 Solving Quadratic & Higher Degree Equations Sec 1. Zero Product Property Back in the third grade students were taught when they multiplied a number by zero, the product would be zero. In algebra,
More informationChapter 1 Review of Equations and Inequalities
Chapter 1 Review of Equations and Inequalities Part I Review of Basic Equations Recall that an equation is an expression with an equal sign in the middle. Also recall that, if a question asks you to solve
More informationGenerating Functions (Revised Edition)
Math 700 Fall 06 Notes Generating Functions (Revised Edition What is a generating function? An ordinary generating function for a sequence (a n n 0 is the power series A(x = a nx n. The exponential generating
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 informationMath 1320, Section 10 Quiz IV Solutions 20 Points
Math 1320, Section 10 Quiz IV Solutions 20 Points Please answer each question. To receive full credit you must show all work and give answers in simplest form. Cell phones and graphing calculators are
More informationMULTIPLYING TRINOMIALS
Name: Date: 1 Math 2 Variable Manipulation Part 4 Polynomials B MULTIPLYING TRINOMIALS Multiplying trinomials is the same process as multiplying binomials except for there are more terms to multiply than
More informationLesson 5b Solving Quadratic Equations
Lesson 5b Solving Quadratic Equations In this lesson, we will continue our work with Quadratics in this lesson and will learn several methods for solving quadratic equations. The first section will introduce
More informationName: Firas Rassoul-Agha
Midterm 1 - Math 5010 - Spring 016 Name: Firas Rassoul-Agha Solve the following 4 problems. You have to clearly explain your solution. The answer carries no points. Only the work does. CALCULATORS ARE
More informationMath 101 Review of SOME Topics
Math 101 Review of SOME Topics Spring 007 Mehmet Haluk Şengün May 16, 007 1 BASICS 1.1 Fractions I know you all learned all this years ago, but I will still go over it... Take a fraction, say 7. You can
More information2 Discrete Dynamical Systems (DDS)
2 Discrete Dynamical Systems (DDS) 2.1 Basics A Discrete Dynamical System (DDS) models the change (or dynamics) of single or multiple populations or quantities in which the change occurs deterministically
More information1 Answers to Chapter 8, Odd-numbered Exercises
Answers to Chapter 8, Odd-numbered Exercises ) (a) + 4x + 6x + 4x 3 + x 4. (b) + x + x + x 3 + x 4 + x 7. (c) x 3 + x 4 + 3x 5 + 4x 6 + 6x 7. (d) + x + x + x 3 + x 4 + x 5 + x 6. (e) 3 + x 3 4x 4 + 7x
More informationSolving Recurrence Relations 1. Guess and Math Induction Example: Find the solution for a n = 2a n 1 + 1, a 0 = 0 We can try finding each a n : a 0 =
Solving Recurrence Relations 1. Guess and Math Induction Example: Find the solution for a n = 2a n 1 + 1, a 0 = 0 We can try finding each a n : a 0 = 0 a 1 = 2 0 + 1 = 1 a 2 = 2 1 + 1 = 3 a 3 = 2 3 + 1
More informationMATH 320 INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS
MATH 2 INHOMOGENEOUS LINEAR SYSTEMS OF DIFFERENTIAL EQUATIONS W To find a particular solution for a linear inhomogeneous system of differential equations x Ax = ft) or of a mechanical system with external
More informationUpdated: January 16, 2016 Calculus II 7.4. Math 230. Calculus II. Brian Veitch Fall 2015 Northern Illinois University
Math 30 Calculus II Brian Veitch Fall 015 Northern Illinois University Integration of Rational Functions by Partial Fractions From algebra, we learned how to find common denominators so we can do something
More informationIES Parque Lineal - 2º ESO
UNIT5. ALGEBRA Contenido 1. Algebraic expressions.... 1 Worksheet: algebraic expressions.... 2 2. Monomials.... 3 Worksheet: monomials.... 5 3. Polynomials... 6 Worksheet: polynomials... 9 4. Factorising....
More information1 The distributive law
THINGS TO KNOW BEFORE GOING INTO DISCRETE MATHEMATICS The distributive law The distributive law is this: a(b + c) = ab + bc This can be generalized to any number of terms between parenthesis; for instance:
More informationNo Solution Equations Let s look at the following equation: 2 +3=2 +7
5.4 Solving Equations with Infinite or No Solutions So far we have looked at equations where there is exactly one solution. It is possible to have more than solution in other types of equations that are
More information1.10 Continuity Brian E. Veitch
1.10 Continuity Definition 1.5. A function is continuous at x = a if 1. f(a) exists 2. lim x a f(x) exists 3. lim x a f(x) = f(a) If any of these conditions fail, f is discontinuous. Note: From algebra
More informationSecond-Order Homogeneous Linear Equations with Constant Coefficients
15 Second-Order Homogeneous Linear Equations with Constant Coefficients A very important class of second-order homogeneous linear equations consists of those with constant coefficients; that is, those
More informationSolving Quadratic & Higher Degree Equations
Chapter 9 Solving Quadratic & Higher Degree Equations Sec 1. Zero Product Property Back in the third grade students were taught when they multiplied a number by zero, the product would be zero. In algebra,
More informationMath Lecture 4 Limit Laws
Math 1060 Lecture 4 Limit Laws Outline Summary of last lecture Limit laws Motivation Limits of constants and the identity function Limits of sums and differences Limits of products Limits of polynomials
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 informationFinite Mathematics : A Business Approach
Finite Mathematics : A Business Approach Dr. Brian Travers and Prof. James Lampes Second Edition Cover Art by Stephanie Oxenford Additional Editing by John Gambino Contents What You Should Already Know
More informationPower Series Solutions We use power series to solve second order differential equations
Objectives Power Series Solutions We use power series to solve second order differential equations We use power series expansions to find solutions to second order, linear, variable coefficient equations
More informationAlpha Sequences & Series MAΘ National Convention 2018
. B. The series adds even numbers as the series progresses, defined as each term a n = a n- +2(n-). Therefore, the next term is 43+2(8-) = 57. 2. A. If we take the given series and find the differences
More informationExam 2 Solutions. In class questions
Math 5330 Spring 2018 Exam 2 Solutions In class questions 1. (15 points) Solve the following congruences. Put your answer in the form of a congruence. I usually find it easier to go from largest to smallest
More informationAlgebra & Trig Review
Algebra & Trig Review 1 Algebra & Trig Review This review was originally written for my Calculus I class, but it should be accessible to anyone needing a review in some basic algebra and trig topics. The
More informationMath 115 HW #10 Solutions
Math 11 HW #10 Solutions 1. Suppose y 1 (t and y 2 (t are both solutions of the differential equation P (ty + Q(ty + R(ty = 0. Show that, for any constants C 1 and C 2, the function C 1 y 1 (t + C 2 y
More informationReview for Exam 2. Review for Exam 2.
Review for Exam 2. 5 or 6 problems. No multiple choice questions. No notes, no books, no calculators. Problems similar to homeworks. Exam covers: Regular-singular points (5.5). Euler differential equation
More informationEQ: How do I convert between standard form and scientific notation?
EQ: How do I convert between standard form and scientific notation? HW: Practice Sheet Bellwork: Simplify each expression 1. (5x 3 ) 4 2. 5(x 3 ) 4 3. 5(x 3 ) 4 20x 8 Simplify and leave in standard form
More informationPolynomials; Add/Subtract
Chapter 7 Polynomials Polynomials; Add/Subtract Polynomials sounds tough enough. But, if you look at it close enough you ll notice that students have worked with polynomial expressions such as 6x 2 + 5x
More informationChapter 1 Indices & Standard Form
Chapter 1 Indices & Standard Form Section 1.1 Simplifying Only like (same letters go together; same powers and same letter go together) terms can be grouped together. Example: a 2 + 3ab + 4a 2 5ab + 10
More informationTable of Contents. 2013, Pearson Education, Inc.
Table of Contents Chapter 1 What is Number Theory? 1 Chapter Pythagorean Triples 5 Chapter 3 Pythagorean Triples and the Unit Circle 11 Chapter 4 Sums of Higher Powers and Fermat s Last Theorem 16 Chapter
More informationProblem Solving in Math (Math 43900) Fall 2013
Problem Solving in Math (Math 43900) Fall 203 Week six (October ) problems recurrences Instructor: David Galvin Definition of a recurrence relation We met recurrences in the induction hand-out. Sometimes
More informationAlgebra Year 10. Language
Algebra Year 10 Introduction In Algebra we do Maths with numbers, but some of those numbers are not known. They are represented with letters, and called unknowns, variables or, most formally, literals.
More informationCOM S 330 Lecture Notes Week of Feb 9 13
Monday, February 9. Rosen.4 Sequences Reading: Rosen.4. LLM 4.. Ducks 8., 8., Def: A sequence is a function from a (usually infinite) subset of the integers (usually N = {0,,, 3,... } or Z + = {,, 3, 4,...
More informationQuadratic Equations Part I
Quadratic Equations Part I Before proceeding with this section we should note that the topic of solving quadratic equations will be covered in two sections. This is done for the benefit of those viewing
More informationSection 4. Quantitative Aptitude
Section 4 Quantitative Aptitude You will get 35 questions from Quantitative Aptitude in the SBI Clerical 2016 Prelims examination and 50 questions in the Mains examination. One new feature of the 2016
More information