Professional Documents
Culture Documents
Balls Selected Value of X Number of Combinations 2 Black 1 Black & 1 Orange 1 Black & 1 White 2 Orange 1 Orange & 1 White 2 White
Balls Selected Value of X Number of Combinations 2 Black 1 Black & 1 Orange 1 Black & 1 White 2 Orange 1 Orange & 1 White 2 White
Problem 4.1:
Two balls are chosen randomly from an urn containing 8 white, 4 black, and 2 orange balls. Suppose that
we win $2 for each black ball selected and we lose $1 for each white ball selected. Let X denote our
winnings. What are the possible values of X, and what are the probabilities associated with each value?
Solution:
• Assume that selecting the orange ball will not affect winning or losing.
• Selecting 2 balls out of 8+4+2 = 14 total balls, we will have a total number of combinations of
14
ቀ ቁ
2
• The possible values of X are :
Balls selected Value of X Number of combinations
4
2 black 4 ቀ ቁ
2
4 2
1 black & 1 orange 2 ቀ ቁ×ቀ ቁ
1 1
4 8
1 black & 1 white 1 ቀ ቁ×ቀ ቁ
1 1
2
2 orange 0 ቀ ቁ
2
8 2
1 orange & 1 white -1 ቀ ቁ×ቀ ቁ
1 1
8
2 white -2 ቀ ቁ
2
Two fair dice are rolled. Let X equal the product of the 2 dice, compute ܲሺܺ = ݅ ሻ for ݅ = 1,2, … ,36
Solution:
1 2 3 4 5 6
1 1 2 3 4 5 6
2 2 4 6 8 10 12
3 3 6 9 12 15 18
4 4 8 12 16 20 24
5 5 10 15 20 25 30
6 6 12 18 24 30 36
Suppose that a die is rolled twice. What are the possible values of the following random variables can
take on:
Solution:
(a) Maximum value to appear in the two rolls X = max (roll1, roll2)
ܺ = ሼ1,2,3,4,5,6ሽ
(b) Minimum value to appear in the two rolls X = min (roll1, roll2)
ܺ = ሼ1,2,3,4,5,6ሽ
(c) Sum of the 2 rolls X = sum(roll1, roll2)
ܺ = ሼ2,3,4,5,6,7,8,9,10,11,12ሽ
st
(d) Value of the 1 roll minus the value of the second roll X = roll1 – roll2
ܺ = ሼ−5, −4, −3, −2, −1,0,1,2,3,4,5ሽ
Problem 4.8:
If the die in problem 7 is assumed fair, calculate the probabilities associated with the random variables
in part (a) through (d)
Solution:
Since the die is assumed to be fair, in any roll the probability of having any number will be 1ൗ6 , so any
pair of combinations will have a probability of 1ൗ36
(a) Maximum value to appear in the two rolls X = max (roll1, roll2)
ଵ ଵ ଵ
X = 1 only one combination (1,1) ܲ ሺܺ = 1ሻ = × = ଷ
ଵ ଵ ଷ
X = 2 3 combinations (2,1), (1,2) , (2,2) ܲ ሺܺ = 2ሻ = 3 × × =
ଷ
ହ
X = 3 5 combinations (3,1),(3,2),(1,3),(2,3),(3,3) ܲሺܺ = 3ሻ = ଷ
X = 4 7 combinations (4,1),(4,2),(4,3),(1,4),(2,4),(3,4),(4,4) ܲ ሺܺ = 4ሻ = ଷ
ଽ
X = 5 9 combinations (5,1), ..... ,(5,4),(1,5),(2,5),.....,(4,5),(5,5) ܲ ሺܺ = 5ሻ = ଷ
ଵଵ
X = 6 11 combinations (6,1),.....,(6,5),(1,6),(2,6),.....,(5,6),(6,6) ܲሺܺ = 6ሻ =
ଷ
(b) Minimum value to appear in the two rolls X = min (roll1, roll2)
ଵ ଵ ଵଵ
X = 1 (1,2),(1,3),.....(1,6),(6,1),(5,1),....,(2,1),(1,1) ܲሺܺ = 1ሻ = 11 × × = ଷ
ଵ ଵ ଽ
X = 2 (2,3), (2,4),...(2,6),(6,2),(5,2),....(3,2), (2,2) ܲሺܺ = 2ሻ = 9 × × =
ଷ
X = 3 (3,4),(3,5),(3,6),(6,3),(5,3),(4,3)(3,3) ܲሺܺ = 3ሻ = ଷ
ହ
X = 4 (4,5),(4,6),(6,4),(5,4),(4,4) ܲ ሺܺ = 4ሻ = ଷ
ଷ
X = 5 (5,6),(6,5),(5,5) ܲሺܺ = 5ሻ = ଷ
ଵ
X = 6 (6,6) ܲሺܺ = 6ሻ = ଷ
(d) Value of the 1st roll minus the value of the second roll X = roll1 – roll2
ଵ
X = -5 (1,6) ܲ ሺܺ = −5ሻ = ଷ
ଶ
X = -4 (1,5),(2,6) ܲሺܺ = −4ሻ =
ଷ
ଷ
X = -3 (1,4),(2,5),(3,6) ܲሺܺ = −3ሻ = ଷ
ସ
X = -2 (1,3),(2,4),(3,5),(4,6) ܲ ሺܺ = −2ሻ =
ଷ
ହ
X = -1 (1,2),(2,3),(3,4),(4,5),(5,6) ܲ ሺܺ = −1ሻ = ଷ
X = 0 (1,1),(2,2),(3,3),(4,4),(5,5),(6,6) ܲሺܺ = 0ሻ = ଷ
ହ
X = 1 (6,5),(5,4),(4,3),(3,2),(2,1) ܲ ሺܺ = 1ሻ = ଷ
ସ
X = 2 (6,4),(5,3),(4,2),(3,1) ܲሺܺ = 2ሻ = ଷ
ଷ
X = 3 (6,3),(5,2),(4,1) ܲሺܺ = 3ሻ = ଷ
ଶ
X = 4 (6,2),(5,1) ܲሺܺ = 4ሻ = ଷ
ଵ
X = 5 (6,1) ܲሺܺ = 5ሻ = ଷ
Problem 4.22:
Suppose that 2 teams play a series of games that ends when one of them has won ݅ games. Suppose
that each game played is, independently, won by team A with probability p. Find the expected number
of games that are played when
(a) ݅ = 2
(b) ݅ = 3
Also, show in both cases that this number is maximized when = 1ൗ2
Solution:
(a) ݅ = 2
A wins 2 games out of 2 ଶ
B wins 2 games out of 2 ሺ1 − ሻଶ
3
A wins 2 games out of 3 ଶ × ሺ1 − ሻ × ቄቀ ቁ − 1ቅ
2
ଶ 3
B wins 2 games out of 3 ሺ1 − ሻ × × ቄቀ ቁ − 1ቅ
2
3 3
∴ ܧሾܰሿ = 2 × ሺଶ + ሺ1 − ሻଶ ሻ + 3 × ቀଶ × ሺ1 − ሻ × ቄቀ ቁ − 1ቅ + ሺ1 − ሻଶ × × ቄቀ ቁ − 1ቅቁ
2 2
ଶ
= −2 + 2 + 2
ௗ ଵ
To find the maximum number of games, ܧሾܰሿ = −4 + 2 = 0 = ଶ
ௗ
(b) ݅ = 3
A wins 3 games out of 3 ଷ
B wins 3 games out of 3 ሺ1 − ሻଷ
4
A wins 3 games out of 4 ଷ × ሺ1 − ሻ × ቄቀ ቁ − 1ቅ
3
ଷ 4
B wins 3 games out of 4 ሺ1 − ሻ × × ቄቀ ቁ − 1ቅ
3
5
A wins 3 games out of 5 ଷ × ሺ1 − ሻଶ × ቄቀ ቁ − 4ቅ
3
5
B wins 3 games out of 5 ሺ1 − ሻଷ × ଶ × ቄቀ ቁ − 4ቅ
3
4 4
∴ ܧሾܰሿ = 3 × ሺଷ + ሺ1 − ሻଷ ሻ + 4 × ቀଷ × ሺ1 − ሻ × ቄቀ ቁ − 1ቅ + ሺ1 − ሻଷ × × ቄቀ ቁ − 1ቅቁ +
3 3
ଷ ଶ 5 ଷ ଶ 5 ସ ଷ ଶ
5 × ቀ × ሺ1 − ሻ × ቄቀ ቁ − 4ቅ + ሺ1 − ሻ × × ቄቀ ቁ − 4ቅቁ = 6 − 12 + 3 + 3 + 3
3 3
ௗ ଵ
To find the maximum number of games, ܧሾܰሿ = 24ଷ − 36ଶ + 6 + 3 = 0 = ଶ , ±1.207
ௗ
ଵ
Then = , and we will refuse the other 2 values because one of them is negative and the other is
ଶ
greater than 1.
Problem 4.25:
Two coins are to be flipped. The first coin will land on heads with probability 0.6, the second with
probability 0.7. Assume that the results of the flips are independent, and let X equal the total number of
heads that result.
Solution:
X = number of heads
X P(X)
0 ሺ1 − 0.6ሻ × ሺ1 − 0.7ሻ = 0.12
1 ሺ0.6ሻ × ሺ1 − 0.7ሻ + ሺ1 − 0.6ሻ × ሺ0.7ሻ = 0.46
2 ሺ0.6ሻ × ሺ0.7ሻ = .42
(a) ܲ ሺܺ = 1ሻ = 0.46
(b) ܧሾܺሿ = 0 × ܲ ሺܺ = 0ሻ + 1 × ܲሺܺ = 1ሻ + 2 × ܲ ሺܺ = 2ሻ = 0.46 + 0.84 = 1.3