Conditional Probability on Tree Diagrams and Testing for Independence | Applications and Interpretation IB Maths notes
Free preview: Conditional Probability on Tree Diagrams and Testing for Independence
Trees Where the Second Stage Depends on the First
Analysis and approaches and Applications and interpretation: SL and HL (common content, SL 4.6; testing for independence is also Analysis and approaches SL 4.11)
Watch: 1-minute explainer
Let's start with what you know. In the tree diagrams of the earlier note, the second-stage probabilities were the same on every branch, because the events were independent. Often they are not. If your bus is late, you're much more likely to be late for college. The first stage changes the chances at the second.
- When the first result changes the chances for the second, the second-stage branches are conditional probabilities.
- Each one is P(second | first): the probability of the second event given what happened first.
- We still multiply along paths and add between paths, exactly as before.

Following the diagram
- B = the bus is late, with P(B) = 0.25, so P(B′) = 0.75.
- L = the student is late for college. If the bus is late, P(L | B) = 0.7. If not, P(L | B′) = 0.08.
- These are different, so B and L are not independent.
👀 Watch me do it: all four paths, and P(L)
| What I write | Why I do it |
|---|---|
| Multiply along the path. This is the multiplication rule. | |
| 0.3 = 1 − 0.7: branches from a point add to 1. | |
| Add the two paths ending in L. | |
| Check: . | All four paths together cover everything. |
💡 In plain words
- A path's probability: first branch times second branch.
- Probability of an event at the end: add every path that ends in it.
💡 Label branches fully
Writing P(L | B) next to a second-stage branch reminds you that it is a conditional probability, and it makes reversing the condition (page 3) much easier.
✏️ YOUR TURN 1
Try this first:
P(rain) = 0.3. If it rains, the probability that a bus is late is 0.4; if it doesn't rain, it is 0.1. Find the probability that the bus is late.
Answer:
- Paths ending in late: rain then late ; no rain then late .
- .
Selecting Without Replacement
Here's the most common reason the second stage depends on the first: you don't put things back.
- A bag has 5 red and 3 blue beads. Two are taken one after the other without replacement: the first is not put back.
- After a red is taken there are 4 red and 3 blue left: 7 beads, not 8.

What the picture shows
- The bag starts with 5 red and 3 blue beads.
- Wrong: using 5/8 again treats the red bead as if it went back in the bag, which gives 25/64.
- Right: after one red is taken, 4 of the 7 beads left are red, so .
Recipe: a without-replacement tree
- First stage: fractions out of the full total. Why: nothing has been taken yet.
- Second stage: total goes down by 1, and the colour you took goes down by 1. Why: that bead is no longer in the bag.
- Multiply along, add between paths, and check the paths add to 1.
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Probability and distributions (SL 4.5–4.9)
- Sample Spaces, Venn Diagrams and Set Notation in Probability
- Discrete Random Variables: Probability Functions, Cumulative Distributions and Expectation
- Mutually Exclusive and Independent Events with Tree Diagrams
- The Binomial Distribution: Conditions, Notation and the Probability Formula
- Conditional Probability: The Formula, Venn Diagrams and Two-Way Tables
- Cumulative Binomial Probabilities: At Most, At Least and Between
- Conditional Probability on Tree Diagrams and Testing for Independence
- The Binomial Mean and Variance, and Expected Frequencies
- The Normal Distribution: Shape, Symmetry and the 68–95–99.7 Rule
- Normal Probabilities: Standardising and the Inverse Normal
Video
What's inside for this topic
10 teacher notes, 72 practice questions, 40 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Cumulative Binomial Probabilities: At Most, At Least and Between Next note: The Binomial Mean and Variance, and Expected Frequencies
Conditional Probability on Tree Diagrams and Testing for Independence on other exam boards
All Applications and Interpretation IB Maths topics · IB Maths