Problem Set Conditional Probability
Problem Set Conditional Probability
1 References
• See Chapter 1: Sample Space and Probability, Bertsekas and Tsitsiklis,
for a review of conditional probability.
2 Solved Problems
1. Consider a probability space (Ω, F, P). Show that the conditional
probability P(·|A), for A ∈ F such that P(A) > 0 inspires a valid
probability space.
We need to show that (Ω, F, P(·|A)) is a valid probability space, where
A ∈ F, P(A) > 0 and P(B|A) for B ∈ F is defined as P(B|A) = P(AB) P(A) .
Clearly, Ω is a valid sample space, and F is a valid event space. In fact,
(Ω, F) remains a valid measurable space independent of the probability
measure assigned.
Hence, we need only to prove that P(·|A) is a valid probability measure
on the measurable space (Ω, F). (We note that P(·|A) is well defined
when P(A) > 0).
To show that P(·|A) is a valid probability measure, we need to validate
that the conditional probability satisfies the axioms of probability.
P(AB)
(a) Non-negativity: P(B|A) = P(A) . As P(AB) ≥ 0 and P(A) > 0,
we have P(B|A) ≥ 0.
(b) Normalized:
P(AΩ) P(A)
P(Ω|A) = = =1
P(A) P(A)
1
But AB1 , AB2 , · · · are disjoint as well. Hence, using countable addi-
tivity of the probability measure, we have,
∞ ∞
! !
[ 1 [
P Bi |A = P ABi
P(A)
i=1 i=1
∞
1 X
= P(ABi )
P(A)
i=1
∞
X P(ABi )
=
P(A)
i=1
X∞
= P(Bi |A)
i=1
2
The result follows easily from finite additivity.
∞ ∞
! !
[ [
P(B) = P B ∩ Ai = P BAi
i=1 i=1
∞
X
= P(BAi )
i=1
∞
X
= P(Ai )P(B|Ai )
i=1
P(BA1 )
P(A1 |B) =
P(B)
3
3 Practice Problems
1. (Bertsekas and Tsitsiklis) We are given three coins: one has heads in
both faces, the second has tails in both faces, and the third has a head
in one face and a tail in the other. We choose a coin at random, toss
it, and the result is heads. What is the probability that the opposite
face is tails?
3. State and prove the conditional version of the total probability theo-
rem.
5. (Grimmett and Stirzaker) There are n urns of which the rth contains
r −1 red balls and n−r magenta balls. You pick an urn at random and
remove two balls at random without replacement. Find the probability
that: