AoPSWiki
NEW! NEW! NEW!
Want to learn how to tackle those tough AMC/AIME/Olympiad algebra problems? Check out Art of Problem Solving's NEW Intermediate Algebra by Richard Rusczyk and Mathew Crawford. Over 1600 problems!

Generating function

From AoPSWiki

The idea behind generating functions is to create a power series whose coefficients, , give the terms of a sequence which of interest. Therefore the power series (i.e. the generating function) is and the sequence is .

Contents

Simple Example

If we let , then we have {n \choose 0}+{n \choose 1}x + {n \choose 2}x^2+\cdots+.

This function can be described as the number of ways we can get heads when flipping different coins.

The reason to go to such lengths is that our above polynomial is equal to (which is clearly seen due to the Binomial Theorem). By using this equation, we can rapidly uncover identities such as {n \choose 0}+{n \choose 1}+...+{n \choose n}=2^n(let ), also {n \choose 1}+{n \choose 3}+\cdots={n \choose 0}+{n \choose 2}+\cdots.

Convolutions

Suppose we have the sequences and . We can create a new sequence, called the convolution of and , defined by c_n = a_0b_n + a_1b_{n-1} + ... + a_nb_0. Generating functions allow us to represent the convolution of two sequences as the product of two power series. If is the generating function for and is the generating function for , then the generating function for is .

See also

External Link

NEW! Hard Problems DVD
A documentary about the 2006 US IMO team. Features many current and past AoPS members!
Click here for more details and to order
© Copyright 2007 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us