Conditional Probability and Probability Tree Diagrams
In many practical situations, our knowledge of the world changes over time. When new information arrives—such as knowing that a preliminary test was positive, or that a red card was drawn first—the sample space of possible outcomes shrinks.
Conditional probability calculates the updated likelihood of an event in light of this new evidence, and probability tree diagrams provide the standard paper method for tracking sequential stages.
The Concept of a Reduced Sample Space
Consider rolling a fair six-sided die: . Suppose someone rolls the die, hides the result, and informs you: "The number rolled is even."
This new information eliminates all odd outcomes . The original sample space has collapsed into a reduced sample space:
If we now ask for the probability of rolling a (event ), we only look inside this reduced set :
(Without this information, the unconditional probability was . The information doubled the likelihood of a .)
Formal Definition of Conditional Probability
For any two events and in a sample space with , the conditional probability of given , denoted , is:
Multiplying both sides by the denominator yields the Multiplication Rule:
Anatomy of a Probability Tree Diagram on Paper
A probability tree represents a sequence of dependent or independent trials moving chronologically from left to right.
The Two Fundamental Tree Rules
- The Branch Rule (Multiplication Rule along a path):
The probability of reaching the end of any individual branch pathway is the product of all the probabilities written along that pathway:
- The Fork Rule (Sum to at each vertex):
At every node or branch split, the probabilities of all outgoing branches must sum to exactly :
- The Sum of All Final Paths: The sum of all path probabilities at the far right of the tree must equal exactly .
Step-by-Step Paper Notebook Method
- Identify the Sequential Stages: Determine which action happens first (Stage 1) and which action happens second (Stage 2).
- Draw the Branches in Pencil:
- Draw branches for Stage 1 from a single starting point. Write the outcome names at the nodes and the unconditional probabilities along the branch lines.
- From each Stage 1 node, sprout branches for Stage 2. Write the conditional probabilities along these secondary branches (e.g., updating denominators if sampling without replacement).
- Compute All Path Probabilities: At the far right of each terminal leaf, multiply the probabilities along the entire branch line.
- Apply Total Probability or Conditioning:
- To find an unconditional Stage 2 probability , add all paths that terminate in .
- To find a reverse conditional probability , divide the specific path probability by the total probability of : $$
Worked Examples on Paper
Example 1: Sampling Without Replacement (Urn Problem)
Problem Statement: An urn contains red balls and blue balls (total balls). Two balls are drawn sequentially without replacement.
- Draw and label the complete probability tree diagram.
- Find the probability that the second ball drawn is red, given that the first ball was blue: .
- Find the probability that both balls drawn are red: .
- Find the total probability that the second ball drawn is red: .
Step-by-Step Paper Solution
Step 1: Set up Stage 1 (First Draw) Total balls .
- Probability of Red on first draw: .
- Probability of Blue on first draw: . Check: .
Step 2: Set up Stage 2 (Second Draw - Without Replacement) There are now only balls remaining in the urn.
- If occurred: red and blue remain: $$
- If occurred: red and blue remain: $$
Step 3: Calculate the four path probabilities
- Path 1 ():
- Path 2 ():
- Path 3 ():
- Path 4 ():
Check sum of paths: .
Step 4: Solve parts 2, 3, and 4
- Part 2: .
- Part 3: .
- Part 4: The second ball is red on Path 1 and Path 3. Add these disjoint paths:
(Notice an elegant mathematical symmetry: before knowing anything about the first draw, the unconditional probability that the second ball is red is identical to the first draw: .)
Example 2: Medical Diagnostic Testing
Problem Statement: A rare medical condition affects of a population (). A diagnostic test has:
- Sensitivity: (probability of testing positive if diseased).
- False Positive Rate: (probability of testing positive if healthy). A person tests positive (). What is the conditional probability that the person actually has the disease, ?
Step-by-Step Paper Solution
Step 1: Write given values and complements
Step 2: Calculate the two paths leading to a positive test ()
- Path 1 (True Positive): Diseased AND tests positive:
- Path 2 (False Positive): Healthy AND tests positive:
Step 3: Calculate total probability of testing positive
Step 4: Apply the conditional probability formula
Even though the test is accurate, a person testing positive only has a probability of having the condition, because the condition is so rare in the general population that false positives outnumber true positives!
Example 3: Conditional Probability from a Two-Way Table
Problem Statement: A survey recorded drivers categorized by whether they had an accident in the past year and whether they attended a defensive driving course:
| Group | Accident () | No Accident () | Total |
|---|---|---|---|
| Course () | |||
| No Course () | |||
| Total |
Find:
- (probability of an accident given that the driver took the course).
- (probability that an accident-involved driver took the course).
Step-by-Step Paper Solution
Part 1: Find Here the condition is . We restrict our attention entirely to the "Course" row (total ):
Part 2: Find Here the condition is . We restrict our attention entirely to the "Accident" column (total ):
(Notice that . The order of conditioning matters dramatically!)
Common Mistakes & Paper Traps
The Transposition Trap ():
- (nearly every bird has feathers).
- , but:
- , while . Never swap the order of events in conditional notation.
Failing to Update the Denominator Without Replacement: When drawing from items without replacement, the second stage must use denominator , not .
Confusing with :
- is the probability that both happen, measured against the entire original population .
- is the probability that happens, measured only within the subpopulation .
Pencil & Paper Practice
Solve these problems on paper.
Practice 1
Two cards are drawn sequentially without replacement from a standard -card deck.
- What is the probability that the second card is an Ace, given that the first card was an Ace?
- What is the probability that both cards drawn are Aces?
Practice 2
In a certain town, of days are cloudy (). The probability of rain on a cloudy day is , while the probability of rain on a non-cloudy day is .
- Draw a probability tree diagram for weather conditions.
- Find the overall probability that it rains on a randomly chosen day.
Solutions to Practice Problems
Solution 1
- Initially there are Aces in cards. If the first card is an Ace, there are Aces left among the remaining cards:
- By the multiplication rule:
Solution 2
- Tree diagram structure:
- Stage 1: , .
- Stage 2 from : , .
- Stage 2 from : , .
- Paths leading to rain ():
Summing the two paths:
Test yourself
If , , and , what is ?
A bag contains red and black balls. Two balls are drawn without replacement. What is the probability that both balls are black?
Which of the following statements is ALWAYS true regarding two events and with non-zero probabilities?
- If and are independent, then .
- in all cases.
- always.
- .