AA HL · Statistics and probability · course

Probability.

AA HL resourcesPDF

A probability is a proportion of outcomes. Everything on this topic comes from three ideas: count carefully (a Venn diagram, a table, a tree), do not count the overlap twice, and when a condition is given, shrink the universe to it.

IEvents and probabilitiesSL 4.5 · outcomes, sample space, $P(A')$, expected number

I.1 The probability of an event

Definition 1

probability of an event

Equally likely outcomes in the sample space $U$: $P(A)=\dfrac{n(A)}{n(U)}$. $0\le P(A)\le1$; the complement $A'$, “not $A$”, has $P(A')=1-P(A)$. In $n$ trials, the expected number of times $A$ occurs is $n\,P(A)$.
Example 1

A letter is chosen at random from the word PROBABILITY. Find $P(\text{B})$, $P(\text{a vowel})$ and $P(\text{not B})$.

What you do
What you write
Step 1 Count the sample space
$11$ letters
Step 2 Count each event
B: $2$; vowels O, A, I, I: $4$
Step 3 Divide
$P(\text{B})=\dfrac2{11}$, $P(\text{vowel})=\dfrac4{11}$
Step 4 Complement: $1-P$
$P(\text{not B})=\dfrac9{11}$

Apply

  1. A card from $1$ to $20$: $P(\text{a multiple of }3)$.
    Answer$\frac{6}{20}=\frac3{10}$
  2. $P(A)=0.42$: find $P(A')$.
    Answer$0.58$

I.2 The expected number

Watch out 1
An expected number need not be a whole number: $50\times0.03=1.5$ is fine. It is an average over many repetitions, not a prediction.
Example 2

The probability that an item is faulty is $0.04$. How many faulty items are expected in a batch of $250$?

What you do
What you write
Step 1 Expected number: $n\,P(A)$
$250\times0.04$
Step 2 Compute
$10$ items

Apply

  1. A fair die is thrown $90$ times: the expected number of sixes.
    Answer$15$
  2. $P(A)=0.07$, $30$ trials: the expected number.
    Answer$2.1$

IICombined eventsSL 4.6 · $A\cup B$, $A\cap B$, Venn diagrams, tree diagrams, mutually exclusive events

II.1 The addition rule

Property 1

the addition rule

$P(A\cup B)=P(A)+P(B)-P(A\cap B)$: the overlap is counted twice in $P(A)+P(B)$. Mutually exclusive: $P(A\cap B)=0$, then $P(A\cup B)=P(A)+P(B)$.
Example 3

$P(A)=0.45$, $P(B)=0.35$ and $P(A\cap B)=0.15$. Find $P(A\cup B)$ and the probability of neither.

What you do
What you write
Step 1 Addition rule
$0.45+0.35-0.15=0.65$
Step 2 Neither: the complement of $A\cup B$
$1-0.65=0.35$

Apply

  1. $P(A)=0.6$, $P(B)=0.25$, mutually exclusive: $P(A\cup B)$.
    Answer$0.85$
  2. $P(A\cup B)=0.9$, $P(A)=0.5$, $P(B)=0.6$: $P(A\cap B)$.
    Answer$0.2$

II.2 Venn diagrams

Example 4

Of $60$ people, $35$ drink tea, $28$ drink coffee and $15$ drink both. Complete a Venn diagram and find the probability that a person drinks exactly one of them.

What you do
What you write
Step 1 Fill the overlap first
both: $15$
Step 2 Then each part alone
tea only $20$, coffee only $13$
Step 3 Then outside
neither: $60-48=12$
Step 4 Exactly one
$\dfrac{20+13}{60}=\dfrac{11}{20}$
Figure 1 — Exam-style question 2. The larger the overlap, the smaller $P(A\cup B)$.

Apply

  1. $30$ students, $18$ French, $12$ Spanish, $5$ both: how many take neither?
    Answer$5$
  2. Same students: $P(\text{Spanish only})$.
    Answer$\frac7{30}$

II.3 Tree diagrams

Property 2

tree diagrams

Multiply along a branch for the probability of that path; add the paths that give the event.
Example 5

A spinner lands on red with probability $0.3$. It is spun twice. Find $P(\text{both red})$ and $P(\text{exactly one red})$.

What you do
What you write
Step 1 Draw the tree: $0.3$ and $0.7$ at each stage
two stages, four paths
Step 2 Multiply along: both red
$0.3\times0.3=0.09$
Step 3 Add the two paths with one red
$0.3\times0.7+0.7\times0.3=0.42$

Apply

  1. A fair coin is thrown $3$ times: $P(\text{three heads})$.
    Answer$\frac18$
  2. The spinner of Example 5: $P(\text{at least one red})$.
    Answer$1-0.49=0.51$

II.4 Without replacement

Example 6

A bag has $7$ white and $2$ black balls. Two are taken without replacement. Find $P(\text{both black})$ and $P(\text{one of each})$.

What you do
What you write
Step 1 Second stage: one ball fewer
denominators $9$, then $8$
Step 2 Both black
$\dfrac29\times\dfrac18=\dfrac1{36}$
Step 3 One of each: two paths
$\dfrac79\times\dfrac28+\dfrac29\times\dfrac78=\dfrac7{18}$
Figure 2 — Exam-style question 1. Without replacement, the second stage changes.

Apply

  1. $3$ boys and $4$ girls; two chosen at random: $P(\text{both girls})$.
    Answer$\frac47\times\frac36=\frac27$

IIIConditional probability and independenceSL 4.11 · $P(A\mid B)$, independent events

III.1 Conditional probability

Definition 2

conditional probability

$P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}$: $B$ becomes the whole universe, and $A$ is looked for inside it.
Example 7

Of $100$ students, $45$ walk to school, and $18$ of those are late; $30$ students are late in all. Find $P(\text{late}\mid\text{walk})$ and $P(\text{walk}\mid\text{late})$.

What you do
What you write
Step 1 Given “walk”: only the $45$ count
$P(\text{late}\mid\text{walk})=\dfrac{18}{45}=0.4$
Step 2 Given “late”: only the $30$ count
$P(\text{walk}\mid\text{late})=\dfrac{18}{30}=0.6$
Figure 3 — Given $B$: only what is inside $B$ remains.

Apply

  1. $P(A\cap B)=0.18$, $P(B)=0.6$: $P(A\mid B)$.
    Answer$0.3$
  2. Example 4's people: $P(\text{coffee}\mid\text{tea})$.
    Answer$\frac{15}{35}=\frac37$

III.2 Conditional probability from a tree

Example 8

$60\,\%$ of days are dry. A bus is late with probability $0.1$ on a dry day and $0.3$ on a wet day. Find $P(\text{late})$ and $P(\text{wet}\mid\text{late})$.

What you do
What you write
Step 1 Add the two late paths
$0.6\times0.1+0.4\times0.3=0.18$
Step 2 The path wet and late
$0.4\times0.3=0.12$
Step 3 Divide by the condition
$\dfrac{0.12}{0.18}=\dfrac23$

Apply

  1. $30\,\%$ of items come from machine $A$ ($5\,\%$ faulty), the rest from $B$ ($2\,\%$ faulty). $P(\text{faulty})$ and $P(A\mid\text{faulty})$.
    Answer$0.029$; $0.517$

III.3 Independent events

Definition 3

independent events

$A$ and $B$ are independent when one happening does not change the probability of the other: $P(A\mid B)=P(A)$, or $P(A\cap B)=P(A)\,P(B)$.
Watch out 2
Mutually exclusive is not independent: if $A$ and $B$ cannot both happen, knowing $B$ tells you $A$ did not. Compare $P(A\cap B)$ with $P(A)P(B)$ and conclude in words.
Example 9

$P(A)=0.3$, $P(B)=0.6$ and $P(A\cap B)=0.18$. Are $A$ and $B$ independent?

What you do
What you write
Step 1 Compute $P(A)P(B)$
$0.3\times0.6=0.18$
Step 2 Compare with $P(A\cap B)$
equal
Step 3 Conclude in words
$A$ and $B$ are independent

Apply

  1. $P(A)=0.5$, $P(B)=0.4$, $P(A\cup B)=0.75$: independent?
    Answerno: $P(A\cap B)=0.15\ne0.2$
  2. Independent, $P(A)=0.2$, $P(B)=0.7$: $P(A\cup B)$.
    Answer$0.76$

IVExam-style questionsfrom the shortest to the longest · every one in steps, with its marks

A Without replacement

Exam-style question 1Paper 1 · no calculator · [Maximum mark: 6]

A bag contains $5$ red counters and $3$ blue counters. Two counters are taken at random, one after the other, without replacement.

(a)Find the probability that both counters are red.[2]
(b)Find the probability that the two counters are different colours.[2]
(c)Given that the counters are different colours, find the probability that the first one is red.[2]
More questions like this

Working (a)

What you do
What you write
Step 1 Multiply along the branch
$\dfrac58\times\dfrac47$
Step 2 Simplify
$=\dfrac{20}{56}=\dfrac5{14}$

Working (b)

What you do
What you write
Step 1 Add the two paths
$\dfrac58\times\dfrac37+\dfrac38\times\dfrac57$
Two paths: red then blue, blue then red.
Step 2 Simplify
$=\dfrac{30}{56}=\dfrac{15}{28}$

Working (c)

What you do
What you write
Step 1 Conditional: divide by the condition
$\dfrac{15/56}{30/56}$
$P(\text{first red}\cap\text{different})\div P(\text{different})$.
Step 2 Simplify
$=\dfrac12$

Play this question in Mark it: find each mark yourself →

B Venn diagrams and independence

Exam-style question 2Paper 1 · no calculator · [Maximum mark: 6]

In a class of $40$ students, $22$ play football ($F$), $15$ play tennis ($T$) and $6$ play both.

(a)Find the number of students who play neither sport.[2]
(b)Find $P(F\cup T)$.[1]
(c)Find $P(T\mid F)$.[2]
(d)Determine whether $F$ and $T$ are independent.[1]
More questions like this

Working (a)

What you do
What you write
Step 1 At least one: addition rule
$22+15-6=31$ play at least one
Step 2 Neither: from the total
$40-31=9$

Working (b)

What you do
What you write
Step 1 $P(F\cup T)$
$\dfrac{31}{40}$

Working (c)

What you do
What you write
Step 1 Conditional: divide by $P(F)$
$\dfrac{P(T\cap F)}{P(F)}=\dfrac{6/40}{22/40}$
Step 2 Simplify
$=\dfrac{6}{22}=\dfrac3{11}$

Working (d)

What you do
What you write
Step 1 Compare $P(F)P(T)$ with $P(F\cap T)$, conclude
$P(F)P(T)=\dfrac{22}{40}\times\dfrac{15}{40}\ne\dfrac{6}{40}$: not independent
Or: $P(T\mid F)=\frac3{11}\ne P(T)=\frac38$.

Play this question in Mark it: find each mark yourself →

Exam-style question 3Paper 1 · no calculator · [Maximum mark: 5]

Events $A$ and $B$ are such that $P(A)=0.4$, $P(B)=0.5$ and $P(A\cup B)=0.7$.

(a)Find $P(A\cap B)$.[2]
(b)Show that $A$ and $B$ are independent.[2]
(c)Write down $P(A\mid B)$.[1]
More questions like this

Working (a)

What you do
What you write
Step 1 Addition rule with the unknown
$0.7=0.4+0.5-P(A\cap B)$
Step 2 Solve
$P(A\cap B)=0.2$

Working (b)

What you do
What you write
Step 1 Compute $P(A)P(B)$
$P(A)P(B)=0.4\times0.5=0.2$
Step 2 Compare, conclude
$=P(A\cap B)$, so independent

Working (c)

What you do
What you write
Step 1 Independent: $P(A\mid B)=P(A)$
$0.4$
Independent: $P(A\mid B)=P(A)$.

Play this question in Mark it: find each mark yourself →

C A tree in context (Paper 2)

Exam-style question 4Paper 2 · calculator · [Maximum mark: 6]

In a town, $35\,\%$ of the people have been vaccinated ($V$). The probability of catching a cold ($C$) in winter is $0.25$ for a vaccinated person and $0.6$ for a person who has not been vaccinated.

(a)Find the probability that a person chosen at random catches a cold.[2]
(b)Given that a person caught a cold, find the probability that they were vaccinated.[2]
(c)In a sample of $400$ people, find the expected number who catch a cold.[2]
More questions like this

Working (a)

What you do
What you write
Step 1 Add the two paths that give a cold
$0.35\times0.25+0.65\times0.6$
Step 2 Compute
$=0.4775$
Accept $0.478$.

Working (b)

What you do
What you write
Step 1 Conditional: the path over the total
$\dfrac{0.35\times0.25}{0.4775}$
Step 2 Compute
$=0.183$ ($0.183246\ldots$)

Working (c)

What you do
What you write
Step 1 Expected number $n\,P$
$400\times0.4775$
Step 2 Compute
$191$
Exactly $191$.

Play this question in Mark it: find each mark yourself →

VWhich method? Read the questionthe whole topic on one page

The question says
You write
An experiment is repeated $n$ times and you must find “how many are expected”: it is $n\,P(A)$.
the product; it may be a decimal D1
You must find the probability of “not $A$”: use the complement.
$1-P(A)$ D1
You must find the probability of “$A$ or $B$”: use the addition rule.
$P(A)+P(B)-P(A\cap B)$; a Venn diagram P1
An experiment has two stages, such as two draws “without replacement”: draw a tree diagram.
multiply along, add across; the second stage changes P2
The question says “given that” something happened: it is a conditional probability.
$\dfrac{P(A\cap B)}{P(\text{the condition})}$ D2
You must decide whether two events “are independent”: compare $P(A\cap B)$ with $P(A)P(B)$.
compare, then conclude in words D3
Two events are “mutually exclusive”: they cannot happen together, $P(A\cap B)=0$.
no overlap; not the same as independent W2
In the exam 1

command terms

Given that: divide by the probability of the condition. Show that ... independent: compute $P(A)P(B)$, compare with $P(A\cap B)$, conclude. Exact: fractions on Paper 1.