06.09.2021 Views

Combinatorics Through Guided Discovery, 2004a

Combinatorics Through Guided Discovery, 2004a

Combinatorics Through Guided Discovery, 2004a

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.

78 4. Generating Functions<br />

x k in the product<br />

(h)<br />

(<br />

∑ ∞<br />

)<br />

a i x i <br />

∞∑<br />

b j x j .<br />

i=0<br />

<br />

j=0<br />

<br />

We use the expression you obtained in Problem 190 to define the product of<br />

power series. That is, we define the product<br />

(<br />

∑ ∞<br />

)<br />

a i x i <br />

∞∑<br />

b j x j <br />

i=0<br />

<br />

j=0<br />

<br />

to be the power series ∑ ∞<br />

k=0 c kx k , where c k is the expression you found in Problem<br />

190. Since you derived this expression by using the usual rules of algebra for<br />

polynomials, it should not be surprising that the product of power series satisfies<br />

these rules.4<br />

4.1.5 Product principle for generating functions<br />

Each time that we converted a picture function to a generating function by substituting<br />

x or some power of x for each picture, the coefficient of x had a meaning<br />

that was significant to us. For example, with the picture enumerator for selecting<br />

between zero and three each of apples, pears, and bananas, when we substituted<br />

x for each of our pictures, the exponent i in the power x i is the number of pieces<br />

of fruit in the fruit selection that led us to x i . After we simplify our product by<br />

collecting together all like powers of x, the coefficient of x i is the number of fruit<br />

selections that use i pieces of fruit. In the same way, if we substitute x c for a picture,<br />

where c is the number of calories in that particular kind of fruit, then the i in<br />

an x i term in our generating function stands for the number of calories in a fruit<br />

selection that gave rise to x i , and the coefficient of x i in our generating function<br />

is the number of fruit selections with i calories. The product principle of picture<br />

enumerators translates directly into a product principle for generating functions.<br />

• Problem 191. Suppose that we have two sets S 1 and S 2 . Let v 1 (v stands<br />

for value) be a function from S 1 to the nonnegative integers and let v 2 be a<br />

function from S 2 to the nonnegative integers. Define a new function v on<br />

the set S 1 ×S 2 by v(x 1 , x 2 )=v 1 (x 1 )+v 2 (x 2 ). Suppose further that ∑ ∞<br />

i=0 a ix i<br />

is the generating function for the number of elements x 1 of S 1 of value i, that<br />

is with v 1 (x 1 )=i. Suppose also that ∑ ∞<br />

j=0 b jx j is the generating function<br />

for the number of elements x 2 of S 2 of value j, that is with v 2 (x 2 )=j. Prove<br />

4Technically we should explicitly state these rules and prove that they are all valid for power series<br />

multiplication, but it seems like overkill at this point to do so!

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

Saved successfully!

Ooh no, something went wrong!