4. Statistics and Probability

Tree Diagrams

Tree Diagrams 🌳

Welcome, students! In this lesson, you will learn how tree diagrams help organize probability problems in a clear, visual way. Tree diagrams are especially useful when outcomes happen in steps, such as tossing a coin twice, choosing a snack and then a drink, or testing whether a machine passes two checks. By the end of this lesson, you should be able to explain the key ideas behind tree diagrams, use them to find probabilities, and connect them to broader ideas in statistics and probability.

Learning objectives:

  • Explain the main ideas and terminology behind tree diagrams.
  • Apply IB Mathematics: Applications and Interpretation SL reasoning and procedures related to tree diagrams.
  • Connect tree diagrams to the broader topic of statistics and probability.
  • Summarize how tree diagrams fit within statistics and probability.
  • Use evidence and examples related to tree diagrams in IB Mathematics: Applications and Interpretation SL.

Tree diagrams are a powerful tool because they turn a probability problem into a step-by-step picture. This helps you see all possible outcomes and avoid missing cases. 📊

What is a Tree Diagram?

A tree diagram is a branching diagram used to show all possible outcomes of a process that happens in stages. Each branch represents one possible outcome at a step, and each path from the start to an endpoint represents one complete result.

For example, suppose a student chooses a school lunch. First they choose either $\text{pizza}$ or $\text{salad}$. Then they choose either $\text{water}$ or $\text{juice}$. The tree diagram shows all four combinations:

  • $\text{pizza and water}$
  • $\text{pizza and juice}$
  • $\text{salad and water}$
  • $\text{salad and juice}$

Tree diagrams are useful because they show structure. Instead of listing outcomes randomly, they organize information in the order it happens. This matters in probability, because many real-world situations are sequential.

Important terms to know:

  • Branch: one path from a point to a new outcome.
  • Node: a point where branches split.
  • Path: a complete route through the tree.
  • Outcome: a final result at the end of a path.
  • Event: a set of outcomes, often the ones we care about.

When teaching or solving problems, the biggest advantage of a tree diagram is clarity. You can “see” the sample space, which is the set of all possible outcomes.

Building a Tree Diagram Step by Step

Let’s start with a simple example. A coin is tossed twice. Each toss can be $\text{H}$ for heads or $\text{T}$ for tails. Because the tosses happen in two stages, a tree diagram is ideal.

The first stage has two branches: $\text{H}$ and $\text{T}$. From each of those, the second toss again has two branches: $\text{H}$ and $\text{T}$. The four outcomes are:

  • $\text{HH}$
  • $\text{HT}$
  • $\text{TH}$
  • $\text{TT}$

If the coin is fair, each toss has probability $\frac{1}{2}$ for heads and $\frac{1}{2}$ for tails. To find the probability of one full path, multiply along the branches:

$$P(\text{HH})=\frac{1}{2}\times\frac{1}{2}=\frac{1}{4}$$

The same method works for the other paths. So each outcome has probability $\frac{1}{4}$.

This multiplication rule is one of the most important ideas in tree diagrams. If stages are independent, then the probability of a complete path is the product of the branch probabilities.

Now suppose students is choosing a phone case. There are $3$ colors: $\text{red}$, $\text{blue}$, and $\text{green}$. Then students chooses one of $2$ patterns: $\text{plain}$ or $\text{striped}$. A tree diagram would show $3\times 2=6$ outcomes. This is a good example of how tree diagrams connect to counting and combinatorics as well as probability.

Tree Diagrams with Conditional Probability

Tree diagrams become even more useful when probabilities change depending on earlier outcomes. This is called conditional probability.

Imagine a bag contains $3$ red marbles and $2$ blue marbles. One marble is drawn, not replaced, and then a second marble is drawn. Because the first draw changes the contents of the bag, the probabilities for the second draw depend on what happened first.

At the first stage:

$$P(R)=\frac{3}{5}, \quad P(B)=\frac{2}{5}$$

If a red marble is drawn first, the remaining marbles are $2$ red and $2$ blue, so:

$$P(R\mid R)=\frac{2}{4}=\frac{1}{2}, \quad P(B\mid R)=\frac{2}{4}=\frac{1}{2}$$

If a blue marble is drawn first, the remaining marbles are $3$ red and $1$ blue, so:

$$P(R\mid B)=\frac{3}{4}, \quad P(B\mid B)=\frac{1}{4}$$

The tree diagram helps keep all these probabilities organized. To find the probability of drawing $\text{red then blue}$, multiply the probabilities along that path:

$$P(R\text{ then }B)=\frac{3}{5}\times\frac{1}{2}=\frac{3}{10}$$

This is a perfect example of why tree diagrams are valuable in IB Mathematics: Applications and Interpretation SL. Many exam questions involve sequential events, and a tree diagram reduces confusion by showing how the probabilities change at each stage.

A very important idea here is the difference between independent and dependent events:

  • Events are independent if one does not affect the other.
  • Events are dependent if one event changes the probabilities of later events.

Without replacement usually creates dependence. With replacement often creates independence, because the situation resets after each draw.

Using Tree Diagrams to Find Combined Probabilities

A tree diagram can help you calculate probabilities for events made up of several outcomes. Sometimes the event is not one specific path, but a group of paths.

For example, suppose a student flips a fair coin twice. What is the probability of getting exactly one head?

The favorable outcomes are $\text{HT}$ and $\text{TH}$.

Each has probability:

$$P(\text{HT})=\frac{1}{4}, \quad P(\text{TH})=\frac{1}{4}$$

So the total probability is:

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

This uses the addition rule: if outcomes do not overlap, add their probabilities.

Tree diagrams also help with “at least one” questions. For instance, if a student tosses a coin twice, the probability of at least one head is:

$$P(\text{at least one head})=1-P(\text{no heads})$$

Since “no heads” means $\text{TT}$,

$$P(\text{at least one head})=1-\frac{1}{4}=\frac{3}{4}$$

This strategy is common in probability: sometimes it is easier to find the complement event first. Tree diagrams make that complement visible.

Another frequent IB-style question involves testing a process. For example, a factory produces items, and each item can be $\text{good}$ or $\text{faulty}$. A tree diagram can model the probability that two items chosen in sequence include exactly one faulty item. This kind of interpretation is important because statistics and probability are used to make real decisions in industry, medicine, and quality control.

Common Mistakes and How to Avoid Them

students, one of the biggest mistakes is forgetting that probabilities on branches must match the current situation. If the question says “without replacement,” the second-stage probabilities change.

Another common mistake is adding probabilities when you should multiply, or multiplying when you should add.

Remember:

  • Multiply along a path to find the probability of one complete sequence.
  • Add probabilities of separate paths if the event can happen in more than one way.

A third mistake is leaving out outcomes. A tree diagram should include every possible branch. If a branch is missing, then the sample space is incomplete, and the answer may be wrong.

A good habit is to check whether all probabilities from one node add to $1$. For example, if a node has branches with probabilities $\frac{3}{4}$ and $\frac{1}{4}$, their sum is

$$\frac{3}{4}+\frac{1}{4}=1$$

This is a useful check for accuracy.

Tree diagrams also fit into broader statistical reasoning because they help model uncertain events. In statistics, models are simplifications of reality. A tree diagram is a model of a process that happens in stages. If the model is based on correct probabilities, it can support predictions and decisions.

Conclusion

Tree diagrams are a clear and practical way to organize probability problems that happen step by step. They help you list outcomes, track changes in probability, and decide when to multiply or add probabilities. In IB Mathematics: Applications and Interpretation SL, tree diagrams are especially important because they connect probability rules, conditional probability, independence, and real-world decision-making. 🌟

When you see a question with multiple stages, ask yourself: What happens first? What happens next? Do the probabilities change? If you build the tree carefully, the solution becomes much easier to see. Tree diagrams are not just a drawing tool; they are a thinking tool for statistics and probability.

Study Notes

  • A tree diagram shows outcomes of a process that happens in stages.
  • A branch represents one possible outcome at a step.
  • A node is where branches split.
  • A path is one complete sequence of outcomes.
  • The sample space is the set of all possible outcomes.
  • Multiply probabilities along a path to find the probability of that sequence.
  • Add probabilities of separate paths when an event can happen in more than one way.
  • If events are independent, earlier outcomes do not change later probabilities.
  • If events are dependent, later probabilities change after earlier outcomes.
  • Without replacement usually creates dependence.
  • With replacement usually keeps probabilities the same.
  • Tree diagrams are useful for coin tosses, marble draws, quality control, and other real-world situations.
  • They connect to statistics by modeling uncertainty and supporting decisions based on evidence.

Practice Quiz

5 questions to test your understanding

Tree Diagrams — IB Mathematics Applications And Interpretation SL | A-Warded