Course contentsShow
← Data Science
Lesson 96 of 2,1453. Probability FoundationsFree lesson

Conditional Probability in Tree Diagrams

Use tree diagrams to visualize sequential events and calculate probabilities along branches.

Conditional Probability in Tree Diagrams

What you'll learn: How to use tree diagrams to map out sequential events and calculate probabilities step-by-step along branches.

Why Tree Diagrams?

When events happen in sequence—like flipping a coin twice, or drawing cards without replacement—keeping track of all possible outcomes and their probabilities can get messy. Tree diagrams organize this beautifully by showing each stage as branching paths, where you can see the conditional probabilities at each decision point.

How Tree Diagrams Work

A tree diagram starts with a single point and branches out for each possible outcome of the first event. From each of those branches, you draw new branches for the second event's outcomes. Each branch is labeled with its conditional probability given the path you took to reach it.

Think of it like a choose-your-own-adventure book: Each choice (event) leads to new pages (branches), and the probability of reaching any ending is found by multiplying the probabilities along the path you took.

Calculating Along Branches

To find the probability of any complete path through the tree:

  1. Start at the root (beginning)
  2. Move along your chosen branches
  3. Multiply the probabilities on each branch you traverse

This applies the multiplication rule you've learned: the probability of a sequence of events equals the product of conditional probabilities along that path.

Example Structure

Imagine drawing two marbles from a bag (without replacement). The first branch shows P(Red) and P(Blue). If you took the Red branch, the second set of branches shows P(Blue|Red) and P(Red|Red)—probabilities conditional on having drawn red first.

Key Takeaway: Tree diagrams turn complex sequential probability problems into visual roadmaps where you multiply along branches to find the probability of any complete outcome path.