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

a) Show that 1/1-x-x2-x3-x4-x3-x6is the generating function for the number of ways that the sum n can be obtained when a die is rolled repeatedly and the order of the roll matters.

b) Use part (a) to find the number of ways to roll a total of 8 when a die is rolled repeatedly, and the order of the roll matters.

Short Answer

Expert verified

(a)The total generating function is11-x-x2-x3-x4-x5-x6.

(b) The coefficient of x8 is 125.

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

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

01

Use Generating Function:

Generating function for the sequencea0,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

On each roll, we have a chance to roll 1 (represented by x), 2 (represented byx2), 3 (represented by x3), 4 (represented by x4,5represented by x5)and 6represented by x6.

x+x2+x3+x4+x5+x6

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

x+x2+x3+x4+x5+x6n

02

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

n=0+x+x2+x3+x4+x5+x6n=11-x+x2+x3+x4+x5+x6Sincek=0+xk=11-x=11-x-x2-x3-x4-x5-x6

03

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

Roll an 8 in at most 8 rolls.

When we roll 1 on each roll.

Expand the sum:

k=08x+x2+x3+x4+x5+x6k=1+x+2x2+4x3+8x4+16x5+32x6+63x7+125x8+247x9+482x10+

Thus, the coefficient of x8is 125.

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