Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Explain how generating functions can be used to find the number of ways in which postage of r cents can be pasted on an envelope using 3-cent, 4-cent, and 20-cent stamps.

a) Assume that the order the stamps are pasted on does not matter.

b) Assume that the stamps are pasted in a row and the order in which they are pasted on matters.

c) Use your answer to part (a) to determine the number of ways 46 cents of postage can be pasted on an envelope using 3 -cent, 4-cent, and 20-cent stamps when the order the stamps are pasted on does not matter. (Use of a computer algebra program is advised.)

d) Use your answer to part (b) to determine the number of ways 46 cents of postage can be pasted in a row on an envelope using 3-cent, 4 -cent, and 20 -cent stamps when the order in which the stamps are pasted on matters.

Short Answer

Expert verified

(a)The total generating function is 11-x31-x41-x20.

(b) The total generating function is11-x3-x4-x20.

(c) There are 7 possible ways.

(d) The coefficient of x46 is 3224.

Step by step solution

01

Use Generating Function:

Generating function for the sequence a0,a1,,ak,of real numbers is the infinite series

G(x)=a0+a1x+a2x2++akxk+=k=0+akxk

Extended binomial theorem;

(1+x)u=k=0+(uk)xk

3 -cent can form any cent amount that is a multiple of 3 and thus the generating function for the 3 -cent stamps can contain all powers of xthat are multiples of 3:

1+x3+x6+

4-cent can form any cent amount that is a multiple of 4 and thus the generating function for the 4-cent stamps can contain all powers of xthat are multiples of 4:

1+x4+x8+

20-cent can form any cent amount that is a multiple of 20 and thus the generating function for the 20-cent stamps can contain all powers ofxthat are multiples of 20: 1+x20+x40+

02

The generating function is the product of the series for each variable:

1+x3+x6+1+x4+x8+1+x20+x40+=k=0+x3kk=0+x4kk=0+x20k=k=0+x3kk=0+x4kk=0+x20k=11-x3·11-x4·11-x20=11-x31-x41-x20

b).

03

The expression is given by:

x3+x4+x20

If we then make ndraws of stamps, then the generating function of the ndraws is the product of the generating functions for each draw:

x3+x4+x20n

The total generating function is then the sum over all possible draws:

c).

04

Use Extended binomial theorem:

11-x31-x41-x20=1+-x3-1·1+-x4-1·1+-x20-1=p=0+-1p-x3p.m=0+-1m-x4m.k=0+-x20k=p=0+-1p-1px3p.m=0+-1m-1mx4m.k=0+-1k-1kx20k

Let bp=-1p(-1)p and cm=-1m(-1)m and dk=-1k(-1)k

=p=0+bpx3p·m=0+cmx4m·k=0+dkx20k

The coefficient of x46(46a cent), which is obtained if 3p+4m+20k=46

k=2,m=0,p=2k=1,m=2,p=6k=1,m=5,p=2k=0,m=10,p=2k=0,m=7,p=6k=0,m=4,p=10k=0,m=1,p=14
05

The coefficient of x46 is then the sum of the coefficients for each possible combination of m and k:

a46=b2c0d2+b1c2d6+b1c5d2+b0c10d2+b0c7d6+b0c4d10+b0c1d14

=-12(-1)2-10(-1)0-12(-1)2+-11(-1)1-12(-1)2-16(-1)6

+-11(-1)1-15(-1)5-12(-1)2+-10(-1)0-110(-1)10-12(-1)2

+-10(-1)0-17(-1)7-16(-1)6+-10(-1)0-14(-1)4-110(-1)10

+-10(-1)0-11(-1)1-114(-1)14

=1+1+1+1+1+1+1=7

d).

06

Calculate all possible combinations that result in a term containing x46 in the first 15 terms of the sum.

Since 46315.333

Expand the sum:

n=015x3+x4+x20k=x3+x4+x6+2x7+x8+x9+3x10+3x11+2x12+4x13+6x14

+5x15+6x16+10x17+11x18+11x19+17x20+21x21+22x22+29x23+39x24+43x25+52x26+70x27+83x28+96x29+125x30+156x31+181x32+225x33+287x34+342x35+412x36+552x37+640x38+765x39+951x40+1183x41+1427x42+1745x43+2173x44+2653x45+3224x46+

Thus, the coefficient of x46 is 3224.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free