Probability AA SL
A probability compares the outcomes you want with all the outcomes that can happen. This page shows how to count outcomes from a sample space, how to combine events with the addition rule, Venn diagrams and tree diagrams, and how to handle conditional probability and independence, with worked examples and exam-style questions.
Formulas at a glance
The probability of an event, the addition rule, conditional probability and the test for independence are in the formula booklet. Multiplying along the branches of a tree diagram is not, so learn it.
Basic probability from a sample space
In the bookletComplementary events
In the bookletCombined ("or") events
In the bookletConditional probability
In the bookletIndependent events
In the bookletWhich method to use
Decide what type of events you have, then choose the rule or the diagram.
| The question involves | Use | Notes |
|---|---|---|
| or | For mutually exclusive events , so just add | |
| and , and the events are independent | Only use this when independence is given or has been shown | |
| A probability given that something has happened | The denominator is the probability of the event that is given | |
| Events one after another | A tree diagram | Multiply along the branches of a path, then add the paths that match |
| Overlapping groups | A Venn diagram or a two-way table | Fill in the overlap first, then the rest of each group |
| A fraction of equally likely outcomes, or "not " | and | List the sample space in a table when two things are chosen or rolled |
| At least one | Quicker than adding up every way of getting at least one | |
| Selecting without replacement | Reduce the total, and the count of the type taken, on later branches | With replacement the numbers stay the same |
| Testing whether and are independent | Compare with | Equal means independent; not equal means dependent |
Section 1 of 3 SL4.5
Basic probability and sample spaces
The probability of an event is the number of outcomes in the event divided by the total number of equally likely outcomes, . Count the outcomes you want and all the outcomes that are possible, using a sample space diagram or table when there are two stages. For 'not' questions, the complement is often quicker.
Probability from a sample space
Key terms
What is a sample space?
The sample space is the collection of all possible outcomes of an experiment. For two stages, list the outcomes in a table so that none is missed.
e.g. Rolling a fair die has equally likely outcomes, to , so .
What does equally likely mean?
Outcomes are equally likely when each has the same chance of occurring. The formula is valid only when this is true.
e.g. Each face of a fair die has probability ; a die that lands on six more often does not have equally likely outcomes, so counting faces would give a wrong probability.
What does a probability of or mean?
A probability of means the event is impossible, and a probability of means it is certain. Every probability lies between and inclusive.
e.g. Rolling a on a standard die has probability , and rolling a number less than has probability .
How do you use a sample space diagram for two dice?
Draw a grid of all outcomes, then count the cells that satisfy the event and divide by .
e.g. The sum is in of the outcomes, so .
Worked example, step by step
The question No calculator needed [6 marks]
A fair coin is tossed and a fair six-sided die is rolled at the same time.
(a) Find the probability of getting a head and an even number.
(b) Find the probability of not getting both a head and an even number.
(c) The coin is tossed and the die rolled times. Find the expected number of times a head and an even number occur together.
Worked solution: worked example
Answer: (a) . (b) . (c) .
Step 1 - List the sample space.
Write each outcome as a coin result with a die result: and . That gives outcomes, so , and each is equally likely. M1 - Identifies equally likely outcomes (list or )
Why? Probabilities of the form only work when the outcomes are equally likely, so first confirm that, and count the whole sample space.
Step 2 - Count the favourable outcomes.
A head with an even number: , so . A1 -
Why? Count only the outcomes that satisfy both conditions at once. Do not count , which is an even number but not a head.
Step 3 - Use the complement.
The second event is the complement of the event in the first part: M1 - Uses A1 -
Why? "Not " covers every outcome outside , and the probabilities of and add to . This is quicker than counting the other outcomes.
Step 4 - Find the expected number of occurrences.
Expected number number of trials probability M1 - Multiplies the number of trials by the probability, A1 -
Why? The expected number is the average you would get over many repeats of trials. It does not have to be a whole number, and it is not a promise of the actual result.
M1 Identifies equally likely outcomes (list or )
A1
M1 Uses
A1
M1 Multiplies the number of trials by the probability,
A1
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 11 marks
Common mistakes
- Dividing by the wrong total. The denominator is the total number of outcomes in the whole sample space, not just one category of it - miscounting the total (e.g. forgetting one group of items exists) throws off every answer built from it.
- Treating "not A" as a fresh count instead of using the complement. It's usually faster and safer to compute than to recount every outcome that isn't from scratch, especially once a table or diagram is already partly built.
- Forgetting probabilities must lie between 0 and 1. A quick sanity check - does the fraction come out sensible, and do the parts of a full breakdown sum to 1 - catches a lot of arithmetic slips before they cost marks.
Section 2 of 3 SL4.6
Conditional probability and independence
Conditional probability is the probability that event occurs given that event has already occurred, found from . Use it when the possible outcomes are reduced to those in which happens. It also leads to the test for independence, .
Conditional probability and independence
The conditional-probability formula is in the formula booklet, so the skill being tested is recognising when to use it and substituting the right values.
Key terms
What does mean in words?
is read as the probability of given . The condition becomes the new total, so the denominator is rather than .
e.g. If and , then .
What does mutually exclusive mean?
Two events are mutually exclusive if they cannot both happen, so . Then .
e.g. On one roll of a die, rolling a and rolling a are mutually exclusive, so .
What does independent mean?
Two events are independent if one occurring does not change the probability of the other. Then and .
e.g. Two coin tosses are independent, so .
How does sampling without replacement change probabilities?
Without replacement, the total number of items falls after each draw and the number of favourable items may change, so the second probability is conditional on the first draw.
e.g. A bag holds red and blue counters. After a red counter is drawn, the probability that the next is red is .
Worked example, step by step
The question No calculator needed [6 marks]
Events and are such that , and .
(a) Find .
(b) Find , giving your answer as a fraction.
(c) Determine whether and are independent. Justify your answer.
Worked solution: worked example
Answer: (a) . (b) . (c) Not independent, because .
Step 1 - Use the addition rule to find the overlap.
, so Then M1 - Substitutes into A1 -
Why? You are given the probability of "or" and need the probability of "and". Substitute into the addition rule and solve for the overlap.
Step 2 - Write the conditional probability formula.
M1 - Uses with and
Why? "Given " means the sample space shrinks to , so goes on the bottom. A common slip is to divide by instead.
Step 3 - Simplify.
A1 -
Why? The question asks for a fraction, so cancel the common factor and leave the exact value rather than a rounded decimal.
Step 4 - Test for independence.
If and were independent, then But , which is not equal to . M1 - Finds and compares with
Why? Independence is defined by , so compute the product and compare it with the overlap you found in step 1.
Step 5 - State the conclusion.
Since , the events and are not independent. R1 - States not independent, with the reason
Why? Always finish with a statement in words that refers to your comparison. Here is also different from , which says the same thing.
M1 Substitutes into
A1
M1 Uses with and
A1
M1 Finds and compares with
R1 States not independent, with the reason
Now you try: enter your answers to be marked
Find .
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 9 marks
Common mistakes
- Restricting the wrong sample space. means: given has happened, find the chance of - the denominator must be , not or the full sample space.
- Not adjusting probabilities when sampling without replacement. Once an item is removed, both the total and the count of that type decrease for the next draw, so a conditional probability calculated from a second draw is not the same fraction as the first.
- Confusing mutually exclusive with independent. Mutually exclusive events cannot happen together (); independent events can happen together, just without affecting each other's probability. Two mutually exclusive events with nonzero probability are never independent.
Section 3 of 3 SL4.6
Combined events and tree diagrams
Venn diagrams and tree diagrams organise the probabilities of combined events. Use a Venn diagram for 'and' and 'or' questions, where , and a tree diagram for events in sequence, multiplying along branches and adding the routes that lead to the required outcome.
The two rules
Neither rule below is complicated on its own - the skill is picking which diagram fits the question.
Multiplication along a tree
Multiply the probabilities along a single branch to find that path's probability, then add the probabilities of every branch that leads to the outcome you want. Not in the formula booklet - prior knowledge.
Key terms
What do the regions of a Venn diagram show?
The overlap of the two circles is , the whole of both circles is , and the region outside both is . Fill in the overlap first, then subtract it from each circle.
e.g. If , and , the region for only is .
What does mean?
It is the event that neither nor happens, so its probability is .
e.g. If , then .
How do you read a branch on a tree diagram?
Each branch shows the probability of one outcome at that stage, and the branches from each point add to . Multiply along a path to find the probability of that combination.
e.g. A branch of followed by a branch of gives for that path.
What changes on a tree diagram without replacement?
The second-stage probabilities depend on what was drawn first, so they differ from path to path. With replacement they stay the same.
e.g. From red and blue counters, drawing a red first leaves red in , so the next branch is for red; drawing a blue first leaves red in , so it is .
Worked example, step by step
The question No calculator needed [6 marks]
On any day, the probability that it rains is . When it rains, the probability that Kofi is late for school is . When it does not rain, the probability that he is late is .
(a) Find the probability that it rains and Kofi is late.
(b) Find the probability that Kofi is late.
(c) Given that Kofi is late, find the probability that it rained. Give your answer as a fraction.
Worked solution: worked example
Answer: (a) . (b) . (c) .
Step 1 - Describe the tree diagram.
Imagine a tree diagram with two stages. The first stage has branches rain () and no rain (). From each, the second stage has late and not late: after rain they are and , and after no rain they are and .
Why? Each stage depends on the one before, and the second-stage branches carry conditional probabilities. The probabilities on the branches from a single point add to , which is a quick check.
Step 2 - Multiply along the rain-and-late path.
M1 - Multiplies along the path, A1 -
Why? "And" along a path of the tree means multiply. The is a probability given rain, so .
Step 3 - Add the paths that end in late.
There are two paths to "late": and . M1 - Adds the two paths to late, A1 -
Why? The paths are mutually exclusive, so you add them. Make sure you include every path that ends in the event, not only the first one.
Step 4 - Use the conditional probability formula.
M1 - Uses with and
Why? "Given that Kofi is late" shrinks the sample space to the late days, so the total goes on the bottom, and the top is the part of it where it also rained.
Step 5 - Write as a fraction.
A1 -
Why? Multiply the top and the bottom by to remove the decimals. The fraction is already in its simplest form, since is prime and does not divide .
M1 Multiplies along the path,
A1
M1 Adds the two paths to late,
A1
M1 Uses with and
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 13 marks
Common mistakes
- Using the addition rule without subtracting the overlap. - dropping the last term double-counts every outcome that's in both events, unless the events are genuinely mutually exclusive.
- Keeping the same branch probability on a second draw without replacement. Removing an item changes both the total and the count remaining of that type, so the second branch of a tree needs a new denominator, not the same fraction copied down.
- Only finding one route to an outcome that has several. "Different colours" or "at least one" often has more than one path through the tree - every valid branch has to be found and added, not just the first one you spot.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| SL4.5 | Concepts of trial, outcome, equally likely outcomes, relative frequency, sample space () and event. The probability of an event is . The complementary events and (not ). Expected number of occurrences. |
| SL4.6 | Use of Venn diagrams, tree diagrams, sample space diagrams and tables of outcomes to calculate probabilities. Combined events: . Mutually exclusive events: . Conditional probability: . Independent events: . |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Quick questions
How do you calculate a basic probability?
, the number of outcomes in event divided by the total number of equally likely outcomes in the sample space .
What is the formula for conditional probability?
. Given that has already happened, this restricts the sample space to just the outcomes where occurs, then asks what fraction of those also satisfy .
How do you find P(A or B) using a Venn diagram?
. Subtracting the overlap stops it being counted twice; if and are mutually exclusive, and the formula reduces to a simple addition.
What is the difference between an outcome and an event?
An outcome is one possible result, such as rolling a . An event is a collection of outcomes, such as rolling an even number, which is made up of the outcomes , and .
Is conditional probability the same as the probability of A and B?
No. is the probability that both happen out of all outcomes, while is the probability of out of only the outcomes in which happens. They are linked by .
How do I find the probability of at least one event?
Use the complement: . On a tree diagram, find the single path where nothing happens and subtract its probability from .
Can a probability be a fraction, a decimal or a percentage?
Yes. , and 60% are the same probability. Give the form the question asks for, and keep fractions exact unless told to round.
Is P(A given B) equal to P(B given A)?
Not in general. They have different denominators, and . If , and , then but .
How do I fill in a Venn diagram when I know the overlap?
Write the overlap probability in the intersection first, then subtract it from and from to get the parts for only and only. The region outside both circles is whatever makes the total .
How do I find a probability from a table of frequencies?
Divide the frequency of the group you want by the total frequency of the whole table. If of students walk to school, the probability that a randomly chosen student walks is .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.