Lesson 5

Tree diagram calculations

Theory and examples

In the last lesson, a tree diagram helped us list the sample space. Now we will use the same tree to calculate probabilities.

A tree calculation is built on two ideas: and and or. If we travel along one full path, the branches happen one after another. That means one branch happens and then the next branch happens, so we multiply the probabilities written on those branches.

If the event we want can be reached by more than one full path, then this path works or another path works. In that case, we add the probabilities of the successful paths.

Multiplying down paths

For one full path, multiply the probabilities on each consecutive branch.

1/21/2AP(A) = 1/2 x 1/2

Adding multiple paths

If more than one full path works, find each path probability first, then add them.

path Apath BP = path A + path B

Worked example

Two coins are flipped consecutively, we represent the sample space as a tree diagram.

Multiplying paths

Suppose we want the final outcome HHHH: heads on the first stage and heads on the second stage.

To land on HHHH, we need heads on the first branch and heads on the second branch. Since we are moving along one full path, we multiply.

P(HH)=12×12=14P(HH)=\frac{1}{2}\times\frac{1}{2}=\frac{1}{4}

Adding multiple paths

Now suppose the event we want is exactly one head. The tree gives us two successful full paths: HTHT or THTH.

First, calculate each successful path by multiplying along its branches.

P(HT)=12×12=14P(HT)=\frac{1}{2}\times\frac{1}{2}=\frac{1}{4}
P(TH)=12×12=14P(TH)=\frac{1}{2}\times\frac{1}{2}=\frac{1}{4}

Since HTHT works or THTH works, we add the two successful path probabilities.

P(exactly one head)=14+14=12P(\text{exactly one head})=\frac{1}{4}+\frac{1}{4}=\frac{1}{2}

There is also a useful check. If the tree is complete, then all final paths together make the full sample space, so their probabilities add to 11.

Check the full tree

P(HH)+P(HT)+P(TH)+P(TT)=1P(HH)+P(HT)+P(TH)+P(TT)=1
14+14+14+14=1\frac{1}{4}+\frac{1}{4}+\frac{1}{4}+\frac{1}{4}=1

Summary

One full path gives one final outcome.

To find one path probability, multiply along the branches.

If more than one path works, add the working path probabilities.

A complete tree's final path probabilities should add to 1.

Optional mastery

Mastery questions

Do you want a high study score? Be disciplined. Do the mastery questions.

Open mastery questions

Checkpoint

Multiple-choice questions

Answer every question correctly to unlock the next lesson. If something is marked red, change your answer and check again.

Question 1
A path has probability 1/2 on the first branch and 1/2 on the second branch. What is the probability of that full path?
Question 2
Which full paths show exactly one head when two coins are flipped?
Question 3
If two different paths both work for the event we want, what do we do with their probabilities?
Question 4
In a complete tree diagram, what should the probabilities of all final paths add to?