Calculating Path Probabilities

Introduction

Welcome back to Tree Diagrams and Decisions! Lesson three of four means we are nearly at the finish line for this course. In the first two lessons, we built tree diagrams to map every possible outcome path and then labeled each branch with the correct probability. Those labeled trees hold all the information we need — now it is time to put those numbers to work. In this lesson, we will learn to calculate the probability of any specific outcome sequence by multiplying along its path through the tree.

From Labels to Likelihoods

Picture a fully labeled tree diagram as a road map with distance markers on every road segment. The structure shows every possible route from start to finish, and the branch labels tell us how likely each individual segment is. To answer the question "How likely is this particular sequence of outcomes?", we need a way to combine the markers along that one route.

The tool for doing this is straightforward: multiplication. By multiplying the branch probabilities we encounter as we travel from the root node to a specific endpoint, we get the probability of that exact outcome sequence. Let us look at why this works and how to apply it step by step.

Road map metaphor showing probability labels on branching path segments with one route highlighted and its branch values multiplied at the endpoint

The Path-Probability Rule

Two-Stage Example: Movie Night

Path Probabilities with Dependent Stages

Comparing Paths Side by Side

Conclusion and Next Steps

In this lesson, we learned the path-probability rule: multiply all the branch probabilities along a path to find the probability of that specific outcome sequence. This rule works for both independent and dependent stages because the branch labels already encode the correct conditional probabilities. We also saw that comparing path probabilities is simply a matter of computing each product and checking which is larger — and that all path probabilities in a tree should sum to 11.

Now it is time to put your multiplication skills to the test! The practice exercises ahead will walk you through quality inspections, shipping logistics, sales funnels, and travel itineraries — each presenting a labeled tree with paths waiting to be traced and multiplied. Roll up your sleeves and let us start crunching those branches!

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal