






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Introduction to Probability Solutions MATH 3080 (Autumn 2008) Final Exam
Instructions:
μ 12 7
left.
Solution: Let E be the event 1 red and 1 white ball. Then P (E) =
μ 3 1
¶μ 3 1
μ 6 2
= 200 and var(X) = 400·
P { 190 ≤ X ≤ 215 } = P
(a) (7 points) Find the probability that all the balls in the sample are white. Solution: Let H be the event, Heads and T the event Tails. Let W be the event all balls are white. Then
P (W ) = P (W H) + P (W T ) = P
μ 3 2
μ 5 2
μ 3 3
μ 5 3
(b) (8 points) Given that all the balls in the sample are white, find the probability that the coin flip turned up Heads. Solution:
f (x) =
cx if 0 < x < 2
0 otherwise
x
y
0 2 Graph of f (a) (3 points) Find c.
Solution:
0 cx dx^ = 2c^ = 1^ if^ c^ =
. So f (x) =
x 2 if 0 < x < 2
0 otherwise
(b) (3 points) Find P {X ≤ 1 }. Solution: P {X ≤ 1 } =
0
x dx =
(c) (3 points) Find E (X) and var(X). Solution: E (X) =
0
x ·
x dx =
0
x^2 ·
x dx = 2
and var (X) = E
(d) (8 points) Find the density function fY (x) of the random variable Y = X^2. Solution: First we find the distribution function FY (x) of Y. Notice that since X takes values between 0 and 2 , Y takes values between 0 and 4. So it’s immediate that FY (x) = 0 if x ≤ 0 and FY (x) = 1 if x ≥ 4. Also, if 0 < x < 4 , FY (x) = P {Y ≤ x} = P
X^2 ≤ x
x
Z √x
0
t dt =
x
Differentiating FY (x), we obtain
fY (x) =
if 0 < x < 4
0 otherwise That is, Y is uniformly distributed on (0, 4).
Find P (A). Hint: Continue this computation and see what happens.
1 = P (S) = P (A ∪ B ∪ C) = · · ·
Solution: Since B and C are independent, P (BC) = P (B) · P (C). We also know that A (B ∪ C) = ∅. Computing as suggested, we get
1 = P (A ∪ B ∪ C) = P (A) + P (B ∪ C) = P (A) + P (B) + P (C) − P (B) · P (C)
Letting x = P (A) , we see that x satisfies the quadratic equation
4 x^2 − 5 x + 1 = 0.
This factors as (4x − 1) (x − 1) = 0 giving immediately that P (A) = x =
(It’s impossible for P (A) = 1 since then P (B) = P (C) = 2.)
μ 26 13
μ 51 13
μ 26 13
μ 51 13
μ 25 13
μ 51 13
The deck is divided at random into 2 groups of four cards each, group X and group Y. A card is selected at random from group X. It’s a 1. This card is transferred to group Y and then a card is selected at random from group Y. Find the probability that it’s a 1. Solution 1: Condition on the event F that the card picked from group Y is the card which was transferred from group X. If E is the event that the card picked from group Y is a 1 , then
P (E) = P (EF ) + P (EF c)
E F c
· P (F c)
Solution 2: Let Bk be the event, group X has k 1’s initially. Let C be the event that the card drawn from group X is 1 , and and E be as in Solution 1. Let’s compute.
Bk C
C Bk
· P (Bk) P (C)
k 4
μ 2 k
μ 6 4 − k
μ 8 4
= k ·
μ 2 k
μ 6 4 − k
μ 8 4
= k ·
k! (2 − k)!
(4 − k)! (2 + k)! 8! 4! · 4! =
(k − 1)! (2 − k)!
(4 − k)! (2 + k)!
Jane goes first. Jane’s coin turns up heads with probability
and Bob’s turns up heads
with probability
The game ends when either Jane or Bob flip a heads. Let X be the random variable which measures the trial when the game ends.
(a) (This part is worth 5 points) Determine the probability mass function p (x) of X. Solution: Jane flips on trials 1 , 3 , 5 , · · · and Bob flips on trials 2 , 4 , 6 , · · ·
p (2n + 1) =
μ 4 5
¶n ·
μ 2 3
¶n ·
since Jane flips tails on her first n flips, Bob flips tails on his first n flips, and then Jane flips heads.
p (2n) =
μ 4 5
¶n ·
μ 2 3
¶n− 1 ·
since Jane flips tails on her first n flips, Bob flips tails on his first n − 1 flips, and then Bob flips heads. (b) (This part is also worth 5 points) How many coin flips do we expect to wait until either Bob or Jane flips a heads? Note: This part is quite computationally intensive! I’ll give quite a bit of partial credit for good progress. Solution: We compute the expectation of the random variable X.
n=
n · p (n) =
n odd
n · p (n) +
n even
n · p (n)
n=
(2n + 1) · p (2n + 1) +
n=
(2n) · p (2n)
n=
(2n + 1)
μ 8 15
¶n ·
n=
(2n) ·
μ 8 15
¶n− 1 ·
n=
(2n + 1)
μ 8 15
¶n ·
n=
(2 (n + 1)) ·
μ 8 15
¶n− 1 ·
Now, in the second sum, we change the index of summation and continue the
computation.
n=
(2n + 1)
μ 8 15
¶n ·
n=
(2 (n + 1)) ·
μ 8 15
¶n ·
n=
μ (2n + 1) ·
μ 2 (n + 1) ·
¶¶ μ 8 15
¶n
n=
μ 14 15 n +
¶ μ 8 15
n=
n
μ 8 15
¶n
n=
μ 8 15
¶n
(You’ll get 3 out of the 5 points if you reach the boxed sum, or something close to it.) Recall that if 0 < x < 1 , 1 1 − x
n=
xn
and, differentiating both sides with respect to x (we know from the theory of power series that we can differentiate the series term by term) we obtain
1 (1 − x)^2
n=
nxn−^1
so x (1 − x)^2
n=
nxn
Taking x =
and using these formulas gives us
n=
n
μ 8 15
¶n
n=
μ 8 15
μ^15 1 −
μ^1 1 −
μ 15 7 15