Professional Documents
Culture Documents
CONDITIONAL PROBABILITY:
Events A and B are said to be dependent if B can occur only if it is known that A has occurred or
vice versa. The probability attached to such an event is known as CONDITIONAL PROBABILITY
The general notation for conditional probability of B given that event A has happened is P(B/A). It
is read as the probability of B given A.
EXAMPLE
Suppose that from a class of 15 boys and10 girls a student is selected by chance to clean the class
room on Monday and a different student is selected by chance to clean the room on Wednesday.
Given that the result of Mondays selection, what is the probability that on Wednesday a boy is will
be selected?
The possible answers according to what happened on Monday are.
1. Given that a boy was selected on Monday, the probability that a boy will be selected on
Wednesday is 14/24, for there are 14 different from the one selected on Monday and there is
a total of 24 students who are not selected on Monday.
2. Given that a girl was selected on Monday, the probability that a boy will be selected on
Wednesday is 15/24, for there 15 boys not selected on Monday is (again) a total of 24
students who were not selected on Monday.
NOTE : If no information is given about the result on Mondays drawing the probability that a boy
will be selected on Wednesday is not a conditional probability should be 15/25. To summarize, we
have three different questions with three different answers :
(i)
Given that a boy is selected on Monday, what is the probability that a boy will be
selected in Wednesday? The answer is 14/24.
(ii)
Given that a girl is selected on Monday, what is the probability that a boy will be
selected on Wednesday? The answer is 15/24.
(iii)
Given that no information about Monday, what is the probability that a boy will be
selected on Monday? The answer is 15/25.
The first two are conditional probabilities, the third is not. The probability that a girl will be
selected on Wednesday can be evaluated in a similar way.
For example, we can denote by B the event that a boy is selected on Monday; we also write G for
the event that a girl is selected on Monday and C for the event a boy is selected on Wednesday. It
follows that :
P C / B
14
24
P(C / G )
15
24
Wednesday
14/24
15/25
Boy
Boy
10/24
15/24
10/25
Girl
Boy
Girl
9/24
Girl
n( A B )
n( A)
Now when event are not independent, multiplication law of probability is given by
P A B P A P B / A
P B P A / B
n A B
n S
n A B n A
n S
n A
n A B n A
n A
n S
P A B P B / A P A
P A B
P A B P A .P B / A
P A B
P A
P A B
P A / B
P B
P B / A
P A / B P A
P A B P A P B
1.
S F F
P F
P F
Also,
P F / F
P F F P F
1.
P F
P F
F F F
Thus P S / F P F / F 1
Property 2 If A and B are any two events of a sample space S and F is an event of S such that
P F 0 , then P A B / F P A / F P B / F P A B / F
In particular, if A and B are disjoint events, then P A B / F P A / F P B / F
Proof :
P A B F
P F
P A F B F
Distributive Pr operty
P F
P A F P B F P A B F
Set Theory
P F
P A F P B F P A B F
P F
P F
P F
P A B / F
P A B / F P A / F P B / F P A B / F
P E / F P E `/ F 1
P E `/ F 1 P E / F
Property 4 :If E1 and E2 are two events associated with an experiment and P(E2)
0 P E1 / E 2 1
0, then
P E1 E 2 P E 2
P E 2
P E 2
P E1 / E 2 1 1
Also, P E1 E 2 0
P E1 E 2
0
P E 2
and P E 2 0
P E1 / E 2 0 2
From (1) and (2), we get
0 P E1 / E 2 1
INDEPENDENT EXPERIMENT
Two random experiments are said to be independent if the probability of an event in the second
experiment is independent of the out comes of the first experiment. If A be an event associated with
the first experiment and B be an event associated with second experiment then the probability of
A(in first) and B(in second) is equal to the product of probabilities of A(in first) and B(in second).
Let us consider two random experiments tossing a coin and the other throwing a die. If these two
experiments are performed one after another, we get the following sample space :
S = { (H, 1), (H, 2), (H, 3), (H, 4), (H, 5), (H, 6), (T, 1) (T, 2), (T, 3) (T, 4), (T, 5), (T, 6)}
If A be the event : A tail on the coin and B be the event : an odd number on the die, then
P A
1
2
and
P B
6 1
12 2
3
1
12 4
0.
P E F P E . P F / E (1)
Thus using (2) the independence of two events is also defined as follows:
Let E and E be two events associated with the same experiment, then E and F are said to be
independent if P E F P E .P F
NOTE:
1. Two events E and F are said to be dependent if they are not independent, i.e. if
P E F P E .P F .
2. Some times there is a confusion between independent events & mutually exclusive events.
Term independent is defined in terms of probability of events whereas mutually
exclusive is defined in terms of events(subset of sample space). Moreover, mutually
exclusive events never have an outcome common, but independent events, may have
common outcomes. Clearly independent and mutually exclusive do not have the same
meaning.
In other words, two independent events having nonzero probabilities of occurrence can not
be mutually exclusive and conversely, two mutually exclusive events having nonzero
probabilities of occurrence can not be independent.
3. Two experiments are said to be independent if for every pair of events E and F where E is
associated with first experiment and F with the second experiment, the probability of the
simultaneous occurrence of events E & F when the two experiments are performed is the
product of P(E) and P(F) calculated separately on the basis of two experiments, i.e.
P E F P E P F
7
1. If P A ,
13
9
P B ,
13
&
EXAMPLES
4
P A B , evaluate P(A/B).
13
P A B 4 / 13 4
Solution: We have P A / B
P B
9 / 13 9
2. A family has two children. What is the probability that both the children are boys given that
at least one of them is a boy?
Solution : Let b stands for boy and g for girl. The sample space of the experiment is
S = {(b, b), (g, b), (b, g), (g, g)}
Let E and F denote the following events:
E: both the children are boys.
F: at least one of the child is a boy.
E = {(b, b)} & F = {(b, b), (g, b), (b, g)}
Now E F = {(b, b)}
Thus P(F) = and P(E F) =
P E F 1 / 4 1
P E / F
.
P F
3/ 4 3
3. Ten cards numbered 1 to 10 are placed in a box mixed thoroughly and one card is drawn
randomly. If it known that the number on drawn card is more than 3, what is the probability
that it is an even number?
Solution: Let A be the event the number on the card drawn is even and B be the event the
number on the card drawn is greater than 3. We have to find P(A/B)
Now the sample space of the experiment is
S = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
A = {2, 4, 6, 8, 10}
B = {4, 5, 6, 7, 8, 9, 10}
A B = {4, 6, 8, 10}
5
1
7
4
P( B )
& P( A B )
10 2
10
10
P ( A B) 4 / 10 4
P ( A / B)
P( B)
7 / 10 7
P ( A)
4. In a school, there are 1000 students, out of which 430 are girls. It is known that out of
430,10% of the girls study in class XII. What is the probability that the student chosen
randomly studies in class XII given that the chosen student is a girl?
Solution: Let E denote the event that a student chosen randomly studies in class XII and F
be the event that the randomly chosen student is a girl. We have to find P(E/F)
430
43
0.43
P E F
0.043
1000
1000
P E F 0.043
0.1
Then P E / F
P F
0.43
Now P F
5. A die is thrown three times, events A & B are defined as below : A: 4 on third throw, B: 6 on
the second throw. Find the probability of A given that B has already occurred.
Solution: The sample space has 216 outcomes.
Now A = {(1, 1, 4) (1, 2, 4) - - - (1, 6, 4) (2, 1, 4) (2, 2, 4) - - - (2, 6, 4)
(3, 1, 4) (3, 2, 4) - - - (3, 6, 4) (4, 1, 4) (4, 2, 4) - - - (4, 6, 4)
(5, 1, 4) (5, 2, 4) - - - (5, 6, 4) (6, 1, 4) (6, 2, 4) - - - (6, 6, 4)}
B = {(6, 5, 1) (6, 5, 2) (6, 5, 3) (6, 5, 4) (6, 5, 5) (6, 5, 6)}
A B = {(6, 5, 4)}
P(A B) = 1/216
P(B) = 6/216 = 1/36
P( A B)
1 / 216
6. A die is
thrown twice and the sum of the
P( A / B)
P( B)
1 / 36
6 is observed to be 6. What is the
numbers appearing
probability that the number 4 has appeared at least once?
Solution: E: event of number 4 appeared at least once
F: event of the sum of numbers appearing is 6
Then E = {(4, 1) (4, 2) (4, 3) (4, 4) (4, 5) (4, 6) (1, 4) (2, 4) (3, 4) (5, 4) (6,4)}
P F
5 / 36 5
7. Consider the experiment of tossing a coin. If the coin shows head, toss it again but if it
shows tail, then throw a die. Find the conditional probability of the event that the die shows
a number greater than 4 given that there is at least one tail.
Solution : The tree diagram for the given problem is aside and
(H, H)
sample space:
H
S = {(H, H) (H, T) (T, 1) (T, 2) (T, 3) (T, 4) (T, 5) (T, 6)}
(H, T)
Where (H, H) denotes that both the tosses result into head
and (T, i) denote the first toss into a tail and the number i
(T, 1)
appeared on the die for i = 1, 2, 3, 4, 5, 6.
(T, 2)
These probabilities assign to the 8 elementary events, are
(T, 3)
, , 1/12, 1/12, 1/12, 1/12, 1/12, 1/12 respectively.
T
(T, 4)
Let F: event there is at least one tail.
(T, 5)
E: event die shows a number greater than 4.
(T,
6)
Then F = {(H, T) (T, 1) (T, 2) (T, 3) (T, 4) (T, 5) (T, 6)}
E = {(T, 5) (T, 6)}
E F = {(T, 5) (T, 6)}
P(F) = P({(H,T)}) + P({(T,1)}) + P({(T,2)}) + P({(T,3)}) + P({(T,4)}) + P({(T,5)})
+ P({(T,6)}).
= + 1/12 + 1/12 + 1/12 + 1/12 + 1/12 + 1/12 = .
P(E F) = P({(T,5)}) + P({(T,6)}) = 1/12 + 1/12 = 1/6
Hence P E / F
P E F 1 / 6 2
P F
3/ 4 9
8. An urn contains 10 black and 5 white balls. Two balls are drawn from the urn one after
another without replacement. What is the probability that both drawn balls are black?
Solution: Let E: event that the first ball is black
F: event that the second ball is black
We have to find P(E F)
P(E) = 10/15
Also given that the first ball drawn is black, i.e. event E has occurred, now
there are9 black balls and 5 white balls left in the urn, therefore the probability that
the second ball drawn is black, given that the ball in the first draw is black, is
nothing but the conditional probability of F given that E has occurred i.e.
P(E/F) = 9/14
By multiplication rule of probability, we have
P(E F) = P(E) . P(E/F)
= 10/15 9/14 = 3/7.
9. Three cards are drawn successively, without replacement from a pack of 52 well shuffled
cards. What is the probability that first two cards are kings and the third card drawn is an
ace?
Solution: Let K denote the event that the card drawn is a king and A be the event that the
card drawn is an ace.
Clearly we have to find P(KKA)
Now P(K) = 4/52
Also, P(K/K) is the probability of second king with the condition that one king has
already been drawn. Now there are three kings in (52 1) = 51 cards
P(K/K) = 3/51
Lastly, P(A/KK) is the probability of third drawn card to be an ace, with the
condition that two kings have already been drawn. Now there are four ace in left
50 cards.
P(A/KK) = 4/50
by multiplication law of probability, we have
P(KKA) = P(K) . P(K/K) . P(A/KK)
= 4/52 . 5/51 . 4/50
= 2/5525.
10. A die is thrown. If E is the event the number appearing is a multiple of 3 and F be the
event the number appearing is even then find whether E and F are independent?
Solution: We know that the sample space is S = { 1, 2, 3, 4, 5, 6}
Now E = {3, 6}, F = {2, 4, 6} and E F = {6}
Then P(E) = 2/6 =1/3, P(F) = 3/6 =1/2 and P(E F) = 1/6.
Clearly P(E F) = P(E) . P(F)
Hence E and F are independent events.
11. An unbiased die is thrown twice. Let the event A be odd number on the first throw and B
be the event odd number on the second throw. Check the independence of events A and B.
Solution: If all 36 elementary events of the experiments are considered to be equally likely,
we have P(A) = 18/36 = and P(B) = 18/36 =
Also, P(A B) = P( odd number on both throw) = 9/36 =
P(A) . P(B) = . =
Clearly P(A B) = P(A) .P(B).
Thus A and B are independent events.
12. Three coins are tossed simultaneously. Consider the event E three heads or three tails F at
least two heads and G at most two heads. Of the pair (E, F), (E, G) and (F,G), which are
independent? Which are dependent?
Solution: The sample space of the experiment is given by
S = { HHH, HHT, HTH, THH, HTT, THT, TTH, TTT }
E = { HHH, TTT } F = { HHH, HHT, HTH, THH }
G ={ HHT, HTH, THH, HTT, THT, TTH, TTT }
E F = {HHH} E G = { TTT} F G = { HHT, HTH, THH }
P(E) = 2/8 = , P(F) = 4/8 = , P(G) = 7/8, P(E F) =1/8, P(E G) =1/8,
P(F G) = 3/8.
Also, P(E) . P(F) = . = 1/8, P(E) . P(G) = . 7/8 = 7/32, P(F) . P(G) = .7/8 = 7/16.
Thus P(E F) = P(E) . P(F), P(E G) P(E) . P(G), P(F G) P(F) . P(G).
Hence, the events E & F are independent, and E & G and F & G are dependent.
13. Prove that if E and F are independent events then so are the events E and F`.
Solution: Since E and F are independent
S
E
F
E`F
events
P(E F) = P(E) . P(F)
From the Venn diagram it is clear that
(E F) and (E F`) are mutually
exclusive events and also
EF`
E`F`
E E F E F `
EF
P E P E F P E F `
or P(E F`) = P(E) - P(E F)
Solution: We have,
P( at least one of A & B) = P( A B)
= P(A) + P(B) P(A B)
= P(A) + P(B) P(A) (B)
= P(A) + P(B) [1 P(A)]
= 1 P(A`) + P(B) . P(A`)
= 1 P(A`) [ 1 P(B)]
= 1 P(A`) . P(B`)
EXERCIES 13.1
1. Given that E and F are events such that P(E) = 0.6, P(F) = 0.3 and P((E
P(E/F) and P(F/E).
P E F 0.2 2
Solution: P E / F
P F
0.3 3
P F / E
F) = 0.2. Find
P E F 0.2 1
P E
0.6 3
Solution: P A / B
P B
0.5 50 25
3. If P(A) = 0.8, P(B) = 0.5 and P(B/A) = 0.4, find (i) P(A B) (ii) P(A/B) (iii) P(A B).
Solution: (i) P B / A
P A B P A P B / A
= 0.8
= 0.32
(ii) P A / B
(iii)
P A B
P A
0.4
P A B 0.32 32 16
P B
0.5
50 25
, P(B) =
2 13 26
13
5 2
2
P A B P B P A / B
13 5 13
5
5
2 5 10 4 11
26 13 13
26
26
5. If P(A) = 6/11, P(B) = 5/11 and P(A B) =7/11, find (i) P(A B) (ii) P(A/B) (iii) P(B/A)
Solution: (i) P(A B) = P(A) +P(B) - P(A B)
P(A B) = P(A) +P(B) - P(A B)
6
5
7
4
11 11 11 11
P A B 4 / 11 4
(ii) P A / B
P B
5 / 11 5
P A B 4 / 11 4 2
.
(iii) P B / A
P A
6 / 11 6 3
(ii)
E : at least two heads, F : at least on tail.
(iii)
E : at most two tails, F : at least one tail.
Solution: For the experiment tossing a coin thrice the sample space S is
S = { HHH, HHT, HTH, THH, HTT, THT, TTH, TTT }
(i) E = { HHH, THH, TTH, HTH}
F = { HHH, HHT}
E F = { HHH}
P E F 1 / 8 1
P E / F
P F
2/8 2
(ii)
E = { HHH, HHT, HTH, THH}
F = { TTT, TTH, HTH, HTT, THH, THT, HTT}
E F = { HHT, HTH, THH}
P E / F
P E F 3 / 8 3
P F
7/8 7
(iii)
P F
7/8 7
7. Two coins are tossed once, where (i) E : tail appears on one coin, F : one coin shows head.
(ii) E : no tail appears, F : no head appears.
Solution : S = {HH, HT,TH, TT}
(i)
E = {HT, TH,}, F = {TH, HT}
E F = {TH, HT}
P E / F
P E F 2 / 4
1
P F
2/ 4
(ii)
E = {HH}, F = {TT}
E F =
P(E F) = 0
P E F
0
P E / F
0
P F
1/ 4
8. A die is thrown thrice, E : 4 appears on the third toss F : 6 & 5 appear on first two tosses.
Solution : n(S) = 63 = 216
E = { (1,1,4), (1,2,4), - - - (1,6,4), (2,1,4), (2,2,4) - - (2,6,4), (3,1,4), (3,2,4) - - - (3,6,4),
(4,1,4),(4,2,4), - - - (4, 6, 4), (5,1,4), (5,2,4), - - -, (5,6,4), (6,1,4),(6,2,4), - - - (6,6,4)
F = {(6,5,1), (6,5,2), (6,5,3), (6,5,4),(6,5,5), (6,5,6)}
E F = {(6,5,4)}
P E F 1 / 216 1
P E / F
P F
6 / 216 6
9. Mother, father and son line up at random for a family picture E: son on one end, F: father in
middle.
Solution: S = {MFS, MSF, FMS, FSM, SMF, SFM}
E = { MFS, SMF, FMS, SFM}
F = { MFS, SFM}
E F = { MFS, SFM}
P E / F
P E F 2 / 6
1
P F
2/6
P F
6 / 36 3
(b) Let E: event of getting sum 8, F: event of getting number less than 4 on red die.
E = {(2,6), (6,2), (3,5), (5,3), (4,4)}
F = {(1,1), (1,2), (1,3), (2,1), (2,2), (2,3),(3,1), (3,2), (3,3), (4,1), (4,2), (4,3),
(5,1), (5,2), (5,3), (6,1), (6,2), (6,3)}
E F = {(5,3), (6,2)}
P E / F
P E F 2 / 36 1
P F
18 / 36 9
11. A fair die is rolled. Consider events E = {1, 3, 5} F = {2, 3} and G = {2, 3, 4, 5}
Find: (i) P(E/F) and P(F/E) (ii) P(E/G) and P(G/E) (iii) P(( E F)/G) and P((E F)/G))
Solution: E F = {3}, E G = {3, 5}, E F = {1,2,3,5} ( E F)/G = {2, 3, 5}
(E F)/G = {3}
P E F 1 / 6 1
(i) P E / F
P F
2/6 2
P E F 1 / 6 1
P E
3/ 6 3
P E G 2 / 6 1
(ii) P E / G
P G
4/6 2
P E G 2 / 6 2
P G / E
P E
3/ 6 3
P ( E F ) G 3 / 6 3
(iii) P E F / G
P G
4/6 4
P E F G 1 / 6 1
P ( E F ) / G
P G
4/6 4
P F / E
12. Assume that each child born is equally likely to be boy or a girl. If a family has two children
What is the conditional probability that both are girls given that (i) the youngest is a girl
(ii) at least one is a girl
Solution: Let the first child be denoted by capital letter and the second (younger one) by a
small letter, then S = {Bb, Bg, Gb, Gg}
E: event that both children are girls E ={Gg}
(i)
Let F: event that the youngest is a girl F = {Bg, Gg}
E F = {Gg}
P E / F
(ii)
P E F 1 / 4 1
P F
2/4 2
P E F 1 / 4 1
P F
3/ 4 3
13. An instructor has a question bank of 300 easy true/false questions 200 difficult true/false
questions, 500 easy multiple choice questions and 400 multiple choice questions. If a
question is selected at random from the bank what is the probability that it will be an easy
question given that it is a multiple choice question?
Solution: E: event that it is an easy question and
F: event that it is a multiple choice question
Total number of questions = 300 + 200 + 500 + 400 = 1400
500
5
1400 14
400 500
900
9
P(F) =
1400
1400 14
P E F 5 / 14 5
P E / F P F 9 / 14 9
P(E F) =
14. Given that the two numbers appearing on throwing two dice are different. Find the
probability of the event the sum of numbers on the dice is 4.
Solution: Let E: event that the sum of the numbers on the dice is 4
F: event that numbers appearing on the two dice are different.
E = {(1, 3), (3, 1), (2, 2)}
F` = {(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)}
n(F) = 36 6 = 30
E F = {(1, 3), (3, 1)}
P E / F
P E F
2 / 36
1
P F
30 / 36 15
15. Consider the experiment of throwing a die, if a multiple of 3 comes up throw the die again
and if any other number comes, toss a coin. Find the conditional probability of the event
the coin shows tail given that at least one die shows a 3.
Solution: S = {(3, 1), (3, 2), (3, 4), (3, 5), (3, 6), (6, 1), (6, 2), (6, 3), (6, 4),(6, 5), (6, 6),
(1, H), (1, T), (2, H), (2, T), (4, H), (4, T), (5, H), (5, T), }
Let E: event that coin shows a tail.
F: event that at least one die shows up a 3.
E = {(1, T), (2, T), (4, T), (5, T)}
F = {(3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), (6, 3)}
E F =
P E F
0
P E / F
0
P F
7 / 20
16. If P(A) = P(B) = 0 then P(A/B) is (A) 0 (B) (C) not defined (D) 1.
P A / B
P A B P ( A B)
not defined
P B
0
17. If A and B are events such that P(A/B) = P(B/A) then (A) A B but A B (B) A = B (C)A
B = (D) P(A) = P(B).
Since P(A/B) = P(B/A)
P A B P ( A B )
P B P( A)
P(A) = P(B).
EXERCISE 13.2
1. If P(A) = 3/5 and P(B) = 1/5, find P(A B) if A and B are independent events.
Solution: Since A and B are independent events then
P(A B) = P(A) P(B) = 3/5 1/5 = 3/25.
2. Two cards are drawn at random and without replacement from a pack of 52 playing cards.
Find the probability that both the cards are black.
Solution: E: event that first card is black.
.
15 14 13 91
4. A fair coin and an unbiased die are tossed. Let A be the event head appeared on the coin
and B be the event 3 on the die. Check whether A and B are independent events or not.
Solution: Here the sample space is
S = {(1, H), (1, T), (2, H), (2, T), (3, H), (3, T), (4, H), (4, T), (5, H), (5, T), (6, H), (6, T)}
A = {(1, H), (2, H), (3, H),(4, H)(5, H),(6, H)}
B = {(3, H), (3, T)}
A B = {(3, H)}
P(A) = 6/12 = , P(B) = 2/12 = 1/6, P(A B) = 1/12
Here P(A) P(B) = 1/12 = 1/12 = P(A B).
Hence A and B are independent events.
5. A die is marked 1, 2, 3 in red and 4, 5, 6 in green is tossed. Let A be the event number is
even and B be the event number is red. Are A & B independent?
Solution: Here S = {1, 2, 3, 4, 5, 6}
A: event that number is even A = {2, 4, 6}
B = {1, 2, 3}
B: event that number is red
A B = {2}
P(A) = 3/6 = P(B) = 3/6 = P(A B) = 1/6
Here P(A) P(B) = = P(A B).
Hence A and B are not independent events.
6. Let E and F be events with P(E) = 3/5, P(F) = 3/10 and P(E F) = 1/5. Are E and F
independent?
Solution: P(E) P(F) = 3/5 3/10 = 9/50 P(E F)
Hence E and F are not independent events.
7. Given that the events A & B are such that P(A) = , P(A B) = 3/5 and P(B) = p. Find p if
they are (i) mutually exclusive (ii) independent
Solution: (i) Since A and B are mutually exclusive events, then
A B = P(A B) = 0
P(A B) = P(A) + P(B)
3/5 = + p
p = 3/5 = 1/10.
(ii) When A and B are independent
P(A B) = P(A) P(B)
P(A B) = P(A) + P(B) - P(A B)
P(A B) = P(A) + P(B) - P(A) P(B)
p
3/5 = + p
-
p/2 = 3/5 = 1/10
p = 1/5
8. Let A and B be independent events P(A) = 0.3 and P(B) = 0.4. Find (i) P(A B)
(ii) P(A B) (iii) P(A/B) (iv) P(B/A)
0 .3
(iii) P A / B
P B
0.4
(iv) P B / A
P A B 0.12
0.4
P A
0.3
9. If A and B are two events such that P(A) = 1/4, P(B) = and P(A B) = 1/8
find P( not A and not B)
Solution: Here P(A) P(B) = = 1/8 = P(A B)
A and B are independent events
A` and B` are independent events
P(A` B`) = P(A`) P(B`)
P( not A and not B) = [ 1 P(A)] [ 1 P(B)]
= ( 1 ) ( 1- )
=
= 3/8
10. Events A and B are such that P(A) = , P(B) = 7/12 and P(not A or not B) = . State
whether A and B independent.
Solution: Given that P(not A or not B) =
P(A` B`) =
P[(A B)`}=
1 - P(A B) =
P(A B) = 1 =
Also P(A) P(B) = 7/12 = 7/24 P(A B)
A and B are not independent events.
11. Given two independent events A and B such that P(A) = 0.3, P(B) = 0.6.
Find
(i) P(A and B) (ii) P(A and not B) (iii) P(A or B) (iv) P(neither A nor B)
Solution: (i) P(A and B) = P(A B) = P(A) P(B) = 0.3 0.6 = 0.18
(ii) P(A and not B) = P(A B`) = P(A) P(B`) = P(A) [(1- P(B)]
= 0.3 (1 -0.6) = 0.3 0.4 = 0.12
( if A and B are independent then A and B` are independent)
(iii) P(A or B) = P(A B) = P(A) + P(B) - P(A B)
= 0.3 + 0.6 0.18 = 0.72
(iv)P(neither A nor B) = P(A` B`) = P(A`) P(B`) = [1 P(A)] [1 P(B)]
= (1 0.3) (1 - 0.6) = 0.7 0.4 = 0.28
( if A and B are independent events then A` and B` also)
12. A die is tossed thrice. Find the probability of getting an odd number at least once.
Solution: When a die is tossed thrice n(S) = 216.
Let E : event that an odd number at least once.
F : event that not an even number on all throws.
i.e. Ec: event that an even number on all throws
Ec = {(2, 2, 2), (2, 2, 4), (2, 2, 6), (2, 4, 2), (2, 4, 4), (2, 4, 6), (2, 6, 2), (2, 6, 4),
(2, 6, 6), (4, 2, 2), - - - - - (4, 6, 6), (6, 2, 2), - - - - - - (6, 6, 6)}
c
n(E ) = 27
required probability = P(E) = 1 P(Ec) = 1 27/216 = 1 1/8 = 7/8.
13. Two balls are drawn at random with replacement from a box containing 10 black and 8 red
balls. Find the probability that (i) both balls are red (ii) first ball is black and second is red
(iii) one of them is black and other is red.
= 18
{first ball is put again in the box before drawing the second ball}
18
C1
C1
=
8
8
16
18 18 81
10 8
20
18 18 81
18 18 18 18
20 40
= 2
81 81
14. Probability of solving specific problem independently by A & B are and 1/3 respectively.
If both try to solve the problem independently, find the probability that : (i) the problem is
solved (ii) exactly one of them solves the problem.
Solution: Let E1= event that A solves the problem
E2= event that B solves the problem
P(E1) = and P(E2) = 1/3.
(i)
P(the problem is solved)
= 1 P(the problem is not solved)
= 1 P(neither A solves nor B solves the problem)
= 1 P ( E1c E 2c )
= 1 P( E1c )
= 1 [1 P(E1)]
P ( E 2c )
[ 1 P(E2)]
= 1 (1 ) (1 1/3)
=1
2/3
= 1 1/3
= 2/3.
(ii)
= P ( E1 ) P( E 2c ) P ( E 2 ) P ( E1c )
= P ( E1 )[1 P ( E 2 )] P ( E 2 )[1 P ( E1 )]
=
1
1
1
1
1 1
2
3
3
2
1 2 1 1
2 3 3 2
3
6
=
15. One card is drawn at random from a well shuffled deck of 52 cards. In which of the
following cases are the events E and F independent?
(i)
(ii)
(iii)
E: the card drawn is a king or queen, F: the card drawn is a queen or a jack.
13 1
52 4
4
1
52 13
P(E
Here
P(E)
F) =
1
52
(ii)
Here
P(E)
P(E
Here P(E)
P(E
F).
P A B 1 / 5 1
.
P A
3/ 5 3
(c) P( student reads Hindi news paper when it is given the reads English news paper)
= P A / B
P A B 1 / 5 1
P B
2/5 2
j 1
P(Ej) P(A/Ej)
E1
= (A E1)
En)
E2
(A E2)
(A E3)
- - - - - (A
S
En
A
E3
-- --
Also A Ei and A Ej are respectively subset if Ei and Ej. We know that Ei and Ej are
disjoint for i j, therefore A Ei and A Ej are also disjoint for all i j, i, j = 1, 2, 3, - - n.
Thus P(A) = P[(A E1)
(A E2)
(A E3)
- - - - - (A En)]
j 1
P(Ej) P(A/Ej)
BAYES THEOREM
If E1, E2, E3, - - - - En are non empty events which constitute a partition of sample space S,
i.e. E1, E2, E3, - - - - En are pair wise disjoint and S = E1 E2 E3 - - - - En, and A is
any event of non zero probability, then
P ( E i / A)
P ( Ei ) P ( A / E i )
n
P( E
j 1
) P( A / E j )
for any i = 1, 2, 3, - - - n.
P E i / A
P A Ei
P A
=
P ( E i / A)
P( Ei ) P( A / Ei )
P ( A)
(multiplication theorem)
P ( Ei ) P ( A / E i )
n
P( E
j 1
) P( A / E j )
NOTE :1. The following terminology is generally used when Bayes theorem is applied
The events E1, E2, E3, - - - - En are called hypotheses.
The probability P(Ei) is called the priori probability of the hypothesis Ei. The conditional
probability P(Ei/A) is called posteriori probability of the hypothesis Ei.
2. Bayes theorem is also called the formula for the probability of Causaes. Since the Eis
are a partition of the sample space S, one and only one of the events Ei occurs( i.e. one
of the events Ei must occur). Hence the above formula gives us the probability of
particular Ei (i.e. a Cause), given that the event A has occurred.
_________________________________________________________________________
Example 15: (Problem based on total probability): A person has undertaken a
construction job. The probabilities are 0.65 that there will be strike, 0.80 that
the construction job will be completed on the time if there is no strike and
0.32 that the construction job will be completed on time if there is a strike.
1 / 2 5 / 11
35
1 / 2 3 / 7 1 / 2 5 / 11 68
Example 17: Given three identical boxes I, II and III each containing two coins. In box I,
both coins are gold coin, in box II, both are silver coin and in the box III,
there is one gold & one silver coin. A person chooses a box at random and
takes out a coin. If the coin is of gold, what is the probability that the other
coin in the box is also of gold?
Solution: Let E1 : box I is chosen, E2: box II is chosen & E3: box III is chosen.
Then P(E1) = P(E2) = P(E3) = 1/3
Let A: the coin drawn is of gold
Then P(A/E1) = 2/2 = 1, P(A/E2) = 0/2 = 0, P(A/E3) =
Now, the probability that the other coin in the box is of gold
= the probability that gold coin is drawn from the box I.
= P(E1/A)
by Bayes theorem,
P E1 / A
P ( E1 ) P ( A / E1 )
P ( E1 ) P ( A / E1 ) P ( E 2 ) P ( A / E 2 ) P ( E 3 ) P ( A / E 3 )
1/ 3 1
1/ 3
2
1/ 3 1 1/ 3 0 1/ 3 1/ 2 1/ 3 1/ 6 3
Example 18: Suppose that the reliability of a HIV test is specified as follows: of people
having HIV, 90% of the test detected the disease but 10% go undetected. Of
people free of HIV, 99% of test are judged HIV negative but 1% are
diagnosed as showing HIV positive, from a large population of which 0.1%
have HIV, one person is selected at random, given the HIV test, and the
pathologist report him/her as HIV +ve. What is the probability that the
person actually has HIV?
Solution: Let E : person selected is actually having HIV
A : persons HIV test is diagnosed as + ve
We have to find P(E/A)
Also, E` : person selected is actually not having HIV.
Clearly, { E, E`}is a partition of the sample space of all people in the
population.
Given that P(E) = 0.1% = 0.1/100 = 0.001
P(E`) = 1 P(E) = 1 0.001 = 0.999
P(A/E) = P( person tested as HIV + ve given that he/she is actually having
HIV)
= 90% = 90/100 = 0.9
P(A/E`) = P( person tested as HIV + ve given that he/she is actually not
having HIV)
= 1% = 1/100 = 0.01
By Bayes theorem
P( E ) P( A / E )
0.001 0.9
0.083
1089
P ( E / A)
Thus the probability that a person selected at random is actually HIV given
that he/she is tested HIV +ve is 0.083.
Example 19. In a factory which manufactures bolts, machine A, B and C manufacture
respectively 25%, 35% and 40% of the bolts, of their outputs 5, 4 and 2
percent are respectively defective bolts. A bolt is drawn at random from the
product and is found defective. What is the probability that it is
manufactured by the machine B?
Solution: Let B1: the bolt is manufactured by machine A
B2: the bolt is manufactured by machine B
B3: the bolt is manufactured by machine C
Obviously, B1, B2 and B3 are mutually exclusive and exhaustive events and hence they
represent a partition of the sample space.
Let E: the bolt is defective
The event E occurs with B1, or with B2 or with B3.
Given that P(B1) = 25% = 0.25, P(B2) = 35% = 0.35, P(B3) = 40% = 0.40.
Again P(E/B1) = P(bolt drawn is defective given that it is manufactured by machine A)
= 5% = 0.05
Similarly P(E/B2) = P(bolt drawn is defective given that it is manufactured by machine B)
= 0.04
P(E/B2) = P(bolt drawn is defective given that it is manufactured by machine C)
= 0.02
Hence by Bayes theorem
P ( B2 / E )
P ( B2 ) P ( E / B2 )
P ( B1 ) P( E / B1 ) P( B2 ) P( E / B2 ) P( B3 ) P( E / B3 )
0.35 0.04
0.25 0.05 0.35 0.04 0.04 0.02
0.0140 28
0.0345 69
Example 20: A doctor is to visit a patient, from the past experience, it is known that the
probabilities that he will come by train, bus, scooter or by other means of
transport are respectively
late are
3 1 1
2
, ,
& . . The probabilities that he will be
10 5 10
5
1 1
1
, and
, if he comes by train, bus and scooter respectively, but
4 3
12
30 120 1
10 4
=
3 1 1 1 1
1 2
40 18
2
0
10 4 5 3 10 12 5
Example 21: A man is kwon to speak truth 3 out of 4 times. He throws a die and reports that
it is a six. Find the probability that it is actually six.
Solution : E : the man reports that six occurs in throwing the die.
S1 : the six occurs
S2 : the six does not occur.
P S1 P E / S 1
1 24 3
6 4
P S1 P ( E / S1 ) P S 2 P E / S 2 1 3 5 1 8 8
8
6 4 6 4
EXERCIES 13.3
1. An urn contains 5 red and 5 black balls. A ball is drawn at random, its colour is noted
and is returned to the urn. Moreover, 2 additional balls of the colour drawn are put in the
urn and then a ball is drawn at random. What is the probability that the second ball is
red?
Solution: Required probability = P( second ball is red)
= P( a red ball is drawn and returned along with 2 red balls
and then a red ball is drawn) + P( a black ball is drawn
and returned along with 2 black balls and then a red
ball is drawn)
=
5
7
5
5
35 25
60
1
10 12 10 12
120
120 2
2. A bag contains 4 red and 4 black balls, another bag contains 2 red and 6 black balls. One
of the two bags is selected at random and a ball is drawn from the bag which is found to
be red. Find the probability that the ball is drawn from the first bag.
Solution: Let E1: first bag is selected
E2: second bag is selected
Then E1 and E2 are mutually exclusive and exhaustive,
P(E1) = P(E2) =
Let E: ball drawn is red
Required probability = P(E1/E) =
P E1 P E / E1
P E1 P E / E1 P E 2 P E / E 2
1 4
1
1
1 8 2
2 8
4 4
=
1 4 1 2 1 1 3 4 3 3
2 8 2 8 4 8 8