Main Index>>Probability > How to Use a Probability Tree

Watch the video or Read the steps below to find out how to use a probability tree:

## How to Use a Probability Tree or Decision Tree: Overview

Sometimes, you’ll be faced with a probability question that just doesn’t have a simple solution. Drawing a **probability tree** (or a **tree diagram**) is a way for you to visually see all of the possible choices, and to avoid making mathematical errors. This how to will show you the step-by-step process of using a decision tree.

## How to Use a Probability Tree: Steps

**Sample question**: “An airplane manufacturer has three factories A B and C which produce 50%, 25%, and 25%, respectively, of a particular airplane. Seventy percent of the airplanes produced in factory A are passenger airplanes, 25% of those produced in factory B are passenger airplanes, and 25% of the airplanes produced in factory C are passenger airplanes. If an airplane produced by the manufacturer is selected at random, calculate the probability the airplane will be a passenger plane.”

**Step 1:***Draw lines to represent the first set of options in the question* (in our case, 3 factories). Label them (our question list A B and C so that is what we’ll use here).

**Step 2:** *Convert the percentages to decimals*, and place those on the appropriate branch in the diagram. For our example, 50% = 0.5, and 25% = 0.25.

**Step 3:** *Draw the next set of branches.* In our case, we were told that 70% of factory A’s output was passenger. Converting to decimals, we have 0.7 P (“P” is just my own shorthand here for “Passenger”) and 0.3 NP (“NP” = “Not Passenger”).

**Step 4:***Repeat step 3 for as many branches as you are given*.

**Step 5:** *Multiply the probabilities of the first branch that produces the desired result together*. In our case, we want to know about the production of passenger places, so we choose the first branch that leads to P.

**Step 6:** *Multiply the remaining branches that produce the desired result.* In our example there are two more branches that can lead to P.

**Step 6:** *Add up all of the probabilities you calculated in steps 5 and 6. *In our example, we had:

.35 + .0625 + .0625 = **.475**

That’s it!

I thought that this problem explanation was very helpful. When doing homework problems related to this, the explanation was not helpful. This explanation walked you thru step by step.

I agree that this is helpful looking at it explained in detail. I didn’t see anything like this in the book. The first time I saw the probability tree mentioned was in doing the homework assignment in mathzone.

I certainly found the decision tree approach useful for this particular problem. However, based on my brief experience doing homework, two things you may want to watch out for:

1. If a decision (e.g. pulling a 5 out of a deck of cards) changes the state of the problem, make sure the denominators of your fractions are correct. For instance, if there’s 4/52 kings in a deck, pulling one leaves 3/51 kings in the deck, not 3/52.

2. Decision trees can grow exponentially large, so be on the lookout for patterns when you use them. If you’re taking a test and you forget some rules of combinatorics, making a simpler instance of your test question (e.g. draw 2 cards instead of 5) may help you find patterns more quickly. Really, though, nPr, nCr, and the counting principles are really great to hang on to.

I actually had prior exposure to decision trees participating in Google Code Jam (see http://code.google.com/codejam/contest/dashboard?c=186264# if you’re interested). The great thing about learning probability as a computer science student is that both fields share a lot of concepts :)

Joey,

Thanks for your insights into solving probabilities. I’m sure that as you have experience programming you are going to find stats a breeze!

Stephanie

This was extremely helpful!! I wish I looked over this sooner!! Thanks

I used the probability tree in Mathzone on the problem regarding the car companies producing the different colored cars. The book did not touch on the tree concept at all. This is an easy way to understand the problem as well as check for mistakes.

This was very helpful, I shouldve looked at this before and I bet I wouldve done better on it.

The probability tree really helped me with these probability problems when I was working in mathzone. It explained exactly how to work those type of problems. Made it so much easier for me to have a diagram to follow.

so looooooooooooooooooooooooooooooooooonggggggggggggg!

so helpful thanx a bunch TT _ TT <——this was suppose 2 be a crying face but thanx anyway ^,^

long but helpful yes…

very nice explanation of tree method.it will help to solve conditional probability.thank u sir

Hi,

There is a typing mistake. 0.35 + 0.625 + 0.625 is not equal to 0.475 but rather 1.6 so it should be 0.35 + 0.0625 + 0.0625.

Just thought i would correct it.

Morne,

Thanks for taking the time to point that out :)

Stephanie