09.12.2012 Views

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

198 BINOMIAL COEFFICIENTS<br />

Generating functions give us powerful ways to discover and/or prove<br />

identities. For example, the binomial theorem tells us that (1 + z)~ is the<br />

generating function <strong>for</strong> the sequence ((i) , (;) , (;) , . . ):<br />

Similarly,<br />

(1 +z)' = x (;)2<br />

k30<br />

(1 +z)” = x (;)zk.<br />

k>O<br />

If we multiply these togethe:r, we get another generating function:<br />

(1 +z)T(l +z)S = (1 +z)'+s.<br />

And now comes the punch line: Equating coefficients of z” on both sides of<br />

this equation gives us<br />

g:)(A) = (T).<br />

We’ve discovered Vandermonde’s convolution, (5.27)! [5.27)! =<br />

That was nice and easy; let’s try another. This time we use (1 -z)~, which<br />

is the generating function <strong>for</strong> the sequence ((-1 )"(G)) = ((h) , -(;), (i) , . . . ).<br />

Multiplying by (1 + z)~ gives another generating function whose coefficients<br />

we know:<br />

(1 -- z)'(l + z)' = (1 - z2)'.<br />

Equating coefficients of z” now gives the equation<br />

~(~)(n~k)t-lik = (-1)n12(~,)Inevenl. (5.55)<br />

We should check this on a small case or two. When n = 3, <strong>for</strong> example,<br />

the result is<br />

(a)(;)-(F)(;)+(I)(T)-(;)(6) = O.<br />

Each positive term is cancelled by a corresponding negative term. And the<br />

same thing happens whenever n is odd, in which case the sum isn’t very<br />

(5.27)[4.27)<br />

(3.27)[2.27)<br />

(1.27)(0.27)!.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!