IB Maths Analysis and Approaches SL
Probability (Venn diagrams, trees and conditional probability): question types and practice
Probability: Venn diagrams, trees and conditional probability carried 4% of the marks in the 20 recent exams, through 5 kinds of question. The one worth the most marks is Tree diagrams and repeated draws.
The 5 question types
The ideas you need
Probability and the sample space
Probability and the sample space
A trial is one go of an experiment (one roll, one draw, one person chosen). Each possible result is an outcome, and the set of all outcomes is the sample space, . An event is a set of outcomes, such as "the score is even".
- Equally likely outcomes: , the number of outcomes in over the number in . A letter chosen at random from STATISTICS (10 letters) is a T with probability .
- Every probability is between and . A value outside is a mistake, or a root to reject (see Probabilities in terms of an unknown).
- The complement ("not ") has . It is the quick way to "at least one", "not all" and "any other colour": STATISTICS has 3 vowels, so .
- Relative frequency estimates a probability from data: the number of times an outcome happened over the number of trials. It is how a probability is found when the outcomes are not equally likely and nothing else gives it (a drawing pin, a biased die of unknown bias, a survey), and a bigger sample gives a more reliable estimate. A theoretical probability comes from the model instead ( for a fair die).
Mini-example: in a survey of 50 households, 7 have no car, 24 have one, 15 have two and 4 have three. An estimate of the probability that a household has at least one car is (by the complement, one subtraction instead of three additions).
Working backwards: a bag contains 8 green counters, and a counter taken at random is green with probability . So , and the bag holds counters.
The expected number of occurrences
The expected number of occurrences
If a trial is repeated times and stays the same, the expected number of times happens is
- A fair die rolled times: the expected number of sixes is .
- It is a long-run average, not a prediction, so it need not be a whole number: a spinner that lands on red with probability , spun times, has an expected reds. Markschemes accept the unrounded value (and usually the whole number either side).
- When the trials are independent with the same , this is the mean of the binomial distribution, (Binomial probabilities). A probability found in an earlier part (say from a normal model) is often the : "how many of are expected to …" is that probability.
- From a sample to a population is the same idea, with the sample proportion as the probability: large eggs in a random sample of suggest among the day's eggs. Inside a cumulative frequency question that step stays in Cumulative frequency graphs.
Venn diagrams and the addition rule
Venn diagrams and the addition rule
Two events split the sample space into four regions: only, both (), only, and neither. The four regions add to (or to the total, with counts).
counts the overlap twice, so it is subtracted once. " or " in probability is inclusive: it means , or , or both.
In the exam, draw two overlapping circles inside a rectangle and put a value in all four regions; here the regions are listed in a table.
Mini-example: , and . Fill the overlap first, then the rest:
| Region | Probability |
|---|---|
| only | |
| both | |
| only | |
| neither |
| Region | only | both | only | neither |
|---|---|---|---|---|
| Probability |
, the same as .
- Names for regions: is " but not " ( only); is "neither"; "exactly one" is the two "only" regions together, .
- Mutually exclusive events can't happen together: , so . On a Venn diagram the circles don't overlap. (On the syllabus, but not asked about directly in the 2021–26 papers.)
- Counts work the same way: . Divide by the total only at the end.
- Label every region. A markscheme gives the method mark for a Venn diagram only if every region is labelled correctly, and a number in the right region still has to be stated as the answer.
Two-way tables and sample space diagrams
Two-way tables and sample space diagrams
A two-way table sorts one group by two features. Each cell is an "and" (an intersection), and the totals are the single events.
Mini-example: 60 students, by year and by whether they have a part-time job.
- Year 12
- Job
- No job
- Total
- Year 13
- Job
- No job
- Total
- Total
- Job
- No job
- Total
| Job | No job | Total | |
|---|---|---|---|
| Year 12 | |||
| Year 13 | |||
| Total |
- Missing entries come from the totals: every row and every column adds up. Here the Year 13 row total is , and its "no job" cell is .
- "And" is a cell over the grand total: .
- "Of the Year 12 students" restricts the table to one row: of them have a job. That is a conditional probability read straight off the table (Conditional probability).
A sample space diagram is the same idea for two equally likely experiments: a grid of all the outcome pairs. Two fair four-sided dice (1 to 4) give pairs. The total is for , , and , so ; at least one die shows in of the cells (a row and a column of , with their shared corner once), so that probability is .
Tree diagrams
Tree diagrams
A tree shows the stages of an experiment in order. Each branch carries a probability, and the branches from any one point add to . In this guide a tree is written as a table, one row per path: the first branch, the second branch, then the product along the path. In the exam, draw the branches, with the probability written on every branch.
- Multiply along a path to get the probability of that whole sequence of results.
- Add across the paths that make up the event.
- The second-stage branches depend on what happened first whenever the first result changes the situation: a different bag, different weather, a ball taken out.
Mini-example: a bag holds 4 red and 3 blue balls, and two are taken without replacement. After a red is taken, 3 red and 3 blue are left.
- red,
- Second ball
- red,
- Path probability
- red,
- Second ball
- blue,
- Path probability
- blue,
- Second ball
- red,
- Path probability
- blue,
- Second ball
- blue,
- Path probability
| First ball | Second ball | Path probability |
|---|---|---|
| red, | red, | |
| red, | blue, | |
| blue, | red, | |
| blue, | blue, |
: two paths, because the red can come first or second. The four paths add to , which checks the tree.
- Without replacement, every second-stage fraction has one fewer on the bottom (, not ), and only the colour just taken has one fewer on top: after a red, red is and blue stays ; after a blue, red stays and blue is .
- With replacement, the second stage is a copy of the first: .
Conditional probability
Conditional probability
, "the probability of given ", is the probability of when you already know that has happened. Knowing shrinks the sample space to , so
The event after the bar is the condition: it goes on the bottom.
Mini-example (reduced sample space): a fair die shows an even number. The outcomes left are , and two of them are more than , so . The formula agrees: .
Mini-example (from a Venn diagram): with the regions in Venn diagrams, , but . The order matters: the same overlap over a different condition.
- The complement works before the bar: . It does not work after the bar: , not .
- The multiplication form is what a tree does: the second-stage branches are conditional probabilities, and multiplying along a path is .
Independent events
Independent events
and are independent if knowing that one happens doesn't change the probability of the other:
Mini-example: and are independent, with and . Then , , and , with no division needed.
- Using independence when nothing is unknown is one line: multiply for "both", or write for a conditional. Markschemes give the method mark for that recognition. It is not a type: the types are testing independence (Are the events independent?) and using it to find an unknown (Probabilities in terms of an unknown).
- Complements stay independent: if and are independent, so are and , so .
- On a tree, independence means the second-stage branches are the same whichever way the first stage went.
- Independent is not mutually exclusive. Mutually exclusive events with non-zero probabilities are never independent: , but .
Which type?
- two events: the single probabilities and one of the overlap, the union, "neither" or "exactly one" (probabilities or counts); or only the two singles, for a bound
- Asked for
- another region, the union, or a bound for the overlap
- First move
- put the overlap in first, then the "only" regions
- stages or draws, one after another
- Asked for
- the probability of a combined result
- First move
- draw the tree, with the first-stage probabilities
- a Venn diagram, table or tree, and a condition; or a conditional in words
- Asked for
- a probability given the condition, the first stage given the result, or the intersection from a given conditional
- First move
- the intersection over the condition (or multiply up: )
- enough to find , and
- Asked for
- whether and are independent
- First move
- compare with , with the numbers
- an unknown in the regions, branches, cells or counts, and a fact that fixes it (independence, a path probability, a conditional, or the union and a conditional together)
- Asked for
- the unknown
- First move
- write every probability in the unknown, then form an equation
- independence, and nothing unknown
- Asked for
- or
- First move
- multiply, or
- Type
- Independent events (no type)
- a number of repeats and a probability
- Asked for
- how many times to expect
- First move
- Type
- The expected number (no type)
- two ranges of one random variable (, "at least 3")
- Asked for
- a probability given that is in a range
- First move
- draw both ranges on a number line
- a fixed number of independent trials with the same (P2)
- Asked for
- the probability of a number of successes
- First move
- a table of containing
- Asked for
- , then
- First move
- the probabilities add to
| Given | Asked for | First move | Type |
|---|---|---|---|
| two events: the single probabilities and one of the overlap, the union, "neither" or "exactly one" (probabilities or counts); or only the two singles, for a bound | another region, the union, or a bound for the overlap | put the overlap in first, then the "only" regions | Two events: fill the Venn diagram |
| stages or draws, one after another | the probability of a combined result | draw the tree, with the first-stage probabilities | Tree diagrams and repeated draws |
| a Venn diagram, table or tree, and a condition; or a conditional in words | a probability given the condition, the first stage given the result, or the intersection from a given conditional | the intersection over the condition (or multiply up: ) | Conditional probability |
| enough to find , and | whether and are independent | compare with , with the numbers | Are the events independent? |
| an unknown in the regions, branches, cells or counts, and a fact that fixes it (independence, a path probability, a conditional, or the union and a conditional together) | the unknown | write every probability in the unknown, then form an equation | Probabilities in terms of an unknown |
| independence, and nothing unknown | or | multiply, or | Independent events (no type) |
| a number of repeats and a probability | how many times to expect | The expected number (no type) | |
| two ranges of one random variable (, "at least 3") | a probability given that is in a range | draw both ranges on a number line | Given that X is in a range |
| a fixed number of independent trials with the same (P2) | the probability of a number of successes | Binomial probabilities | |
| a table of containing | , then | the probabilities add to | Probability distribution tables |
Where probability hides in other topics
Where probability hides in other topics
Probability turns up inside other topics, usually as the frame (a tree, a union, a conditional) around numbers that another topic supplies.
- Two players take turns until one of them succeeds, and the first player's chance of winning is asked (sequences, SL 1.8)
- It becomes
- the winning paths make a geometric series: Sum to infinity. With a success probability of each go,
- Watch for
- is the probability that a whole round has no winner (), not
- The least number of trials for to pass a target (sequences)
- It becomes
- Find n: each ticket wins with probability , so gives ; and , so tickets
- Watch for
- "at least one" is ; dividing by flips the inequality
- The first success on trial (sequences)
- It becomes
- is the th term of a geometric sequence with and
- Watch for
- the terms for add up to : a success comes eventually
- A distribution whose entries are tree paths, or a game whose prize depends on draws (discrete random variables, SL 4.7)
- It becomes
- Build the distribution from the experiment, then Expected value in context: each is a sum of paths
- Watch for
- the entries must add to : check before using them
- Tree branches whose values come from a normal or binomial model (distributions)
- It becomes
- still Tree diagrams and repeated draws or Conditional probability; the branches come from Normal probabilities or Binomial probabilities
- Watch for
- carry the unrounded branch values; answers from 3 s.f. inputs are usually accepted
- "Given that" with both events ranges of one variable, such as (distributions)
- It becomes
- Given that X is in a range: the intersection is the overlap of the two ranges
- Watch for
- the top is the overlap, not the event asked about on its own
- A quadratic for an unknown probability (quadratics, SL 2.7)
- It becomes
- Solving quadratic equations, then reject roots outside , as Quadratic in disguise rejects impossible values of or
- Watch for
- every region or branch in the unknown must be in , not just the unknown itself
- The fraction of a time interval that a sinusoidal model spends above a level, used as a probability (Trig graphs and sinusoidal models, SL 3.7)
- It becomes
- a proportion used as a probability (Probability and the sample space): the total time above the level divided by the whole time interval (one period's time divided by the period only when the interval is a whole number of periods), because a time chosen at random is equally likely to fall anywhere in the interval; the times come from Above or below a level
- Watch for
- find both crossing times in one period before subtracting, then count every period, and any part of one, in the interval
| You see | It becomes | Watch for |
|---|---|---|
| Two players take turns until one of them succeeds, and the first player's chance of winning is asked (sequences, SL 1.8) | the winning paths make a geometric series: Sum to infinity. With a success probability of each go, | is the probability that a whole round has no winner (), not |
| The least number of trials for to pass a target (sequences) | Find n: each ticket wins with probability , so gives ; and , so tickets | "at least one" is ; dividing by flips the inequality |
| The first success on trial (sequences) | is the th term of a geometric sequence with and | the terms for add up to : a success comes eventually |
| A distribution whose entries are tree paths, or a game whose prize depends on draws (discrete random variables, SL 4.7) | Build the distribution from the experiment, then Expected value in context: each is a sum of paths | the entries must add to : check before using them |
| Tree branches whose values come from a normal or binomial model (distributions) | still Tree diagrams and repeated draws or Conditional probability; the branches come from Normal probabilities or Binomial probabilities | carry the unrounded branch values; answers from 3 s.f. inputs are usually accepted |
| "Given that" with both events ranges of one variable, such as (distributions) | Given that X is in a range: the intersection is the overlap of the two ranges | the top is the overlap, not the event asked about on its own |
| A quadratic for an unknown probability (quadratics, SL 2.7) | Solving quadratic equations, then reject roots outside , as Quadratic in disguise rejects impossible values of or | every region or branch in the unknown must be in , not just the unknown itself |
| The fraction of a time interval that a sinusoidal model spends above a level, used as a probability (Trig graphs and sinusoidal models, SL 3.7) | a proportion used as a probability (Probability and the sample space): the total time above the level divided by the whole time interval (one period's time divided by the period only when the interval is a whole number of periods), because a time chosen at random is equally likely to fall anywhere in the interval; the times come from Above or below a level | find both crossing times in one period before subtracting, then count every period, and any part of one, in the interval |
More in Statistics and probability
Every topic of the course
- The binomial theorem
- Exponents and logarithms
- Proof
- Sequences and series
- Exponential and logarithmic functions
- Composite and inverse functions
- Lines and graphs of functions
- Quadratics
- Reciprocal and rational functions
- Transformations of graphs
- Radians, arcs and sectors
- 3D geometry: solids and triangles in 3D
- Triangle trigonometry
- The unit circle, identities and trig equations
- Trig graphs and sinusoidal models
- Differentiation
- Integration and areas
- Kinematics
- Stationary points and optimisation