---
title: "Probability Explained: Rules, Tree Diagrams, Worked Examples"
description: "Learn probability from the 0 to 1 scale to sample spaces, relative frequency, and/or rules and tree diagrams, with worked examples and 40 practice questions."
slug: probability
canonical: https://learn.modernagecoders.com/resources/maths/probability/
category: "Maths"
keywords: ["probability", "probability for kids", "how to calculate probability", "probability tree diagrams", "probability questions with answers", "independent events probability", "mutually exclusive events", "relative frequency", "two dice probability", "probability without replacement"]
---
# Probability

**Difficulty:** Intermediate  
**Reading time:** 26 min  
**Chapter:** 15  
**Practice questions:** 40

## What Is Probability?

**Probability** is the maths of chance. It measures how likely something is to happen, using a number from **0** to **1**. A probability of 0 means the thing is impossible, a probability of 1 means it is certain, and everything else sits somewhere in between.

For example, when you flip a fair coin there are two outcomes, heads and tails, and they are equally likely. So the probability of heads is 1 out of 2, written **½**, **0.5** or **50%**. When you roll an ordinary six-sided dice (a die, if you prefer the traditional singular), the probability of rolling a 6 is 1 out of 6, written **1/6**.

Probability does not tell you exactly what will happen next. Nobody can predict a single coin flip. What it does tell you is what happens **in the long run**: if you flip a fair coin thousands of times, close to half the flips will be heads. That long-run pattern is surprisingly reliable, and it is what makes probability so useful.

In this chapter you will learn the key words, place events on the probability scale, calculate probabilities by counting outcomes, use the rules for "not", "or" and "and", estimate probabilities from experiments, and solve problems with two or more events using sample space diagrams and tree diagrams.

## Why Does It Matter?

Every day you make decisions without knowing for certain what will happen. Probability gives you a way to think clearly about that uncertainty instead of guessing.

### Weather forecasts

When a forecast says there is a 70% chance of rain, it is giving a probability. Forecasters look at how often rain followed similar conditions in the past. Knowing what 70% really means (rain is likely but not certain) helps you decide whether to take an umbrella.

### Games and sport

Board games, card games and dice games are all built on probability. Knowing that 7 is the most likely total when you roll two dice is a real advantage in many games. Sports analysts use probabilities to decide things like when to go for a risky play and which penalty taker to choose.

### Health and science

Doctors and scientists use probability to judge how well a treatment works and how likely side effects are. Scientists use it to decide whether an experiment's result is likely to be real or just luck.

### Phones and computers

Your email's spam filter works out the probability that a message is junk from the words it contains. Predictive text suggests the next word that is most probable. Music and video apps recommend what you are most likely to enjoy next.

### Money and safety

Insurance companies use probabilities to set the cost of cover. Engineers estimate the chance that a part might fail so they can build in safety margins for bridges, aircraft and power stations.

### Not being fooled

Probability also protects you from common thinking traps, such as believing that a coin is "due" a tail after several heads. Understanding chance helps you spot misleading claims and make better choices.

## Probability Explained Step by Step

### 1. The language of chance

Imagine you are about to roll a dice. Probability has a few special words for this situation, and they make every later idea easier to explain.

- An **experiment** (or **trial**) is the action whose result is uncertain: rolling the dice once.
- An **outcome** is one possible result: rolling a 4.
- The **sample space** is the list of all possible outcomes: 1, 2, 3, 4, 5, 6.
- An **event** is an outcome or group of outcomes you are interested in: "rolling an even number" is the event {2, 4, 6}.
- **Fair** (or unbiased) means every outcome is equally likely. A **biased** dice or coin favours some outcomes.
- **At random** means without choosing, so that each item has the same chance of being picked.

We write the probability of an event A as **P(A)**. So P(even) means "the probability of rolling an even number".

### 2. The probability scale

Imagine a line drawn from 0 to 1. Every probability lives somewhere on that line. Nothing can be less likely than impossible or more likely than certain, so a probability can **never be less than 0 or greater than 1**.

ProbabilityWordExample

0ImpossibleRolling a 7 on a normal dice
Between 0 and 0.5UnlikelyRolling a 6
0.5Even chanceA fair coin landing on heads
Between 0.5 and 1LikelyRolling a number bigger than 1
1CertainRolling a number less than 7

### 3. Calculating probability with equally likely outcomes

Imagine a bag with 3 red sweets and 7 yellow sweets, all the same size and shape. You reach in without looking. There are 10 sweets, each just as likely to be picked, and 3 of them are red. So the chance of red is 3 out of 10.

When all outcomes are equally likely:

**P(event) = number of outcomes in the event ÷ total number of possible outcomes**

Example: the probability of rolling a number greater than 4 on a fair dice. The outcomes that count are 5 and 6, which is 2 outcomes out of 6. So P(greater than 4) = 2/6 = **1/3**.

Always simplify fractions where you can, but an unsimplified correct fraction is still correct.

### 4. Writing probabilities: fractions, decimals and percentages

A probability can be written as a **fraction** (3/10), a **decimal** (0.3) or a **percentage** (30%). All three mean the same thing, and you can convert between them as in the decimals and percentages chapter.

Do **not** write a probability as a ratio like 3 : 7, or in words like "3 in 7" in your final answer. The ratio 3 : 7 compares red with yellow; the probability of red is 3/10, because you divide by the **total**.

### 5. The probability that something does NOT happen

Imagine the weather forecast says the probability of rain tomorrow is 0.35. Either it rains or it does not, and one of those must happen. So the two probabilities must add to 1.

**P(not A) = 1 − P(A)**

So P(no rain) = 1 − 0.35 = **0.65**. This rule is often the quickest route to an answer. For example, P(not rolling a 6) = 1 − 1/6 = 5/6.

More generally, the probabilities of **all** the different possible outcomes of an experiment always add up to exactly 1. This lets you find a missing value in a table. If a spinner lands on red with probability 0.2, blue 0.35 and yellow 0.15, then green must be 1 − (0.2 + 0.35 + 0.15) = 0.3.

### 6. Listing outcomes and sample space diagrams

Imagine rolling a red dice and a blue dice together. How many different results are there? It is easy to lose track, so we list the outcomes **systematically** (in an organised order), often in a grid called a **sample space diagram**.

Here each cell shows the total of the two dice:

+123456

1234567
2345678
3456789
45678910
567891011
6789101112

There are 6 × 6 = **36** equally likely outcomes. A total of 7 appears 6 times, so P(total of 7) = 6/36 = 1/6. A total of 2 appears only once, so P(total of 2) = 1/36. This is why 7 is the most common total.

Notice that red 1 with blue 6 is a **different outcome** from red 6 with blue 1. The same is true for coins: with two coins, the outcomes are HH, HT, TH and TT, four in total, not three.

A useful counting fact: if one experiment has m outcomes and another has n outcomes, together they have **m × n** outcomes.

### 7. Experimental probability and expected frequency

Imagine dropping a drawing pin (a thumbtack in the US). It can land point up or point down, but these are not equally likely, and there is no way to work out the answer just by counting. Instead, you do an experiment: drop it many times and record the results.

**Relative frequency = number of times the event happened ÷ number of trials**

If the pin lands point up 37 times in 50 drops, the relative frequency is 37/50 = 0.74. This is an **estimate** of the probability, sometimes called the **experimental probability**. The more trials you do, the more reliable the estimate tends to be. With only 5 drops you could easily get a misleading result; with 500 the estimate is usually much closer to the true value.

Going the other way, you can predict how often something should happen:

**Expected frequency = probability × number of trials**

If a fair dice is rolled 120 times, you expect about 1/6 × 120 = 20 sixes. "Expected" means "about this many on average", not exactly this many every time.

Relative frequency is also how we test whether something is fair. If a coin gave 80 heads in 100 flips, that is far from the expected 50, which would make us suspect it is biased.

### 8. Mutually exclusive events: the OR rule

Imagine picking one card from a bag of coloured cards. The card cannot be both red and blue at the same time. Events that cannot happen together are called **mutually exclusive**.

For mutually exclusive events, the probability of one **or** the other is found by adding:

**P(A or B) = P(A) + P(B)** (only when A and B are mutually exclusive)

Example: a spinner has P(red) = 0.2 and P(blue) = 0.35. P(red or blue) = 0.2 + 0.35 = 0.55.

Be careful when events **can** overlap. In a pack of 52 playing cards, "king" and "heart" can happen together (the king of hearts). Adding 4/52 + 13/52 counts the king of hearts twice. The correct count is 4 + 13 − 1 = 16 cards, so P(king or heart) = 16/52 = 4/13.

### 9. Independent events: the AND rule

Imagine flipping a coin and rolling a dice. What the coin does has no effect at all on the dice. Events like this, where one does not change the chances of the other, are called **independent**.

For independent events, the probability of both happening is found by multiplying:

**P(A and B) = P(A) × P(B)** (when A and B are independent)

Example: P(heads and a 6) = ½ × 1/6 = 1/12. You can check this by listing: there are 2 × 6 = 12 equally likely coin and dice pairs, and only one of them is (heads, 6).

Multiplying makes sense: "and" asks for two things to happen, which is harder than one, so the answer gets smaller. Multiplying two numbers between 0 and 1 always gives a smaller number.

Independence also means that coins and dice have no memory. Even after five heads in a row, a fair coin still has P(heads) = ½ on the next flip.

### 10. Tree diagrams

Imagine a path that splits into branches at every choice, like a tree lying on its side. A **tree diagram** shows each stage of an experiment as a set of branches, with the probability written on each branch.

Example: the probability that it rains on any day is 0.3, and each day is independent. For two days:

Day 1Day 2PathProbability

Rain (0.3)Rain (0.3)R, R0.3 × 0.3 = 0.09
Rain (0.3)Dry (0.7)R, D0.3 × 0.7 = 0.21
Dry (0.7)Rain (0.3)D, R0.7 × 0.3 = 0.21
Dry (0.7)Dry (0.7)D, D0.7 × 0.7 = 0.49

Two rules make tree diagrams work:

- **Multiply along a path** to get the probability of that whole sequence (this is the AND rule).
- **Add the paths you want** (this is the OR rule, because different paths are mutually exclusive).

So P(rain on exactly one day) = 0.21 + 0.21 = **0.42**. The branches from each point add to 1, and all the final path probabilities add to 1 too: 0.09 + 0.21 + 0.21 + 0.49 = 1. That is a good check.

### 11. With and without replacement

Imagine taking a sweet from a bag, looking at it, and then either putting it back or eating it. If you put it back (**with replacement**), the bag is the same for the second pick and the probabilities do not change. If you eat it (**without replacement**), the bag now has one fewer sweet, so the second-pick probabilities change.

Example: a bag has 4 red and 6 blue counters, and two are taken without replacement. P(first red) = 4/10. If the first was red, there are now 3 red out of 9, so P(second red) = 3/9. Therefore

P(both red) = 4/10 × 3/9 = 12/90 = **2/15**.

In a tree diagram without replacement, both the top and the bottom of the fractions change on the second set of branches. The bottom (the total) always goes down by one.

## Worked Examples

### A single dice

A fair six-sided dice is rolled once. Find the probability of rolling (a) an even number, (b) a number less than 3.

1. The sample space is 1, 2, 3, 4, 5, 6: six equally likely outcomes.
2. (a) Even numbers: 2, 4, 6. That is 3 outcomes, so P(even) = 3/6 = 1/2.
3. (b) Less than 3: 1 and 2. That is 2 outcomes, so P(less than 3) = 2/6 = 1/3.

**Answer:** **(a) 1/2 (b) 1/3**

"Less than 3" does not include 3 itself. Read inequality words carefully before you count.

### Picking from a bag

A bag contains 3 red, 5 blue and 2 green marbles. One marble is picked at random. Find P(blue) and P(not green).

1. Total marbles = 3 + 5 + 2 = 10.
2. P(blue) = 5/10 = 1/2.
3. P(green) = 2/10, so P(not green) = 1 − 2/10 = 8/10 = 4/5.

**Answer:** **P(blue) = 1/2, P(not green) = 4/5**

Check P(not green) by counting: 3 red + 5 blue = 8 marbles that are not green, out of 10. Same answer.

### Two dice and a sample space diagram

Two fair dice are rolled and their scores are added. Find the probability that the total is 7, and the probability that the total is 10 or more.

1. Using the 6 × 6 grid, there are 36 equally likely outcomes.
2. Total 7: (1,6), (2,5), (3,4), (4,3), (5,2), (6,1). That is 6 outcomes, so P(7) = 6/36 = 1/6.
3. Total 10: (4,6), (5,5), (6,4) = 3. Total 11: (5,6), (6,5) = 2. Total 12: (6,6) = 1. So 3 + 2 + 1 = 6 outcomes.
4. P(10 or more) = 6/36 = 1/6.

**Answer:** **P(7) = 1/6, P(10 or more) = 1/6**

Listing in order of the first dice makes sure nothing is missed or counted twice.

### Estimating from an experiment

A drawing pin is dropped 50 times and lands point up 37 times. (a) Estimate the probability that it lands point up. (b) How many times would you expect it to land point up in 400 drops?

1. (a) Relative frequency = 37 ÷ 50 = 0.74.
2. (b) Expected frequency = probability × number of trials = 0.74 × 400 = 296.

**Answer:** **(a) 0.74 (b) about 296 times**

This is only an estimate. More drops would give a more reliable estimate of the true probability.

### Expected frequency from a spinner

A spinner has P(red) = 0.3. It is spun 200 times. How many times would you expect it to land on red? How many times would you expect it NOT to land on red?

1. Expected reds = 0.3 × 200 = 60.
2. P(not red) = 1 − 0.3 = 0.7, so expected non-reds = 0.7 × 200 = 140.

**Answer:** **About 60 reds and 140 non-reds**

Check: 60 + 140 = 200, the total number of spins.

### Independent events: coin and dice

A fair coin is flipped and a fair dice is rolled. Find the probability of getting heads and a 6.

1. The coin cannot affect the dice, so the events are independent.
2. P(heads) = 1/2 and P(6) = 1/6.
3. P(heads and 6) = 1/2 × 1/6 = 1/12.

**Answer:** **1/12**

Check by listing: there are 2 × 6 = 12 equally likely pairs (H1, H2, ..., T6), and only H6 works.

### Tree diagram: rain on two days

The probability that it rains on any given day is 0.3, independently of other days. Find the probability that it rains on (a) both days, (b) exactly one of the two days, (c) at least one day.

1. Draw a tree: each day branches into Rain (0.3) and Dry (0.7).
2. (a) P(R, R) = 0.3 × 0.3 = 0.09.
3. (b) Exactly one day has two paths: P(R, D) + P(D, R) = 0.3 × 0.7 + 0.7 × 0.3 = 0.21 + 0.21 = 0.42.
4. (c) At least one = 1 − P(no rain at all) = 1 − 0.7 × 0.7 = 1 − 0.49 = 0.51.

**Answer:** **(a) 0.09 (b) 0.42 (c) 0.51**

Check: (a) + (b) should equal (c), because "at least one" means "exactly one or both". 0.09 + 0.42 = 0.51.

### Without replacement

A bag contains 4 red and 6 blue counters. Two counters are taken out one after the other without replacement. Find the probability that (a) both are red, (b) one is red and one is blue.

1. First pick: P(red) = 4/10, P(blue) = 6/10.
2. (a) After a red, 3 red remain out of 9. P(both red) = 4/10 × 3/9 = 12/90 = 2/15.
3. (b) Red then blue: 4/10 × 6/9 = 24/90. Blue then red: 6/10 × 4/9 = 24/90.
4. Add the two paths: 24/90 + 24/90 = 48/90 = 8/15.

**Answer:** **(a) 2/15 (b) 8/15**

Check: P(both blue) = 6/10 × 5/9 = 30/90. All three cases: 12/90 + 48/90 + 30/90 = 90/90 = 1.

## Common Mistakes

### Adding when you should multiply

**Wrong:** P(heads and a 6) = 1/2 + 1/6 = 2/3  
**Right:** P(heads and a 6) = 1/2 × 1/6 = 1/12

For two independent events both happening (AND), multiply. Adding is for one event OR another when they cannot happen together. A quick sense check: needing two things to happen should be less likely than either one alone, so the answer must be smaller.

### Thinking chance has a memory

**Wrong:** After 5 heads in a row, tails is now more likely  
**Right:** Each flip of a fair coin still has P(heads) = P(tails) = 1/2

This is called the gambler's fallacy. A coin does not know what it did before, so independent events are not "due". Long-run patterns even out because of the huge number of future flips, not because the coin corrects itself.

### Forgetting that the total changes without replacement

**Wrong:** 4 red, 6 blue, no replacement: P(both red) = 4/10 × 4/10  
**Right:** P(both red) = 4/10 × 3/9 = 2/15

If the first item is not put back, there is one fewer item in total and one fewer of that colour. Read the question for words like "without replacement", "eats" or "does not put it back", and change both the top and bottom of the second fraction.

### Double counting overlapping events

**Wrong:** P(king or heart) = 4/52 + 13/52 = 17/52  
**Right:** P(king or heart) = 16/52 = 4/13

You can only add probabilities directly if the events cannot happen together. Here the king of hearts is both, so it was counted twice. Count the outcomes that fit (4 kings + 13 hearts − 1 overlap = 16), or subtract the overlap.

### Treating different orders as the same outcome

**Wrong:** Two coins: outcomes HH, one of each, TT, so P(one of each) = 1/3  
**Right:** Outcomes HH, HT, TH, TT, so P(one of each) = 2/4 = 1/2

Imagine the coins are different colours: a 10p heads with a 20p tails is different from a 10p tails with a 20p heads. The four outcomes are equally likely; the three groups are not. List outcomes systematically to avoid this.

### Using only one path for "exactly one"

**Wrong:** P(rain on exactly one day) = 0.3 × 0.7 = 0.21  
**Right:** P(exactly one) = 0.3 × 0.7 + 0.7 × 0.3 = 0.42

"Exactly one" can happen in more than one order: rain then dry, or dry then rain. On a tree diagram, find every path that matches the event, multiply along each path, then add the paths together.

## Summary

- Probability measures how likely an event is, on a scale from 0 (impossible) to 1 (certain).
- With equally likely outcomes, P(event) = number of outcomes in the event ÷ total number of outcomes.
- Write probabilities as fractions, decimals or percentages, never as ratios.
- P(not A) = 1 − P(A), and the probabilities of all possible outcomes add up to 1.
- List outcomes systematically; a sample space diagram for two dice has 36 equally likely outcomes.
- Relative frequency (times it happened ÷ number of trials) estimates a probability, and more trials give a more reliable estimate.
- Expected frequency = probability × number of trials.
- For mutually exclusive events, P(A or B) = P(A) + P(B).
- For independent events, P(A and B) = P(A) × P(B); coins and dice have no memory.
- On a tree diagram multiply along the branches and add the paths you need; without replacement the second-stage fractions change.

## Related Topics

- undefined
- undefined
- undefined
- undefined

---

*Source: https://learn.modernagecoders.com/resources/maths/probability/*
*Practice questions: https://learn.modernagecoders.com/resources/maths/probability/practice/*
