Probability AI SL
Probability on this course is about turning a description into the right table or diagram, then using the rules for "not", "or", "and" and "given that". Start with equally likely outcomes, the complement and the expected number of occurrences, move on to conditional probability and independence, then use Venn and tree diagrams for overlapping groups and for events that happen one after another. The calculator only does the arithmetic, so the marks are for the set-up and for saying what the probability shows.
Formulas at a glance
The formula booklet gives the probability of an event, the complement, the addition rule for combined events, conditional probability, the test for independent events, and the rule for mutually exclusive events. It does not list the expected number of occurrences, which is the number of trials multiplied by the probability of the event, so learn that one. Multiplying along the branches of a tree diagram follows from conditional probability.
Combined events ("or")
In the bookletConditional probability
In the bookletIndependent events
In the bookletBasic probability from a sample space
In the bookletWhich method to use
Read the wording of the question first. Words such as "not", "at least one", "given that", "both" and "without replacement" tell you which tool is needed before any number is written down.
| The question has | Use | Notes |
|---|---|---|
| Equally likely outcomes that can be listed or counted | A list, a table of outcomes or a sample space diagram, then | List every outcome once, so that none is missed or counted twice |
| "Not", "none" or "at least one" | The complement, | For "at least one", find the probability of none and subtract it from 1 |
| "How many times would you expect" in a number of trials | The number of trials multiplied by the probability of the event | The answer does not have to be a whole number |
| "Given that" or "of those who" | Conditional probability, , or restrict the table to the given group | The denominator is the probability of the event that is given |
| "Are the events independent?" | Compare with , or with | Show both values and say whether they are equal; independence has to be tested, not assumed |
| Two overlapping groups, with counts or probabilities | A Venn diagram and | Fill in the overlap first, then the "only" regions, then the outside region |
| Events one after another, with or without replacement | A tree diagram: multiply along a path, add the paths that give the outcome you want | Without replacement, the numbers on the second set of branches change |
Basic probability
Probability measures how likely an event is on a scale from to , found by dividing the number of outcomes in the event by the total number of equally likely outcomes. For the complement of an event, use . Sample space diagrams and tables of outcomes list every possible outcome, so none is missed.
The complement
Complement
means " does not happen". Useful whenever "not" or "at least one" is easier to find by working out the opposite case first.
Key terms
What is a sample space?
The sample space is the list of all possible outcomes. It can be written as a list, a table or a diagram.
e.g. The sample space for one roll of a fair die has the six outcomes 1, 2, 3, 4, 5 and 6.
What does 'equally likely' mean?
Outcomes are equally likely when each has the same chance. The formula for the number of favourable outcomes divided by the total only works when they are.
e.g. A fair die has six equally likely outcomes, but 'red or blue' from a bag of red and blue counter is not equally likely, because .
What is the complement of an event?
The complement is the event that does not happen. The probabilities of an event and its complement add up to .
e.g. If , then .
What is a table of outcomes?
A table of outcomes is a grid that lists every combined outcome of two events, with one event along the rows and the other down the columns. Each cell is one equally likely outcome.
e.g. Rolling two fair dice gives cells, and of them have a total of 3, so .
Worked example, step by step
The question Calculator needed for the arithmetic only [6 marks]
A game uses a fair spinner with four equal sectors numbered 1, 2, 3 and 4, and a fair coin. The spinner is spun once and the coin is tossed once. The score is the number on the spinner if the coin shows heads, and twice the number on the spinner if the coin shows tails.
(a) Find the probability that the score is 4.
(b) Find the probability that the score is greater than 2.
(c) The game is played 120 times. Find the expected number of games in which the score is greater than 2.
Worked solution: worked example
Answer: (a) (b) (c) games
Step 1 - Decide what the equally likely outcomes are.
Each pairing of a spinner number with a coin face is equally likely, because the spinner and the coin are both fair. There are pairings.
Why? The formula only works when every outcome in has the same chance. The scores themselves are not equally likely (a score of 2 can happen two ways), so the pairings are what must be counted.
Step 2 - Write the table of outcomes.
Heads: scores . Tails: scores . That is 8 outcomes, written as a list or a table with the coin faces down the side and the spinner numbers across the top. M1 - Valid attempt to list the 8 equally likely outcomes, as a list or a table of outcomes
Why? Listing every outcome and its score stops you missing one. Once the table is written, every probability is a count divided by 8.
Step 3 - (a) Count the outcomes with score 4.
A score of 4 happens with heads and a 4 on the spinner, and with tails and a 2 on the spinner. That is 2 outcomes out of 8, so A1 -
Why? Check both rows of the table, because the same score can appear in more than one row.
Step 4 - (b) Use the complement.
The scores that are not greater than 2 are , and , so . Then M1 - Use of the complement, , or a count of the 5 favourable outcomes A1 -
Why? When "not" is easier to count than the event itself, subtract from 1. Counting the five outcomes directly gives as well, which is a useful check.
Step 5 - (c) Expected number of games.
The expected number of occurrences is the number of games multiplied by the probability: About 75 of the 120 games are expected to have a score greater than 2. M1 - Multiply 120 by their answer to (b) A1 -
Why? The expected number is an average over many games, not a prediction for one game. It uses the probability found in (b).
M1 Valid attempt to list the 8 equally likely outcomes, as a list or a table of outcomes
A1
M1 Use of the complement, , or a count of the 5 favourable outcomes
A1
M1 Multiply 120 by their answer to (b)
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
Calculator steps: Enter a calculation on the home screen
Common mistakes
- Listing outcomes that aren't equally likely. only works if every outcome in the sample space has the same chance - "sum of two dice" has 11 possible totals, but they are not equally likely, so you must count the 36 underlying pairs instead.
- Using a wrong in the complement. needs the correct first - a wrong probability for the event still gives a wrong "not" probability, just relabelled.
Section 2 of 3 SL4.6
Conditional probability
Conditional probability is the probability that occurs given that has occurred, and it equals . Use it when information reduces the sample space, and use to test whether two events are independent. It also separates independent events from mutually exclusive events.
Key terms
What does 'given that' mean in probability?
It tells you that the event after the word 'given' has already happened, so only the outcomes where it is true are counted.
e.g. Of students, study art and of those also study music, so , because only the art students count.
What are independent events?
Two events are independent when one happening does not change the probability of the other. Then , and .
e.g. For a fair die and a fair coin, .
What are mutually exclusive events?
Mutually exclusive events cannot happen together, so . If both events have a positive probability, they cannot be independent.
e.g. On one roll of a die, rolling a and rolling a are mutually exclusive, so the probability of both is .
How do you use the conditional formula to find ?
Rearrange the formula to get . This is how the second branch of a tree diagram is used.
e.g. If and , then .
Worked example, step by step
The question Calculator needed for the arithmetic only [6 marks]
A dental survey of 200 patients records whether each patient flosses daily and whether the patient had a filling in the last year. Of the 80 patients who floss daily, 12 had a filling. Of the 120 patients who do not floss daily, 42 had a filling. A patient is chosen at random from the 200.
(a) Find the probability that the patient had a filling, given that the patient does not floss daily.
(b) Determine whether "having a filling" and "flossing daily" are independent events.
Worked solution: worked example
Answer: (a) (b) , so the events are not independent.
Step 1 - Organise the data.
Let be "flosses daily" and be "had a filling". Then , , and . The total with a filling is out of 200.
Why? A two-way table or a list of the counts makes every later probability a division of two numbers from the table.
Step 2 - (a) Restrict to the given group.
"Given that the patient does not floss" means only the 120 patients who do not floss count: M1 - Restrict to the 120 patients who do not floss, or use A1 -
Why? The group after the word "given" becomes the denominator. The 200 cancels, so you can work with the counts directly.
Step 3 - (b) Plan the test.
Events are independent when knowing one does not change the probability of the other, that is when . First find the probability of a filling for all patients: M1 - Attempt to compare with , or with A1 -
Why? Independence is something you test with numbers, not something you can assume. Comparing a conditional probability with the unconditional one is one of the two standard tests.
Step 4 - Compare the two probabilities.
but . These are not equal. As a check with the product rule: , while , which is also not equal. R1 - Comparison showing
Why? Using both tests is not required, but the second one confirms the first. Any difference in the two values means the events are not independent.
Step 5 - State the conclusion in context.
Since , the events are not independent: whether a patient flosses daily does affect the probability of having had a filling. Patients who do not floss daily are more likely to have had one. A1 - Not independent, stated in context
Why? A conclusion needs the comparison and a statement about the events in words. Saying "not independent" alone, without the numbers, does not earn the reasoning mark.
M1 Restrict to the 120 patients who do not floss, or use
A1
M1 Attempt to compare with , or with
A1
R1 Comparison showing
A1 Not independent, stated in context
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 14 marks
Calculator steps: Enter a calculation on the home screen
Common mistakes
- Confusing mutually exclusive with independent. Mutually exclusive events can't both happen (); independent events just don't affect each other (). Two events that both have non-zero probability cannot be both mutually exclusive and independent.
- Mixing up with . These are generally different numbers - always check which event is the "given" condition, since it fixes which probability goes on the bottom of the fraction.
- Dividing by the wrong total. The denominator of is , not and not - it's easy to default back to the full sample space out of habit instead of the restricted one.
Section 3 of 3 SL4.6
Venn and tree diagrams
A Venn diagram shows how the outcomes in one group split between overlapping events, and a tree diagram shows events that happen one after another, with a probability on each branch. Use a Venn diagram to find probabilities such as and , and a tree diagram to multiply along branches and add the results. Both can be used for conditional probability.
Combining events
Multiplying along a branch
Multiply the probabilities you meet travelling along one path of a tree diagram. For independent draws (with replacement), is just .
Key terms
What is the intersection of two events?
The intersection contains the outcomes that are in both and . It is the overlap of the two circles in a Venn diagram.
e.g. In a class of , if play football, play tennis and play both, the overlap holds students and play football only.
What is the union of two events?
The union contains the outcomes in , in , or in both. Use , because the overlap is counted twice otherwise.
e.g. If , and , then .
What is a branch probability on a tree diagram?
Each branch carries the probability of that outcome at that stage. The probabilities on the branches leaving any one point add up to .
e.g. A bag has red and blue counters, so the first pair of branches carry and , which add up to .
How do replacement and no replacement change a tree diagram?
With replacement, the item is put back, so the branch probabilities are the same at every stage. Without replacement, the total and the number of that item both fall, so later branches change.
e.g. From red and blue counters, without replacement, but with replacement.
Worked example, step by step
The question Calculator needed for the arithmetic only [6 marks]
A survey of 80 households asks whether each has a cat, a dog, both or neither. In total 46 households have a cat, 38 have a dog and 14 have neither. Let be the event that a household chosen at random has a cat and the event that it has a dog.
(a) Find the number of households that have both a cat and a dog.
(b) Find the probability that a household has exactly one of the two kinds of pet.
(c) Find .
Worked solution: worked example
Answer: (a) households (b) (c)
Step 1 - Set up the Venn diagram.
Imagine two overlapping circles and inside a rectangle of 80 households. The region outside both circles holds the 14 households with neither pet, so the two circles together hold households.
Why? The rectangle is the whole sample space, so every household belongs to exactly one region. Starting with the outside region gives the number inside the circles.
Step 2 - (a) Find the overlap.
Using gives , so M1 - Use of the 14 households with neither to find , or the formula for A1 -
Why? Adding 46 and 38 counts the households with both pets twice. The amount by which the total is too big is the size of the overlap.
Step 3 - Fill in the other regions.
Cat only: . Dog only: . Both: . Neither: . Check: .
Why? Subtracting the overlap from each circle gives the "only" regions. The four regions must add up to the total, which catches arithmetic slips.
Step 4 - (b) Exactly one kind of pet.
"Exactly one" means cat only or dog only, which cannot both happen: M1 - Add the two "only" regions, or find A1 -
Why? The two regions do not overlap, so their counts can be added. A common error is to use , which also includes the households with both.
Step 5 - (c) Conditional probability from the diagram.
Given that the household has a cat, only the 46 cat households count, and 18 of them also have a dog: M1 - , restricting to the cat households A1 -
Why? The circle for the given event becomes the new sample space. The overlap is the part of it that is also in .
M1 Use of the 14 households with neither to find , or the formula for
A1
M1 Add the two "only" regions, or find
A1
M1 , restricting to the cat households
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 11 marks
Calculator steps: Enter a calculation on the home screen, Store a value and reuse it
Common mistakes
- Forgetting that "without replacement" changes later branches. If an item is removed and not put back, the totals and probabilities on the next branch of a tree diagram must be updated - they are not the same as the first draw.
- Adding along a branch instead of multiplying. Multiply probabilities along a single path through a tree diagram; only add the probabilities of separate paths that lead to the same outcome.
- Leaving Venn-diagram regions unlabelled before calculating. Fill in the intersection first, then work outward to each "only" region - trying to read probabilities off an incomplete diagram is where most arithmetic slips creep in.
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Enter a calculation on the home screen
Used in: Basic probability, Conditional probability, Venn and tree diagrams
How to enter a calculation on a TI-84 Plus CE
Type a calculation and press enter | |
Go to the home screen: press 2nd mode (QUIT) from any menu or app. Press clear if the entry line is not empty. |
|
Type the calculation as you would write it, then press enter. For press 3 ( 2 . 4 ) x² − 5 × 1 . 8 enter. The calculator understands a number next to a bracket as a multiplication, so × is not needed in . If a fraction, square root or power template is on the screen, press ▶ to move out of it before you carry on typing. |
3(2.4)²-5*1.8 8.28 |
Use the last answer in the next calculation | |
To increase the answer by 15%, press × 1 . 1 5 enter on a blank line. The calculator puts Ans, the last answer, in front of the operator for you. You can also type Ans yourself, anywhere in a calculation: press 2nd (−) (ANS), for example 2nd (−) (ANS) × 1 . 1 5 enter. , which is to 3 significant figures. |
Ans*1.15 9.522 |
To use an earlier entry or answer, press ▲ to move up through the history, then enter to paste the highlighted one on the entry line. Press 2nd enter (ENTRY) to bring back your last entry and change it. |
|
Ans always holds the last answer that was worked out, so if you do a different calculation in between, Ans changes. Type a number you need later, or keep it on the screen, rather than relying on Ans for many steps.
The full guide: Enter a calculation on the home screen
Store a value and reuse it
Used in: Venn and tree diagrams
How to store a value and reuse it on a TI-84 Plus CE
Store a value in a letter with STO | |
Calculate the value on the home screen but do not press enter yet. For type 1 . 0 4 5 ^ 1 2, then press ▶ to move out of the power. |
|
Press sto▶. The arrow → appears. Then press alpha and the key with the letter A above it, and press enter. The calculator works out the value and stores all of it in A, not the rounded number on the screen. The screen shows , and A now holds it. |
1.045^12→A 1.695881433 |
Use the stored letter later | |
Press alpha and the key with the letter A above it wherever the value belongs. For press 3 5 0 0 × alpha A enter. To see what is stored, enter A on a blank line and press enter. , which is to 3 significant figures. |
3500*A 5935.585015 |
The same letter works in the next part: 1 8 0 0 × alpha A enter. , which is to 3 significant figures. |
1800*A 3052.586579 |
Use the last answer once with Ans | |
Press 2nd (−) (ANS) to paste Ans, the last answer. It is replaced by every new answer, so use a letter for any value you need again later. |
|
Store the value before you round anything. The calculator keeps every digit in the letter even though the screen shows only ten.
The full guide: Store a value and reuse it
See the full list of GDC guides for every calculator task.
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: . Probabilities with and without replacement. Independent events: . |
Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).
Quick questions
How do I find a basic probability from a sample space?
Count the outcomes that satisfy your event, then divide by the total number of equally likely outcomes in the sample space: . Listing the full sample space first avoids missing or double-counting outcomes.
What does P(A|B) actually mean?
is the probability that happens, given that you already know has happened. It shrinks your sample space down to just the outcomes where is true, then asks what fraction of those also satisfy .
When should I use a tree diagram instead of a Venn diagram?
Use a tree diagram for events that happen in sequence, like two draws from a bag one after the other. Use a Venn diagram when you're looking at how two categories overlap within one fixed group, like students who study French and/or Spanish.
What's the complement rule and when do I use it?
The complement rule says , where means " does not happen". It's fastest whenever a question asks for "not" or "at least one" and the opposite case is easier to count directly.
How do I test whether two events are independent?
Compare with . If they're equal, and are independent. You can also check whether equals - if conditioning on doesn't change the probability of , they're independent.
Do I multiply or add probabilities on a tree diagram?
Multiply along a single branch to find the probability of that exact sequence of outcomes. Add the probabilities of separate branches only when they lead to the same final result you're interested in.
What values can a probability take?
A probability is always between and inclusive. A value of means impossible and means certain, so any answer outside that range must contain an error.
Is the same as ?
No, because they divide by different probabilities. If , and , then but .
How do I find the probability of at least one success on a tree diagram?
Find the probability of none and subtract it from . With replacement and on each draw, the probability of at least one red in two draws is .
How do I count the outcomes when two events are combined?
Multiply the number of outcomes for each event. Two dice give outcomes, and a coin with a die gives .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.