ALL TEXTS BELONG TO OWNERS. Candidate code: glt090 TAKEN FROM

Size: px
Start display at page:

Download "ALL TEXTS BELONG TO OWNERS. Candidate code: glt090 TAKEN FROM"

Transcription

1 How are Generating Functions used in finding the closed form of sequences involving recurrence relations and in the analysis of probability distributions? Mathematics Extended Essay Word count: 3865 Abstract word count: 09 The fascination one can have with mathematics is similar to the fascination a boy can have with a girl. Hiroshi Yuki (01)

2 Contents Important Equations and Identities Abstract 3 Introduction 4 Generating Functions in Finding the Closed Form of Sequences Involving Recurrence Relations 6 A simple sequence {, 4, 8, 16 } 6 The Fibonacci Sequence 7 Derivation of the sum of an infinite geometric series 10 The Catalan Numbers 16 Probability Generating Functions 6 Uses of the PGF 7 The Binomial Distribution 30 The Poisson Distribution 34 The Maclaurin Series 35 Conclusion 39 Works Cited 40 1

3 Equations and Identities used in this extended essay Generating function for finding the closed form of a sequence: G (x) = u x n n = u x u x u x + u x u x n n +... n=0 Probability Generating Functions: G x (t) = t x P (X = x ) x=0 Sum of an infinite power series: 1 + x + x +... = 1 1 x For x < 1 and as n Maclaurin series: f (x) = n=0 1 n n! f (0)x n

4 Abstract The research question of this Extended Essay is How are Generating Functions used in finding the closed form of sequences involving recurrence relations and in the analysis of probability distributions? Generating functions are incredibly useful as they represent an infinite series of numbers as a single function (Graham, Knuth and Patashnik, 1994). They are therefore a powerful tool in analysing probability distributions and finding the closed form of a sequence. In investigating this research question, I began by applying generating functions to finding the closed form of the Fibonacci Sequence and the Catalan Numbers. The techniques I used in finding these closed forms helped me to approach finding the probability generating functions of four probability distributions: The Binomial Distribution and The Poisson Distribution. The investigation included approaches using the Maclaurin Series and the Binomial Theorem. The conclusion I came to was that the generating functions for any sequence or probability distribution is highly useful, allowing one to analyse the sequence and probability distribution much more quickly and efficiently. The research showed how generating functions analyse probability distributions, sequences involving recurrence relations, and its applications in real life. This essay concludes with a summary of findings and areas of exploration on Generating Functions. (Word count: 09) 3

5 Introduction The most powerful way to deal with sequences of numbers, as far as anybody knows, is to manipulate infinite series that generate those sequences. (Graham, Knuth, and Patashnik, 1994, p30) Generating functions are one of the most powerful ways of analysing a series of numbers, by expressing the terms of a sequence as coefficients of a series expansion, and finding the closed form of that series expansion. The concept of a generating function was introduced by Abraham de Moivre in 1730 (Knuth, 1973), and has been used since then to analyse sequences, to solve problems in combinatorics, computer programming, and in analysing probability distributions. Generating functions are functions which expresses an infinite sequence as coefficients of a series expansion. Here, u n is the n th term of the sequence as coefficients of x, an indeterminate which cannot be solved for. It is simply a symbol or placeholder. A generating function is not a true function which maps a domain and range but is more of a series which obeys the laws of a function, such as having derivatives and integrals and can be manipulated by the rules following a regular function. Below is the general form of a generating function: G (x) = u xn n n=0 Where x is an indeterminate or variable, and n is a positive whole number. By calculating the function which produces this infinite series, one can generalise the sequence and find its closed form. This may involve calculus, algebra, and the use of Maclaurin Series, falling factorials or other methods in order to find the closed form of the function. In this essay, a closed form is defined as an expression which generates the term by simply knowing the nth term. u n 4

6 The subject of sequences and generating functions was the first one to interest me - especially because of the Fibonacci Sequence, which appears in nature, art, and poetry. It is a recurrence relation, making it difficult to generalise, but generating functions can find the closed form of this sequence and others which also are in the form of recurrence relations. The Catalan Numbers and the Fibonacci sequence have important roles in combinatorics and finding the general form of these sequences are therefore important. Statistical analysis is also another area in which Generating Functions play an important role, as they can help facilitate the finding of the mean, variance, and probabilities of a probability distribution. As we shall see, the product of probability generating functions of independent variables corresponds to their sum, and this greatly increases the efficiency of computations relating to probability distributions. This extended essay relates to the topics in the Math HL course of Statistics and Probability, Functions and Equations, and was written before we began studying Statistics and Probability, which helped me greatly when we began the topic. The research question, How are Generating Functions used in finding the closed form of sequences involving recurrence relations and in the analysis of probability distributions? is the focus of this extended essay, I will be showing the use of generating functions in finding the closed form of a sequence and its use in probability distributions in this extended essay. 5

7 Generating Functions in Finding the Closed Form of Sequences Involving Recurrence Relations A simple sequence: {, 4, 8, 16 }, or n 1 u n = u 1 r I used a simple sequence first to illustrate how generating functions work. In this case, the generating function of the sequence shown above would be G (x) = x + 4x + 8x x 4... (refer back to general form on page ) Normally, the general form of this sequence would be relatively easy to figure out by comparison. However, for the sake of demonstrating the process of using a generating function, I will show how to find the general form of the sequence {, 4, 8, 16...} using the generating function method. Since we know the first few terms of the sequence, we make an infinite sum using the sequence as the coefficients of a power series. G (x) = x + 4x + 8x x From this we can generalise (the n th term of the sequence) as u n G(x) = n xn where n is a positive whole number n=0 And since we know the generalisation of the generating function, u n = n This gives us the general form of the sequence {, 4, 8, 16...}. 6

8 Now that I have demonstrated the use of generating functions in finding the closed forms of simple series, I will now move on to more complicated ones such as series containing recurrence relations. One of the most famous examples of this is the Fibonacci sequence. The Fibonacci Sequence Arithmetic and geometric sequences, such as in the above example, are quite easy to find the general formula as they have common ratios and differences which can be easily found using division or subtraction. However, there are other sequences that exist such as the Fibonacci sequence, which is in the form of a recurrence relation. The Fibonacci sequence can be expressed as the sequence {0, 1, 1,, 3, 5, 8, 13, 1, 34 } Where the nth term is the sum of the ( n 1) th and ( n ) th term, such that u 0 = 0 u 1 = 1, n > u n = u n 1 + u n The generation of the n th term as a function of the previous terms is what makes the Fibonacci sequence a recurrence relation. The general form of recurrence relations are generally harder to find as there is no common ratio or common difference or general formula to express the sequence. Although there is a pattern, this is not 7

9 practical for larger numbers n, thus generating functions are used to find the general forms of sequences which depend on recurrence relations. The generating function of the Fibonacci sequence would be like so (where G (x) is power series with coefficients being the terms of the Fibonacci sequence): G (x) = 0x 0 + 1x 1 + 1x + x 3 + 3x G (x) = x + x + x 3 + 3x Or, in a more general form, G (x) = u x u x u x + u x Generalized as G (x) =... + u x n n + u x n 1 n 1 + u x n n +... However, it s nearly impossible to add the terms together in this form as the powers of x are different. I noticed that the recurrence relation of the Fibonacci sequence allowed me to equalize the powers of x, by multiplying G (x) by powers of x. u xn n x = u n xn u xn 1 n 1 x 1 = u n 1 xn I multiplied G(x) by x 0, x 1, and x in order to obtain the following equations: G (x) x 0 = u x u x u x + u x G (x) x 1 = u0x 1 + u x 1 + u x 3 + u x

10 G (x) x = u0x + u x u x 4 + u x Subtracting 1 from 3 + : Left-hand side = G (x) x + G (x) x 1 G (x) x 0 = G(x)(x + x 1 ) Right-hand side = u x u x 0 0 u 1 x1 + ( u 0 + u 1 u ) x + ( u 1 + u u 3 ) x 3 + ( u + u 3 u 4 ) x ( u n + u n 1 u n ) x n +... From the general form of this combined equation I saw that ( u n + u n 1 u n ) x n = [ u n + u n 1 ( u n + u n 1 )] x n = ( u n + u n 1 u n u n 1 ) x n = 0 Everything in this equation will cancel out except for the first three terms, leaving the equation G(x)(x + x 1 ) = u x u x 0 0 u 1 x1 9

11 And since we know what u 0 and u 1, which are 0 and 1 respectively. G(x)(x + x 1 ) = x G (x) = x 1 x x This is the generating function of the Fibonacci Sequence. This is the sum of the infinite series which has coefficients of the Fibonacci Sequence. However, this generating function needs to be converted into a sequence form in order for it to allow one to generate the nth term of the sequence. Currently, we know G (x) = x 1 x x I realised that in order to convert the Fibonacci Sequence into a generalised sequence, I would need to make use of the sum of an infinite geometric series (Yuki, 01). Derivation of the sum of an infinite geometric series Consider: ( 1)(1 x ) = 1 x 1 ( 1 + x)(1 x ) = 1 x ( 1 + x + x )(1 x ) = 1 x 3 ( 1 + x + x + x 3 )(1 x ) = 1 x 4 We can generalise this: ( 1 + x + x x n )(1 x ) = 1 x n+1 10

12 Creating the equation ( 1 + x + x x n 1 x ) = n+1 1 x And when x < 1, we can see that lim x xn+1 = 0 Therefore for x < 1 and as n, 1 + x + x +... = 1 1 x For the function f (x) = 1 + x + x + x 3 + x , we could also express this as f (x) = 1x x + 1x + 1x 3 + 1x where the coefficients of x form the sequence {1, 1, 1, 1, 1, 1...}. The general form of a generating function G (x) is as follows: G(x) = u x u x u x + u x = u xn n n=0 Now, back to the Fibonacci Sequence. This helped me in expressing the function G ( x ) as an infinite series. I began by factorizing the bottom of the fraction in G ( x ), taking into account the fact that x is an indeterminate. Consider: x 1 x x = R 1 rx + S 1 sx R(1 sx)+s(1 rx) = (1 rx)(1 sx) 11

13 R Rsx+S Srx = 1 sx rx+rsx (R+S) (Rs+Sr)x = 1 (s+r)x+rsx By using comparison, we can see that the coefficients come out to 1. R + S = 0. R s + S r = 1 3. s + r = 1 4. r s = 1 We can express R and S in terms of r and s. R = S S s + S r = 1 (by substituting equation 1. Into equation.) S(r s ) = 1 S = 1 r s Similarly, we can find that R = 1 r s And, using this, we can therefore form the expression 1

14 G (x) = x 1 x x = R 1 rx + S 1 sx = 1 r s 1 1 rx 1 r s 1 1 sx = 1 r s 1 1 rx 1 1 sx ( ) We can see here how 1 rx and 1 sx correspond to the generating function of 1 x. We replace 1 rx 1 and 1 sx with their infinite sums, referring back to the infinite sum on page 11. G (x) = 1 r s ((1 + r x + r x + r 3 x ) ( 1 + s x + s x + s 3 x )) = 1 r s((r s )x + ( r s )x + ( r 3 s 3 )x ) r s r s + r s 3 3 r s + r s = r s x x x Which can be expressed in the general form, G (x) r s = n=0 r s n n n x And since we know that G (x) = n=0 u n xn 13

15 We can therefore deduce that u n = r n s r s n Where u n is the n th term of the infinite sum. Now, we also know that s + r = 1 And r s = 1 from page 1 And since r and s are the roots of the equation x ( s + r )x + r s = 0 x x 1 = 0 We can use the quadratic formula to solve for the roots of the equation. x = b± b 4ac a 1± 1+4 x = 1± 5 x = Assuming that r > s, 14

16 1+ 5 r = 1 5 and s = r s = = = 5 This shows that u n = (( ) n ( ) ) n Which is the general form of the Fibonacci sequence. We can test this out: u 0 = (( ) ( ) 0 ) = 1 (1 1 ) = 0 5 u 1 = (( ) 1 1 5) ) ( ) 5 ( 1 = 1 5 = From this process, we can see that using a generating function to find the general form of a sequence follows these steps: 1. Express the generating function of the sequence in the form of an infinite power series, using the formula G (x) = x u n n n=0. Express the infinite power series as an infinite sum 15

17 3. Find the general form of G(x) in the form u xn n in which u n is an expression by itself n=0 4. Extract u n from step 3, finding the closed form of the sequence Now, I will demonstrate this method of using generating functions to find the general form, sequence containing recurrence relations using another sequence: the Catalan numbers. u n of a The Catalan Numbers The Catalan numbers are another famous mathematical sequence which had stumped mathematicians since their publication in the work of Eugene Charles Catalan as a solution to a combinatorics problem, similar in the way that the Fibonacci numbers had been discovered multiple times but made famous by one mathematician. The Catalan numbers appear in many situations, one of which is a round table around which n number of people sit. The Catalan numbers ( u n being the nth term) are then the number of ways those n people can shake hands without their arms crossing. Where u n is the n th term of the sequence. The Catalan numbers consist of the following sequence (from n = 1): Table 1: The Catalan Numbers n u n Another combinatorics problem which could be used to find a solution to the Catalan numbers would be how many different ways to rearrange brackets for n+1 numbers, where A is any arbitrary number. We are not actually adding any numbers but rather just using them as placeholders so we can rearrange the number of brackets in order to illustrate the Catalan numbers. 16

18 u 0 = 1. For n= 1, A + A = ( A + A ) = 1 way to arrange the brackets For n=, A + A + A = ((A + A ) + A) u 1 u 0 = ( A + ( A + A)) u o u 1 = ways to arrange the brackets For n= 3, A + A + A + A = (((A + A ) + A ) + A ) = ((A + ( A + A )) + A ) = ((A + A ) + ( A + A)) includes arrangement of two n = 1 = ( A + ((A + A ) + A ) = ( A + ( A + ( A + A )) = 5 ways to arrange the brackets There s a pattern emerging in these examples - one can see that there is a grouping of n = in n = 3 : Therefore we can see that u n 1 affects the value of u n. u n will be a sum of the previous sums, or that, u = u 0 u 1 + u 1 u 0 u 3 = u 0 u + u 1 u 1 + u u 0 17

19 From this, we can generalise that u 0 = 1, u n+1 = u 0 u n 0 + u 1 u n 1 + u u n u k u n k u n 0 u 0 Or, u 0 = 1, n u n+1 = k=0 u k u n k This is the recurrence relation of the Catalan Numbers. Now for the generating function of the Catalan numbers: G (x) = u x u x u x + u x u x n n +... G (x) = u 0 + u 1 x + u x + u x u x n n +... G (x) = x u n n n=0 In order to find the closed form of G (x), I tried a few methods such as differentiation and subtraction (the technique I used for the Fibonacci sequence) but eventually found that squaring G (x) was the most effective way to find the closed form of the generating function. G(x) = u 0 u 0 + ( u 0 u 1 + u 1 u 0 )x + ( u 0 u + u 1 u 1 + u u )x n ( u u )x n k n k +... k=0 n k=0 Showing that the coefficients of x n are u. u k n k 18

20 G(x) n = ( u )x u n k n k n=0 k=0 And since we know that n u n+1 = k=0 u k u n k G(x) = n=0 u n+1 xn In a similar fashion to the Fibonacci sequence, we can manipulate this equation by multiplying it by x. Doing so will change the power of x in the current equation and allow us to find the closed form of the Catalan numbers. x G(x) = x n=0 u n+1 xn x G(x) = x u n+1 n+1 n=0 x G(x) = x u n+1 n+1 n+1=1 I added 1 to both sides of the lower limit so n + 1 would be achieved, equal to the notation for u and x. This can be further generalised to x G(x) = n=1 u n xn x G(x) = u n x n u 0 n=0 19

21 Knowing that G (x) = u xn n, n=0 x G(x) = G(x) u 0 And since we know that u 0 = 1, xg(x) G (x) + 1 = 0 Using the quadratic formula, 1± 1 4x G (x) = x However the ± complicates things. I realised that I couldn t have two closed forms x G (x) = x or x G (x) = x For x=0, (0) G (0) = (0) or (0) G (0) = (0) 0 = / = 0 Therefore, we know that the correct closed form of G(x) is 1 1 4x G (x) = x (*) In order to find the closed form of the generating function, we ll attempt to find the closed form of the power series which corresponds to the generating function G(x), as we did for the Fibonacci sequence. 0

22 k=0 Because G(x) is one power series ( u xk k ), and the expansion of 1 4 x can also be expressed as a k=0 power series ( P xk k ), a generating function I will call P (x) so that G (x) will not be confused with it. The coefficients of the generating function P (x) will be P k to avoid confusion with the Catalan Numbers. This would mean that the equation for G ( x ) would now be: x u x k k = 1 P k xk From (*) k=0 k=0 u x k+1 k 1 = 1 ( P 0 + P x k k ) k=0 k=1 u k 1 x = 1 P 0 x k=1 P k k k=1 u x k k 1 + P k x k = 1 P 0 k=1 k=1 k=1 ( u k 1 + P k )x k = 1 P 0 By comparing the coefficients of the terms, I found that 0 = 1 P 0 u 0 + P 1 = 0 u 1 + P = 0 u + P 3 = 0 1

23 u n + P n+1 = 0 We can generalise this as P 0 = 1 P u n = n+1 Therefore if we find the general form of P n+1 we would be able to find the closed form of the generating function G (x). We know that P (x) = 1 4 x P (x) = P x P x P x + P x Applying the rules we use for regular function to P(x), differentiating we get P (x) = P 1 + P x + 3P x 3 + 4P x P (x) = 1 P + 3P 3 x + 3 4P 4 x3 Thus P (0) = 1P 1 P (0) = P P (0) = 3 1P 3 Or generalised as, P (n) (0) = n!p n (n) P (0) P n = n!

24 After I arrived at this, I realised that I needed to link the equation P (x) = 1 4 x to the identity of P n by finding the n th derivative of P (x). 1 P (x) = ( 1 4x) P (x) = (1 4x) 1 P (x) = (1 4x) 3 P (3) (x) = 4 3(1 4x) 5 P (4) (x) = 6 5 4(1 4x) 7 P (5) (x) = (1 4x) 7 Here I realised that I needed some sort of annotation for the factorial which ended on a number which was not one, for example without using fractions as this would complicate calculations further on if I attempted to use fractions and factorials. After researching, I found that the most effective method was the falling factorial, which is a way of expressing the factorials of a number n number of times. For example: ( x) x = ( x)(x 1)(x )(x 3)(x 4 )...(3)()(1) = x! ( x goes through the factorial x times) ( x) = ( x)(x 1 ) ( n goes through the factorial twice) ( x) 5 = ( x)(x 1)(x )(x 3)(x 4 ) ( n goes through the factorial five times) 3

25 Generalised as n 1 ( x) n = (x k ) k=0 Where is similar to the sign but multiplies instead of adding. I used this notation in writing the generalisation of the identity of P (n) (x), which is below. P (n) (x) = ( n ) n 1 (1 4x) n 1 P (n+1) (x) = (n) n(1 4x) n+1 P (n+1) (0) = (n) n (n) P (0) And from the equation, : P n = n! P n+1 (n+1) P (0) = (n+1)! = (n) n (n+1) n+1 We can substitute this into the equation P u n = n+1 u n P = n+1 ( from page 1) = (n) n (n+1) n+1 (substituting what we know of P n+ 1 ) = (n) n (n+1)(n) n (separating the falling factorials) 4

26 From here, we know that ( n) n = n(n 1 )(n )...(n + 1 ) ( n) n(n) n = n(n 1 )(n )...(n + 1 )(n)(n 1 )(n )...(3)()(1) (n)! ( n) n = n! Then we can put that back into the previous equation where we separated the falling factorials: = 1 (n)! n+1 n!n! ( ) = 1 n+1 (n)! n!(n n)! ( ) = 1 n n+1 n ( ) This is the general form of the n th term of the Catalan numbers. After exploring the use of generating functions in finding the general form of a sequence defined by recurrence relations, I decided to look at a more practical approach - the applications of generating functions in statistics. 5

27 Probability Generating Functions Generating functions are used in probability and statistics to predict the probability of an event occurring as the coefficient of an indeterminate, t (it does not have a value but can be treated like a variable in a regular function), which has the power x, such that For a probability distribution X, G X (t) = E(t x ) = t x P (X = x ) x=0 Where (t) G X is the probability generating function (PGF) of a probability distribution X (the number of successes or occurrences as defined in each different distribution), where P ( X = x ) is the probability distribution. The PGF allows one to find a lot of information about a probability distribution much more simply than other methods. It has the following uses (Chapter 4: Generating Functions, n.d.): 1. Finding P (X = x ) for any value of x as a coefficient of t x. Finding the mean of a probability distribution 3. Finding the variance of a probability distribution 4. Finding the sum of independent, discrete random variables In this section, I will explore two different distributions and the derivations of their PGFs - the Binomial Distribution and the Poisson Distribution. 6

28 Uses of the PGF Firstly, the derivatives of the PGF can be used to generate the probabilities of the probability distribution the PGF corresponds to (6 - Probability Generating Functions, n.d.). G X (t) = t x P (X = x ) = P (0) + t P (1) + t P () + t 3 P (3) +... x=0 G X (t) = 1 P (1) + tp () + 3t P (3) + 4t 3 P (4) +... G X (t) = ( 1 )P () + ( 3 )tp (3) + ( 4 3)t P (4) +... G X (t) = ( 3 1 )P (3) + ( 4 3 )tp (4) +... I used this formula to generalise the probabilities of any probability distribution by manipulating the derivatives of the PGF: P (X = 0 ) = G X (0) P (X = 1 ) = G X (0) P (X = ) = 1 1 G X (0) X P (X = 3 ) = G (0) (4) X P (X = 4 ) = G (0) And can be generalised to: (n) P (X = n ) = 1 n! G X (0) The mean and variance can also be found from the PGF of any probability distribution. 7

29 For the derivation of the mean, consider the PGF of the probability distribution X : G X (t) = t x P (X = x ) x=0 G X (t) = 1 P (X = 1 ) + tp (X = ) + 3t P (X = 3 ) + 4t 3 P (X = 4 ) +... Where G x (t) = d dxg x (t) There is a pattern in this - the series looks like the expectation of the probability distribution; however, the only term that is out of place is t which can be replaced by 1 in order to find the expectation of the probability distribution. G X (1) = 1 P (X = 1 ) + P (X = ) + 3 P (X = 3 ) + 4 P (X = 4 ) +... = x P (X = x ) x=1 = E (X) This shows us that the mean of the probability distribution can be found from the PGF of a probability distribution, rather than having to sum the probability distribution in the usual way: Recall: E (X) = x P (X = x ) And for large probability distributions one would have to sum all the values of x and P (X = x ) in order to find the value of the expectation and therefore the PGF makes it much more efficient to find the expectation of the probability distribution. For the variance, I differentiated the PGF twice. 8

30 G X (t) = t x P (X = x ) x=0 G X (t) = xt x 1 P (X = x ) x=0 G X (t) = x(x 1)t x P (X = x ) x=0 G X (1) = x(x 1 )P (X = x ) = E(X(X 1 )) = E(X X ) = E(X ) E (X) x=0 Where t = 1 For variance, V ar(x) = E(X ) [ E(X)] = E(X ) [ G X (1)] It seemed as if we were stuck here. However, we know that G X (1) = E(X ) E (X), so we can manipulate this equation: V ar(x) = E(X ) E (X) + E(X) [ G X (1)] = G X (1) + E(X) [ G X (1)] = G X (1) + G X (1) [ G X (1)] Finally, the PGFs of two independent random distributions can be used to find the sum of those independent variables. For example, if X = Z + Y, and Z and Y are independent probability distributions, we can label their generating functions as G Z (t) and (t) respectively. If we want to find the sum of the G Y 9

31 two distributions, or the generating function of the two distributions, we could do so using the generating functions of Z and Y. G X (t) = E(t x ) = E(t z+y ) = E(t z t y ) = E(t z ) E(t y ) = G Z (t) G Y (t) Hence, we can see that a PGF is immensely useful in finding everything that there is to know about a probability distribution. In the following section, I will consider well-known probability distributions, their PGFs, and how effectively information about the probability distributions can be found using the PGFs. Binomial Distribution The Binomial Distribution is a probability distribution limited by the following rules: 1. The trials are independent and are random variables. There are only two possible outcomes - success and failure 3. The probability of each trial is constant The Binomial Theorem uses the Bernoulli Distribution, which is shown in Table, but is repeated n number of times. Table : The Bernoulli Distribution x 0 1 P(X = x) 1 - p p 30

32 Where p is defined as the probability of the success occurring and 1-p is the probability of the failure, X is the random variable denoting the number of successes, and P(X = x) denotes the probability that X can assume the value of x which is success or failure. The Binomial Distribution occurs when an experiment is repeated n number of times, the probability of success is p, and where X is the number of successes in these trials. The probability density function (PDF) of the Binomial Distribution is: n X ~ B(n, p) P (X = x ) = ( ) p x x (1 p) n x x = 0, 1,...n The PGF of this Binomial Distribution or (t) G X would therefore be G X (t) = t 0 P (X = 0 ) + t 1 P (X = 1 ) + t P (X = ) + t 3 P (X = 3 ) +... = t 0 n ( )p 0 0 (1 p) n + t 1 n ( )p 1 1 (1 p) n 1 + t n ( )p (1 p) n + t 3 n ( )p 3 3 (1 p) n n 0 0 n 1 1 n n 3 3 = ( )(tp) (1 p) n + ( )(tp) (1 p) n 1 + ( )(tp) (1 p) n + ( )(tp) (1 p) n Let q = 1 p, n 0 G X (t) = ( )(tp) q n n 1 + ( )(tp) q n 1 n + ( )(tp) q n n 3 + ( )(tp) q n Recall that ( a + b) n n = ( ) a b r=0 n n r r r (the Binomial Theorem) Therefore, G X (t) = ( q + tp) n n = ( 1 p + tp) This is the PGF of the Binomial Distribution. 31

33 One of the uses of the PGF is that the expectation and variance of the PDF can be found very easily. The expectation of the Binomial distribution can be found easily using the following method: E (X) = G X (1) = G X (t) = p n(q + 1p) n 1 = n p Similarly, the variance of a distribution can be found using the PGF of that distribution. On page 9, the variance of a distribution was defined as: V ar(x) = G X (1) + G X (1) [ G X (1)] And can be used to find the variance of a distribution very quickly: V ar(x) = p n(n 1 )(q + p) n + np ( np) = np (n 1 ) + np ( np) = p(n p n p + n n p) = np(1 p ) = n pq Next I asked myself the question: how can I work backwards from a PGF to find the original probability density function? We can use this PGF in a similar way we used the generating function to find the nth term of a sequence with the Fibonacci numbers, by re-writing the PGF in a form which is an infinite series, allowing us to extract the probability density function. G X (t) = ( q + tp) n n 1 G X (t) = p n(q + tp) 3

34 G X (t) = p n n(n 1 )(q + tp) G X (t) = p 3 n 3 n(n 1)(n )(q + tp) Generalised as: G (y) X (t) = p y n y (n 1)(n )(n 3)...(n x + 1 )(q + tp) (y) G X (t) = p y n! (n y)! ( q + t n y p) (y) G X (t) = p y n!y! y!(n y)! ( q + t n y p) (y) G X (t) = p y n! y! y!(n y)! ( q + t n y p) (t) = p y y! ( n ) ( q + tp) G X (y) y n y And since we know that P (X = y ) = 1 y! G(y) (0) P (X = y ) = ( n ) p y ( q) y n y P (X = y ) = ( n ) p y ( 1 p) n y y Which follows a Binomial Distribution. Using this method, we can prove that a generating function is of a certain probability distribution or can find the probability density function of the distribution. One other distribution which I looked at was the Poisson Distribution. 33

35 Poisson Distribution The PDF of the Poisson Distribution is defined as follows: X ~ P o(λ) P (X = x ) = x! e λ x λ x = 1,, 3, 4,... Where λ is the mean of the variable x is the number of successes. The Poisson Distribution is used to predict independent events over a certain period of time. It is the number of x events that will happen, given that λ events happen on average over a certain period of time. This distribution is used in the prediction of crime rates in a certain area, the number of deaths in war, the number of hungry people entering a restaurant at a given period of time (Letkowski, 01.) and many other applications which have independent events happening over a certain period of time. The Poisson Distribution can also be applied spatially - such as the number of errors on a page of writing, or the number of defects on a certain product. Finding the PGF of the Poisson Distribution is therefore a very valuable tool which can be used in industry, criminology, as well as a multitude of other applications. From the definition of the Poisson Distribution, we can see that the PGF will be G X (t) = t x P (X = x ) x=0 = λ x t x x! x=0 e λ 34

36 = e λ (tλ) x x=0 x! From this point it may seem almost impossible to find the PGF of the Poisson Distribution. However, we must make use of Maclaurin s series to simplify the result and to find the PGF of the series. The Maclaurin series The Maclaurin series is a Taylor Series centred on zero. The Maclaurin Series makes use of an infinite series of polynomials to represent a function. This series is derived from the derivatives of the original function (Khan, 011). A function f (x) could therefore be expressed in a series of numbers. f (x) = a 0 + a 1 x + a x + a x a x f (x) = a 1 + a x a x a x f (x) = a + 3 a x a x a x f (x) = 3 1 a a 4 x a x Substituting 0 for x, we can see that f (0) = a 0 (0) f = a 1 (0) a f (0) f = a = (0)! f (0) f = 3 a 3 a 3 = 3! 35

37 (0)! (n) f (0) f (n) = n a n a n = n! So we can generalise that p (x) = f (0) + f (0)x + 1 f (0)x f (0)x (4) 4 3 f (0)x n n! f (0)x n +... While researching, I found that the Maclaurin series for e x was important to finding the PGF for the Poisson Distribution. This led me to finding the Maclaurin Series for f(x) = e x. e x has the handy quality, x such that e x = d dx e, leading to the Maclaurin Series for being very simple to find. e x e x = e 0 + e 0 x e x! e x 3 3! e x 4 4! n! e x n +... x = 1 + x + x! + 3 x 3! + 4 x 4! n n! +... = x n n=0 n! After I found the Maclaurin Series of e x, I realised why it was important to finding the PGF of the Poisson Distribution. What had seemed like a series that couldn t be simplified into a closed form was now made easier when I compared the Maclaurin Series of e x with the PGF of the Poisson Distribution. (t) G X = e λ (tλ) x x=0 x! Since e x x = n, therefore e tλ (tλ) = x and we can substitute this value into the equation to get: n=0 n! x=0 x! (t) = e e G X λ tλ (t) G X = e λ(t 1) 36

38 Similarly to the Binomial distribution, how can we prove that this generating function represents the Poisson Distribution or work backwards to find the original probability density function? This can be achieved in the following steps: (t) G X = e λ(t 1) G X (t) = λ e λ(t 1) G X (t) = λ e λ(t 1) G X (t) = λ 3 e λ(t 1) Generalised as: G X (n) (t) = λ n e λ(t 1) Which can be substituted into the equation P (X = n ) = 1 n! G(n) (0) n λ e λ P (X = n ) = n! Which is a Poisson Distribution. Again, this shows us how to find the PDF of a distribution from its PGF. Other than this, One can use the PGF to find the expectation of the distribution much more efficiently than the usual method. In the introductory section of PGFs, I showed how one can use the PGF to find the expectation. The expectation of a probability distribution is: E (X) = x P (X = x) or E (X) = G X (1) x=0 With the first equation, for the Poisson Distribution, we would have to find the expectation through solving this: 37

39 Solving for the expectation of the Poisson distribution is very simple if this equation is used: E (X) = G X (t) = λ e λ(1 1) = λ Using the PGF of the Poisson Distribution is very efficient as one simply has to differentiate it once and then set x as 0. Similarly, the variance of of the Poisson Distribution can be found using the following method: V ar(x) = G X (1) + G X (1) [ G X (1)] = λ e λ(1 1) + λ e λ(1 1) λ = λ This shows clearly the efficiency of using the PGF in the analysis of probability distributions. 38

40 Conclusion Through exploring this topic in the Extended Essay, I found that generating functions can be used to find the closed form of sequences involving recurrence relations. Two of these sequences which I found the closed form of were the Fibonacci Sequence and the Catalan Numbers. This shows the powerful computational potential of generating functions, and how its properties can be used to apply methods of manipulating functions to a sequence. I also explored the use of PGFs in the analysis of probability distributions. Using the PGF of a distribution, I found the individual probabilities as well as expectation and variance. The PGF can also be used to find combinations of independent distributions using their individual PGFs. The PGF of a distribution greatly reduces computational time for finding information about the probability distribution. By using the various methods applied to regular functions, one can manipulate a probability distribution to find information about it much more efficiently than if one did not use a PGF. The scope of applications of generating functions is huge, ranging from its use in the sieve method in combinatorics, the Snake Oil method for evaluating combinatorial sums, and many other combinatorial problems. Computer algorithms also use generating functions and they can be used to prove combinatorial identities. Sequences of functions can also be examined by generating functions, and the Legendre polynomial generating function is important in the area of electrodynamics and vectors (Sahanggamu, 006). These, especially examining the use of generating functions in combinatorics, could be topics for further investigation. 39

41 Works Cited 6 - Probability Generating Functions. (n.d.). 1st ed. [ebook] Cambridge: University of Cambridge. Available at: [Accessed 16 Dec. 016]. Chapter 4: Generating Functions. (n.d.). 1st ed. [ebook] The University of Auckland. Available at: [Accessed 5 Feb. 017]. Graham, R., Knuth, D. and Patashnik, O. (1994). Concrete mathematics. nd ed. Reading: Addison-Wesley, p.30. Khan, S. (011). Taylor & Maclaurin polynomials intro (part 1). [video] Available at: ylor-series-intuition [Accessed 8 Dec. 016]. Knuth, D. (1973). The art of computer programming. 1st ed. Reading: Addison-Wesley. Letkowski, J. (01). Applications of the Poisson probability distribution. 1st ed. [ebook] Springfield: Western New England University. Available at: [Accessed 6 Dec. 016]. Sahanggamu, A. (006). Generating Functions and Their Applications. Undergraduate. MIT Mathematics Department. Yūki, H. and Gonzalez, T. (01). Math Girls. nd ed. Austin: Bento Books, Inc. 40

Power series and Taylor series

Power series and Taylor series Power series and Taylor series D. DeTurck University of Pennsylvania March 29, 2018 D. DeTurck Math 104 002 2018A: Series 1 / 42 Series First... a review of what we have done so far: 1 We examined series

More information

Math Circle: Recursion and Induction

Math Circle: Recursion and Induction Math Circle: Recursion and Induction Prof. Wickerhauser 1 Recursion What can we compute, using only simple formulas and rules that everyone can understand? 1. Let us use N to denote the set of counting

More information

Lectures on Elementary Probability. William G. Faris

Lectures on Elementary Probability. William G. Faris Lectures on Elementary Probability William G. Faris February 22, 2002 2 Contents 1 Combinatorics 5 1.1 Factorials and binomial coefficients................. 5 1.2 Sampling with replacement.....................

More information

MATH 118, LECTURES 27 & 28: TAYLOR SERIES

MATH 118, LECTURES 27 & 28: TAYLOR SERIES MATH 8, LECTURES 7 & 8: TAYLOR SERIES Taylor Series Suppose we know that the power series a n (x c) n converges on some interval c R < x < c + R to the function f(x). That is to say, we have f(x) = a 0

More information

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form

e x = 1 + x + x2 2! + x3 If the function f(x) can be written as a power series on an interval I, then the power series is of the form Taylor Series Given a function f(x), we would like to be able to find a power series that represents the function. For example, in the last section we noted that we can represent e x by the power series

More information

Generating Function Notes , Fall 2005, Prof. Peter Shor

Generating Function Notes , Fall 2005, Prof. Peter Shor Counting Change Generating Function Notes 80, Fall 00, Prof Peter Shor In this lecture, I m going to talk about generating functions We ve already seen an example of generating functions Recall when we

More information

Chapter 11 - Sequences and Series

Chapter 11 - Sequences and Series Calculus and Analytic Geometry II Chapter - Sequences and Series. Sequences Definition. A sequence is a list of numbers written in a definite order, We call a n the general term of the sequence. {a, a

More information

Algebra Year 10. Language

Algebra 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 information

Stat 134 Fall 2011: Notes on generating functions

Stat 134 Fall 2011: Notes on generating functions Stat 3 Fall 0: Notes on generating functions Michael Lugo October, 0 Definitions Given a random variable X which always takes on a positive integer value, we define the probability generating function

More information

UNCORRECTED SAMPLE PAGES. Extension 1. The binomial expansion and. Digital resources for this chapter

UNCORRECTED SAMPLE PAGES. Extension 1. The binomial expansion and. Digital resources for this chapter 15 Pascal s In Chapter 10 we discussed the factoring of a polynomial into irreducible factors, so that it could be written in a form such as P(x) = (x 4) 2 (x + 1) 3 (x 2 + x + 1). In this chapter we will

More information

3.4 Introduction to power series

3.4 Introduction to power series 3.4 Introduction to power series Definition 3.4.. A polynomial in the variable x is an expression of the form n a i x i = a 0 + a x + a 2 x 2 + + a n x n + a n x n i=0 or a n x n + a n x n + + a 2 x 2

More information

Ma 530 Power Series II

Ma 530 Power Series II Ma 530 Power Series II Please note that there is material on power series at Visual Calculus. Some of this material was used as part of the presentation of the topics that follow. Operations on Power Series

More information

Some Review Problems for Exam 2: Solutions

Some Review Problems for Exam 2: Solutions 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

More information

Generating Functions

Generating Functions Generating Functions Karen Ge May, 07 Abstract Generating functions gives us a global perspective when we need to study a local property. We define generating functions and present its applications in

More information

SECTION 9.2: ARITHMETIC SEQUENCES and PARTIAL SUMS

SECTION 9.2: ARITHMETIC SEQUENCES and PARTIAL SUMS (Chapter 9: Discrete Math) 9.11 SECTION 9.2: ARITHMETIC SEQUENCES and PARTIAL SUMS PART A: WHAT IS AN ARITHMETIC SEQUENCE? The following appears to be an example of an arithmetic (stress on the me ) sequence:

More information

MATH 1231 MATHEMATICS 1B Calculus Section 4.4: Taylor & Power series.

MATH 1231 MATHEMATICS 1B Calculus Section 4.4: Taylor & Power series. MATH 1231 MATHEMATICS 1B 2010. For use in Dr Chris Tisdell s lectures. Calculus Section 4.4: Taylor & Power series. 1. What is a Taylor series? 2. Convergence of Taylor series 3. Common Maclaurin series

More information

Statistics for Economists. Lectures 3 & 4

Statistics for Economists. Lectures 3 & 4 Statistics for Economists Lectures 3 & 4 Asrat Temesgen Stockholm University 1 CHAPTER 2- Discrete Distributions 2.1. Random variables of the Discrete Type Definition 2.1.1: Given a random experiment with

More information

Northwestern University Department of Electrical Engineering and Computer Science

Northwestern University Department of Electrical Engineering and Computer Science Northwestern University Department of Electrical Engineering and Computer Science EECS 454: Modeling and Analysis of Communication Networks Spring 2008 Probability Review As discussed in Lecture 1, probability

More information

SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES

SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES SOLVED PROBLEMS ON TAYLOR AND MACLAURIN SERIES TAYLOR AND MACLAURIN SERIES Taylor Series of a function f at x = a is ( f k )( a) ( x a) k k! It is a Power Series centered at a. Maclaurin Series of a function

More information

EXAMPLES OF PROOFS BY INDUCTION

EXAMPLES OF PROOFS BY INDUCTION EXAMPLES OF PROOFS BY INDUCTION KEITH CONRAD 1. Introduction In this handout we illustrate proofs by induction from several areas of mathematics: linear algebra, polynomial algebra, and calculus. Becoming

More information

A Note about the Pochhammer Symbol

A Note about the Pochhammer Symbol Mathematica Moravica Vol. 12-1 (2008), 37 42 A Note about the Pochhammer Symbol Aleksandar Petoević Abstract. In this paper we give elementary proofs of the generating functions for the Pochhammer symbol

More information

Discrete Mathematics. Kishore Kothapalli

Discrete Mathematics. Kishore Kothapalli Discrete Mathematics Kishore Kothapalli 2 Chapter 4 Advanced Counting Techniques In the previous chapter we studied various techniques for counting and enumeration. However, there are several interesting

More information

LIMITS AT INFINITY MR. VELAZQUEZ AP CALCULUS

LIMITS AT INFINITY MR. VELAZQUEZ AP CALCULUS LIMITS AT INFINITY MR. VELAZQUEZ AP CALCULUS RECALL: VERTICAL ASYMPTOTES Remember that for a rational function, vertical asymptotes occur at values of x = a which have infinite its (either positive or

More information

The Generating Functions for Pochhammer

The Generating Functions for Pochhammer The Generating Functions for Pochhammer Symbol { }, n N Aleksandar Petoević University of Novi Sad Teacher Training Faculty, Department of Mathematics Podgorička 4, 25000 Sombor SERBIA and MONTENEGRO Email

More information

Notes on generating functions in automata theory

Notes on generating functions in automata theory Notes on generating functions in automata theory Benjamin Steinberg December 5, 2009 Contents Introduction: Calculus can count 2 Formal power series 5 3 Rational power series 9 3. Rational power series

More information

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series.

MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series. MATH 1231 MATHEMATICS 1B CALCULUS. Section 5: - Power Series and Taylor Series. The objective of this section is to become familiar with the theory and application of power series and Taylor series. By

More information

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

Introduction to Series and Sequences Math 121 Calculus II Spring 2015 Introduction to Series and Sequences Math Calculus II Spring 05 The goal. The main purpose of our study of series and sequences is to understand power series. A power series is like a polynomial of infinite

More information

and the compositional inverse when it exists is A.

and the compositional inverse when it exists is A. Lecture B jacques@ucsd.edu Notation: R denotes a ring, N denotes the set of sequences of natural numbers with finite support, is a generic element of N, is the infinite zero sequence, n 0 R[[ X]] denotes

More information

16.4. Power Series. Introduction. Prerequisites. Learning Outcomes

16.4. Power Series. Introduction. Prerequisites. Learning Outcomes Power Series 6.4 Introduction In this Section we consider power series. These are examples of infinite series where each term contains a variable, x, raised to a positive integer power. We use the ratio

More information

Introduction to Probability

Introduction to Probability Introduction to Probability Salvatore Pace September 2, 208 Introduction In a frequentist interpretation of probability, a probability measure P (A) says that if I do something N times, I should see event

More information

Lecture 2: Discrete Probability Distributions

Lecture 2: Discrete Probability Distributions Lecture 2: Discrete Probability Distributions IB Paper 7: Probability and Statistics Carl Edward Rasmussen Department of Engineering, University of Cambridge February 1st, 2011 Rasmussen (CUED) Lecture

More information

AQA Level 2 Further mathematics Further algebra. Section 4: Proof and sequences

AQA Level 2 Further mathematics Further algebra. Section 4: Proof and sequences AQA Level 2 Further mathematics Further algebra Section 4: Proof and sequences Notes and Examples These notes contain subsections on Algebraic proof Sequences The limit of a sequence Algebraic proof Proof

More information

a j x j. j=0 The number R (possibly infinite) which Theorem 1 guarantees is called the radius of convergence of the power series.

a j x j. j=0 The number R (possibly infinite) which Theorem 1 guarantees is called the radius of convergence of the power series. Lecture 6 Power series A very important class of series to study are the power series. They are interesting in part because they represent functions and in part because they encode their coefficients which

More information

Discrete Distributions

Discrete Distributions Chapter 2 Discrete Distributions 2.1 Random Variables of the Discrete Type An outcome space S is difficult to study if the elements of S are not numbers. However, we can associate each element/outcome

More information

About the HELM Project HELM (Helping Engineers Learn Mathematics) materials were the outcome of a three-year curriculum development project

About the HELM Project HELM (Helping Engineers Learn Mathematics) materials were the outcome of a three-year curriculum development project About the HELM Project HELM (Helping Engineers Learn Mathematics) materials were the outcome of a three-year curriculum development project undertaken by a consortium of five English universities led by

More information

INFINITE SEQUENCES AND SERIES

INFINITE SEQUENCES AND SERIES 11 INFINITE SEQUENCES AND SERIES INFINITE SEQUENCES AND SERIES In section 11.9, we were able to find power series representations for a certain restricted class of functions. INFINITE SEQUENCES AND SERIES

More information

Introduction Derivation General formula Example 1 List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1)

Introduction Derivation General formula Example 1 List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1) MACLAURIN SERIES SERIES 4 INU0114/514 (MATHS 1) Dr Adrian Jannetta MIMA CMath FRAS Maclaurin Series 1/ 19 Adrian Jannetta Background In this presentation you will be introduced to the concept of a power

More information

PROBABILITY DISTRIBUTIONS: DISCRETE AND CONTINUOUS

PROBABILITY DISTRIBUTIONS: DISCRETE AND CONTINUOUS PROBABILITY DISTRIBUTIONS: DISCRETE AND CONTINUOUS Univariate Probability Distributions. Let S be a sample space with a probability measure P defined over it, and let x be a real scalar-valued set function

More information

37.3. The Poisson Distribution. Introduction. Prerequisites. Learning Outcomes

37.3. The Poisson Distribution. Introduction. Prerequisites. Learning Outcomes The Poisson Distribution 37.3 Introduction In this Section we introduce a probability model which can be used when the outcome of an experiment is a random variable taking on positive integer values and

More information

CHALLENGE! (0) = 5. Construct a polynomial with the following behavior at x = 0:

CHALLENGE! (0) = 5. Construct a polynomial with the following behavior at x = 0: TAYLOR SERIES Construct a polynomial with the following behavior at x = 0: CHALLENGE! P( x) = a + ax+ ax + ax + ax 2 3 4 0 1 2 3 4 P(0) = 1 P (0) = 2 P (0) = 3 P (0) = 4 P (4) (0) = 5 Sounds hard right?

More information

Data, Estimation and Inference

Data, Estimation and Inference Data, Estimation and Inference Pedro Piniés ppinies@robots.ox.ac.uk Michaelmas 2016 1 2 p(x) ( = ) = δ 0 ( < < + δ ) δ ( ) =1. x x+dx (, ) = ( ) ( ) = ( ) ( ) 3 ( ) ( ) 0 ( ) =1 ( = ) = ( ) ( < < ) = (

More information

11.10a Taylor and Maclaurin Series

11.10a Taylor and Maclaurin Series 11.10a 1 11.10a Taylor and Maclaurin Series Let y = f(x) be a differentiable function at x = a. In first semester calculus we saw that (1) f(x) f(a)+f (a)(x a), for all x near a The right-hand side of

More information

Concrete Mathematics: A Portfolio of Problems

Concrete Mathematics: A Portfolio of Problems Texas A&M University - San Antonio Concrete Mathematics Concrete Mathematics: A Portfolio of Problems Author: Sean Zachary Roberson Supervisor: Prof. Donald Myers July, 204 Chapter : Recurrent Problems

More information

8.5 Taylor Polynomials and Taylor Series

8.5 Taylor Polynomials and Taylor Series 8.5. TAYLOR POLYNOMIALS AND TAYLOR SERIES 50 8.5 Taylor Polynomials and Taylor Series Motivating Questions In this section, we strive to understand the ideas generated by the following important questions:

More information

Generating Functions

Generating Functions 8.30 lecture notes March, 0 Generating Functions Lecturer: Michel Goemans We are going to discuss enumeration problems, and how to solve them using a powerful tool: generating functions. What is an enumeration

More information

Things to remember when learning probability distributions:

Things to remember when learning probability distributions: SPECIAL DISTRIBUTIONS Some distributions are special because they are useful They include: Poisson, exponential, Normal (Gaussian), Gamma, geometric, negative binomial, Binomial and hypergeometric distributions

More information

Series Solutions. 8.1 Taylor Polynomials

Series Solutions. 8.1 Taylor Polynomials 8 Series Solutions 8.1 Taylor Polynomials Polynomial functions, as we have seen, are well behaved. They are continuous everywhere, and have continuous derivatives of all orders everywhere. It also turns

More information

SUMMARY OF PROBABILITY CONCEPTS SO FAR (SUPPLEMENT FOR MA416)

SUMMARY OF PROBABILITY CONCEPTS SO FAR (SUPPLEMENT FOR MA416) SUMMARY OF PROBABILITY CONCEPTS SO FAR (SUPPLEMENT FOR MA416) D. ARAPURA This is a summary of the essential material covered so far. The final will be cumulative. I ve also included some review problems

More information

A polynomial expression is the addition or subtraction of many algebraic terms with positive integer powers.

A 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 information

Math 3215 Intro. Probability & Statistics Summer 14. Homework 5: Due 7/3/14

Math 3215 Intro. Probability & Statistics Summer 14. Homework 5: Due 7/3/14 Math 325 Intro. Probability & Statistics Summer Homework 5: Due 7/3/. Let X and Y be continuous random variables with joint/marginal p.d.f. s f(x, y) 2, x y, f (x) 2( x), x, f 2 (y) 2y, y. Find the conditional

More information

1 Basic Combinatorics

1 Basic Combinatorics 1 Basic Combinatorics 1.1 Sets and sequences Sets. A set is an unordered collection of distinct objects. The objects are called elements of the set. We use braces to denote a set, for example, the set

More information

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2018

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2018 ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER 1 2017/2018 DR. ANTHONY BROWN 1. Arithmetic and Algebra 1.1. Arithmetic of Numbers. While we have calculators and computers

More information

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson JUST THE MATHS UNIT NUMBER.5 DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) by A.J.Hobson.5. Maclaurin s series.5. Standard series.5.3 Taylor s series.5.4 Exercises.5.5 Answers to exercises

More information

Curriculum Scope & Sequence. Unit Duration Common Core Standards / Unit Goals Transfer Goal(s) Enduring Understandings 16 Days Units:

Curriculum Scope & Sequence. Unit Duration Common Core Standards / Unit Goals Transfer Goal(s) Enduring Understandings 16 Days Units: BOE APPROVED 2/14/12 REVISED 9/25/12 Curriculum Scope & Sequence Subject/Grade Level: MATHEMATICS/HIGH SCHOOL Course: ALGEBRA II CP/HONORS *The goals and standards addressed are the same for both levels

More information

Introduction Derivation General formula List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1)

Introduction Derivation General formula List of series Convergence Applications Test SERIES 4 INU0114/514 (MATHS 1) MACLAURIN SERIES SERIES 4 INU0114/514 (MATHS 1) Dr Adrian Jannetta MIMA CMath FRAS Maclaurin Series 1/ 21 Adrian Jannetta Recap: Binomial Series Recall that some functions can be rewritten as a power series

More information

Taylor and Maclaurin Series

Taylor and Maclaurin Series Taylor and Maclaurin Series MATH 211, Calculus II J. Robert Buchanan Department of Mathematics Spring 2018 Background We have seen that some power series converge. When they do, we can think of them as

More information

ALL RIGHTS BELONG TO OWNER TAKEN FROM

ALL RIGHTS BELONG TO OWNER TAKEN FROM Higher Level Mathematics Exploration Exploring the techniques of integrating trigonometric functions, with strong focus on applying Euler s formula. Candidate number: glt079 The version I have submitted

More information

CS1800: Sequences & Sums. Professor Kevin Gold

CS1800: 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 information

Infinite series, improper integrals, and Taylor series

Infinite series, improper integrals, and Taylor series Chapter 2 Infinite series, improper integrals, and Taylor series 2. Introduction to series In studying calculus, we have explored a variety of functions. Among the most basic are polynomials, i.e. functions

More information

Taylor series. Chapter Introduction From geometric series to Taylor polynomials

Taylor series. Chapter Introduction From geometric series to Taylor polynomials Chapter 2 Taylor series 2. Introduction The topic of this chapter is find approximations of functions in terms of power series, also called Taylor series. Such series can be described informally as infinite

More information

Topic 3: The Expectation of a Random Variable

Topic 3: The Expectation of a Random Variable Topic 3: The Expectation of a Random Variable Course 003, 2016 Page 0 Expectation of a discrete random variable Definition: The expected value of a discrete random variable exists, and is defined by EX

More information

Part 3.3 Differentiation Taylor Polynomials

Part 3.3 Differentiation Taylor Polynomials Part 3.3 Differentiation 3..3.1 Taylor Polynomials Definition 3.3.1 Taylor 1715 and Maclaurin 1742) If a is a fixed number, and f is a function whose first n derivatives exist at a then the Taylor polynomial

More information

Chapter 1. Numerical Errors. Module No. 3. Operators in Numerical Analysis

Chapter 1. Numerical Errors. Module No. 3. Operators in Numerical Analysis Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Mathematics National Institute of Technology Durgapur Durgapur-71309 email: anita.buie@gmail.com . Chapter 1 Numerical Errors Module

More information

AP Calculus AB. Limits & Continuity. Table of Contents

AP Calculus AB. Limits & Continuity.   Table of Contents AP Calculus AB Limits & Continuity 2016 07 10 www.njctl.org www.njctl.org Table of Contents click on the topic to go to that section Introduction The Tangent Line Problem Definition of a Limit and Graphical

More information

AP Calculus Chapter 9: Infinite Series

AP 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 information

1 The distributive law

1 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 information

Advanced Counting Techniques. Chapter 8

Advanced Counting Techniques. Chapter 8 Advanced Counting Techniques Chapter 8 Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence Relations Nonhomogeneous Recurrence Relations Divide-and-Conquer

More information

Lecture for Week 2 (Secs. 1.3 and ) Functions and Limits

Lecture for Week 2 (Secs. 1.3 and ) Functions and Limits Lecture for Week 2 (Secs. 1.3 and 2.2 2.3) Functions and Limits 1 First let s review what a function is. (See Sec. 1 of Review and Preview.) The best way to think of a function is as an imaginary machine,

More information

Curriculum Scope & Sequence. Subject/Grade Level: MATHEMATICS/HIGH SCHOOL Course: ALGEBRA 2

Curriculum Scope & Sequence. Subject/Grade Level: MATHEMATICS/HIGH SCHOOL Course: ALGEBRA 2 BOE APPROVED 2/14/12 Curriculum Scope & Sequence Subject/Grade Level: MATHEMATICS/HIGH SCHOOL Course: ALGEBRA 2 Unit Duration Common Core Standards / Unit Goals Transfer Goal(s) Enduring 12 Days Units:

More information

What can you prove by induction?

What can you prove by induction? MEI CONFERENCE 013 What can you prove by induction? Martyn Parker M.J.Parker@keele.ac.uk Contents Contents iii 1 Splitting Coins.................................................. 1 Convex Polygons................................................

More information

Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain.

Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain. Lecture 32: Taylor Series and McLaurin series We saw last day that some functions are equal to a power series on part of their domain. For example f(x) = 1 1 x = 1 + x + x2 + x 3 + = ln(1 + x) = x x2 2

More information

Section Taylor and Maclaurin Series

Section Taylor and Maclaurin Series Section.0 Taylor and Maclaurin Series Ruipeng Shen Feb 5 Taylor and Maclaurin Series Main Goal: How to find a power series representation for a smooth function us assume that a smooth function has a power

More information

Examples of Finite Sequences (finite terms) Examples of Infinite Sequences (infinite terms)

Examples of Finite Sequences (finite terms) Examples of Infinite Sequences (infinite terms) Math 120 Intermediate Algebra Sec 10.1: Sequences Defn A sequence is a function whose domain is the set of positive integers. The formula for the nth term of a sequence is called the general term. Examples

More information

Math 3 Variable Manipulation Part 3 Polynomials A

Math 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 information

Math Lecture 4 Limit Laws

Math 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 information

Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials

Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials Math 10b Ch. 8 Reading 1: Introduction to Taylor Polynomials Introduction: In applications, it often turns out that one cannot solve the differential equations or antiderivatives that show up in the real

More information

Math 1B, lecture 15: Taylor Series

Math 1B, lecture 15: Taylor Series Math B, lecture 5: Taylor Series Nathan Pflueger October 0 Introduction Taylor s theorem shows, in many cases, that the error associated with a Taylor approximation will eventually approach 0 as the degree

More information

Solving Algebraic Equations in one variable

Solving Algebraic Equations in one variable Solving Algebraic Equations in one variable Written by Dave Didur August 19, 014 -- Webster s defines algebra as the branch of mathematics that deals with general statements of relations, utilizing letters

More information

Math Bootcamp 2012 Miscellaneous

Math Bootcamp 2012 Miscellaneous Math Bootcamp 202 Miscellaneous Factorial, combination and permutation The factorial of a positive integer n denoted by n!, is the product of all positive integers less than or equal to n. Define 0! =.

More information

Convergence of sequences and series

Convergence of sequences and series Convergence of sequences and series A sequence f is a map from N the positive integers to a set. We often write the map outputs as f n rather than f(n). Often we just list the outputs in order and leave

More information

Senior Math Circles November 19, 2008 Probability II

Senior Math Circles November 19, 2008 Probability II University of Waterloo Faculty of Mathematics Centre for Education in Mathematics and Computing Senior Math Circles November 9, 2008 Probability II Probability Counting There are many situations where

More information

TAYLOR AND MACLAURIN SERIES

TAYLOR AND MACLAURIN SERIES TAYLOR AND MACLAURIN SERIES. Introduction Last time, we were able to represent a certain restricted class of functions as power series. This leads us to the question: can we represent more general functions

More information

EC5555 Economics Masters Refresher Course in Mathematics September 2013

EC5555 Economics Masters Refresher Course in Mathematics September 2013 EC5555 Economics Masters Refresher Course in Mathematics September 013 Lecture 3 Differentiation Francesco Feri Rationale for Differentiation Much of economics is concerned with optimisation (maximise

More information

1 Question related to polynomials

1 Question related to polynomials 07-08 MATH00J Lecture 6: Taylor Series Charles Li Warning: Skip the material involving the estimation of error term Reference: APEX Calculus This lecture introduced Taylor Polynomial and Taylor Series

More information

The Not-Formula Book for C2 Everything you need to know for Core 2 that won t be in the formula book Examination Board: AQA

The Not-Formula Book for C2 Everything you need to know for Core 2 that won t be in the formula book Examination Board: AQA Not The Not-Formula Book for C Everything you need to know for Core that won t be in the formula book Examination Board: AQA Brief This document is intended as an aid for revision. Although it includes

More information

SCHOOL OF MATHEMATICS MATHEMATICS FOR PART I ENGINEERING. Self-paced Course

SCHOOL OF MATHEMATICS MATHEMATICS FOR PART I ENGINEERING. Self-paced Course SCHOOL OF MATHEMATICS MATHEMATICS FOR PART I ENGINEERING Self-paced Course MODULE ALGEBRA Module Topics Simplifying expressions and algebraic functions Rearranging formulae Indices 4 Rationalising a denominator

More information

Sequences and infinite series

Sequences 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 information

Making the grade: Part II

Making the grade: Part II 1997 2009, Millennium Mathematics Project, University of Cambridge. Permission is granted to print and copy this page on paper for non commercial use. For other uses, including electronic redistribution,

More information

IAP LECTURE JANUARY 28, 2000: THE ROGERS RAMANUJAN IDENTITIES AT Y2K

IAP LECTURE JANUARY 28, 2000: THE ROGERS RAMANUJAN IDENTITIES AT Y2K IAP LECTURE JANUARY 28, 2000: THE ROGERS RAMANUJAN IDENTITIES AT Y2K ANNE SCHILLING Abstract. The Rogers-Ramanujan identities have reached the ripe-old age of one hundred and five and are still the subject

More information

Topic 7 Notes Jeremy Orloff

Topic 7 Notes Jeremy Orloff Topic 7 Notes Jeremy Orloff 7 Taylor and Laurent series 7. Introduction We originally defined an analytic function as one where the derivative, defined as a limit of ratios, existed. We went on to prove

More information

Algebra Year 9. Language

Algebra Year 9. Language Algebra Year 9 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 information

Generating Functions (Revised Edition)

Generating 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 information

2 Systems of Linear Equations

2 Systems of Linear Equations 2 Systems of Linear Equations A system of equations of the form or is called a system of linear equations. x + 2y = 7 2x y = 4 5p 6q + r = 4 2p + 3q 5r = 7 6p q + 4r = 2 Definition. An equation involving

More information

Let s Get Series(ous)

Let s Get Series(ous) Department of Mathematics, Computer Science, and Statistics Bloomsburg University Bloomsburg, Pennsylvania 785 Let s Get Series(ous) Summary Presenting infinite series can be (used to be) a tedious and

More information

Semester University of Sheffield. School of Mathematics and Statistics

Semester University of Sheffield. School of Mathematics and Statistics University of Sheffield School of Mathematics and Statistics MAS140: Mathematics (Chemical) MAS15: Civil Engineering Mathematics MAS15: Essential Mathematical Skills & Techniques MAS156: Mathematics (Electrical

More information

Ex. 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.

Ex. 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 information

Introduction to Statistics. By: Ewa Paszek

Introduction to Statistics. By: Ewa Paszek Introduction to Statistics By: Ewa Paszek Introduction to Statistics By: Ewa Paszek Online: C O N N E X I O N S Rice University, Houston, Texas 2008 Ewa Paszek

More information

Probability and Probability Distributions. Dr. Mohammed Alahmed

Probability and Probability Distributions. Dr. Mohammed Alahmed Probability and Probability Distributions 1 Probability and Probability Distributions Usually we want to do more with data than just describing them! We might want to test certain specific inferences about

More information

Topic 3: The Expectation of a Random Variable

Topic 3: The Expectation of a Random Variable Topic 3: The Expectation of a Random Variable Course 003, 2017 Page 0 Expectation of a discrete random variable Definition (Expectation of a discrete r.v.): The expected value (also called the expectation

More information

Here, logx denotes the natural logarithm of x. Mrsky [7], and later Cheo and Yien [2], proved that iz;.(»)=^io 8 "0(i).

Here, logx denotes the natural logarithm of x. Mrsky [7], and later Cheo and Yien [2], proved that iz;.(»)=^io 8 0(i). Curtis Cooper f Robert E* Kennedy, and Milo Renberg Dept. of Mathematics, Central Missouri State University, Warrensburg, MO 64093-5045 (Submitted January 1997-Final Revision June 1997) 0. INTRODUCTION

More information