## Tree and Venn Diagrams

### Learning Outcomes

• Construct and interpret Tree Diagrams
• Construct and interpret Venn Diagrams

Sometimes, when the probability problems are complex, it can be helpful to graph the situation. Tree diagrams and Venn diagrams are two tools that can be used to visualize and solve conditional probabilities.

## Tree Diagrams

A tree diagram is a special type of graph used to determine the outcomes of an experiment. It consists of “branches” that are labeled with either frequencies or probabilities. Tree diagrams can make some probability problems easier to visualize and solve. The following example illustrates how to use a tree diagram.

### Example

In an urn, there are 11 balls. Three balls are red ($R$) and eight balls are blue ($B$). Draw two balls, one at a time, with replacement. “With replacement” means that you put the first ball back in the urn before you select the second ball. The tree diagram using frequencies that show all the possible outcomes follows.

The first set of branches represents the first draw. The second set of branches represents the second draw. Each of the outcomes is distinct. In fact, we can list each red ball as $R1$, $R2$, and $R3$ and each blue ball as $B1$, $B2$, $B3$, $B4$, $B5$, $B6$, $B7$, and $B8$. Then the nine $RR$ outcomes can be written as:
$R1R1;\,\, R1R2;\,\, R1R3;\,\, R2R1;\,\, R2R2;\,\, R2R3;\,\, R3R1;\,\, R3R2;\,\, R3R3$
The other outcomes are similar.

There are a total of $11$ balls in the urn. Draw two balls, one at a time, with replacement. There are $11(11) = 121$ outcomes, the size of the sample space.

1. List the $24$ $BR$ outcomes: $B1R1$, $B1R2$, $B1R3$, …
2. Using the tree diagram, calculate $P(RR)$.
3. Using the tree diagram, calculate $P(RB \text{ OR } BR)$.
4. Using the tree diagram, calculate $P(R \text{ on 1st draw AND } B \text { on 2nd draw })$.
5. Using the tree diagram, calculate $P(R \text{ on 2nd draw GIVEN } B \text { on 1st draw })$.
6. Using the tree diagram, calculate $P(BB)$.
7. Using the tree diagram, calculate $P(B \text{ on the 2nd draw given } R \text { on the first draw })$.

1. $B1R1;\, B1R2;\,\, B1R3;\, B2R1;\, B2R2;\, B2R3;\, B3R1;\, B3R2;\, B3R3;\, B4R1;\, B4R2;\, B4R3;\, B5R1;\, B5R2;\, B5R3;\, B6R1;\, B6R2;\, B6R3;\, B7R1;\, B7R2;\, B7R3;\, B8R1;\, B8R2;\, B8R3$
2. $P(RR) = \frac{3}{11}\frac{3}{11} = \frac{9}{121}$
3. $P(RB \text{ OR } BR) = \frac{3}{11}\frac{8}{11} + \frac{8}{11}\frac{3}{11} = \frac{48}{121}$
4. $P(R \text{ on 1st draw AND } B \text{ on 2nd draw}) = P(RB) = \frac{3}{11}\frac{8}{11} = \frac{24}{121}$
5. $P(R \text{ on 2nd draw GIVEN } B \text{ on 1st draw}) = P(R \text{ on 2nd }|B \text{ on 1st }) = \frac{24}{88} = \frac{3}{11}.$ This problem is a conditional one. The sample space has been reduced to those outcomes that already have a blue on the first draw. There are $24 + 64 = 88$ possible outcomes ($24 BR \text{ and } 64 BB$). Twenty-four of the $88$ possible outcomes are $BR$. $\frac{24}{88} = \frac{3}{11}$.
6. $P(BB) = \frac{64}{121}$
7. $P(B \text{ on 2nd draw }|R \text{ on 1st draw }) = \frac{8}{11}$ There are $9 + 24$ outcomes that have $R$ on the first draw ($9 RR \text{ and } 24 RB$). The sample space is then $9 + 24 = 33$. $24$ of the $33$ outcomes have $B$ on the second draw. The probability is then $\frac{24}{33}$.

### Example

An urn has three red marbles and eight blue marbles in it. Draw two marbles, one at a time, this time without replacement, from the urn. “Without replacement” means that you do not put the first ball back before you select the second marble. Following is a tree diagram for this situation. The branches are labeled with probabilities instead of frequencies. The numbers at the ends of the branches are calculated by multiplying the numbers on the two corresponding branches, for example, (311)(210)=6110. Total = $\displaystyle\frac{{56+24+24+6}}{{110}}=\frac{{110}}{{110}}=1$ NOTE

If you draw a red on the first draw from the three red possibilities, there are two red marbles left to draw on the second draw. You do not put back or replace the first marble after you have drawn it. You draw without replacement, so that on the second draw there are ten marbles left in the urn.