Skip to content

9709 · Unit 24 · Paper 5: Probability and Statistics 1

Probability and conditional events.

9709 · Unit 24 · Probability and conditional events
Revisionbyexamplicity

Outcomes and events: count cells, then regions

§5.3 · Probability

Before any rule, probability is counting. List every possible result (an outcome); an event is the group of outcomes you care about. When outcomes are equally likely, P(event) = favourable ÷ total, from 0 (impossible) to 1 (certain).

1Count equally likely cells, not different totals

Pick one card from 1, 2, 3, 4 and, independently, one from 0, 2, 4. Each of the 12 ordered pairs is one equally likely cell; the cell shows the sum.
First card: 1, 2, 3 or 4Second card1234012342345645678Cells show sums; blue cells have sum ≥ 6
Worked example

Find P(sum ≥ 6) and P(sum = 3).

  1. Count the blue cells
    4 of the 12 cells have sum ≥ 6
  2. Divide by all 12 cells
    P(sum ≥ 6)=412 = 13
  3. Sum 3 comes from (3, 0) and (1, 2)
    P(sum = 3)=212 = 16
  4. Answer
    P(sum ≥ 6) = 1/3; P(sum = 3) = 1/6
The cells are equally likely; the eight different sums are not. Sum 3 has two cells and sum 1 has one, so never divide by the number of different totals.

2Use complements and expected counts

P(not A) = 1 − P(A). An impossible event has probability 0 (no sum is 9); a certain one has 1 (every sum is at most 8). Repeat a trial n times and you expect n × P(event) successes.
  1. The complement of sum ≥ 6
    P(sum ≤ 5)=1−13 = 23
  2. Answer
    expected=90×13 = 30In 90 trials, expect 30 with sum ≥ 6; the actual count can differ.
P(sum ≤ 5)=1−13 = 23The complement of sum ≥ 6.expected=90×13 = 30In 90 trials, expect 30 with sum ≥ 6; the actual count can differ.

3Read and, or and not from a Venn diagram

Forty trial records: setting A gives 18 passes and 6 fails, setting B gives 8 and 8. Choose one record. A ∩ S is A and pass, A ∪ S is A or pass or both, S′ is not pass. Count each region once.
40AS61888A: setting A · S: pass
Worked example

Find P(A ∩ S), P(A ∪ S) and P(exactly one of A and S).

  1. Both: the overlap
    P(A ∩ S)=1840 = 920
  2. At least one: A only, both, S only
    P(A ∪ S)=6+18+840 = 45
  3. Exactly one: leave out the overlap
    6+840 = 720
  4. Answer
    P(A ∩ S) = 9/20, P(A ∪ S) = 4/5, exactly one 7/20
✓Check P(A) + P(S) − P(A ∩ S) = 24/40 + 26/40 − 18/40 = 4/5
Pass and fail are exhaustive: every record is one or the other, so P(S′) = 1 − 26/40 = 7/20. “Not both A and S” also includes the 8 records in neither circle.

4Try it

Your turn

1 Pick one card from 1, 2, 3 and one from 1, 2, 3, 4. Find P(product is even). How many even products do you expect in 60 trials?

2 Of 50 students, 30 play chess, 22 play music and 12 do both. Find P(chess or music).

3 For the same students, find P(neither) and P(exactly one).

  1. 1
    8 of the 12 cells are even: 2/3; expect 60 × 2/3 = 40
  2. 2
    (30 + 22 − 12)/50 = 4/5
  3. 3
    neither 1 − 4/5 = 1/5; exactly one (18 + 10)/50 = 14/25
Tick what you can do now
Practise with m26/52 Q1 (related enumeration/counting practice); s26/53 Q1(a) (related elementary-event practice); s26/51 Q2(a), Q2(d)
1 / 6
9709 · Unit 24 · Probability and conditional events
Revisionbyexamplicity

Conditional probability: exclusive and independent events

§5.3 · Probability

“Given that” shrinks the world. If you already know a record used setting A, only the A records still count, so the denominator changes. That one idea, the condition picks the group, also tells you whether two events are independent.

1Restrict the table to the condition

Shade the condition’s row or column (violet). Its total is the denominator; the blue cell inside it is the numerator.
40 recorded trialsSettingPassFailTotalA18624B8816Total261440Condition: setting A
  1. Answer
    P(S | A)=1824 = 34Row A has 24 records; 18 pass.
P(S | A)=1824 = 34Row A has 24 records; 18 pass.
40 recorded trialsSettingPassFailTotalA18624B8816Total261440Condition: pass
  1. Answer
    P(A | S)=1826 = 913Column pass has 26 records; 18 are A.
P(A | S)=1826 = 913Column pass has 26 records; 18 are A.
The overlap is 18 both times, but the group changes from 24 to 26, so P(S | A) ≠ P(A | S).

2Use the formula when you only have probabilities

P(A | S) = P(A ∩ S) ÷ P(S), for P(S) > 0. Dividing probabilities gives the same ratio as the counts.
  1. The joint probability over the condition
    P(A | S)=P(A ∩ S)P(S)
  2. Answer
    P(A | S)=18402640 = 913The 40s cancel.
P(A | S)=P(A ∩ S)P(S)The joint probability over the condition.P(A | S)=18402640 = 913The 40s cancel.

3Mutually exclusive: they cannot happen together

Events are mutually exclusive when P(A ∩ B) = 0. A record has one setting, so A and B are exclusive.
40 recorded trialsSettingPassFailTotalA18624B8816Total261440Choose one record uniformly
  1. No record is in both rows
    P(A ∩ B)=0
  2. Both have positive probability
    P(A)P(B)=35×25 = 625
  3. Answer
    0 ≠ 6/25: A and B are not independentKnowing A makes B impossible.
P(A ∩ B)=0No record is in both rows.P(A)P(B)=35×25 = 625Both have positive probability.0 ≠ 6/25: A and B are not independentKnowing A makes B impossible.

4Independent: knowing one leaves the other unchanged

A and S are independent when P(S | A) = P(S), or equally P(A ∩ S) = P(A) × P(S). Compare the two numbers in the same form, then say what you conclude.
Worked example

Are setting A and pass independent?

  1. Joint probability from the table
    P(A ∩ S)=1840 = 45/100
  1. Product of the separate probabilities
    P(A)P(S)=35×1320 = 39/100
  2. Answer
    45/100 ≠ 39/100, so A and pass are dependent
✓Check P(S | A) = 3/4 but P(S) = 13/20
Overlap does not rule out independence. Draw twice with replacement from 7 blue and 5 gold: “first blue” and “second blue” can both happen, yet they are independent because the second blue chance stays 7/12.

5Try it

Your turn

1 Club X has 24 walkers and 16 cyclists; club Y has 6 walkers and 14 cyclists. One member is chosen. Find P(walks | X).

2 Find P(X | walks).

3 Are “in X” and “walks” independent? Are “in X” and “in Y” mutually exclusive?

  1. 1
    24/40 = 3/5
  2. 2
    24/30 = 4/5
  3. 3
    P(walks) = 30/60 = 1/2 ≠ 3/5: dependent; nobody is in both clubs, so X and Y are mutually exclusive
Tick what you can do now
Practise with s26/51 Q2(b) (independence; related practice for exclusivity); s26/51 Q2(c); s26/55 Q3(b)
2 / 6
9709 · Unit 24 · Probability and conditional events
Revisionbyexamplicity

Tree diagrams: with and without replacement

§5.3 · Probability

When an outcome happens in stages, draw each stage as a fork in a tree. Multiply along a branch to reach the end of one path; add the paths you want. The bag of 7 blue and 5 gold counters runs through the rest of this unit.

1Multiply along a path, add different paths

Each branch is a probability given the branch before it, and the branches out of one point add to 1. A whole path is a joint probability.
SettingResultjoint3/5A2/5B3/4Pass9/201/4Fail3/201/2Pass1/51/2Fail1/5SettingResultjoint3/5A2/5B3/4Pass9/201/4Fail3/201/2Pass1/51/2Fail1/5
Worked example

Choose one of the 40 trial records: P(A) = 3/5, P(pass | A) = 3/4, P(pass | B) = 1/2. Find P(pass).

  1. Path A then pass
    P(A ∩ S)=35×34 = 920
  2. Path B then pass
    P(B ∩ S)=25×12 = 15
  1. Add the two pass paths
    P(S)=920+15 = 1320
  2. Answer
    P(pass) = 13/20
✓Check the 3/4 branch is pass given A; the 9/20 leaf is A and pass

2With replacement: the bag is the same every time

Put the counter back before the next draw. The second-draw branches repeat the first: 7/12 and 5/12, whatever came first. The draws are independent.
First drawSecond drawjoint7/12Blue5/12Gold7/12Blue49/1445/12Gold35/1447/12Blue35/1445/12Gold25/144Each counter returned before the next drawFirst drawSecond drawjoint7/12Blue5/12Gold7/12Blue49/1445/12Gold35/1447/12Blue35/1445/12Gold25/144Each counter returned before the next draw
  1. One path: blue, blue
    P(BB)=712×712 = 49144
  2. Answer
    P(mixed)=712×512+512×712 = 3572Two paths: BG or GB.
P(BB)=712×712 = 49144One path: blue, blue.P(mixed)=712×512+512×712 = 3572Two paths: BG or GB.

3Without replacement: recount before every draw

Keep the first counter out. Take one from its colour and from the total: after blue, 6 blue in 11; after gold, 7 blue in 11.
Start: 7 blue + 5 gold = 12After blue: 6 blue + 5 gold = 11After gold: 7 blue + 4 gold = 11
First drawSecond drawjoint7/12Blue5/12Gold6/11Blue42/1325/11Gold35/1327/11Blue35/1324/11Gold20/132No replacement: 11 counters remain
Worked example

Draw two counters without replacement. Find P(BB), P(mixed) and P(same colour).

  1. Two blue
    P(BB)=712×611 = 722
  2. Mixed: BG or GB
    P(mixed)=712×511+512×711 = 3566
  1. Same colour: the complement of mixed
    P(same)=1−3566 = 3166
  2. Answer
    P(BB) = 7/22, P(mixed) = 35/66, P(same) = 31/66
✓Check P(BB) + P(GG) = 42/132 + 20/132 = 31/66

4Try it

Your turn

1 A bag has 4 red and 6 white beads. Two are drawn with replacement. Find P(both red).

2 Two are drawn without replacement. Find P(both red).

3 Without replacement, find P(one of each colour).

  1. 1
    4/10 × 4/10 = 4/25
  2. 2
    4/10 × 3/9 = 2/15
  3. 3
    4/10 × 6/9 + 6/10 × 4/9 = 8/15
Tick what you can do now
Practise with m26/52 Q5(a), Q5(b), Q5(c); s26/55 Q3(a); m26/52 Q4(a), Q4(b) (related with-replacement practice); s26/51 Q4(a) (related repeated-trial practice); s26/53 Q4(a), Q4(b); s26/52 Q5(a) (related composition-update practice)
3 / 6
9709 · Unit 24 · Probability and conditional events
Revisionbyexamplicity

Reversing a condition on a tree

§5.3 · Probability

A tree runs forwards: first draw, then second. Questions often run backwards: “the second counter was blue; how likely is it the first was gold?” Gather every path that fits what you know (violet), then take the share that also fits the question (blue).

1Given the second draw, find the first

P(first | second) = P(both) ÷ P(second). The denominator adds every path that ends in the observed result.
First drawSecond drawjoint7/12Blue5/12Gold6/11Blue42/1325/11Gold35/1327/11Blue35/1324/11Gold20/132Keep BB and GB: both end in blueFirst drawSecond drawjoint7/12Blue5/12Gold6/11Blue42/1325/11Gold35/1327/11Blue35/1324/11Gold20/132Keep BB and GB: both end in blue
Worked example

Draw twice without replacement. The second counter is blue. Find P(first was gold).

  1. The path asked for: gold then blue
    P(G₁ ∩ B₂)=512×711 = 35132
  2. Every path ending in blue: BB and GB
    P(B₂)=42+35132 = 712
  1. Divide
    P(G₁ | B₂)=3577 = 511
  2. Answer
    P(G₁ | B₂) = 5/11
Three different numbers: the forward branch P(B₂ | G₁) = 7/11, the joint path P(G₁ ∩ B₂) = 35/132, and the reversed condition P(G₁ | B₂) = 5/11.

2Two bags and a selector: weight every source

Bag A (7 blue, 5 gold) is chosen with probability 3/8; bag B (1 blue, 4 gold) with 5/8. Two counters are drawn without replacement. Let M be one of each colour: both orders, from either bag. In bag B, blue then blue is impossible once its only blue is taken.
Bag1st2ndwithin bag3/8A5/8B7/12B5/12G1/5B4/5G6/11B7/225/11G35/1327/11B35/1324/11G5/330/4B04/4G1/51/4B1/53/4G3/5M: BG or GB, from either selected bagBag1st2ndwithin bag3/8A5/8B7/12B5/12G1/5B4/5G6/11B7/225/11G35/1327/11B35/1324/11G5/330/4B04/4G1/51/4B1/53/4G3/5M: BG or GB, from either selected bag
Worked example

Given M, find the probability that bag A was chosen.

  1. Mixed within each bag
    P(M | A)=3566P(M | B)=15×1+45×14 = 25
  2. Weight by the selector
    P(A ∩ M)=38×3566 = 35176P(B ∩ M)=58×25 = 44176
  1. Add both sources, then divide
    P(M)=35176+44176 = 79176P(A | M)=3579
  2. Answer
    P(A | M) = 35/79 (and P(B | M) = 44/79)

3Recover a missing branch, then reverse

A known total can hide a branch. Write the total as a sum of paths, solve for the unknown, then use the completed tree.
SettingResultjoint3/5A2/5B3/4Pass9/201/4Fail3/20qPass2q/51 − qFail2(1 − q)/5
Worked example

P(A) = 3/5, P(pass | A) = 3/4 and P(pass) = 13/20. Let q = P(pass | B). Find q, then P(A | fail).

  1. One pass path from each setting
    35×34+25q=1320
  2. Take off the A path and solve
    25q=15q=12
  3. A and fail over every fail
    P(A | fail)=35×141−1320 = 37
  4. Answer
    q = 1/2; P(A | fail) = 3/7
P(pass | A) = 3/4 but P(pass) = 13/20, so setting A and pass are dependent.

4Try it

Your turn

1 Draw two beads without replacement from 4 red and 6 white. Given the second is red, find P(first was red).

2 P(A) = 1/4, P(pass | A) = 4/5 and P(pass) = 1/2. Find q = P(pass | B).

3 For the same model, find P(A | pass).

  1. 1
    P(R₂) = 4/10 × 3/9 + 6/10 × 4/9 = 2/5; (2/15) ÷ (2/5) = 1/3
  2. 2
    1/5 + 3q/4 = 1/2, so q = 2/5
  3. 3
    (1/4 × 4/5) ÷ 1/2 = 2/5
Tick what you can do now
Practise with s26/52 Q5(c); s26/53 Q4(a), Q4(b), Q4(c); s26/55 Q3(a), Q3(b); s26/51 Q2(b), Q2(c)
4 / 6
9709 · Unit 24 · Probability and conditional events
Revisionbyexamplicity

Several draws: count histories and occurrences

§5.3 · Probability

With three or four draws, the tree gets big, but every path is a history: a string such as BGB. Write down the histories that fit, check they cannot overlap, and add their probabilities.

1List the histories: at least two blue in three draws

Three counters without replacement. At least two blue means BBB, BBG, BGB or GBB.
At least two blue in three drawsBBBBBGBGBGBB
Worked example

Find P(at least two blue).

  1. All blue
    P(BBB)=712×611×510 = 744
  2. Two blue, gold in any place
    BBG, BGB, GBB each=7/44
  3. Add the four histories
    P(≥ 2 blue)=4×744 = 711
  4. Answer
    P(at least two blue) = 7/11

2Count groups instead: keep top and bottom alike

Ignore order and count groups of three counters. Numerator and denominator must count the same kind of thing.
  1. Choose any 3 of 12 counters
    all groups=(123) = 220
  2. Two blue and one gold, or three blue
    favourable=(73)+(72)×(51) = 140
  3. Answer
    140220 = 711The same answer as the histories.
all groups=(123) = 220Choose any 3 of 12 counters.favourable=(73)+(72)×(51) = 140Two blue and one gold, or three blue.140220 = 711The same answer as the histories.
There are 12 × 11 × 10 = 1320 ordered draws. Dividing 140 groups by 1320 mixes two different sample spaces.

3First gold on a given draw

Now draw with replacement: P(blue) = 7/12, P(gold) = 5/12 on every draw. The draw number counts trials; “first gold” counts successes. Fix the last draw, then say what came before.
First gold on draw 3BBGGBBGBGBGBBGGBottom three: second gold on draw 4
Worked example

Find P(first gold on draw 3) and P(first gold before draw 4).

  1. First gold on draw 3: BBG
    P(BBG)=(712)2×512 = 2451728
  2. Before draw 4: not BBB
    P(gold in draws 1–3)=1−(712)3 = 13851728
  3. Answer
    P(first gold on 3) = 245/1728; P(before 4) = 1385/1728
“First gold by draw 4” includes draw 4; “before draw 4” stops at draw 3. Write the allowed draws before using a power.

4Second gold on a given draw

Second gold on draw 4 means exactly one gold in draws 1–3, then gold: GBBG, BGBG or BBGG.
  1. Three orders, each with the same product
    P(second gold on 4)=3×(512)2×(712)2
  2. Answer
    P(second gold on 4)=12256912Never allow two golds before draw 4.
P(second gold on 4)=3×(512)2×(712)2Three orders, each with the same product.P(second gold on 4)=12256912Never allow two golds before draw 4.

5Try it

Your turn

1 A die is thrown repeatedly. Find P(first six on throw 3).

2 Find P(a six within the first three throws).

3 Find P(second six on throw 3).

4 Two beads are chosen from 4 red and 6 white. Use groups to find P(both red).

  1. 1
    (5/6)² × 1/6 = 25/216
  2. 2
    1 − (5/6)³ = 91/216
  3. 3
    2 × (1/6)² × 5/6 = 5/108
  4. 4
    C(4, 2) ÷ C(10, 2) = 6/45 = 2/15
Tick what you can do now
Practise with m26/52 Q1, Q4(a), Q4(b); s26/51 Q4(a), Q4(b); s26/53 Q1(a), Q1(b)
5 / 6
9709 · Unit 24 · Probability and conditional events
Revisionbyexamplicity

When the bag changes or the game stops

§5.3 · Probability

Some processes change as they go: a counter is added between draws, or a game stops as soon as it is won or lost. The tree method still works if you recount after every action and end each path where the process ends.

1Recount after every action

Draw one counter and keep it out, add one gold, then draw again. The total is back to 12, but the colours depend on the first draw.
First drawSecond drawjoint7/12Blue5/12Gold6/12Blue42/1446/12Gold42/1447/12Blue35/1445/12Gold25/144First counter kept out; add one goldFirst drawSecond drawjoint7/12Blue5/12Gold6/12Blue42/1446/12Gold42/1447/12Blue35/1445/12Gold25/144First counter kept out; add one gold
Worked example

Find P(two blue).

  1. First blue leaves 6 blue + 5 gold
    add gold: 6 blue + 6 gold=12
  1. Multiply along the path
    P(BB)=712×612 = 724
  2. Answer
    P(BB) = 7/24
✓Check after a first gold: 7 blue + 4 gold, then add gold: 7 blue + 5 gold. A total of 12 does not mean replacement

2Reverse a condition in the changed bag

Reverse it as before: add every path that fits what you know, then take the share asked for. Read each branch from the changed bag, not the first one.
  1. Every path with a second gold: BG and GG
    P(G₂)=712×612+512×512 = 67144
  2. Answer
    P(B₁ | G₂)=4214467144 = 4267BG over both second-gold paths.
P(G₂)=712×612+512×512 = 67144Every path with a second gold: BG and GG.P(B₁ | G₂)=4214467144 = 4267BG over both second-gold paths.

3Stop each path where the game stops

Draw with replacement. Stage 1: get gold within two draws. If you do, stage 2: get blue within two more. A stage ends on its target; two misses end the game. Win means both stages succeed.
G within 2 draws, then B within 2 more7/12B5/12G7/12Bstop5/12G7/12Bwin5/12G7/12Bwin5/12G7/12Bwin5/12Gstop7/12Bwin5/12GstopBB stops before the blue stageG within 2 draws, then B within 2 more7/12B5/12G7/12Bstop5/12G7/12Bwin5/12G7/12Bwin5/12G7/12Bwin5/12Gstop7/12Bwin5/12GstopBB stops before the blue stage
Worked example

Find P(win) and P(gold on the first draw | win).

  1. Gold first, then win: GB or GGB
    512×(512×712+712) = 5951728
  2. Gold second, then win: BGB or BGGB
    712×512×(512×712+712) = 416520736
  1. Add every winning path
    P(win)=1130520736
  2. Condition on winning
    P(first gold | win)=59517281130520736 = 1219
  3. Answer
    P(win) = 11305/20736; P(first-draw gold | win) = 12/19
✓Check the seven end points GB, GGB, GGG, BGB, BGGB, BGGG, BB have probabilities adding to 1

4Try it

Your turn

1 A bag has 4 red and 6 white beads. One is drawn and kept out, then a red bead is added and a second drawn. Find P(both red).

2 In the same process, find P(white then red).

3 A die is thrown until a six appears, at most three times. Given that a six appears, find P(it appears on the second throw).

  1. 1
    after red: 3 red + 6 white, add red: 4 red in 10; 4/10 × 4/10 = 4/25
  2. 2
    after white: 4 red + 5 white, add red: 5 red in 10; 6/10 × 5/10 = 3/10
  3. 3
    (5/6 × 1/6) ÷ (1 − (5/6)³) = (30/216) ÷ (91/216) = 30/91
Tick what you can do now
Practise with s26/52 Q5(a), Q5(b), Q5(c); m26/52 Q5(a), Q5(b), Q5(c), Q5(d)
6 / 6