Professional Documents
Culture Documents
TOPIC 4 - Part 2
TOPIC 4 - Part 2
A tree diagram is a pictorial representation of different ways of outcomes. Tree diagram can be a useful
device for keeping track of conditional probabilities when using multiplication and partition rules.
The idea is to draw a tree where each path represents a sequence of events.
- On any given branch of the tree, write the conditional probability of that event given all the events on
branches leading to it.
- The probability at any node of the tree is obtained by multiplying the probabilities on the branches leading
to the node, and equals the probability of the intersection of the events leading to it.
Conditional probability is the probability that event A will occur given that event B has occurred,
denoted as P(A | B). The symbol ‘|’ does not imply division. P(A | B) denotes the probability that
event A will occur given that event B has occurred.
A rule that can be used to determine a conditional probability from unconditional probabilities is:
P(A ∩ B)
P(A | B) = , if P(B) ≠ 0 and P(A ∩ B) = P(A | B) . P(B)
P(B)
where
P(A | B) = the conditional probability that event A will occur given that event B has occurred
P(A B) = the unconditional probability that event A and event B occur
P(B) = the unconditional probability that event B occurs
GH Sunshine HOW TO USE CONDITIONAL PROBABILITY?
A and B are two events with P(A) = 0.3, P(B) = X and Y are two events independent events with
0.45 and P(A ∩ B) = 0.15. Find P(B | A). P(A) = 0.5, P(B) = 0.4. Calculate P(A | B).
Solution: Solution:
P(B ∩ A) P(A ∩ B)
P(B | A) = P(A | B) =
P(A) P(B)
0.15 0.2
= 0.3 = 0.4 = 0.5
= 0.5
P(A ∩ B) = P(A) x P(B)
5 or
3 Y BY
8 8 1 - Probability of no blue ball will be selected
3
B 8 = 1 − YY
B BB 5 5 39
=1 − × =
8 8 64
GH Sunshine
EXAMPLE 3
A bag contains of five yellow balls and three blue balls. Two balls are drawn one by one without replacement.
a) Draw a tree diagram.
b) Find the probability of getting the first ball is blue and the second ball is yellow.
3 5 Y BY
8 7
2
B 7
B BB
GH Sunshine
EXAMPLE 4
65% of the students go to college by their own transport, 20% by bus and the remaining students walk to college.
From past experience, 2% of the students with own transport were late for college and 4% of those who take buses
were late to college. Only 1% of those walking to college were late. Draw a suitable tree diagram.
Outcomes
* O: Own transport P L O) = 0.02
0.02 L
B: Bus
W: Walk 0.98
L: Late O L’ P L′ O) = 0.98
L’: Not late (early) 0.65
L P L B) = 0.02
0.04
0.20 0.96
B L’ P L′ B) = 0.96
L P L W) = 0.01
0.01
0.15 0.99
W L’ P L′ W) = 0.99
GH Sunshine
EXAMPLE 5
In a Running Kids game, players are asked to find treasure boxes (X, Y and Z) hidden in a garage. Each box contains a total
of 10 gold coins and silver coins. The probability of finding the treasure box X, Y and Z are 0.3, 0.5 and 0.2, respectively.
Box X contains 6 gold coins, box Y contains 3 gold coins, while box Z contains 2 gold coins.
a) Draw tree diagram to summarize the above information. b) What is the probability of getting gold coins?
P(G) = P (X ∩ G) ∪ P(Y ∩ G) ∪ P(Z ∩ G)
* G: Gold
S: Silver = (0.3 x 0.6) + (0.5 x 0.3) + (0.2 x 0.2)
0.6 G
0.4 = 0.37
X
0.3 S
G c) If the gold coins is found, what is the probability that it is
0.3
0.5 from box X?
Y 0.7
S P(X ∩ G)
P(X | G) =
0.2 G P(G)
0.2
(0.3 x 0.6)
Z 0.8 =
0.37
S
14
= or 0.4865
17
GH Sunshine
EXAMPLE 6
A manufacturing firm employs three designs for the development of a particular product. The three designs; A, B and C are used
for 30%, 20% and 50% of the product respectively. The defect rate for the three designs is as follows.
P(D|A) = 0.01 P(D|B) = 0.03 P(D|C) = 0.02
Question 2
A transistor radio manufacturing factory has three machines, A, B and C. Machine A, B and C contribute 25%, 30% and 45%
respectively in the production of transistors. From past record, machine A, B and C produced 8%, 7% and 5% defective
transistors respectively.
a) Draw a tree diagram for the above information.
b) A transistor is chosen at random. Calculate the probability that the transistor is produced by machine C given it is
defective.
Answers:
49 45
1. b) 0.66 c) 2. b)
136 127