Lecture 4 Conditional Probability
Lecture 4 Conditional Probability
𝑃(𝐴 ∩ 𝐵
𝑃(𝐴|𝐵 = if 𝑃(𝐵 > 0
𝑃(𝐵
PM | C
C
P C M C
P C P C M
P C P C
0.15 0.1 1
0.15 3
STS 301, Lecture 2 5 .
Independence
If two events A and B are independent if the
occurrence or nonoccurrence of either of them has no
relation to the occurrence or nonoccurrence of the other,
that is the probability that both A and B will occur is equal
to the product of their individual probabilities which
implies:
𝑷 𝑨 ∩ 𝑩 = 𝑷 𝑨 . 𝑷(𝑩
Independence
7
P ( AUB ) P( A) P( B) - P( A B)
P ( A) P( B) - P( A) P( B)
One bag contains 4 white balls and 3 black balls, and a second
bag contains 3 white balls and 5 black balls. One ball is drawn from
the first bag and placed unseen in the second bag. What is the
probability that a ball now drawn from the second bag is black?
Solution
6/9 B2/B1 drawing a black ball from bag 2
3/7 B1 P (B 2 ) P ( B 2 B 1 ) P (B 2 W 1 )
3/9 W2/B1 P ( B ) P( B | B ) P (W ) P ( B | W )
1 2 1 1 2 1
4/7 W1 5/9 B2/W1
3/ 7 6/ 9 4/ 7 5/ 9 0.6
4/9 W2/W1
1. A small town has one fire engine and one ambulance available for emergencies.
The probability that the fire engine is available when needed is 0.98, and the
probability that the ambulance is available when called is 0.92. In the event of an
injury resulting from a burning building, find the probability that both the
ambulance and the fire engine will be available, assuming they operate
independently.
2. A machine produces parts that are either good (90%), slightly defective (2%),
or obviously defective (8%). Produced parts get passed through an automatic
inspection machine, which is able to detect any part that is obviously defective
and discard it. What is the quality of the parts that make it through the inspection
machine and get shipped?
4. The events A and B are mutually exclusive. Suppose P(A) = 0.30 and P(B) =
0.20. What is the probability of either A or B occurring? What is the probability
that neither A nor B will happen? (Last answer: 0.5)
5. The events X and Y are mutually exclusive. Suppose P(X) = 0.05 and P(Y) =
0.02. What is the probability of either X or Y occurring? What is the probability
that neither X nor Y will
happen?
6. Suppose P(A) = 0.4 and P(B|A) = 0.3. What is the joint probability of A and B?
(Last answer: 0.12)
7. Suppose P(A) = 0.75 and P(B|A) = 0.4. What is the joint probability of x and
y?
8. An urn contains 3 red balls, 2 blue balls, and 5 white balls. A ball is
selected and its color noted. Then it is replaced. A second ball is selected
and its color noted. Find the probability of each of these:
a. Selecting 2 blue balls
b. Selecting 1 blue ball and then 1 white ball
c. Selecting 1 red ball and then 1 blue ball