06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

“mcs” — 2017/3/3 — 11:21 — page 694 — #702<br />

694<br />

Chapter 16<br />

Generating Functions<br />

In the ring of <strong>for</strong>mal power series, equation (16.20) implies that the zero sequence<br />

Z has no inverse, so 1=Z is undefined—just as the expression 1/0 is undefined<br />

over the real numbers or the ring Z n of Section 9.7.1. It’s not hard to verify<br />

that a series has an inverse iff its initial element is nonzero (see Problem 16.25).<br />

Now we can explain the proper way to understand a generating function definition<br />

1X<br />

G.x/ WWD g n x n :<br />

nD0<br />

It simply means that G.x/ really refers to its infinite sequence of coefficients .g 0 ; g 1 ; : : : /<br />

in the ring of <strong>for</strong>mal power series. The simple expression x can be understood as<br />

referring to the sequence<br />

X WWD .0; 1; 0; 0; : : : ; 0; : : : /:<br />

Likewise, 1<br />

x abbreviates the sequence J above, and the familiar equation<br />

1<br />

1 x D 1 C x C x2 C x 3 C (16.21)<br />

can be understood as a way of restating the assertion that K is 1=J . In other words,<br />

the powers of the variable x just serve as a place holders—and as reminders of the<br />

definition of convolution. The equation (16.21) has nothing to do with the values<br />

of x or the convergence of the series. Rather, it is stating a property that holds in<br />

the ring of <strong>for</strong>mal power series. The reasoning about the divergent series in the<br />

previous section is completely justified as properties of <strong>for</strong>mal power series.<br />

16.6 References<br />

[47], [23], [9] [18]<br />

Problems <strong>for</strong> Section 16.1<br />

Practice Problems<br />

Problem 16.1.<br />

The notation Œx n F .x/ refers to the coefficient of x n in the generating function

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

Saved successfully!

Ooh no, something went wrong!