4.8 Tree Diagrams
1. Visualizing Conditional Probabilities
Sometimes, an experiment entails sequential choices or actions spanning two or more stages. In such scenarios, tree diagrams present an exceptionally effective method for organizing the sample space and clearly illustrating conditional probabilities.
EXAMPLE 1
Suppose a box contains 3 red balls and 5 green balls. If we select two balls successively without replacement, what is the probability that both balls are red?
Let $R_2$ denote the event "the 2nd ball is Red". Because the first ball is not replaced, the probability $P(R_2)$ strictly depends on the outcome of the first draw.
If the 1st ball is Red, we are left with exactly 2 red balls out of 7 total. Thus, the conditional probability is:
Two Golden Rules of Tree Diagrams
- Rule 1 (Multiply along branches): We trace a single continuous path from left to right to locate a specific sequence of events (an outcome). To evaluate the probability of this final outcome, we multiply all branch probabilities along that chosen path.
- Rule 2 (Add parallel paths): Often, multiple distinct paths lead to a satisfying outcome (e.g., getting exactly one red ball). Since each complete path represents a mutually exclusive outcome within the sample space, we add their individual probabilities together.
EXAMPLE 2
Using the exact tree diagram constructed in Example 1, calculate the following probabilities:
Two distinct paths satisfy this condition: RG (Red then Green) and GR (Green then Red). $$ \begin{aligned} P(\text{exactly one red}) &= P(RG) + P(GR) \\ &= \left(\dfrac{3}{8} \cdot \dfrac{5}{7}\right) + \left(\dfrac{5}{8} \cdot \dfrac{3}{7}\right) \\ &= \dfrac{15}{56} + \dfrac{15}{56} \\ &= \mathbf{\dfrac{30}{56}} \end{aligned} $$
Three paths satisfy this condition: RR, RG, and GR. $$ \begin{aligned} P(\text{at least one red}) &= P(RR) + P(RG) + P(GR) \\ &= \left(\dfrac{3}{8} \cdot \dfrac{2}{7}\right) + \left(\dfrac{3}{8} \cdot \dfrac{5}{7}\right) + \left(\dfrac{5}{8} \cdot \dfrac{3}{7}\right) \\ &= \dfrac{6}{56} + \dfrac{15}{56} + \dfrac{15}{56} \\ &= \mathbf{\dfrac{36}{56}} \end{aligned} $$
$P(\text{at least one red}) = 1 - P(GG) = 1 - \left(\dfrac{5}{8} \cdot \dfrac{4}{7}\right) = 1 - \dfrac{20}{56} = \mathbf{\dfrac{36}{56}}$
This outcome relies on evaluating all possible paths that terminate with a red ball in the second stage (RR and GR). Notice that the unconditional probability $P(R_2)$ is generally equal to $P(R_1)$. $$ \begin{aligned} P(R_2) &= P(RR) + P(GR) \\ &= \left(\dfrac{3}{8} \cdot \dfrac{2}{7}\right) + \left(\dfrac{5}{8} \cdot \dfrac{3}{7}\right) \\ &= \dfrac{6}{56} + \dfrac{15}{56} \\ &= \dfrac{21}{56} \\ &= \mathbf{\dfrac{3}{8}} \end{aligned} $$
EXAMPLE 3
Suppose the two balls are selected with replacement (the first ball is returned to the box before the second is drawn).
- $P(RR) = \dfrac{3}{8} \cdot \dfrac{3}{8} = \mathbf{\dfrac{9}{64}}$
- $P(\text{exactly one red}) = P(RG) + P(GR) = \left(\dfrac{3}{8} \cdot \dfrac{5}{8}\right) + \left(\dfrac{5}{8} \cdot \dfrac{3}{8}\right) = \mathbf{\dfrac{30}{64}}$
2. Evaluating Complex Conditional Probabilities (Bayes' Rules)
Evaluating conditional probabilities spanning across multiple stages generally requires establishing the intersection relative to the conditional subspace. The fundamental formula remains our primary analytical tool:
A "Bayes' style" problem occurs when the conditioning event $B$ occurs temporally after the event $A$ in the experiment sequence. The tree diagram must be evaluated "backwards."
EXAMPLE 4
Based on the initial non-replacement experiment (Example 1), we know that exactly one red ball has been drawn. What is the probability that it was selected in the first draw?
Condition (Given): $B = \text{"exactly one red"}$ (The paths RG and GR)
Target Event: $A = \text{"the first draw was red"}$ (The path RG)
EXAMPLE 5
Assume again the non-replacement experiment from Example 1. Given that the second ball drawn was red, find the probability that the first ball was also red.
Condition (Given): $B = \text{"second ball is red"}$ (Paths RR and GR)
Target Event: $A = \text{"first ball is red"}$