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.

326 GENERATING FUNCTIONS<br />

Once we’ve found the p’s, we can proceed to find the partial fraction<br />

expansion. It’s simplest if all the roots are distinct, so let’s consider that<br />

special case first. We might a.s well state and prove the general result <strong>for</strong>mally:<br />

Rational Expansion Theorem <strong>for</strong> Distinct Roots.<br />

If R(z) = P(z)/Q(z), where Q(z) = qo(l - plz) . . . (1 - pLz) and the<br />

numbers (PI, . . . , PL) are distinct, and if P(z) is a polynomial of degree less<br />

than 1, then<br />

[z”IR(z) = a,p;+..+alp:,<br />

-pkp(l/pk)<br />

where ak = Q,fl,Pkl . (7.29)<br />

Proof: Let al, . , . , a1 be the stated constants. Formula (7.29) holds if R(z) =<br />

P(z)/Q(z) is equal to<br />

S(z) = d!-<br />

1 -P1Z<br />

+...+al.<br />

1 - PLZ<br />

And we can prove that R(z) = S(z) by showing that the function T(z) =<br />

R(z) - S(z) is not infinite as z + 1 /ok. For this will show that the rational Impress your parfunction<br />

T(z) is never infinite; hence T(z) must be a polynomial. We also can ents bY leaving the<br />

book open at this<br />

show that T(z) + 0 as z + co; hence T(z) must be zero.<br />

page.<br />

Let ak = l/pk. To prove that lim,,,, T(z) # oo, it suffices to show that<br />

lim,,., (z - cck)T(z) = 0, because T(z) is a rational function of z. Thus we<br />

want to show that<br />

lim (Z - ak)R(Z) = ;jzk (Z - xk)s(z) .<br />

L’CCI,<br />

The right-hand limit equals l.im,,,, ok(z- c&)/‘(l - pkz) = -ak/pk, because<br />

(1 - pkz) = -pk(z-Kk) and (z-c&)/(1 - PjZ) -+ 0 <strong>for</strong> j # k. The left-hand<br />

limit is<br />

by L’Hospital’s rule. Thus the theorem is proved.<br />

Returning to the Fibonacci example, we have P(z) = z and Q(z) =<br />

1 - z - z2 = (1 - @z)(l - $2); hence Q’(z) = -1 - 22, and<br />

-PP(l/P) = -1 P<br />

Q/(1/p) -1 -2/p =p+2.<br />

According to (7.2g), the coefficient of +” in [zn] R(z) is there<strong>for</strong>e @/(c$ + 2) =<br />

l/d; the coefficient of $” is $/($ + 2) = -l/\/5. So the theorem tells us<br />

that F, = (+” - $“)/fi, as in (6.123).

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

Saved successfully!

Ooh no, something went wrong!