MA2040: Probability, Statistics and Stochastic Processes Problem Set-I
MA2040: Probability, Statistics and Stochastic Processes Problem Set-I
Problem Set-I
Sivaram Ambikasaran
February 15, 2020
1. A six-sided die is made in a way that each even face is twice as likely as each odd face. All even faces
are equally likely, as are all odd faces. Construct a probabilistic model for a single roll of this die and
find the probability that the outcome is less than 4.
Solution: The sample space is Ω = {1, 2, 3, 4, 5, 6}. Let the probability of each odd face be p. We
then have the probability of each even face to be 2p. We have
1 = P (Ω) = P ({1}) + P ({2}) + P ({3}) + P ({4}) + P ({5}) + P ({6})
This gives us that
9p = 1 =⇒ p = 1/9
P (Outcome is less than 4) = P ({1}) + P ({2}) + P ({3}) = p + 2p + p = 4p = 4/9
2. Let S1 , S2 , . . . , Sn be a partition of the sample space Ω.
(a) Show that for any event A,
n
X
P(A) = P (A ∩ Si )
i=1
n
[ \
Solution: Since S1 , S2 , . . . , Sn is a partition of Ω, we have Ω = Si and Si Sj = ∅, whenever
i=1
i 6= j. We have !
\ \ n
[ n \
[
A=A Ω=A Si = A Si
i=1 i=1
\
Since Si ’s are mutually disjoint, so are A Si ’s. Hence, we have that
n \
! n
[ X \
P (A) = P A Si = P A Si
i=1 i=1
(b) Use the previous part to show that, for events A, B and C,
P (A) = P (A ∩ B) + P (A ∩ C) + P (A ∩ B c ∩ C c ) − P (A ∩ B ∩ C)
[
Solution: Note that our sample space can be paritioned into two disjoint sets S1 = B C and
[ c \
S2 = B C = B c C c . From previous part, we hence have
1
3. (a) Prove that for any two events A and B, we have
P (A ∩ B) ≥ P(A) + P(B) − 1
Note that any insertion of n − 1 bars in the N − 1 gaps gives a solution (comprising of positive integers)
to x1 + x2 + · · · + xn = N and any solution (comprising of positive integers) to x1 + x2 + · · · + xn = N
2
can be interpreted as inserting n − 1 bars in the N − 1 gaps. Hence, the number of positive integer
solutions to x1 + x2 + · · · + xn = N is given by
N −1
n−1
3
Note that q1 = 1 − p. Hence, we have
2
qn = p + (1 − 2p) (p + (1 − 2p) qn−2 ) = p + p (1 − 2p) + (1 − 2p) qn−2 (12)
2 3 n−1
= p + p (1 − 2p) + p (1 − 2p) + p (1 − 2p) + · · · + (1 − 2p) q1 (13)
n−2
X k n−1
=p (1 − 2p) + (1 − p) (1 − 2p) (14)
k=0
!
n−1
1 − (1 − 2p) n−1
=p + (1 − p) (1 − 2p) (15)
2p
n−1 n−1
1 − (1 − 2p) 2 (1 − p) (1 − 2p)
= + (16)
2 2
n−1
1 + (1 − 2p) (2 − 2p − 1)
= (17)
2
n
1 + (1 − 2p)
= (18)
2
8. Two playes X and Y alternately roll a pair of unbiased dice. X wins if on a throw he gets a sum of 6
before Y gets a sum of 7; Y wins if he obtains a sum of 7 before X obtains a sum of 6; If X begins the
game, prove that his probability of winning is 30/61.
Solution:
X∞ ∞
X
P (X winning) = P X winning on the nth attempt = pn
n=1 n=1
pn = P (X doesn’t roll a sum of 6 and Y doesn’t roll a sum of 7 in the previous n − 1 attempts)
∞
X
pn = pn−1 q n−1 (1 − p)
n=1
where p is the probability of not getting a sum of 6 and q is the probability of not getting a sum of 7.
We have p = 1 − 5/36 = 31/36 and q = 1 − 6/36 = 5/6. Hence, the desired probability is
∞ n−1 n−1
X 31 5 5 5 1 30
× = × =
36 6 36 36 155 61
n=1 1−
216
9. In a deck of cards, let A be the event of drawing a spade and B be the event of drawing a king. Assuming
that all cards are equally likely to be drawn, obtain P(A|B), P(B|A). Are A and B independent?
13 1 4 1 1 P (A ∩ B) 1/52 1
Solution: P(A) = = , P(B) = = , P (A ∩ B) = , P (A|B) = = = ,
52 4 52 13 52 P (B) 4/52 4
P (A ∩ B) 1/52 1
P (B|A) = = = . Hence, we see that
P(A) 13/52 13
P (A|B) = P (A)
(a) From the information given above, find the probability that Kohli will score a century in the
World Cup Final 2019.
4
Teams pX qX
Afghanistan 0.02 0.50
Australia 0.10 0.30
Bangladesh 0.03 0.40
England 0.30 0.10
New Zealand 0.15 0.25
Pakistan 0.10 0.15
South Africa 0.20 0.20
SriLanka 0.05 0.25
West Indies 0.05 0.20
Solution: Let A be the event of Kohli scoring a century in the World Cup Final 2019 and
EX be the event of India playing against X in the World Cup Final 2019. Note that we have
pX = P (EX ) and qX = P (A|EX ).
X X
P (A) = P (A|EX ) P (EX ) = pX qX
X∈{all teams} X∈{all teams}
= 0.02 × 0.50 + 0.10 × 0.30 + 0.03 × 0.40 + 0.30 × 0.10 + 0.15 × 0.25
+ 0.10 × 0.15 + 0.20 × 0.20 + 0.05 × 0.25 + 0.05 × 0.20
= 0.197
(b) Given that Kohli scores a century in the World Cup Final 2019, which team is
i. Most likely to have played the Final along with India
ii. Least likely to have played the Final along with India
Solution: We need P (EX |A). We have
P (A|EX ) P (EX )
P (EX |A) =
P (A)
We see that South Africa is the most likely team to have played the Final against India, while
West-Indies and Afghanistan are the least likely teams to have played the Final against India.
5
0.02 × 0.50 10
Afghanistan =
0.197 197
0.10 × 0.30 30
Australia =
0.197 197
0.03 × 0.40 12
Bangladesh =
0.197 197
0.30 × 0.10 30
England =
0.197 197
0.15 × 0.25 37.5
New Zealand =
0.197 197
0.10 × 0.15 15
Pakistan =
0.197 197
0.20 × 0.20 40
South Africa =
0.197 197
0.05 × 0.25 12.5
SriLanka =
0.197 197
0.05 × 0.20 10
West Indies =
0.197 197
11. A test for certain rare virus correctly predicts that the person has a virus 99% of the time and correctly
identifies that the person doesn’t carry a virus 98% of the time. It is known 1% of the population
carries the virus. What is the probability of a person actually having the disease, if he has tested
positive to the test?
Solution: Let A be the event that test predicts virus present, and B be the event that the person
carries the virus. We are given that