Question

A playlist contains 10 rock songs, 3 country songs, 5 R&B songs, and 2 blues songs....

A playlist contains 10 rock songs, 3 country songs, 5 R&B songs, and 2 blues songs. In shuffle mode, each song is played exactly once, and all possible equal orderings are equally likely. Suppose that a person starts this playlist in shuffle mode and continues until a country music song plays, and then stops. Let X denote the number of songs played before the country music song (but not including the country music song itself). [[Hint: Write X=X1+?+X17, where Xj=1 if the jth non-country song is played before all of the country songs, or Xj=0 otherwise.]]

a. Find E(X).

b. Find Var?(X).

Homework Answers

Answer #1

a. Find E(X)

We have E(X) = E(X1 + · · · + X17)

= E(X1) + · · · + E(X17).

Also E(Xj ) = 1/4,

so it follows that E(X) = (17)*(1/4)

= 17/4

E(X) = 4.25

b. Find Var(X)

We have E(X2 ) = E((X1 + · · · + X17) 2 ), which has 17 terms of the form E(Xj2 )

and 172 ? 17 = 272 terms of the form E(XiXj ).

Also E(Xj2 ) = E(Xj ) = 1/4

and E(XiXj ) = (2)*(1/5)*(1/4) = 1/10

Thus E(X2 ) = (17)*(1/4) + (272)*(1/10) = 31.45

So altogether we have Var(X) = E(X2 ) ? (E(X))2

= 31.45 ? (4.25)2

Var(X) = 13.3875.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT