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.

8.3 PROBABILITY GENERATING FUNCTIONS 385<br />

If we take a slightly different tack, writing<br />

G(l +t) = 1 + %t+ zt' + $t' + ... ,<br />

equation (8.33) tells us that the K’S are the “factorial moments”<br />

- Gimi(l)<br />

OLm 1 x Pr(X=k)kEzk-“’ lzz,<br />

k20<br />

= xkzl?r(X=k)<br />

k>O<br />

It follows that<br />

= E(X”). (8.49)<br />

G(et) = 1 + y+(et - 1) + $(et - 1)2 f..’<br />

= l+;!(t+ft2+...)+tL(t2+t3+...)+..<br />

= 1 +er.,t+;(OL2+OL,)t2+..~,<br />

and we can express the cumulants in terms of the derivatives G’ml(l):<br />

KI = 011, (8.50)<br />

Q = a2 + 011 - c$, (8.51)<br />

K3 = 013 + 3Q + o(1 - 3cQoL1 - 34 + 24, (8.52)<br />

This sequence of <strong>for</strong>mulas yields “additive” identities that extend (8.38) and<br />

(8.39) to all the cumulants.<br />

Let’s get back down to earth and apply these ideas to simple examples.<br />

The simplest case o’f a random variable is a “random constant,” where X has<br />

a certain fixed value x with probability 1. In this case Gx(z) = zx, and<br />

In Gx(et) = xt; hence the mean is x and all other cumulants are zero. It<br />

follows that the operation of multiplying any pgf by zx increases the mean<br />

by x but leaves the variance and all other cumulants unchanged.<br />

How do probability generating functions apply to dice? The distribution<br />

of spots on one fair die has the pgf<br />

z+z2+23+24+25+26<br />

G(z) = - 6<br />

= zu6(z),

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

Saved successfully!

Ooh no, something went wrong!