Let Xdenote the number of customers in line, and let Y denote the total number of items purchased by all the customers in line. Assume the number of items purchased by one customer is independent of the number of items purchased by any other customer.

The number of customers in line at a supermarket express checkout counter is a random variable whose probability mass function is given in the following table.







For each customer, the number of items to be purchased is a random variable with probability mass function







a. Find P(X=2 and Y=2).

b. Find P(X=2 and Y=6).

c. Find P(Y=2).


(a) ?(? = 2and Y = 2) = ?(? = 2) ?(Y= 2 | ? = 2). Now ?(? = 2) = 0.30. Given that ? = 2, Y= 2 if and only if each of the two customers purchases one item. Therefore P(Y = 2 | X = 2) = 0.052 = 0.0025, so P(X = 2 and Y = 2) = (0.30)(0.0025) = 0.00075.



(b) P(X = 2 and Y = 6) = P(X = 2)P(Y = 6 | X = 2). Now P(X = 2) = 0.30. Given that X = 2, Let be the number of items purchased by the first customer, and let be the number of items purchased by the second customer. Then the event Y = 6 is equivalent to the event { = 5 and = 1} or { = 4 and = 2} or {= 3 and = 3} or {= 2and = 4} or { = 1 and = 5}.



P(Y = 6|X = 2)=P( = 5 and = 1) + P( = 4 and = 2)+P( = 3 and = 3)

+ P ( = 2 and = 4)+P ( = 1 and = 5)

=(0.15)(0.05) + (0.30)(0.15) + (0.25)(0.25) + (0.15)(0.30) + (0.05)(0.15)

=0.1675



P(X = 2 and Y = 6) = (0.30)(0.1675) = 0.05025



c) P (Y = 2) = P(X = 1 and Y = 2)+P(X = 2 and Y = 2).

P(X = 1 and Y = 2) = P(X = 1)P(Y = 2|X = 1) = (0.25)(0.15) = 0.0375.

From part (a), P(X = 2 and Y = 2) = 0.00075.

P(Y = 2) = 0.0375 + 0.00075 = 0.03825.

Trades & Technology

You might also like to view...

Early 19th-century American families

A. were becoming more loosely knit and less affectionate. B. usually included three generations in the same household. C. taught their children to be unquestioningly obedient. D. usually allowed parents to determine choice of marriage partners. E. were getting smaller.

Trades & Technology

In a semiautomatic joining process, the filler metal is being fed from a large spool, so you do not have to stop welding to change filler electrodes or filler metal.

Answer the following statement true (T) or false (F)

Trades & Technology

In a ____ circuit, the current divides among the branches of the circuit and recombines on returning to the voltage source.

A. series B. parallel C. series-parallel D. resistive

Trades & Technology

In the accompanying figure, capacitor ____ is connected from the base of transistor Q1 to the ground.



a. C1
b. C2
c. C3
d. D1

Trades & Technology