* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Senior Math Circles Sequences and Series I 1 Polygonal
Abuse of notation wikipedia , lookup
Functional decomposition wikipedia , lookup
Recurrence relation wikipedia , lookup
Chinese remainder theorem wikipedia , lookup
Non-standard analysis wikipedia , lookup
Horner's method wikipedia , lookup
Karhunen–Loève theorem wikipedia , lookup
Collatz conjecture wikipedia , lookup
Series (mathematics) wikipedia , lookup
Factorization wikipedia , lookup
Proofs of Fermat's little theorem wikipedia , lookup
Elementary algebra wikipedia , lookup
Fundamental theorem of algebra wikipedia , lookup
Number theory wikipedia , lookup
Elementary mathematics wikipedia , lookup
Faculty of Mathematics Waterloo, Ontario N2L 3G1 Senior Math Circles November 20, 2013 Sequences and Series I 1 Polygonal numbers Consider the familiar sequence of triangular numbers 1, 3, 6, 10, 15, . . . obtained by arranging circles in an equilateral triangle: Question 1.1. What is the formula for the n-th term of this sequence? Solution. Let un denote the n-th triangular number. Then ( (1 + n) + (2 + (n − 1)) + · · · + un = 1 + 2 + · · · + (n − 1) + n = (1 + n) + (2 + (n − 1)) + · · · + n−1 2 n−2 2 + + n+1 2 n+2 2 + n 2 n is odd, n is even. In both cases, we find that un = n(n + 1) . 2 In this case, we were able to use special properties of triangular numbers to derive a formula for the n-th triangular number. We would like to find a more general method for finding such formulas without relying on any special properties. One general method that works in many cases is the method of undetermined coefficients, which we describe using the following example. Example 1.2. The sequence 1, 5, 12, 22, 35, . . . of pentagonal numbers consists of the number of objects obtained by arranging circular disks into layers of regular pentagons, as follows: 1 Question 1.3. What is the formula for the n-th pentagonal number? Solution. Let un denote the n-th pentagonal number. We assume that un is a quadratic in n. This assumption is reasonable, since the size of a 2-dimensional object in general grows quadratically in n. Write un = an2 + bn + c. Then u1 = a + b + c = 1 u2 = 4a + 2b + c = 5 u3 = 9a + 3b + c = 12 We can solve this system of equations by subtracting the first from the second, and the second from the third, to obtain 3a + b = 4 5a + b = 7 Subtracting the first equation above from the second, we obtain 2a = 3, so a = 3/2, b = −1/2, and c = 0. Hence 1 3n2 − n 3 . un = n2 − n = 2 2 2 These methods also work for three-dimensional polygonal numbers: Question 1.4. What is the formula for the n-th tetrahedral number? Solution. Let un denote the n-th tetrahedral number. Since tetrahedrons are 3-dimensional objects, we assume that un is a cubic polynomial in n. Write un = an3 +bn2 +cn+d. The first few tetrahedral numbers are 1, 4, 10, 20, so we have u1 = a + b + c + d = 1 u2 = 8a + 4b + 2c + d = 4 u3 = 27a + 9b + 3c + d = 10 u4 = 64a + 16b + 4c + d = 20 Subtracting consecutive equations yields 7a + 3b + c = 3 19a + 5b + c = 6 37a + 7b + c = 10 Subtracting consecutive equations again yields 12a + 2b = 3 18a + 2b = 4 so a = 1/6, b = 1/2, c = 1/3, d = 0. Hence 1 1 1 n(n + 1)(n + 2) un = n3 + n2 + n = . 6 2 3 6 2 2 Finite differences The method of undetermined coefficients requires assuming that the general form of the formula (except for the unknown coefficients) is known in advance. An alternative method, called the method of finite differences, enables the formula to be computed without knowing the general form of the formula in advance. The method of finite differences operates as follows. Let u0 , u1 , u2 , . . . be any sequence, and consider the sequence ∆u0 , ∆u1 , ∆u2 , . . . defined by ∆u0 = u1 − u0 ∆u1 = u2 − u1 ∆u2 = u3 − u2 ∆u3 = u4 − u3 .. . Note that un is a partial sum of the sequence u0 , ∆u0 , ∆u1 , ∆u2 , . . . in the sense that un = u0 + (∆u0 + ∆u1 + · · · + ∆un−1 ). Now observe that u1 = u0 + ∆u0 u2 = u1 + ∆u1 u3 = u2 + ∆u2 u4 = u3 + ∆u3 and in general un+1 = un + ∆un . If we take a leap of faith and consider ∆ as an algebraic object, we may “factor” out the symbol ∆ to obtain the formula un+1 = (1 + ∆)un , valid for any positive integer n. We now proceed one step further. Define ∆2 u0 = ∆u1 − ∆u0 ∆2 u1 = ∆u2 − ∆u1 ∆2 u2 = ∆u3 − ∆u2 ∆2 u3 = ∆u4 − ∆u3 .. . A picture may be helpful here. If we arrange the terms in rows according to the diagram u0 u1 ∆u0 u2 ∆u1 ∆2 u0 u3 ∆u2 ∆2 u1 u4 ∆u3 ∆2 u2 ∆u4 ∆2 u3 3 u5 ··· ∆u5 ∆2 u4 ··· u6 ··· then each term is just the difference of the two terms lying above it. We now have u2 = (1 + ∆)u1 = u1 + ∆u1 = (u0 + ∆u0 ) + ∆u1 = (u0 + ∆u0 ) + (∆u0 + ∆2 u0 ) = u0 + 2∆u0 + ∆2 u0 . If we again treat ∆ as an algebraic object and factor it out, then we obtain u2 = (1 + ∆)2 u0 u3 = (1 + ∆)2 u1 u4 = (1 + ∆)2 u2 u5 = (1 + ∆)2 u3 .. . In general, set ∆k+1 un = ∆k un+1 − ∆k un . Then, for any n and k, we have un+k = (1 + ∆)k un , and in particular un = (1 + ∆)n u0 for all n. This formula can be viewed as a generalization of the binomial theorem and Pascal’s triangle to arbitrary sequences. Question 2.1. What is the formula for the n-th r-gonal number? Solution. We determine by inspection that the first few r-gonal numbers un , for any r, are: u0 = 0 u1 = 1 u2 = r u3 = 3r − 3 u4 = 6r − 8 u5 = 10r − 15 We form the following table of differences. un : 0 ∆un : ∆2 un : ∆3 un : 1 r−1 1 3r − 3 r r−2 2r − 3 r−2 0 6r − 8 3r − 5 r−2 0 10r − 15 4r − 7 r−2 0 Using the binomial theorem, we conclude n n 2 un = (1 + ∆) u0 = u0 + n∆u0 + ∆ u0 + ∆3 u0 + · · · 2 3 n(n − 1)(r − 2) n(n − 1) =n+ (r − 2) + 0 + · · · = n + . 2 2 n 4 ··· ··· ··· ···