Unit 3 - Part 2 Conditional Probability
Unit 3 - Part 2 Conditional Probability
1. Conditional Probability
2. Multiplication theorem of Probability
3. Mutual Independence
4. Pairwise Independence
5. Bayes’ Theorem
XP
Conditional Probability
• If A and B are the events of sample space S,
then conditional probability of A given B is the
probability of A such that B has already
occurred and it is given by
P (A| B) = P (A ∩ B) / P (B)
Weekday(M T W Th F)🡪 5
DAY
Weekend (S Sun) 🡪 2
Examples XP
• Let A and B be two events with P (A) = 3/8, P (B) = 5/8 and P (A U B) =
¾. Find P (A| B) and P (B| A).
• In a certain college, 25 percent of the students failed in mathematics,
15 percent failed in chemistry and 10 percent failed in both
mathematics and chemistry. A student is selected at random.
– If the student failed chemistry, what is the probability that he or she failed in
mathematics
– If the student failed mathematics, what is the probability that he or she failed in
chemistry
– What is the probability that the student failed in mathematics or chemistry.
– What is the probability that the student is failed neither in Mathematics nor in
Chemistry?
• From a city population, the probability of selecting (i) a male or a
smoker is 7/10 (ii) a male smoker is 2/5 and (iii) a male, if a smoker is
already selected is 2/3. Find the probability of selecting (a) a non-
smoker (b) a male (c) a smoker, if a male is first selected.
Let A and B be two events with P (A) = 3/8, P (B) = 5/8
XP
and P (A U B) = ¾. Find P (A| B) and P (B| A).
P(A ∩ B) = P(A) +P(B) – P(A UB)
= 3/8 +5/8 – 3/4
= 2/8
= 1/4
Solution:
• If the events A and B are independent and the events B and C are
independent ,then A and C need not be independent. In other
words, the relation of independence is not a transitive relation
• Two men A and B fire at a target. Suppose P(A) = 1/3 and P(B) =
1/5 denote their probabilities of hitting the target. Find the
probability that
– A does not hit the target
– Both hit the target
– at least one of them hit the target
– Neither hits the target
• Prove that with example that mutual independence does not imply
pair wise independence.
• Prove that with example that any events may be pair wise
independent but need not to be mutually independent.
• Prove that with example that mutual independence does not
imply pair wise independence. XP
• Or is it possible to have PA∩B∩C)=P(A)*P(B)*P(C),
with P(A∩B) <> P(A)*P(B), P(A ∩C)<>P(A)*P(C) , P(B ∩C)<>P(B)*P(C)
• Consider 2 die example:
• A:First die shows 1,2,3 B: First Die show 3,4,5
• C :sum of no. on two die is 9 ={(3,6),(4,5),(5,4),(6,3)}
• P(A)=18/36 =1/2 P(B)=18/36=1/2 P(C)=4/36=1/9
• A∩B={(3,1),(3,2),(3,3),(3,4),(3,5),(3,6)}
• P(A∩B)=6/36=1/6 and P(A)*P(B)=1/2*1/2=1/4
• Here P(A∩B)<> P(A)*P(B)
4 1 4 2 4 3 4 4 4 5 4 6
5 1 5 2 5 3 5 4 5 5 5 6
6 1 6 2 6 3 6 4 6 5 6 6
Example 12
XP
• Prove that with example that any events may be pair wise
independent but need not to be mutually independent.
2nd die
1 1 1 2 1 3 1 4 1 5 1 6
2 1 2 2 2 3 2 4 2 5 2 6
3 1 3 2 3 3 3 4 3 5 3 6
1st die
4 1 4 2 4 3 4 4 4 5 4 6
5 1 5 2 5 3 5 4 5 5 5 6
6 1 6 2 6 3 6 4 6 5 6 6
Example 12 continued….
• Prove that with example that any events may be pair wise independen
XP
but need not to be mutually independent.
• Or is it possible to have P(A∩B) = P(A)*P(B), P(A ∩C)=P(A)*P(C) , P(A
∩C)=P(A)*P(C) but P(A∩B∩C)<>P(A)*P(B)*P(C)
• Consider 2 die example: A ∩ B∩C= {(1,6),(2,5),(3,4)}
• A:First die shows 1,2,3 B: second Die show 4,5,6
• C :sum of two numbers is 7 ={(1,6),(6,1)(4,3),(3,4),(5,2),(2,5)}
P(A)=18/36 =1/2 P(B)=18/36=1/2 P(C)=6/36=1/6
A∩B={(1,4),(1,5),(1,6),(2,4),(2,5),(2,6),(3,4),(3,5),(3,6)}
P(A∩B)=9/36=1/4 and P(A)*P(B)=1/2*1/2=1/4
P(A∩B)= P(A)*P(B)
A∩C={(1,6),(2,5),(3,4)}
P(A∩C)=3/36=1/12 and P(A)*P(C)=1/2*1/6=1/12
B∩C={(1,6),(3,4),(2,5)} P(A∩C)= P(A)*P(C)
P(B∩C)=3/36=1/12 and P(B)*P(C)=1/2*1/6=1/12 P(B∩C)= P(B)*P(C)
P(A∩B ∩C) =3/36 P(A)*P(B)*P(C) =1/2*1/2*1/9=1/36
Here P(A∩B ∩C) <>P(A)*P(B)*P(C)
Example 13
If four squares are chosen at random on a chessboard, find the
XP
chance that they should be in a diagonal line.
Example 14, 15, 16 (Do it yourself) XP
• A problem in Statistics is given to three students A,B and C
whose chances for solving it are ½, ¾, ¼ respectively. What
is the probability that the problem will be solved if all of
them try independently?
• It is 8:5 against the wife who is 40 years old living till she is
70 and 4:3 against her husband now 50 living till he is
80.Find the probability that:
– Both will be alive -- None will be alive
– Only wife will be alive --Only husband will be alive
– Only one will be alive --at least one will be alive
• Consider the following events for a family with children:
A={children of both genders}
B={at most one boy}
– Show that A and B are independent events if a family has 3
children
– Show that A and B are dependent events if a family has only 2
children
Example 14
XP
• A problem in Statistics is given to three students A,B and C whose
chances for solving it are ½, ¾, ¼ respectively. What is the
probability that the problem will be solved if all of them try
independently? Gupta kapoor pg.no.3.55
Method 1
• The problem will be solved if at least one of them will solve the
problem. P(problem will be solved )= P(AUBUC)
• = 1-P(AUBUC)’=1-P(A’ ∩B’∩C’)=1-P(A’)P(B’)P(C’)=29/32
Method 2