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.

284 SPECIAL NUMBERS<br />

We have now boiled down all the in<strong>for</strong>mation in the Fibonacci sequence<br />

to a simple (although unrecognizable) expression z/( 1 - z - 2’). This, believe<br />

it or not, is progress, because we can factor the denominator and then use<br />

partial fractions to achieve a <strong>for</strong>mula that we can easily expand in power series.<br />

The coefficients in this power series will be a closed <strong>for</strong>m <strong>for</strong> the Fibonacci<br />

numbers.<br />

The plan of attack just sketched can perhaps be understood better if<br />

we approach it backwards. If we have a simpler generating function, say<br />

l/( 1 - az) where K is a constant, we know the coefficients of all powers of z,<br />

because<br />

1<br />

- =<br />

1 -az<br />

1+az+a2z2+a3z3+~~~.<br />

Similarly, if we have a generating function of the <strong>for</strong>m A/( 1 - az) + B/( 1 - pz),<br />

the coefficients are easily determined, because<br />

A B<br />

- -<br />

1 - a2 +1+3z<br />

= A~(az)"+B~(@)"<br />

1120 ll?O<br />

= xc Aa” + BBn)z” . (6.118)<br />

n>o<br />

There<strong>for</strong>e all we have to do is find constants A, B, a, and 6 such that<br />

A B z<br />

1 - a2 t-m= ~~~<br />

and we will have found a closed <strong>for</strong>m Aa” + BP” <strong>for</strong> the coefficient F, of z”<br />

in F(z). The left-hand side can be rewritten<br />

A B A-A@+B-Baz<br />

- -<br />

1 -az +1-f3z = Il-az)(l-pz) ’<br />

so the four constants we seek are the solutions to two polynomial equations:<br />

(1 -az)(l -f32) = 1 -z-z2; (6.119)<br />

(A-t-B)-(A@+Ba)z = z. (6.120)<br />

We want to factor the denominator of F(z) into the <strong>for</strong>m (1 - az)(l - (3~);<br />

then we will be able to express F(z) as the sum of two fractions in which the<br />

factors (1 - az) and (1 - Bz) are conveniently separated from each other.<br />

Notice that the denominator factors in (6.119) have been written in the<br />

<strong>for</strong>m (1 - az) (1 - (3z), instead of the more usual <strong>for</strong>m c(z - ~1) (z - ~2) where<br />

p1 and pz are the roots. The reason is that (1 - az)( 1 - /3z) leads to nicer<br />

expansions in power series.

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

Saved successfully!

Ooh no, something went wrong!