Week 910: Recurrence Relations and Generating Functions


 Colleen Doyle
 2 years ago
 Views:
Transcription
1 Week 910: Recurrence Relations and Generating Functions March 31, 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 many real or complex numbers, and is usually abbreviated as (a n ; n 0 or just (a n. A sequence (a n can be viewed as a function f from the set of nonnegative integers to the set of real or complex numbers, i.e., f(n a n, n 0, 1, 2,... We call a sequence (a n an arithmetic sequence if it is of the form a 0, a 0 + q, a 0 + 2q,..., a 0 + nq,... The general term of such sequences satisfies the recurrence relation a n a n 1 + q, n 1. A sequence (a n is called a geometric sequence if it is of the form a 0, a 0 q, a 0 q 2,..., a 0 q n,... The general term of such sequences satisfies the recurrence relation a n qa n 1, n 1. 1
2 The partial sums of a sequence (a n are the summations: s 0 a 0, s 1 a 0 + a 1, s 2 a 0 + a 1 + a 2,. s n a 0 + a a n,. The partial sums form a new sequence (s n ; n 0. For an arithmetic sequence a n a 0 + nq (n 0, we have the partial sum s n n (a 0 + kq (n + 1a 0 + k0 qn(n For a geometric sequence a n a 0 q n (n 1, we have { n q n+1 1 s n a 0 q n q 1 a 0 if q 1 (n + 1a 0 if q 1. k0 Example 1.1. Determine the sequence a n, defined as the number of regions which are created by n mutually overlapping circles in general position on the plane. (By mutually overlapping we mean that each pair of two circles intersect in two distinct points. Thus nonintersecting or tangent circles are not allowed. By general position we mean that there are no three circles through a common point. We easily see that the first few numbers are given as a 0 1, a 1 2, a 2 4, a 3 8. It seems that we might have a However, by tryanderror we quickly see that a Assume that there are n circles in general position on a plane. When we take one circle away, say the nth circle, there are n 1 circles in general position on the same plane. By induction hypothesis the n 1 circles divide the plane 2
3 into a n 1 regions. Note that the nth circle intersects each of the n 1 circles in 2(n 1 distinct points. Let the 2(n 1 points on the nth circle be ordered clockwise as P 1, P 2,..., P 2(n 1. Then each of the 2(n 1 arcs P 1 P 2, P 2 P 3, P 3 P 4,..., P 2(n 2+1 P 2(n 1, P 2(n 1 P 1 intersects one and only one region in the case n 1 circles and separate the region into two regions. There are 2(n 1 more regions produced when the nth circle is drawn. We thus obtain the recurrence relation a n a n 1 + 2(n 1, n 2. Repeating the recurrence relation we have a n a n 1 + 2(n 1 a n 2 + 2(n 1 + 2(n 2 a n 3 + 2(n 1 + 2(n 2 + 2(n 3. a 1 + 2(n 1 + 2(n 2 + 2(n (n 1n a n(n 1 n 2 n + 2, n 2. This formula is also valid for n 1 (since a 1 2, although it doesn t hold for n 0 (since a 0 1. Example 1.2 (Fibonacci Sequence. A pair of newly born rabbits of opposite sexes is placed in an enclosure at the beginning of a year. Baby rabbits need one moth to grow mature; they become an adult pair on the first day of the second month. Beginning with the second month the female is pregnant, and gives exactly one birth of one pair of rabbits of opposite sexes on the first day of the third month, and gives exactly one such birth on the first day of each next month. Each new pair also gives such birth to a pair of rabbits on the first day of each month starting from the third month (from its birth. Find the number of pairs of rabbits in the enclosure after one year? 3
4 Let f n denote the number of pairs of rabbits on the first day of the nth month. Some of these pairs are adult and some are babies. We denote by a n the number of pairs of adult rabbits and denote by b n the number of pairs of baby rabbits on the day of the nth month. Then the total number of pairs of rabbits on the first day of the nth month is f n a n + b n, n 1. n a n b n f n If a pair is adult on the first day of the nth month, then it gives one birth of one pair on the first day of the next month. So b n+1 a n, n 1. Note that each adult pair on the first day of the nth month is still an adult pair on first day of the next month and each baby pair on the first day of the nth month becomes an adult pair on the first day of the next month, we have a n+1 a n + b n f n, n 1. Thus f n a n + b n f n 1 + a n 1 f n 1 + f n 2, n 3. Let us define f 0 0. The sequence f 0, f 1, f 2, f 3,... satisfying the recurrence relation f n f n 1 + f n 2, n 2 f 0 0 (1 f 1 1 is known as the Fibonacci sequence, and its terms are known as Fibonacci numbers. Example 1.3. The partial sum of Fibonacci sequence is s n f 0 + f 1 + f f n f n+2 1. (2 This can be verified by induction on n. For n 0, we have s 0 f Now for n 1, we assume that it is true for n 1, i.e., s n 1 f n+1 1. Then s n f 0 + f f n s n 1 + f n f n f n (by the induction hypothesis f n+2 1. (by the Fibonacci recurrence 4
5 Example 1.4. The Fibonacci number f n is even if and only if n is a multiple of 3. Note that f 1 f 2 1 is odd and f 3 2 is even. Assume that f 3k is even, f 3k 2 and f 3k 1 are odd. Then f 3k+1 f 3k + f 3k 1 is odd (even + odd odd, and subsequently, f 3k+2 f 3k+1 +f 3k is also odd (odd+even odd. It follows that f 3(k+1 f 3k+2 + f 3k+1 is even (odd + odd even. Theorem 1.1. The general term of the Fibonacci sequence (f n is given by ( f n n ( n 5, n 0. ( Example 1.5. Determine the number h n of ways to perfectly cover a 2byn board with dominoes. (Symmetries are not counted in counting the number of coverings. We assume h 0 1 since a 2by0 board is empty and it has exactly one perfect cover, namely, the empty cover. Note that the first few terms can be easily obtained such as h 0 1, h 1 1, h 2 2, h 3 3, h 4 5. Now for n 3, the 2byn board can be covered by dominoes in two types: 1 2 n 1 n 1 2 n 2 n There are h n 1 ways in the first type and h n 2 ways in the second type. Thus h n h n 1 + h n 2, n 2. Therefore the sequence (h n ; n 0 is the Fibonacci sequence (f n ; n 0 with f 0 0 deleted, i.e., h n f n+1, n 0. Example 1.6. Determine the number b n of ways to perfectly cover a 1byn board by dominoes and monominoes. 5
6 b n b n 1 + b n 2, b 0 b 1 1, b 2 2. Theorem 1.2. The Fibonacci number f n can be written as Proof. Let g 0 0 and f n g n n 1 2 k0 n 1 2 k0 ( n k 1, n 0. k ( n k 1, n 1. k Note that k > ( n 1 2 is equivalent to k > n k 1. Since m p integers m and p such that p > m, we may write g n as g n n 1 k0 ( n k 1, n 1. k 0 for any To prove the theorem, it suffices to show that the sequence (g n satisfies the Fibonacci recurrence relation with the same initial values. In fact, g 0 0, 6
7 g 1 ( 0 0 1, and for n 0, n ( n k n 1 ( n k 1 g n+1 + g n + k k k0 k0 ( n n ( n k n ( n k k k 1 k1 k1 ( n n [( ( ] n k n k k k 1 k1 ( n n ( n k (By the Pascal formula 0 k k1 ( n + 1 n ( ( n k k n + 1 k1 n+1 ( (n + 2 k 1 g n+2. k k0 We conclude that the sequence (g n is the Fibonacci sequence (f n. 2 Linear recurrence relations Definition 2.1. A sequence (x n ; n 0 of numbers is said to satisfy a linear recurrence relation of order k if x n α 1 (nx n 1 +α 2 (nx n 2 + +α k (nx n k +β n, α k (n 0, n k, (4 where the coefficients α 1 (n, α 2 (n,..., α k (n and β n are functions of n. The linear recurrence relation (4 is said to be homogeneous if β n 0 for all n k, and is said to have constant coefficients if α 1 (n, α 2 (n,..., α k (n are constants. The recurrence relation x n α 1 (nx n 1 + α 2 (nx n α k (nx n k, α k (n 0, n k (5 is called the corresponding homogeneous linear recurrence relation of (4. 7
8 A solution of the recurrence relation (4 is a sequence (u n satisfying (4. The general solution of (4 is a solution x n u n (c 1, c 2,..., c k (6 with some parameters c 1, c 2,..., c k, provided that for arbitrary initial values u 0, u 1,..., u k 1 there exist constants c 1, c 2,..., c k such that (6 is the unique sequence satisfying both the recurrence relation (4 and the initial conditions. Let S denote the set of all sequences (a n ; n 0. Then S is an infinitedimensional vector space under the ordinary addition and scalar multiplication of sequences. Let N k be the set all solutions of the nonhomogeneous linear recurrence relation (4, and H k the set of all solutions of the homogeneous linear recurrence relation (5. We shall see that H k is a kdimensional subspace of S, and N k a kdimensional affine subspace of S. Theorem 2.2. (Structure Theorem for Linear Recurrence Relations (a The solution space H k is a kdimensional subspace of the vector space S of sequences. Thus, if (a n,1, (a n,2,..., (a n,k are linearly independent solutions of the homogeneous linear recurrence relation (5, then the general solution of (5 is x n c 1 a n,1 + c 2 a n,2 + + c k a n,k, n 0, where c 1, c 2,..., c k are arbitrary constants. (b Let (a n be a particular solution of the nonhomogeneous linear recurrence relation (4. Then the general solution of (4 is x n a n + h n, n 0, where (h n is the general solution of the corresponding homogeneous linear recurrence relation (5. In other words, N k is a translate of H k in S, i.e., N k (a n + H k. Proof. (a To show that H k is a vector subspace of S, we need to show that H k is closed under the addition and scalar multiplication of sequences. Let (a n 8
9 and (b n be solutions of (5. Then For scalars c, a n + b n [α 1 (na n 1 + α 2 (na n α k (na n k ] +[α 1 (nb n 1 + α 2 (nb n α k (nb n k ] α 1 (n(a n 1 + b n 1 + α 2 (n(a n 2 + b n α k (n(a n k + b n k, n k. ca n c[α 1 (na n 1 + α 2 (na n α k (na n k ] α 1 (nca n 1 + α 2 (nca n α k (nca n k, n k. This means that H k is closed under the addition and scalar multiplication of sequences. To show that H k is kdimensional, consider the projection π : S R k, defined by π(x 0, x 1, x 2,... (x 0, x 1,..., x k 1. We shall see that the restriction π H k : H k R k is a linear isomorphism. For each (a 0, a 1,..., a k 1 R k, define a n inductively by a n α 1 (na n 1 + α 2 (na n α k (na n k, n k. Obviously, we have π(a 0, a 1, a 2,... (a 0, a 1,..., a k 1. This means that π H k is surjective. Now let (u n H k be such that π(u 0, u 1, u 2,... (0, 0,..., 0, i.e., u 0 u 1 u k 1 0. Applying the recurrence relation (5 for n k, we have u k 0. Again applying (5 for n k + 1, we obtain u k+1 0. Continuing to apply (5, we have u n 0 for n k. Thus (u n is the zero sequence. This means that π is injective. We have finished the proof that π H k is a linear isomorphism from H k onto R k. So dim H k k. (b For each solution (v n of (4, we claim that the sequence h n : v n u n (n 0 is a solution of (5. So v n u n + h n, n 0. 9
10 In fact, since (u n and (v n are solutions of (4, applying the recurrence relation (4, we have h n [α 1 (nv n 1 + α 2 (nv n α k (nv n k + β n ] [α 1 (nu n 1 + α 2 (nu n α k (nu n k + β n ] α 1 (n(v n 1 u n 1 + α 2 (n(v n 2 u n α k (n(v n k u n k α 1 (nh n 1 + α 2 (nh n α k (nh n k, n k. This means that (h n is a solution of (5. Conversely, for any solution (h n of (5, we have u n + h n [α 1 (nu n 1 + α 2 (nu n α k (nu n k + β n ] +[α 1 (nh n 1 + α 2 (nh n α k (nh n k ] α 1 (n(u n 1 + h n 1 + α 2 (n(u n 2 + h n α k (n(u n k + h n k for n k. This means that the sequence (u n + h n is a solution of (4. Definition 2.3. The Wronskian W k (n of k solutions (u n,1, (u n,2,..., (u n,k of the homogeneous linear recurrence relation (5 is the determinant u n,1 u n,2 u n,k u W k (n det n+1,1 u n+1,2 u n+1,k..., n 0. u n+k 1,1 u n+k 1,2 u n+j 1,k The Wronskian of (u n,1, (u n,2,..., (u n,k is also an infinite sequence (W k (n; n 0. Theorem 2.4. The solutions (u n,1, (u n,2,..., (u n,k of the homogeneous linear recurrence relation (5 are linearly independent if and only if there is a nonnegative integer n 0 such that the Wronskian W k (n 0 0. In other words, the solutions (u n,1, (u n,2,..., (u n,k are linearly dependent if and only if W k (n 0 for all n 0. 10
11 Proof. We show that the sequences (u n,1, (u n,2,..., (u n,k are linearly dependent if and only if W k (n 0 for all n 0. If (u n,1, (u n,2,..., (u n,k are linearly dependent, then for n 0 the columns of the matrix u n,1 u n,2 u n,k u n+1,1 u n+1,2 u n+1,k... u n+k 1,1 u n+k 1,2 u n+j 1,k are linearly dependent because the columns are part of the sequences (u n,1, (u n,2,..., (u n,k respectively. It follows from linear algebra that the determinant of the matrix is zero, i.e., Wronskian W k (n 0 for all n 0. Conversely, if W k (n 0 for all n 0, in particular, W k (0 0, then there are constants c 1, c 2,..., c k, not all zero, such that c j u i,j c 1 u i,1 + c 2 u i,2 + + c k u i,k 0, 0 i k 1. j1 We claim that k j1 c ju n,j 0 for all n by induction. Assume it is true for n m 1. Applying the recurrence relation (5 to the sequences (u m,1, (u m,2,..., (u m,k, we have c j u m,j c j α i (ku m i,j j1 j1 α i (k c j u m i,j 0. This means that the sequences (u n,1, (u n,2,..., (u n,k are linearly dependent. j1 3 Homogeneous linear recurrence relations with constant coefficients In this section we only consider linear recurrence relations of the form x n α 1 x n 1 + α 2 x n α k x n k, α k 0, n k, (7 11
12 where α 1, α 2,..., α k are constants. We call this kinds of recurrence relations as homogeneous linear recurrence relations of order k with constant coefficients. Sometimes it is convenient to write (7 as of the form α 0 x n + α 1 x n α k x n k 0, n k (8 where α 0 0 and α k 0. The following polynomial equation α 0 x k + α 1 x k α k 1 x + α k 0, (9 is called the characteristic equation associated with the recurrence relation (8, and the polynomial on the left side of (9 is called the characteristic polynomial. Example 3.1. The Fibonacci sequence (f n ; n 0 satisfies the linear recurrence relation f n f n 1 + f n 2, n 2 of order 2 with α 1 α 2 1 in (7. Example 3.2. The geometric sequence (x n ; n 0, where x n q n, satisfies the linear recurrence relation of order 1 with α 1 q in (7. x n qx n 1, n 1 It is quite heuristic that solutions of the first order homogeneous linear recurrence relations are geometric sequences. This hints that the recurrence relation (7 may have solutions of the form x n q n. The following theorem confirms the speculation. Theorem 3.1. (a For any number q 0, the geometric sequence x n q n is a solution of the kth order homogeneous linear recurrence relation (8 with constant coefficients if and only if the number q is a root of the characteristic equation (9. (b If the characteristic equation (9 has k distinct roots q 1, q 2,..., q k, then the general solution of (8 is x n c 1 q n 1 + c 2 q n c n q n k, n 0. (10 12
13 Proof. (a Put x n q n into the recurrence relation (8; we have α 0 q n + α 1 q n α k q n k 0. (11 Since q 0, dividing both sides of (11 by q n k, we obtain α 0 q k + α 1 q k α k 1 q + α k 0 (12 This means that (11 and (12 are equivalent. This finishes the proof of Part (a. (b Since q 1, q 2,..., q k are roots of the characteristic equation (9, x n q n i are solutions of the homogeneous linear recurrence relation (8 for all i (1 i k. Since the solution space of (8 is a vector space, the linear combination x n c 1 q n 1 + c 2 q n c n q n k, n 0 are also solutions (8. Now given arbitrary values for x 0, x 1,..., x k 1, the sequence (x n is uniquely determined by the recurrence relation (8. Set c 1 q i 1 + c 2 q i c n q i k x i, 0 i k 1. The coefficients c 1, c 2,..., c k are uniquely determined by Cramer s rule as follows: c i det A i det A, 1 i k where A is the Vandermonde matrix A q 1 q 2 q k q1 2. q2 2. qk 2. q1 k 1 q2 k 1 q k 1 k and A i is the matrix obtained from A by replacing its ith column by the column [x 0, x 1,..., x k 1 ] T. The determinant of A is given by det A (q j q i 0. This finishes the proof of Part (b. 1 i<j k 13,
14 Example 3.3. Find the sequence (x n satisfying the recurrence relation x n 2x n 1 + x n 2 2x n 3, n 3 and the initial conditions x 0 1, x 1 2, and x 2 0. Solution. The characteristic equation of the recurrence relation is Factorizing the equation, we have x 3 2x 2 x (x 2(x + 1(x 1 0. There are three roots x 1, 1, 2. By Theorem 3.1, we have the general solution x n c 1 ( 1 n + c 2 + c 3 2 n. Applying the initial conditions, c 1 +c 2 +c 3 1 c 1 c 2 +2c 3 2 c 1 +c 2 +4c 3 0 Solving the linear system we have c 1 2, c 2 2/3, c 3 1/3. Thus x n ( 1n 1 3 2n. Theorem 3.2. (a Let q be a root with multiplicity m of the characteristic equation (9 associated with the kth order homogeneous linear recurrence relation (8 with constant coefficients. Then the m sequences x n q n, nq n,..., n m 1 q n are linearly independent solutions of the recurrence relation (8. (b Let q 1, q 2,..., q s be distinct roots with the multiplicities m 1, m 2,..., m s respectively for the characteristic equation (9. Then the sequences x n q n 1, nq n 1,..., n m 1 1 q n 1 ; q n 2, nq n 2,..., n m 2 1 q n 2 ;. q n s, nq n s,..., n m s 1 q n s ; n 0 14
15 are linearly independent solutions of the homogeneous linear recurrence relation (8. Their linear combinations form the general solution of the recurrence relation (8. Proof. The falling factorial polynomial of degree i is (x i : x(x 1 (x i + 1. Let q be a root of the characteristic polynomial P (t α 0 t k + α 1 t k α k 1 t + α k (t q m Q(t with multiplicity m. Then q is a root of the ith derivative P (i (t, where 0 i m 1. We claim that x n (n i q n, where 0 i m 1, is a solution the recurrence relation. In fact, LHS of (8 α 0 (n i q n + α 1 (n 1 i q n α k (n k i q n k di ( dt i α0 t n + α 1 t n α k t n k tq di dt i (t q m Q(tt n k 0. tq So x n (n i q n is a solution. Next we show that q n, nq n,..., n m 1 q n are linearly independent. Set c 0 q n + c 1 nq n + + c m 1 n m 1 q n 0 n 0. Since q 0, we have c 0 + c 1 n + + c m 1 n m 1 0 for all n. Consider c 0, c 1,..., c m 1 as variables and let n 1, 2,..., m; we have a system of linear equations about c 0, c 1,..., c m 1. The coefficient matrix A m m m m m 2 m m and det A 1 i<j m (j i 0. Hence c 0 c 1 c m
16 4 Nonhomogeneous linear recurrence relations with constant coefficients Theorem 4.1. Given a nonhomogeneous linear recurrence relation of the first order x n αx n 1 + β n, n 1. (13 (a Let β n cq n be an exponential function of n. Then (13 has a particular solution of the following form. If q α, then x n Aq n. If q α, then x n Anq n. (b Let β n k b in i be a polynomial function of n with degree k. If α 1, then (13 has a particular solution of the form x n A 0 + A 1 n + A 2 n A k n k, where the coefficients A 0, A 1,..., A k are recursively determined as A k b k 1 α, 1 A i b i + α 1 α ( j ( 1 j i i ji+1 A j If α 1, then the solution of (13 is given by n x n x 0 + β i., 0 i k 1. Proof. (a We may assume q 0; otherwise the recurrence (13 is homogeneous. For the case q α, put x n Aq n in (13; we have Aq n αaq n 1 + cq n. The coefficient A is determined as A cq/(q α. 16
17 For the case q α, put x n Anq n in (13; we have Anq n αa(n 1q n 1 + cq n. Since q α, then αaq n 1 cq n. The coefficient A is determined as A cq/α. (b For the case α 1, put x n k j0 A jn j in (13; we obtain A j n j α A j (n 1 j + b j n j. Then j0 A j n j α j0 A i n i α j0 A j n i A i b i α j0 j j0 ( j n i ( 1 j i + i b j n j. j0 ( j ( 1 j i A j + b i n i. i ( j ( 1 j i A j n i 0. i The coefficients A 0, A 1,..., A k are determined recursively as A k b k 1 α, 1 A i b i + α 1 α ji ji ( j ( 1 j i i ji+1 A j, 0 i k 1. As for the case α 1, iterate the recurrence relation (13; we have x n x n 1 + β n x n 2 + β n 1 + β n x n 1 + β n 2 + β n 1 + β n x 0 + β 1 + β β n. Example 4.1. Solve the difference equation { xn x n 1 + 3n 2 5n 3, n 1 x
18 Solution. x n x n b i 2 + n i n n ( 3i 2 5i 3 i 3 n(n + 1(2n We have applied the following identities n i 2 n(n + 1(2n + 1, 6 n ( 2 n(n + 1 i 3. 2 Example 4.2. Solve the equation { xn 3x n 1 4n, n 1 x 0 2. ( 2 n(n Solution. Note that x n 3 n c is the general solution of the corresponding homogeneous linear recurrence relation. Let x n An + B be a particular solution. Then An + B 3[A(n 1 + B] 4n Comparing the coefficients of n 0 and n, it follows that A 2 and B 3. Thus the general solution is given by x n 2n n c. The initial condition x 0 2 implies that c 1. Therefore the solution is x n 3 n + 2n + 3. Theorem 4.2. Given a nonhomogeneous linear recurrence relation of the second order x n α 1 x n 1 + α 2 x n 2 + cq n. (14 18
19 Let q 1 and q 2 be solutions of its characteristic equation x 2 α 1 x α 2 0. Then (14 has a particular solution of the following forms, where A is a constant to be determined. (a If q q 1, q q 2, then x n Aq n. (b If q q 1, q 1 q 2, then x n Anq n. (c If q q 1 q 2, then x n An 2 q n. Proof. The homogeneous linear recurrence relation corresponding to (14 is x n α 1 x n 1 + α 2 x n 2, n 2. (15 We may assume q 0. Otherwise (14 is homogeneous. (a Put x n Aq n into (14; we have Then Aq n α 1 Aq n 1 + α 2 Aq n 2 + cq n. A(q 2 a 1 q a 2 cq 2. Since q is not a root of the characteristic equation x 2 q 2 α 1 q α 2 0, the coefficient A is determined as A cq 2 q 2 α 1 q α 2. α 1 x + α 2, that is, (b Since q q 1 q 2, then x n q n is a solution of (15 but x n nq n is not, that is, q 2 α 1 q α 2 0 and nq n α 1 (n 1q n 1 + α 2 (n 2q n 2. It follows that nq 2 α 1 (n 1q α 2 (n 2 n(q 2 α 1 q α 2 + α 1 q + 2α 2 α 1 q + 2α 2 0. Put x n Anq n into (14; we have Anq n α 1 A(n 1q n 1 + α 2 A(n 2q n 2 + cq n. 19
20 Then A [ nq 2 α 1 (n 1q α 2 (n 2 ] cq 2. Since α 1 q + 2α 2 0, the coefficient A is determined as A cq 2 α 1 q + 2α 2. (c Since q q 1 q 2, then both x n q n and x n nq n are solutions of (15, but x n n 2 q n is not. It then follows that n 2 q 2 α 1 (n 1 2 q α 2 (n 2 2 Put x n An 2 q n into (14; we have q 2 α 1 q α 2 0, α 1 q + 2α 2 0, and n 2 (q 2 α 1 q α 2 + 2n(α 1 q + 2α 2 α 1 q α 1 q 4α 2 0. Aq n 2 [ n 2 q 2 α 1 (n 1 2 q α 2 (n 2 2] cq n. The coefficient A is determined as A cq2. α 1 q + 4α 2 Example 4.3. Solve the equation x n 10x n 1 25x n n+1, n 2 x 0 5 x Put x n An 2 5 n into the recurrence relation; we have An 2 5 n 10A(n n 1 25A(n n n+1. Dividing both sides we further have An 2 2A(n 1 2 A(n Thus A 5/2. The general solution is given by x n 5 2 n2 5 n + c 1 5 n + c 2 n5 n. 20
21 Applying the initial conditions x 0 5 and x 1 15, we have c 1 5 and c 2 9/2. Hence ( 5 x n 2 n2 9 2 n n. Theorem 4.3. Given a nonhomogeneous linear recurrence relation of the second order x n α 1 x n 1 + α 2 x n 2 + β n, n 2, (16 where β n is a polynomial function of n with degree k. (a If α 1 + α 2 1, then (16 has a particular solution of the form x n A 0 + A 1 n + + A k n k, where A 0, A 1,..., A k are constants to be determined. If k 2, then a particular solution has the form (b If α 1 + α 2 relation x n A 0 + A 1 n + A 2 n 2. 1, then (16 can be reduced to a first order recurrence where y n x n x n 1 for n 1. y n (α 1 1y n 1 + β n, n 2, Proof. (a Let β n k j0 b jn j. Put x n k j0 A jn j into the recurrence relation (16; we obtain A j n j α 1 j0 A j n j α 1 j0 A j n j α 1 j0 j0 A j n i A j (n 1 j + α 2 j0 A j (n 2 j + j0 j ( j ( 1 j i n i +α 2 i ( j ( 1 j i A j +α 2 i ji j0 A j n i b j n j ; j0 j ( j ( 2 j i n i + i ( j ( 2 j i A j + i ji b j n j ; j0 b j n j. j0 21
22 Collecting the coefficients of n i, we have ( j A i α 1 ( 1 j i A j α 2 i ji ( j ( 2 j i A j i Since α 1 + α 2 1, the coefficients A 0, A 1,..., A k are determined as A k A i b k, 1 α 1 α 2 1 b i + 1 α 1 α 2 ji ( j ( ( 1 j i α j i α 2 i ji+1 (b The recurrence relation (16 becomes x n α 1 x n 1 + (1 α 1 x n 2 + β n, n 2. A j b i n i 0., 0 i k 1. Set y n x n x n 1 for n 1; the recurrence (16 reduces to a first order recurrence relation. Example 4.4. Solve the following recurrence relation x n 6x n 1 9x n 2 + 8n 2 24n x 0 5 x 1 5. Solution. Put x n A 0 + A 1 n + A 2 n 2 into the recurrence relation; we obtain A 0 +A 1 n+a 2 n 2 6[A 0 +A 1 (n 1+A 2 (n 1 2 ] 9[A 0 +A 1 (n 2+A 2 (n 2 2 ]+8n 2 Collecting the coefficients of n 2, n, and the constant, we have (4A 2 8n 2 + (4A 1 24A n + (4A 0 12A A 2 0. We conclude that A 2 2, A 1 6, and A 0 3. So x n 2n 2 + 6n + 3 is a particular solution. Then the general solution of the recurrence is x n 2n 2 + 6n n c n nc 2. Applying the initial condition x 0 x 1 5, we have c 1 2, c 2 4. The sequence is finally obtained as x n 2n 2 + 6n n 4n 3 n. 22
23 5 Generating functions The (ordinary generating function of an infinite sequence is the infinite series A finite sequence a 0, a 1, a 2,..., a n,... A(x a 0 + a 1 x + a 2 x a n x n +. a 0, a 1, a 2,..., a n can be regarded as the infinite sequence and its generating function is a polynomial. a 0, a 1, a 2,..., a n, 0, 0,... A(x a 0 + a 1 x + a 2 x a n x n Example 5.1. The generating function of the constant infinite sequence is the function 1, 1,..., 1,... A(x 1 + x + x x n x. Example 5.2. For any positive integer n, the generating function for the binomial coefficients ( n ( n ( n ( n,,,...,, 0, n is the function n ( n x k k (1 + x n. k0 23
24 Example 5.3. For any real number α, the generating function for the infinite sequence of binomial coefficients ( α ( α ( α ( α,,,...,, n is the function ( α x n n (1 + x α. Example 5.4. Let k be a positive integer and let a 0, a 1, a 2,..., a n,... be the infinite sequence whose general term a n is the number of nonnegative integral solutions of the equation x 1 + x x k n. Then the generating function of the sequence (a n is A(x 1 x n i 1 0 i 1 + +i k n x i 1 ( 1 n ( k n i k 0 x i k x n i 1 + +i k n x i 1+ +i k 1 (1 x k ( n + k 1 x n. n Example 5.5. Let a n be the number of integral solutions of the equation x 1 + x 2 + x 3 + x 4 n, where 0 x 1 3, 0 x 2 2, x 3 2, and 3 x 4 5. The generating function of the sequence (a n is A(x ( 1 + x + x 2 + x 3 ( 1 + x + x 2 ( x 2 + x 3 + ( x 3 + x 4 + x 5 ( x5 1 + x + x 2 + x 3 ( 1 + x + x x 24
25 Example 5.6. Determine the generating function for the number of ncombinations of apples, bananas, oranges, and pears where in each ncombination the number of apples is even, the number of bananas is odd, the number of oranges is between 0 and 4, and the number of pears is at least two. The required generating function is ( ( ( 4 ( A(x x 2i x 2i+1 x i x i i2 x 3 (1 x 5 (1 x 2 2 (1 x 2. Example 5.7. Determine the number a n of bags with n pieces of fruit (apples, bananas, oranges, and pears such that the number of apples is even, the number bananas is a multiple of 5, the number oranges is at most 4, and the number of pears is either one or zero. The generating function of the sequence (a n is ( ( ( 4 ( 1 A(x x 2i x 5i x i x i (1 + x + x2 + x 3 + x 4 (1 + x (1 x 2 (1 x 5 (1 + x(1 x5 /(1 x (1 + x(1 x(1 x 5 1 (1 x ( 2 ( 1 n x n 2 n ( n + 1 x n (n + 1x n. n Thus a n n + 1. Example 5.8. Find a formula for the number a n,k of integral solutions (i 1, i 2,..., i k of the equation x 1 + x x k n such that i 1, i 2,..., i k are nonnegative odd numbers. 25
26 The generating function of the sequence (a n is ( ( A(x x 2i+1 x 2i+1 x k (1 x 2 k ( i + k 1 ( i + k 1 x k x 2i i i ( j+r 1 jr j r x 2j for k 2r ( j+r jr j r x 2j+1 for k 2r + 1. We then conclude that a 2s,2r ( s+r 1 s r otherwise. We may combine the three cases into a n,k ( n 2 + k 2 1 n 2 k 2 x 2i+k, a2s+1,2r+1 ( s+r s r, and an,k 0 if n k even, 0 if n k odd. Example 5.9. Let a n denote the number of nonnegative integral solutions of the equation 2x 1 + 3x 2 + 4x 3 + 5x 4 n. Then the generating function of the sequence (a n is A(x 1 x n ( i,j,k,l 0 2i+3j+4k+5l0 x 2i j0 x 3j ( ( x 4k x 5l k0 1 (1 x 2 (1 x 3 (1 x 4 (1 x 5. Theorem 5.1. Let s n be the number of nonnegative integral solutions of the equation a 1 x 1 + a 2 x a k x k n. l0 26
27 Then the generating function of the sequence (s n is A(x 1 (1 x a 1 (1 x a 2 (1 x a k. 6 Recurrence and generating functions Since then 1 (1 x n 1 (1 ax n k0 k0 ( n ( x k k ( n ( ax k k ( n + k 1 x k, x < 1; k k0 ( n + k 1 k0 k a k x k, x < 1 a. Example 6.1. Determine the generating function of the sequence Thus Since 1 1 x k0 xk, then 1 (1 x 2 d dx 0, 1, 2 2,..., n 2,.... ( 1 1 x k0 d ( x k dx kx k 1. x (1 x 2 k0 kxk. Taking the derivative with respect to x we have 1 + x (1 x 3 k0 Therefore the desired generating function is A(x k 2 x k 1. x(1 + x (1 x 3. Example 6.2. Solve the recurrence relation a n 5a n 1 6a n 2, n 2 a 0 1 a 1 2 k0 27
28 Let A(x a nx n. Applying the recurrence relation, we have A(x a 0 + a 1 x + (5a n 1 6a n 2 x n n2 a 0 + a 1 x 5xa 0 + 5xA(x 6x 2 A(x. Applying the initial values and collecting the coefficient functions of A(x, we further have ( 1 5x + 6x 2 A(x 1 7x. Thus the function g(x is solved as A(x 1 7x 1 5x + 6x 2. Observing that 1 5x + 6x 2 (1 2x(1 3x and applying partial fraction, 1 7x 1 5x + 6x A 2 1 2x + B 1 3x. The constants A and B can be determined by Then { Thus A 5, B 4. Hence Since A(x We obtain the sequence A(1 3x + B(1 2x 1 7x x A +B 1 3A 2B 7 1 7x 1 5x + 6x x 4 1 3x. 2 n x n and 1 1 3x a n 5 2 n 4 3 n, n 0. 3 n x n 28
29 Theorem 6.1. Let (a n ; n 0 be a sequence satisfying the homogeneous linear recurrence relation a n α 1 a n 1 + α 2 a n α k a n k, α k 0, n k (17 of order k with constant coefficients. Then its generating function A(x a nx n is of the form A(x P (x Q(x, (18 where Q(x is a polynomial of degree k with a nonzero constant term and P (x is a polynomial of degree strictly less than k. Conversely, given such polynomials P (x and Q(x, there is a unique sequence (a n that satisfies the linear homogeneous recurrence relation (17 and its generating function is the rational function in (18. Proof. The generating function A(x of the sequence (a n can be written as ( k 1 k 1 A(x a i x i + a n x n a i x i + α i a n i x n Then ( A(x 1 k 1 a i x i + k 1 k 1 k 1 nk a i x i + α k x k a i x i + A(x a i x i + A(x α i x i α i k 1 nk a n i x n a n x n + α i x i α i x i k 1 a i x i l1 k 1 k 1 nk k 1 a i x i + k 1 x l x l l1 l α i α i x i a n x n k i 1 α i x i j0 a j x j l α i a l i. k 1 α i a l i a 0 + l1 nk i ( k i 1 j0 a l a n x n+i a j x j i α i a l i x 29
30 Thus P (x a 0 + Q(x 1 k 1 l1 ( a l α i x i. l α i a l i x l, Conversely, let (a n be the sequence whose generating function is A(x. Let A(x a n x n, P (x b i x i, Q(x 1 α i x i. Then A(x P (x Q(x is equivalent to ( ( 1 α i x i a n x n b i x i. The polynomial Q(x can be viewed as an infinite series with α i 0 for i > k. Thus ( n a n x n α i a n i x n b i x i. Equating the coefficients of x n, we have the recurrence relation a n α i a n i, n k. Proposition 6.2 (Partial Fractions. (a If P (x is a polynomial of degree less than k, then P (x (1 ax k A 1 1 ax + A 2 (1 ax A k (1 ax k, where A 1, A 2,..., A k are constants to be determined. (b If P (x is a polynomial of degree less than p + q + r, then P (x (1 ax p (1 bx q (1 cx r A 1(x (1 ax p + A 2(x (1 bx q + A 3(x (1 cx r, 30
31 where A 1 (x, A 2 (x, and A 3 (x are polynomials of degree q + r, p + r, and p + q, respectively. 7 A geometry example A polygon P in R 2 is called convex if the segment joining any two points in P is also contained in P. Let C n denote the number ways to divide a labeled convex polygon with n + 2 sides into triangles. The first a few such numbers are C 1 1, C 2 2, C 3 5. We first establish a recurrence relation for C n+1 in terms of C 0, C 1,..., C n. Let P v1 v 2...v n+3 denote a convex (n + 3polygon with vertices v 1, v 2,..., v n+3. In each triangular decomposition of P v1 v 2...v n+3 into triangles, the segment v 1 v n+3 is one side of a triangle in the decomposition; the third vertex of the triangle is one of the vertices v 2, v 3,..., v n+2. Let v k+2 be the third vertex of other than v 1 and v n+3 (0 k n; see Figure 1 below. Then we have a convex (k + 2 v k+2 v n+2 v n+3 v 3 v v 1 2 Figure 1: v k+2 is the third vertex of the triangle with the side v 1 v n+3 polygon P v1 v 2...v k+2 and another convex (n k +2polygon P vk+2 v k+3...v n+3. Then by induction there are C k ways to divide P v1 v 2...v k+2 into triangles, and C n k ways to divide P vk+2 v k+3...v n+3 into triangles. We thus have the recurrence relation C n+1 n C k C n k with C 0 1. k0 31
32 Consider the generating function F (x C nx n. Then ( ( F (xf (x C n x n C n x n We thus obtain the equation Solving for F (x, we obtain ( n C k C n k k0 C n+1 x n 1 x F (x x 1 x. xf (x 2 F (x x n C n x n n1 Note that where F (x 1 ± 1 4x. 2x ( 1 1 4x 1 + ( 1 n 2 4 n x n n n1 1 + a n x n, n1 [ ( ( / a n ( 1 n n!] 2 n n 2 n ( 1 n ( 1( 3( 5 ( 2 n n n! (2 n n n! (2(n 1! 2 n!(n 1!. 32
33 Then We conclude that 1 4x n1 (2(n 1! n!(n 1! xn F (x 1 1 4x 2x (2n! n!(n + 1! xn 1 n + 1 (2n! n!(n + 1! xn+1. ( 2n n x n. Hence the sequence (C n is given by the binomial coefficients: C n 1 ( 2n, n 0. n + 1 n The sequence (C n is known as the Catalan sequence and the numbers C n as the Catalan numbers. Example 7.1. Let C n be the number of ways to evaluate a matrix product A 1 A 2 A n+1, n 0 by adding various parentheses. For instance, C 0 1, C 1 1, C 2 2, and C 3 5. In general the formula is given by C n 1 ( 2n. n + 1 n Note that each way of evaluating the matrix product A 1 A 2 A n+2 will be finished by multiplying of two matrices at the end. There are exactly n + 1 ways of multiplying the two matrices at the end: A 1 A 2 A n+2 (A 1 A k+1 (A k+2 A n+2, 0 k n. 33
34 This yields the recurrence relation ( Thus C n 1 2n n+1 n, n 0. C n+1 n C k C n k. k0 8 Exponential generating functions The ordinary generating function method is a powerful algebraic tool for finding unknown sequences, especially when the sequences are certain binomial coefficients or the order is immaterial. However, when the sequences are not binomial type or the order is material in defining the sequences, we may need to consider a different type of generating functions. For example, for the sequence a n n!, the counting the number of permutations of n distinct objects, it is not easy at all to figure out the ordinary generating function a n x n n!x n. However, the generating function a n n! xn x n 1 1 x is obvious. The exponential generating function of a sequence (a n ; n 0 is the infinite series a n E(x n! xn. Example 8.1. The exponential generating function of the sequence P (n, 0, P (n, 1,..., P (n, n, 0,... 34
35 is given by n P (n, k E(x k! k0 n ( n x k k k0 (1 + x n. x k Example 8.2. The exponential generating function of the constant sequence (a n 1; n 0 is x n E(x n! ex. The exponential generating function of the geometric sequence (a n a n ; n 0 is a n x n E(x e ax. n! E(x Theorem 8.1. Let M {n 1 α 1, n 2 α 2,..., n k α k } be a multiset over the set S {α 1, α 2,..., α k } with n 1 many α 1 s, n 2 many α 2 s,..., n k many α k s. Let a n be the number of npermutations of the multiset M. Then the exponential generating function of the sequence (a n ; n 0 is given by ( n1 ( n2 ( nk x i i! x i i! x i i!. (19 Proof. Note that a n 0 for n > n n k. Thus E(x is a polynomial. The right side of (19 can be expanded to the form n 1,n 2,...,n k i 1,i 2,...,i k 0 x i 1+i 2 + +i k i 1!i 2! i k! n 1 +n 2 + +n k x n n! i 1 +i 2 + +i k n 0 i 1 n 1,...,0 i k n k n! i 1!i 2! i k!. Note that the number of permutation of M with exactly i 1 α 1 s, i 2 α 2 s,..., and i k α k s such that i 1 + i i k n 35
36 is the multinomial coefficient ( n i 1, i 2,..., i k n! i 1!i 2! i k!. It turns out that the sequence (a n is given by ( n a n, n 0. i 1, i 2,..., i k i 1 +i 2 + +i k n 0 i 1 n 1,...,0 i k n k Example 8.3. Determine the number of ways to color the squares of a 1byn chessboard using the colors, red, white, and blue, if an even number of squares are colored red. Let a n denote the number of ways of such colorings and set a 0 1. Each such coloring can be considered as a permutation of three objects r (for red, w (for white, and b (for blue with repetition allowed, and the element r appears even number of times. The exponential generating function of the sequence (a n is E(x Thus the sequence is given by ( x 2n (2n! ( x n n! 2 ex + e x e 2x 1 ( e 3x + e x ( n x n x n + 2 n! n! 1 (3 n + 1 xn 2 n!. a n 3n + 1, n 0. 2 Example 8.4. Determine the number a n of n digit (under base 10 numbers with each digit odd where the digit 1 and 3 occur an even number of times. 36
37 Let a 0 1. The number a n equals the number of npermutations of the multiset M { 1, 3, 5, 7, 9}, in which 1 and 3 occur an even number of times. The exponential generating function of the sequence a n is ( 2 ( x 2n 3 x n E(x (2n! n! ( e x + e x 2 e 3x 2 1 ( e 5x + 2e 3x + e x 4 ( 1 5 n x n 3 n x n n! n! ( 5 n n + 1 x n 4 n!. x n n! Thus a n 5n n + 1, n 0. 4 Example 8.5. Determine the number of ways to color the squares of a 1byn board with the colors, red, blue, and white, where the number of red squares is even and there is at least one blue square. The exponential generating function for the sequence is ( ( x 2i ( x i x i E(x (2i! i! i! Thus ex + e x e x (e x ( e 3x e 2x + e x n 2 n + 1 xn 2 n! a n 3n 2 n + 1, n
38 and a Combinatorial interpretations Theorem 9.1. The combinatorial interpretations of ordinary generating functions: (a The number of ways of placing n indistinguishable balls into m distinguishable boxes is the coefficient of x n in ( ( m 1 + x + x 2 + m x k k0 1 (1 x m. (b The number of ways of placing n indistinguishable balls into m distinguishable boxes with at most r k balls in the kth box is the coefficient of x n in the expression m ( 1 + x + x x r k. k1 (c The number of ways of placing n indistinguishable balls into m distinguishable boxes with at least s k balls in the kth box is the coefficient of x n in the expression m x ( s k 1 + x + x 2 + xs 1+ +s m (1 x. m k1 (d The number of ways of placing n indistinguishable balls into m distinguishable boxes, such that the number of balls held in the kth box is allowed in a subset C k Z 0 (1 k m, is the coefficient of x n in the expression x k x k. k C1 k C2 k C m x k 38
39 Proof. Let us consider the situation of placing infinitely many indistinguishable balls into m distinguishable boxes. We use the symbol x to represent a ball and x k to represent indistinguishable k balls. In the course of placing the balls into m boxes, each box contains either none of balls (x 0 1, or one ball (x, or two balls (x 2, or three balls (x 3, etc.; that is, each box contains 1 + x + x 2 + x 3 + balls, where the plus sign + means or. Box 1 Box 2 Box 3 Box m x x x x x x 2 x 2 x 2 x 2 x 2 x 3. x 3. x 3. x 3. x 3. If we use multiplication to represent and, then all possible distributions of balls in the m boxes in the course of placing are contained in the expression (1 + x + x 2 + m. (20 Thus, when there are n distinguishable balls to be placed into the m distinguishable boxes, the number of distributions of the n balls in the m boxes will be the coefficient of x n in the expression (20. Indeed, to compute the coefficient of x n in (20, we select x n 1 from column 1, x n 2 from column 2,..., x n m from column m in the above table such that x n 1x n 2 x n m x n, and do this in all possible ways. The number of such ways is clearly the number of nonnegative integer solutions of the equation y 1 + y y m n, and is given by ( m+n 1 n. The situation for other cases are similar. Theorem 9.2. The combinatorial interpretation of exponential generating functions: 39
40 (a The number of ways of selecting an ordered n objects with repetition allowed from an mset is the coefficient of xn n! in the expression m ( m x2 (1 + + x1! 2! + x3 3! + x k e mx. (21 k! (b The number of ways of selecting an ordered n objects from an mset such that the number of kth objects is allowed in a subset C k Z 0, is the coefficient of xn n! in the expression k C1 x k k! k C2 x k k! k0 xk k! k C m. (22 Example 9.1. Find the number of 4permutations of the multiset M {a, a, b, b, b, There are 5 submultisets of M having cardinality 4. {a, a, b, b} {a, a, b, c} {a, b, b, b} {a, b, b, c} {b, b, b, c} 4!/2!2!0! 4!/2!1!1! 4!/1!3!0! 4!/1!2!1! 4!/0!3!1! Then the answer is 4! 2!2!0! + 4! 2!1!1! + 4! 1!3!0! + 4! 1!2!1! + 4! 0!3!1! 38, which is the coefficient of x4 4! in the expansion of x2 E(x (1 + + (1 + x1! 2! x2 + x1! 2! + x3 3! ( 1 + x. 1! In fact, the coefficient of x 4 /4! is 4! a 4 i!j!k! 4! 2!2!0! + 4! 2!1!1! + 4! 1!3!0! + 4! 1!2!1! + 4! 0!3!1!. i+j+k4, i 2,j 3,k 1 40
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +
More informationNotes on Determinant
ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 918/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without
More informationChapter 3. Distribution Problems. 3.1 The idea of a distribution. 3.1.1 The twentyfold way
Chapter 3 Distribution Problems 3.1 The idea of a distribution Many of the problems we solved in Chapter 1 may be thought of as problems of distributing objects (such as pieces of fruit or pingpong balls)
More informationMATRIX ALGEBRA AND SYSTEMS OF EQUATIONS
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a
More informationSpring 2007 Math 510 Hints for practice problems
Spring 2007 Math 510 Hints for practice problems Section 1 Imagine a prison consisting of 4 cells arranged like the squares of an chessboard There are doors between all adjacent cells A prisoner in one
More informationMathematics Course 111: Algebra I Part IV: Vector Spaces
Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 19967 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are
More informationSystems of Linear Equations
Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and
More informationSECTION 102 Mathematical Induction
73 0 Sequences and Series 6. Approximate e 0. using the first five terms of the series. Compare this approximation with your calculator evaluation of e 0.. 6. Approximate e 0.5 using the first five terms
More informationCatalan Numbers. Thomas A. Dowling, Department of Mathematics, Ohio State Uni versity.
7 Catalan Numbers Thomas A. Dowling, Department of Mathematics, Ohio State Uni Author: versity. Prerequisites: The prerequisites for this chapter are recursive definitions, basic counting principles,
More information1 Determinants and the Solvability of Linear Systems
1 Determinants and the Solvability of Linear Systems In the last section we learned how to use Gaussian elimination to solve linear systems of n equations in n unknowns The section completely sidestepped
More information3. INNER PRODUCT SPACES
. INNER PRODUCT SPACES.. Definition So far we have studied abstract vector spaces. These are a generalisation of the geometric spaces R and R. But these have more structure than just that of a vector space.
More informationSection 62 Mathematical Induction
6 Mathematical Induction 457 In calculus, it can be shown that e x k0 x k k! x x x3!! 3!... xn n! where the larger n is, the better the approximation. Problems 6 and 6 refer to this series. Note that
More informationInner Product Spaces and Orthogonality
Inner Product Spaces and Orthogonality week 34 Fall 2006 Dot product of R n The inner product or dot product of R n is a function, defined by u, v a b + a 2 b 2 + + a n b n for u a, a 2,, a n T, v b,
More informationMath 55: Discrete Mathematics
Math 55: Discrete Mathematics UC Berkeley, Spring 2012 Homework # 9, due Wednesday, April 11 8.1.5 How many ways are there to pay a bill of 17 pesos using a currency with coins of values of 1 peso, 2 pesos,
More informationa 1 x + a 0 =0. (3) ax 2 + bx + c =0. (4)
ROOTS OF POLYNOMIAL EQUATIONS In this unit we discuss polynomial equations. A polynomial in x of degree n, where n 0 is an integer, is an expression of the form P n (x) =a n x n + a n 1 x n 1 + + a 1 x
More information1 Sets and Set Notation.
LINEAR ALGEBRA MATH 27.6 SPRING 23 (COHEN) LECTURE NOTES Sets and Set Notation. Definition (Naive Definition of a Set). A set is any collection of objects, called the elements of that set. We will most
More information9.2 Summation Notation
9. Summation Notation 66 9. Summation Notation In the previous section, we introduced sequences and now we shall present notation and theorems concerning the sum of terms of a sequence. We begin with a
More informationAlgebra Unpacked Content For the new Common Core standards that will be effective in all North Carolina schools in the 201213 school year.
This document is designed to help North Carolina educators teach the Common Core (Standard Course of Study). NCDPI staff are continually updating and improving these tools to better serve teachers. Algebra
More informationInduction Problems. Tom Davis November 7, 2005
Induction Problems Tom Davis tomrdavis@earthlin.net http://www.geometer.org/mathcircles November 7, 2005 All of the following problems should be proved by mathematical induction. The problems are not necessarily
More informationLEARNING OBJECTIVES FOR THIS CHAPTER
CHAPTER 2 American mathematician Paul Halmos (1916 2006), who in 1942 published the first modern linear algebra book. The title of Halmos s book was the same as the title of this chapter. FiniteDimensional
More informationLinear Algebra Notes for Marsden and Tromba Vector Calculus
Linear Algebra Notes for Marsden and Tromba Vector Calculus ndimensional Euclidean Space and Matrices Definition of n space As was learned in Math b, a point in Euclidean three space can be thought of
More information4.5 Linear Dependence and Linear Independence
4.5 Linear Dependence and Linear Independence 267 32. {v 1, v 2 }, where v 1, v 2 are collinear vectors in R 3. 33. Prove that if S and S are subsets of a vector space V such that S is a subset of S, then
More informationT ( a i x i ) = a i T (x i ).
Chapter 2 Defn 1. (p. 65) Let V and W be vector spaces (over F ). We call a function T : V W a linear transformation form V to W if, for all x, y V and c F, we have (a) T (x + y) = T (x) + T (y) and (b)
More informationRefined enumerations of alternating sign matrices. Ilse Fischer. Universität Wien
Refined enumerations of alternating sign matrices Ilse Fischer Universität Wien 1 Central question Which enumeration problems have a solution in terms of a closed formula that (for instance) only involves
More informationVector Spaces II: Finite Dimensional Linear Algebra 1
John Nachbar September 2, 2014 Vector Spaces II: Finite Dimensional Linear Algebra 1 1 Definitions and Basic Theorems. For basic properties and notation for R N, see the notes Vector Spaces I. Definition
More informationPOWER SETS AND RELATIONS
POWER SETS AND RELATIONS L. MARIZZA A. BAILEY 1. The Power Set Now that we have defined sets as best we can, we can consider a sets of sets. If we were to assume nothing, except the existence of the empty
More informationDETERMINANTS. b 2. x 2
DETERMINANTS 1 Systems of two equations in two unknowns A system of two equations in two unknowns has the form a 11 x 1 + a 12 x 2 = b 1 a 21 x 1 + a 22 x 2 = b 2 This can be written more concisely in
More informationPUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include 2 + 5.
PUTNAM TRAINING POLYNOMIALS (Last updated: November 17, 2015) Remark. This is a list of exercises on polynomials. Miguel A. Lerma Exercises 1. Find a polynomial with integral coefficients whose zeros include
More informationCombinatorial Proofs
Combinatorial Proofs Two Counting Principles Some proofs concerning finite sets involve counting the number of elements of the sets, so we will look at the basics of counting. Addition Principle: If A
More informationSec 4.1 Vector Spaces and Subspaces
Sec 4. Vector Spaces and Subspaces Motivation Let S be the set of all solutions to the differential equation y + y =. Let T be the set of all 2 3 matrices with real entries. These two sets share many common
More informationOverview of Math Standards
Algebra 2 Welcome to math curriculum design maps for Manhattan Ogden USD 383, striving to produce learners who are: Effective Communicators who clearly express ideas and effectively communicate with diverse
More informationSection 1.1. Introduction to R n
The Calculus of Functions of Several Variables Section. Introduction to R n Calculus is the study of functional relationships and how related quantities change with each other. In your first exposure to
More informationa 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.
Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given
More informationHOMEWORK 5 SOLUTIONS. n!f n (1) lim. ln x n! + xn x. 1 = G n 1 (x). (2) k + 1 n. (n 1)!
Math 7 Fall 205 HOMEWORK 5 SOLUTIONS Problem. 2008 B2 Let F 0 x = ln x. For n 0 and x > 0, let F n+ x = 0 F ntdt. Evaluate n!f n lim n ln n. By directly computing F n x for small n s, we obtain the following
More informationSimilarity and Diagonalization. Similar Matrices
MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that
More informationThe Characteristic Polynomial
Physics 116A Winter 2011 The Characteristic Polynomial 1 Coefficients of the characteristic polynomial Consider the eigenvalue problem for an n n matrix A, A v = λ v, v 0 (1) The solution to this problem
More informationMATH 110 Spring 2015 Homework 6 Solutions
MATH 110 Spring 2015 Homework 6 Solutions Section 2.6 2.6.4 Let α denote the standard basis for V = R 3. Let α = {e 1, e 2, e 3 } denote the dual basis of α for V. We would first like to show that β =
More informationMATHEMATICS (CLASSES XI XII)
MATHEMATICS (CLASSES XI XII) General Guidelines (i) All concepts/identities must be illustrated by situational examples. (ii) The language of word problems must be clear, simple and unambiguous. (iii)
More informationInner Product Spaces
Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and
More informationFunctions and Equations
Centre for Education in Mathematics and Computing Euclid eworkshop # Functions and Equations c 014 UNIVERSITY OF WATERLOO Euclid eworkshop # TOOLKIT Parabolas The quadratic f(x) = ax + bx + c (with a,b,c
More informationSolutions to Review Problems
Chapter 1 Solutions to Review Problems Chapter 1 Exercise 42 Which of the following equations are not linear and why: (a x 2 1 + 3x 2 2x 3 = 5. (b x 1 + x 1 x 2 + 2x 3 = 1. (c x 1 + 2 x 2 + x 3 = 5. (a
More informationNOTES ON LINEAR TRANSFORMATIONS
NOTES ON LINEAR TRANSFORMATIONS Definition 1. Let V and W be vector spaces. A function T : V W is a linear transformation from V to W if the following two properties hold. i T v + v = T v + T v for all
More informationFinite Fields and ErrorCorrecting Codes
Lecture Notes in Mathematics Finite Fields and ErrorCorrecting Codes KarlGustav Andersson (Lund University) (version 1.01316 September 2015) Translated from Swedish by Sigmundur Gudmundsson Contents
More information4. MATRICES Matrices
4. MATRICES 170 4. Matrices 4.1. Definitions. Definition 4.1.1. A matrix is a rectangular array of numbers. A matrix with m rows and n columns is said to have dimension m n and may be represented as follows:
More informationMathematical Induction. Mary Barnes Sue Gordon
Mathematics Learning Centre Mathematical Induction Mary Barnes Sue Gordon c 1987 University of Sydney Contents 1 Mathematical Induction 1 1.1 Why do we need proof by induction?.... 1 1. What is proof by
More informationProofs are short works of prose and need to be written in complete sentences, with mathematical symbols used where appropriate.
Advice for homework: Proofs are short works of prose and need to be written in complete sentences, with mathematical symbols used where appropriate. Even if a problem is a simple exercise that doesn t
More information4. Matrix inverses. left and right inverse. linear independence. nonsingular matrices. matrices with linearly independent columns
L. Vandenberghe EE133A (Spring 2016) 4. Matrix inverses left and right inverse linear independence nonsingular matrices matrices with linearly independent columns matrices with linearly independent rows
More informationTaylor Polynomials and Taylor Series Math 126
Taylor Polynomials and Taylor Series Math 26 In many problems in science and engineering we have a function f(x) which is too complicated to answer the questions we d like to ask. In this chapter, we will
More informationAlgebra 2 Chapter 1 Vocabulary. identity  A statement that equates two equivalent expressions.
Chapter 1 Vocabulary identity  A statement that equates two equivalent expressions. verbal model A word equation that represents a reallife problem. algebraic expression  An expression with variables.
More informationMatrix Representations of Linear Transformations and Changes of Coordinates
Matrix Representations of Linear Transformations and Changes of Coordinates 01 Subspaces and Bases 011 Definitions A subspace V of R n is a subset of R n that contains the zero element and is closed under
More informationMath 4310 Handout  Quotient Vector Spaces
Math 4310 Handout  Quotient Vector Spaces Dan Collins The textbook defines a subspace of a vector space in Chapter 4, but it avoids ever discussing the notion of a quotient space. This is understandable
More informationMath 55: Discrete Mathematics
Math 55: Discrete Mathematics UC Berkeley, Fall 2011 Homework # 5, due Wednesday, February 22 5.1.4 Let P (n) be the statement that 1 3 + 2 3 + + n 3 = (n(n + 1)/2) 2 for the positive integer n. a) What
More information1 Review of complex numbers
1 Review of complex numbers 1.1 Complex numbers: algebra The set C of complex numbers is formed by adding a square root i of 1 to the set of real numbers: i = 1. Every complex number can be written uniquely
More informationWe call this set an ndimensional parallelogram (with one vertex 0). We also refer to the vectors x 1,..., x n as the edges of P.
Volumes of parallelograms 1 Chapter 8 Volumes of parallelograms In the present short chapter we are going to discuss the elementary geometrical objects which we call parallelograms. These are going to
More informationContinued Fractions and the Euclidean Algorithm
Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction
More informationDiscrete Mathematics: Homework 7 solution. Due: 2011.6.03
EE 2060 Discrete Mathematics spring 2011 Discrete Mathematics: Homework 7 solution Due: 2011.6.03 1. Let a n = 2 n + 5 3 n for n = 0, 1, 2,... (a) (2%) Find a 0, a 1, a 2, a 3 and a 4. (b) (2%) Show that
More informationRESULTANT AND DISCRIMINANT OF POLYNOMIALS
RESULTANT AND DISCRIMINANT OF POLYNOMIALS SVANTE JANSON Abstract. This is a collection of classical results about resultants and discriminants for polynomials, compiled mainly for my own use. All results
More informationMATH10212 Linear Algebra. Systems of Linear Equations. Definition. An ndimensional vector is a row or a column of n numbers (or letters): a 1.
MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0534405967. Systems of Linear Equations Definition. An ndimensional vector is a row or a column
More informationChapter 7. Permutation Groups
Chapter 7 Permutation Groups () We started the study of groups by considering planar isometries In the previous chapter, we learnt that finite groups of planar isometries can only be cyclic or dihedral
More information5.3 Determinants and Cramer s Rule
290 5.3 Determinants and Cramer s Rule Unique Solution of a 2 2 System The 2 2 system (1) ax + by = e, cx + dy = f, has a unique solution provided = ad bc is nonzero, in which case the solution is given
More informationImages and Kernels in Linear Algebra By Kristi Hoshibata Mathematics 232
Images and Kernels in Linear Algebra By Kristi Hoshibata Mathematics 232 In mathematics, there are many different fields of study, including calculus, geometry, algebra and others. Mathematics has been
More informationSouth Carolina College and CareerReady (SCCCR) PreCalculus
South Carolina College and CareerReady (SCCCR) PreCalculus Key Concepts Arithmetic with Polynomials and Rational Expressions PC.AAPR.2 PC.AAPR.3 PC.AAPR.4 PC.AAPR.5 PC.AAPR.6 PC.AAPR.7 Standards Know
More informationThnkwell s Homeschool Precalculus Course Lesson Plan: 36 weeks
Thnkwell s Homeschool Precalculus Course Lesson Plan: 36 weeks Welcome to Thinkwell s Homeschool Precalculus! We re thrilled that you ve decided to make us part of your homeschool curriculum. This lesson
More information4. An isosceles triangle has two sides of length 10 and one of length 12. What is its area?
1 1 2 + 1 3 + 1 5 = 2 The sum of three numbers is 17 The first is 2 times the second The third is 5 more than the second What is the value of the largest of the three numbers? 3 A chemist has 100 cc of
More informationIntroduction to Algebraic Geometry. Bézout s Theorem and Inflection Points
Introduction to Algebraic Geometry Bézout s Theorem and Inflection Points 1. The resultant. Let K be a field. Then the polynomial ring K[x] is a unique factorisation domain (UFD). Another example of a
More information1 Lecture: Integration of rational functions by decomposition
Lecture: Integration of rational functions by decomposition into partial fractions Recognize and integrate basic rational functions, except when the denominator is a power of an irreducible quadratic.
More informationCofactor Expansion: Cramer s Rule
Cofactor Expansion: Cramer s Rule MATH 322, Linear Algebra I J. Robert Buchanan Department of Mathematics Spring 2015 Introduction Today we will focus on developing: an efficient method for calculating
More informationLINEAR ALGEBRA. September 23, 2010
LINEAR ALGEBRA September 3, 00 Contents 0. LUdecomposition.................................... 0. Inverses and Transposes................................. 0.3 Column Spaces and NullSpaces.............................
More informationCongruent Numbers, the Rank of Elliptic Curves and the Birch and SwinnertonDyer Conjecture. Brad Groff
Congruent Numbers, the Rank of Elliptic Curves and the Birch and SwinnertonDyer Conjecture Brad Groff Contents 1 Congruent Numbers... 1.1 Basic Facts............................... and Elliptic Curves.1
More informationLS.6 Solution Matrices
LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions
More informationSolutions to Math 51 First Exam January 29, 2015
Solutions to Math 5 First Exam January 29, 25. ( points) (a) Complete the following sentence: A set of vectors {v,..., v k } is defined to be linearly dependent if (2 points) there exist c,... c k R, not
More informationCOUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS
COUNTING INDEPENDENT SETS IN SOME CLASSES OF (ALMOST) REGULAR GRAPHS Alexander Burstein Department of Mathematics Howard University Washington, DC 259, USA aburstein@howard.edu Sergey Kitaev Mathematics
More informationMath 312 Homework 1 Solutions
Math 31 Homework 1 Solutions Last modified: July 15, 01 This homework is due on Thursday, July 1th, 01 at 1:10pm Please turn it in during class, or in my mailbox in the main math office (next to 4W1) Please
More informationby the matrix A results in a vector which is a reflection of the given
Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the yaxis We observe that
More informationAn Introduction to Combinatorics and Graph Theory. David Guichard
An Introduction to Combinatorics and Graph Theory David Guichard This work is licensed under the Creative Commons AttributionNonCommercialShareAlike License. To view a copy of this license, visit http://creativecommons.org/licenses/byncsa/3.0/
More informationMatrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.
Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that
More informationThe Method of Partial Fractions Math 121 Calculus II Spring 2015
Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method
More informationMultiplicity. Chapter 6
Chapter 6 Multiplicity The fundamental theorem of algebra says that any polynomial of degree n 0 has exactly n roots in the complex numbers if we count with multiplicity. The zeros of a polynomial are
More informationAu = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.
Chapter 7 Eigenvalues and Eigenvectors In this last chapter of our exploration of Linear Algebra we will revisit eigenvalues and eigenvectors of matrices, concepts that were already introduced in Geometry
More informationLINEAR ALGEBRA W W L CHEN
LINEAR ALGEBRA W W L CHEN c W W L Chen, 1997, 2008 This chapter is available free to all individuals, on understanding that it is not to be used for financial gain, and may be downloaded and/or photocopied,
More informationMethods for Finding Bases
Methods for Finding Bases Bases for the subspaces of a matrix Rowreduction methods can be used to find bases. Let us now look at an example illustrating how to obtain bases for the row space, null space,
More informationThis unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.
Algebra I Overview View unit yearlong overview here Many of the concepts presented in Algebra I are progressions of concepts that were introduced in grades 6 through 8. The content presented in this course
More information1. LINEAR EQUATIONS. A linear equation in n unknowns x 1, x 2,, x n is an equation of the form
1. LINEAR EQUATIONS A linear equation in n unknowns x 1, x 2,, x n is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b, where a 1, a 2,..., a n, b are given real numbers. For example, with x and
More informationLINEAR SYSTEMS. Consider the following example of a linear system:
LINEAR SYSTEMS Consider the following example of a linear system: Its unique solution is x +2x 2 +3x 3 = 5 x + x 3 = 3 3x + x 2 +3x 3 = 3 x =, x 2 =0, x 3 = 2 In general we want to solve n equations in
More informationMetric Spaces. Chapter 7. 7.1. Metrics
Chapter 7 Metric Spaces A metric space is a set X that has a notion of the distance d(x, y) between every pair of points x, y X. The purpose of this chapter is to introduce metric spaces and give some
More informationMA3059 Combinatorics and Graph Theory
MA3059 Combinatorics and Graph Theory Martin Stynes Department of Mathematics, UCC January 23, 2007 Abstract These notes are designed to accompany the textbook A first course in discrete mathematics by
More informationVERTICES OF GIVEN DEGREE IN SERIESPARALLEL GRAPHS
VERTICES OF GIVEN DEGREE IN SERIESPARALLEL GRAPHS MICHAEL DRMOTA, OMER GIMENEZ, AND MARC NOY Abstract. We show that the number of vertices of a given degree k in several kinds of seriesparallel labelled
More informationCHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY
January 10, 2010 CHAPTER SIX IRREDUCIBILITY AND FACTORIZATION 1. BASIC DIVISIBILITY THEORY The set of polynomials over a field F is a ring, whose structure shares with the ring of integers many characteristics.
More informationDiagonal, Symmetric and Triangular Matrices
Contents 1 Diagonal, Symmetric Triangular Matrices 2 Diagonal Matrices 2.1 Products, Powers Inverses of Diagonal Matrices 2.1.1 Theorem (Powers of Matrices) 2.2 Multiplying Matrices on the Left Right by
More informationLECTURE 2. Part/ References Topic/Sections Notes/Speaker. 1 Enumeration 1 1.1 Generating functions... 1. Combinatorial. Asst #1 Due FS A.
Wee Date Sections f aculty of science MATH 8954 Fall 0 Contents 1 Sept 7 I1, I, I3 Symbolic methods I A3/ C Introduction to Prob 4 A sampling 18 IX1 of counting sequences Limit Laws and and generating
More informationUtah Core Curriculum for Mathematics
Core Curriculum for Mathematics correlated to correlated to 2005 Chapter 1 (pp. 2 57) Variables, Expressions, and Integers Lesson 1.1 (pp. 5 9) Expressions and Variables 2.2.1 Evaluate algebraic expressions
More informationINTRODUCTORY LINEAR ALGEBRA WITH APPLICATIONS B. KOLMAN, D. R. HILL
SOLUTIONS OF THEORETICAL EXERCISES selected from INTRODUCTORY LINEAR ALGEBRA WITH APPLICATIONS B. KOLMAN, D. R. HILL Eighth Edition, Prentice Hall, 2005. Dr. Grigore CĂLUGĂREANU Department of Mathematics
More informationInduction. Margaret M. Fleck. 10 October These notes cover mathematical induction and recursive definition
Induction Margaret M. Fleck 10 October 011 These notes cover mathematical induction and recursive definition 1 Introduction to induction At the start of the term, we saw the following formula for computing
More informationThe determinant of a skewsymmetric matrix is a square. This can be seen in small cases by direct calculation: 0 a. 12 a. a 13 a 24 a 14 a 23 a 14
4 Symplectic groups In this and the next two sections, we begin the study of the groups preserving reflexive sesquilinear forms or quadratic forms. We begin with the symplectic groups, associated with
More informationChapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm.
Chapter 4, Arithmetic in F [x] Polynomial arithmetic and the division algorithm. We begin by defining the ring of polynomials with coefficients in a ring R. After some preliminary results, we specialize
More informationLinear Codes. In the V[n,q] setting, the terms word and vector are interchangeable.
Linear Codes Linear Codes In the V[n,q] setting, an important class of codes are the linear codes, these codes are the ones whose code words form a subvector space of V[n,q]. If the subspace of V[n,q]
More informationMATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.
MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. Nullspace Let A = (a ij ) be an m n matrix. Definition. The nullspace of the matrix A, denoted N(A), is the set of all ndimensional column
More informationMathematical Induction. Lecture 1011
Mathematical Induction Lecture 1011 Menu Mathematical Induction Strong Induction Recursive Definitions Structural Induction Climbing an Infinite Ladder Suppose we have an infinite ladder: 1. We can reach
More informationit is easy to see that α = a
21. Polynomial rings Let us now turn out attention to determining the prime elements of a polynomial ring, where the coefficient ring is a field. We already know that such a polynomial ring is a UF. Therefore
More information1 VECTOR SPACES AND SUBSPACES
1 VECTOR SPACES AND SUBSPACES What is a vector? Many are familiar with the concept of a vector as: Something which has magnitude and direction. an ordered pair or triple. a description for quantities such
More information