Probability · Higher

Conditional probability

Conditional probability is the chance of something happening given that something else has already happened. Learn to use tables, trees and Venn diagrams to find it, to test whether events depend on each other, and then run it backwards: the chance of B given A, and the chance of A given B.

Where you will use this: the chance a part is faulty when a test says it is, a second pick from a box with no putting back, and any time a result changes the odds.

Reading P(B | A)

The bar | is read “given”. P(B | A) means the probability of B, given that A has happened.

The event after the bar is the one you already know. It is the denominator of the fraction.

P(A and B) means both happen. P(A | B) and P(B | A) are usually not the same.

Warm-up: what do you already know?

Quick warm-up. No marks. A wrong answer only shows where to look.

Skip to the lesson

Work out 1 − 2 over 5. Give your answer as a fraction, like 3/8.

  1. Write 1 as a fraction with denominator 5.
  2. 1 = 5 over 5. Now subtract the numerators.
  • That adds the denominators (5 + 5). When the denominators match, keep the denominator and subtract the numerators only.
  • That is the fraction you started with. Take it away from 1.

1 = 5 over 5, so 5 over 5 − 2 over 5 = 3 over 5.

Quick recap of earlier topics (skip if you are happy)

Work out 3 over 8 × 2 over 7, in its simplest form. Type it like 3/10.

  1. Multiply the numerators, then the denominators.
  2. Then simplify by dividing both by the same number.
  • Right value, but it can be simplified. 2 goes into both.
  • That adds the numerators and the denominators. For “of” or “and then” you multiply.

3 over 8 × 2 over 7 = 6 over 56. Divide the numerator and denominator by 2: 3 over 28.

The probability that a train is late is 0.65. What is the probability that it is not late?

  1. Late and not late cover every possibility.
  2. The two probabilities add up to 1.
  • That is the chance it is late. Take it from 1.
  • That adds. P(not late) = 1 − P(late).

1 − 0.65 = 0.35.

A fair coin is tossed and a fair dice is rolled. What is the probability of heads and a 6? Type it like 1/20.

  1. The coin and the dice do not affect each other.
  2. For “and” with independent events, multiply the probabilities.
  • That adds 2 + 6. Multiply 1 over 2 × 1 over 6.
  • That adds 1 over 2 + 1 over 6. For “and”, multiply.

1 over 2 × 1 over 6 = 1 over 12.

1. “Given that”

Sometimes you know something before you work out a probability. Knowing it changes which things you count. A two-way table is a good way to see this.

Class of 60: how students get to school
WalkBusTotal
Boys141630
Girls181230
Total322860

If you pick a student at random from all 60, P(walk) = 32 over 60. But if you are told the student is a girl, you only look at the girls. The chance a girl walks is 18 over 30. That is a conditional probability, written P(walk | girl).

Key idea: P(B | A) = the number who are both A and B ÷ the number who are A. The “given” group, counted in full, is the denominator of the fraction.

Try it: from the table, P(bus | boy) is the boys who take the bus, out of all the boys. What fraction is that?

Worked example

Use the table. Find P(bus | boy) and P(boy | bus).

  1. P(bus | boy): the boys are given, and there are 30 of them. 16 take the bus, so P = 16 over 30 = 8 over 15.
  2. P(boy | bus): the bus riders are given, and there are 28 of them. 16 are boys, so P = 16 over 28 = 4 over 7.
  3. The two answers are different, because the denominators count different groups.

Now you finish it

Find P(girl | bus) from the same table.

  1. The bus riders are given. How many are there? ___
  2. How many of them are girls? ___
  3. P(girl | bus) = ___ over ___, simplified to ___.
Check my answer

There are 28 bus riders and 12 are girls, so P(girl | bus) = 12 over 28 = 3 over 7.

Check your knowledge: given that

One student is chosen at random from the class of 60. What is the probability that the student is a girl? Give your answer as a fraction in its simplest form, like 2/7.

Class of 60: how students get to school
WalkBusTotal
Boys141630
Girls181230
Total322860
  1. How many students are there in the whole class? That is the denominator.
  2. How many are girls? Put that in the numerator.
  • Right value, but it can be simplified. Divide the numerator and denominator by 30.

30 of the 60 students are girls: 30 over 60 = 1 over 2.

One girl is chosen at random from the class. What is the probability that she walks to school? Give your answer as a fraction in its simplest form, like 2/7.

Class of 60: how students get to school
WalkBusTotal
Boys141630
Girls181230
Total322860
  1. You are told she is a girl. So only look at the girls.
  2. How many girls walk? Out of how many girls?
  • Right value, but it can be simplified. Divide the numerator and denominator by 6.
  • That divides by all 60 students. You know she is a girl, so divide by the 30 girls.
  • That divides by the walkers. You are told she is a girl, so the denominator is the 30 girls.

Only look at the 30 girls. 18 of them walk, so P(walk | girl) = 18 over 30 = 3 over 5.

One of the students who walk is chosen at random. What is the probability that the student is a girl? Give your answer as a fraction in its simplest form, like 2/7.

Class of 60: how students get to school
WalkBusTotal
Boys141630
Girls181230
Total322860
  1. You are told the student walks. So only look at the walkers.
  2. How many walkers are there? How many of them are girls?
  • Right value, but it can be simplified. Divide the numerator and denominator by 2.
  • That is the probability that a girl walks. Here you know the student walks, so the denominator is the 32 walkers.

Only look at the 32 walkers. 18 of them are girls, so P(girl | walk) = 18 over 32 = 9 over 16.

One boy is chosen at random from the class. What is the probability that he takes the bus? Give your answer as a fraction in its simplest form, like 2/7.

Class of 60: how students get to school
WalkBusTotal
Boys141630
Girls181230
Total322860
  1. Only look at the boys.
  2. How many boys take the bus, out of how many boys?
  • Right value, but it can be simplified. Divide the numerator and denominator by 2.
  • That divides by everyone on the bus. You know he is a boy, so the denominator is the 30 boys.

Only look at the 30 boys. 16 of them take the bus, so P(bus | boy) = 16 over 30 = 8 over 15.

One of the students who take the bus is chosen at random. Which fraction gives the probability that the student is a boy, written P(boy | bus)?

Class of 60: how students get to school
WalkBusTotal
Boys141630
Girls181230
Total322860
  • 16/28
  • 16/30, which divides by all the boys
  • 16/60, which divides by the whole class
  • 14/28, which counts the boys who walk
  1. “Given bus” means only look at the bus riders.
  2. The denominator is the number of bus riders. The numerator is the boys among them.

28 students take the bus and 16 of them are boys. P(boy | bus) = 16 over 28, which is 4 over 7 in its simplest form.

A heating firm made 50 call-outs. 30 were for gas boilers and 6 of those needed a new part. 20 were for oil boilers and 8 of those needed a new part. One oil-boiler call-out is chosen at random. What is the probability it needed a new part? Give your answer as a fraction in its simplest form, like 2/7.

  1. It is an oil boiler call-out. So the denominator is only the oil jobs.
  2. How many oil jobs needed a new part?
  • Right value, but it can be simplified. Divide the numerator and denominator by 4.
  • That counts all the jobs that needed a part. You know it is an oil boiler, so look only at the 20 oil jobs.

Only the 20 oil jobs matter. 8 of them needed a new part, so the probability is 8 over 20 = 2 over 5.

2. Trees without replacement

Take two counters from a bag without putting the first back. The second pick depends on the first, because the bag has changed. The branches on the second level are conditional probabilities.

Tree for two counters, all branches filled inA tree diagram for two counters taken without replacement from a bag with 5 red and 3 blue. First branches: R 5/8 and B 3/8. After a red: R 4/7 and B 3/7. After a blue: R 5/7 and B 2/7.5/8R4/7R3/7B3/8B5/7R2/7B
R = red, B = blue. The second set of branches has 7 as the denominator, because one counter is already out.

A bag has 5 red (R) and 3 blue (B) counters. The first counter is red with probability 5 over 8. If it is red, the bag now has 4 red and 3 blue, so P(second red | first red) = 4 over 7. Multiply along the branches.

P(A and B) = P(A) × P(B | A)

Key idea: along a path, multiply the first branch by the second branch, where the second branch is the probability given the first. For “and then” without replacement, the denominator of the second fraction is one smaller.

Worked example

Using the tree, find P(both red) and P(at least one blue).

  1. P(RR) = 5 over 8 × 4 over 7 = 20 over 56 = 5 over 14.
  2. “At least one blue” is everything except RR.
  3. P(at least one blue) = 1 − 5 over 14 = 9 over 14.
  4. Check: RB + BR + BB = 15 over 56 + 15 over 56 + 6 over 56 = 36 over 56 = 9 over 14. ✓

Now you finish it

Using the same tree, find P(blue then blue).

  1. P(first blue) = ___ over 8.
  2. After one blue, ___ counters are left, ___ of them blue.
  3. P(BB) = ___ × ___ = ___, simplified to ___.
Check my answer

3 over 8 × 2 over 7 = 6 over 56 = 3 over 28.

Check your knowledge: trees without replacement

A bag has 5 red and 3 blue counters. Two counters are taken at random without replacement. What is the missing probability on the tree, the chance the second counter is red when the first was red? Give your answer as a fraction, like 3/8.

Tree for two counters from a bag of eightA tree diagram for two counters taken without replacement from a bag with 5 red (R) and 3 blue (B). The first branches are R with 5/8 and B with 3/8. After a red, the second branches are R, marked with a question mark, and B, left blank. After a blue, the second branches are R with 5/7 and B with 2/7.5/8R?RB3/8B5/7R2/7B
  1. After one red counter is taken out, how many counters are left in the bag?
  2. How many of those are red?
  • That is the chance for the first counter. After one red is taken there are 7 counters left, and 4 of them are red.
  • There are only 7 counters left, because one has been taken out.

One red counter has gone, so 7 counters are left and 4 are red. P(second red | first red) = 4 over 7.

Use the tree. What is the probability that both counters are red? Give your answer as a fraction in its simplest form, like 3/10.

Tree for two counters, all branches filled inA tree diagram for two counters taken without replacement from a bag with 5 red and 3 blue. First branches: R 5/8 and B 3/8. After a red: R 4/7 and B 3/7. After a blue: R 5/7 and B 2/7.5/8R4/7R3/7B3/8B5/7R2/7B
R = red, B = blue. The second set of branches has 7 as the denominator, because one counter is already out.
  1. “Red and then red” follows one path along the branches.
  2. Multiply the probabilities along that path, then simplify.
  • Right value, but it can be simplified. Divide the numerator and denominator by 4.
  • That is with replacement. The second branch is 4 over 7, not 5 over 8.

P(RR) = 5 over 8 × 4 over 7 = 20 over 56 = 5 over 14.

A box holds 10 fuses and 3 of them are faulty. Two fuses are taken at random without replacement. What is the probability that both are faulty? Give your answer as a fraction in its simplest form, like 3/10.

  1. The first fuse is faulty with probability 3 over 10.
  2. After one faulty fuse is out, how many fuses are left, and how many are faulty? Then multiply.
  • Right value, but it can be simplified. Divide the numerator and denominator by 6.
  • That is with replacement. After one faulty fuse is out there are 9 fuses left and 2 faulty.

P(first faulty) = 3 over 10. Then 9 fuses are left and 2 are faulty, so P(second faulty | first faulty) = 2 over 9. P(both) = 3 over 10 × 2 over 9 = 6 over 90 = 1 over 15.

[2 marks] The same box of 10 fuses has 3 faulty ones. Two fuses are taken at random without replacement. What is the probability that exactly one is faulty? Give your answer as a fraction in its simplest form, like 3/10.

  1. There are two ways: faulty then good, or good then faulty.
  2. Work out each with the changing denominator (10 then 9), then add.
  • That is only one of the two ways. Add the other way: good then faulty.
  • Right value, but it can be simplified. Divide the numerator and denominator by 6.

Faulty then good: 3 over 10 × 7 over 9 = 21 over 90. Good then faulty: 7 over 10 × 3 over 9 = 21 over 90. Add: 42 over 90 = 7 over 15.

  • M1 for 3 over 10 × 7 over 9 or 7 over 10 × 3 over 9
  • A1 for 7 over 15, from 42 over 90 simplified

P(A) = 0.6 and P(B | A) = 0.5. Use P(A and B) = P(A) × P(B | A) to find P(A and B).

  1. Multiply the two probabilities you are given.
  2. What is 0.6 × 0.5?
  • That adds. For “and”, multiply.
  • Check the decimal places: 0.6 × 0.5 = 0.30.

P(A and B) = 0.6 × 0.5 = 0.3.

A bag has 4 red and 3 blue counters. One blue counter is taken out and not put back. What is the probability that the next counter is also blue? Give your answer as a fraction in its simplest form, like 5/9.

  1. How many counters are left after one blue has been taken?
  2. How many of them are blue?
  • Right value, but it can be simplified. Divide the numerator and denominator by 2.
  • That is the chance for the first counter. Now one blue has gone.
  • There are 6 counters left, not 7, since one has been taken out.

After one blue counter is taken, 6 counters are left and 2 are blue. P = 2 over 6 = 1 over 3.

On the tree, the second branches have 7 as the denominator but the first branches have 8. Why?

  • One counter is out, so only 7 are left
  • It is a mistake. The second branches should be the same as the first.
  • The second counter is chosen on purpose, not at random
  1. Think about the bag between the first pick and the second.
  2. What happens to the counter taken first?

The first counter is not replaced, so only 7 are left for the second pick. That is why the second branches are conditional probabilities: they depend on the first pick.

3. Venn diagrams and the formula

A Venn diagram shows how groups overlap. Here are 31 students: 18 play football, 12 play tennis and 5 play both (those 5 are counted in the 18 and in the 12). Work out the regions first: football only is 18 − 5 = 13, tennis only is 12 − 5 = 7, and the 6 outside both circles come from 31 − 13 − 5 − 7.

Venn diagram for football and tennisA Venn diagram of 31 students. The football circle has 13 only in football. The overlap with the tennis circle has 5. The tennis circle has 7 only in tennis. Outside both circles there are 6.FootballTennis13576Total 31
Each number is the count in that region.

“Given football” means look only inside the football circle (13 + 5 = 18). Of those, 5 are in the overlap, so P(tennis | football) = 5 over 18.

The same idea written as a formula:

P(B | A) = P(A and B) ÷ P(A)

Check with the diagram: P(football and tennis) = 5 over 31 and P(football) = 18 over 31, so P(tennis | football) = 5 over 31 ÷ 18 over 31 = 5 over 18.

Key idea: P(B | A) = P(A and B) ÷ P(A). It is the same as “the overlap over the given group”. The formula works with counts or with probabilities.

Worked example

Use the Venn diagram. Find P(football | tennis) and P(football | not tennis).

  1. Tennis is given: the tennis circle holds 5 + 7 = 12. The overlap is 5, so P(football | tennis) = 5 over 12.
  2. Not tennis is given: outside the tennis circle holds 13 + 6 = 19. Of these, 13 play football, so P(football | not tennis) = 13 over 19.

Now you finish it

Find P(tennis | not football) from the same diagram.

  1. Outside the football circle there are ___ + ___ = ___ students.
  2. Of these, ___ play tennis.
  3. P(tennis | not football) = ___ over ___.
Check my answer

Outside the football circle: 7 + 6 = 13 students. 7 of them play tennis, so P(tennis | not football) = 7 over 13.

Check your knowledge: Venn diagrams and the formula

The Venn diagram shows 31 students and the sports they play. A student is chosen at random from those who play football. What is the probability that they also play tennis? Give your answer as a fraction, like 3/10.

Venn diagram for football and tennisA Venn diagram of 31 students. The football circle has 13 only in football. The overlap with the tennis circle has 5. The tennis circle has 7 only in tennis. Outside both circles there are 6.FootballTennis13576Total 31
Each number is the count in that region.
  1. You are told the student plays football. Which part of the diagram is that?
  2. The denominator is everything inside the football circle, including the overlap.
  • That divides by all 31. You know they play football, so the denominator is the whole football circle.
  • That leaves out the overlap in the denominator. The football circle holds 13 + 5.

The football circle holds 13 + 5 = 18 students. 5 of them also play tennis, so P(tennis | football) = 5 over 18.

A student is chosen at random from those who play tennis. What is the probability that they also play football? Give your answer as a fraction in its simplest form, like 3/10.

Venn diagram for football and tennisA Venn diagram of 31 students. The football circle has 13 only in football. The overlap with the tennis circle has 5. The tennis circle has 7 only in tennis. Outside both circles there are 6.FootballTennis13576Total 31
Each number is the count in that region.
  1. The tennis circle holds 5 + 7 students.
  2. Put the overlap over the whole tennis circle.
  • That is P(tennis | football). Here you are told they play tennis, so the denominator is the tennis circle.
  • That leaves out the overlap in the denominator. The tennis circle holds 7 + 5.

The tennis circle holds 7 + 5 = 12 students and 5 of them also play football. P(football | tennis) = 5 over 12.

A student is chosen at random from all 31. What is the probability that they play football and tennis? Give your answer as a fraction in its simplest form, like 3/10.

Venn diagram for football and tennisA Venn diagram of 31 students. The football circle has 13 only in football. The overlap with the tennis circle has 5. The tennis circle has 7 only in tennis. Outside both circles there are 6.FootballTennis13576Total 31
Each number is the count in that region.
  1. “And” means the overlap.
  2. The denominator is all 31 students.
  • That is P(tennis | football). Here the denominator is all 31.

The overlap holds 5 of the 31 students, so the probability is 5 over 31. Check: P(football) × P(tennis | football) = 18 over 31 × 5 over 18 = 5 over 31. ✓

A student is chosen at random from those who do not play tennis. What is the probability that they play football? Give your answer as a fraction, like 3/10.

Venn diagram for football and tennisA Venn diagram of 31 students. The football circle has 13 only in football. The overlap with the tennis circle has 5. The tennis circle has 7 only in tennis. Outside both circles there are 6.FootballTennis13576Total 31
Each number is the count in that region.
  1. Not tennis means everything outside the tennis circle.
  2. Add the football-only number and the number outside both circles for the denominator.
  • That divides by all 31. You are told they do not play tennis, so the denominator is the students outside the tennis circle.
  • That is bigger than 1. The denominator is the 13 football-only plus the 6 outside both.

Outside the tennis circle: 13 + 6 = 19 students. 13 of them play football (and not tennis), so the probability is 13 over 19.

The Venn diagram shows the 40 students in a school who are in the maths club, the science club, both or neither. One maths club member is chosen at random. What is the probability that they are also in the science club? Give your answer as a fraction in its simplest form, like 3/10.

Venn diagram for maths and science clubsA Venn diagram of 40 students. 12 are only in the maths club, 12 are in both clubs, 8 are only in the science club and 8 are in neither.MathsScience121288Total 40
Each number is the count in that region.
  1. The maths circle holds 12 + 12 students.
  2. Put the overlap over the whole maths circle, then simplify.
  • Right value, but it can be simplified. Divide the numerator and denominator by 12.
  • That divides by all 40. You know they are in the maths club.

The maths circle holds 12 + 12 = 24 students. 12 of them are also in science, so P(science | maths) = 12 over 24 = 1 over 2.

One science club member is chosen at random from the same Venn diagram. What is the probability that they are also in the maths club? Give your answer as a fraction in its simplest form, like 3/10.

Venn diagram for maths and science clubsA Venn diagram of 40 students. 12 are only in the maths club, 12 are in both clubs, 8 are only in the science club and 8 are in neither.MathsScience121288Total 40
Each number is the count in that region.
  1. The science circle holds 12 + 8 students.
  2. Put the overlap over the whole science circle, then simplify.
  • Right value, but it can be simplified. Divide the numerator and denominator by 4.
  • That is P(science | maths). Here you are told they are in the science club.

The science circle holds 12 + 8 = 20 students. 12 of them are also in maths, so P(maths | science) = 12 over 20 = 3 over 5. This is not the same as P(science | maths).

Which formula gives P(B | A), the chance of B given A?

  • P(A and B) ÷ P(A)
  • P(A) ÷ P(A and B)
  • P(A) × P(B)
  • P(A and B) ÷ P(B), because B is the event we are interested in
  1. “Given A” means only look inside A.
  2. The numerator is the overlap. The denominator is all of A.

P(B | A) = P(A and B) ÷ P(A): the part of A that is also B, divided by all of A.

4. Independent or dependent?

Two events are independent if knowing one has happened does not change the chance of the other. Then P(B | A) = P(B). If knowing A does change the chance of B, the events are dependent.

Parts made by two machines
FaultyNot faultyTotal
Machine X10190200
Machine Y15285300
Total25475500

In the table, P(faulty | Machine X) = 10 over 200 = 1 over 20. P(faulty | Machine Y) = 15 over 300 = 1 over 20. And P(faulty) overall = 25 over 500 = 1 over 20. All three are equal, so which machine made the part does not change the chance of a fault: the events are independent.

Key idea: test for independence by comparing P(B | A) with P(B). If they are equal, the events are independent and P(A and B) = P(A) × P(B). If they differ, the events are dependent. Picks with replacement are independent. Picks without replacement are dependent.

Worked example

On the day shift 12 of 100 parts are faulty. On the night shift 4 of 100 parts are faulty. Are “faulty” and “day shift” independent?

  1. P(faulty | day) = 12 over 100 = 0.12.
  2. P(faulty) = 16 over 200 = 0.08.
  3. 0.12 is not 0.08, so the events are dependent: the day shift has more faults.

Now you finish it

Shift A made 50 parts and 5 were faulty. Shift B made 150 parts and 15 were faulty. Are “faulty” and “shift A” independent?

  1. P(faulty | shift A) = ___ over ___ = ___.
  2. P(faulty) = ___ over 200 = ___.
  3. The events are ___.
Check my answer

P(faulty | A) = 5 over 50 = 0.1 and P(faulty) = 20 over 200 = 0.1. They are equal, so the events are independent.

Check your knowledge: independent and dependent

One part made by Machine X is chosen at random. What is the probability that it is faulty? Give your answer as a fraction in its simplest form, like 3/10.

Parts made by two machines
FaultyNot faultyTotal
Machine X10190200
Machine Y15285300
Total25475500
  1. Only look at the parts from Machine X.
  2. Faulty parts from X, over all parts from X.
  • Right value, but it can be simplified. Divide the numerator and denominator by 10.
  • That divides by all faulty parts. You know it came from Machine X.

10 over 200 = 1 over 20.

One part made by Machine Y is chosen at random. What is the probability that it is faulty? Give your answer as a fraction in its simplest form, like 3/10.

Parts made by two machines
FaultyNot faultyTotal
Machine X10190200
Machine Y15285300
Total25475500
  1. Only look at the parts from Machine Y.
  2. Faulty parts from Y, over all parts from Y.
  • Right value, but it can be simplified. Divide the numerator and denominator by 15.
  • That divides by all faulty parts. You know it came from Machine Y.

15 over 300 = 1 over 20.

Are “faulty” and “made by Machine X” independent for these parts?

Parts made by two machines
FaultyNot faultyTotal
Machine X10190200
Machine Y15285300
Total25475500
  • Yes: each machine has a fault rate of 1 in 20
  • No: Machine Y made more parts, so it has more faults
  • No: the machines are different, so the faults must be different
  1. Independent means knowing the machine does not change the chance of a fault.
  2. Compare P(faulty | X) and P(faulty | Y), and the overall P(faulty).

P(faulty | X) = 10 over 200 = 1 over 20, P(faulty | Y) = 15 over 300 = 1 over 20 and P(faulty) = 25 over 500 = 1 over 20. All equal, so knowing the machine tells you nothing about faults: independent.

Are “faulty” and “made on the day shift” independent for these parts?

Parts made on two shifts
FaultyNot faultyTotal
Day shift1288100
Night shift496100
Total16184200
  • No: P(faulty | day) = 0.12, but P(faulty) = 0.08
  • Yes: both shifts made exactly the same number of parts, 100 each
  • Yes: there are faulty parts on both of the shifts that were checked
  1. Work out P(faulty | day shift) and P(faulty) overall.
  2. If they are different, the events are not independent.

P(faulty | day) = 12 over 100 = 0.12. P(faulty) = 16 over 200 = 0.08. These are different, so knowing it is the day shift changes the chance of a fault: not independent.

A and B are independent events with P(A) = 0.5 and P(B) = 0.4. What is P(A and B)?

  1. For independent events, P(A and B) = P(A) × P(B).
  2. What is 0.5 × 0.4?
  • That adds. For “and”, multiply.
  • Check the decimal places: 0.5 × 0.4 = 0.20.

P(A and B) = 0.5 × 0.4 = 0.2.

A fair coin is tossed and a fair dice is rolled. Given that the dice shows a 6, what is the probability that the coin shows heads? Give your answer as a fraction, like 3/10.

  1. Does the dice affect the coin?
  2. If they are independent, the extra information changes nothing.
  • That is P(heads and 6). The 6 is given, so it is not part of the chance.
  • That is the chance of a 6. The question is about the coin.

The coin and the dice are independent, so P(heads | six) = P(heads) = 1 over 2.

Counters are picked one after the other from a bag. Which statement is correct?

  • Independent with replacement, dependent without
  • Picks are independent without replacement and dependent with replacement, so it is the other way
  • Picks are always independent, because each is at random
  1. Does the first pick change what is in the bag for the second pick?
  2. If the first pick changes the second probabilities, the picks depend on each other.

If the counter is put back, the second pick has the same chances as the first: independent. If it is not put back, the bag has changed: dependent.

5. A test that is nearly always right Higher

Quality checks, and many other kinds of tests, raise a surprising question. If a test says “faulty”, how likely is the part to be faulty?

Suppose 1000 parts are tested. The test flags a part when it says the part is faulty. 20 of the parts are faulty, and the test flags 18 of them. Of the 980 good parts, the test wrongly flags 49. Counting is easier than fractions here.

A test on 1000 partsA tree of 1000 parts. 20 are faulty and 980 are good. Of the 20 faulty parts, 18 are flagged and 2 are not. Of the 980 good parts, 49 are flagged and 931 are not.1000 partsFaulty 20Good 980Flagged 18Not flagged 2Flagged 49Not flagged 931

The test is quite good at finding faulty parts: P(flagged | faulty) = 18 over 20 = 0.9. But 18 + 49 = 67 parts are flagged, and only 18 of them are faulty: P(faulty | flagged) = 18 over 67, about 0.27. Most flagged parts are fine, because there are so many more good parts than faulty ones. The same idea matters for any screening test where the thing being looked for is rare.

Key idea: P(flagged | faulty) and P(faulty | flagged) are different questions with different denominators. Use counts out of a round number, like 1000, to see which group is the denominator.

Worked example

A scanner is tried on 1000 sockets. 10 are faulty and the scanner flags 9 of them. It also flags 40 of the 990 good sockets. One of the flagged sockets is chosen at random. What is the probability that it is faulty?

  1. Flagged sockets: 9 + 40 = 49.
  2. Flagged and faulty: 9.
  3. P(faulty | flagged) = 9 over 49, about 0.18.

Now you finish it

The same scanner: what is the probability that a faulty socket is flagged?

  1. Faulty sockets: ___.
  2. Flagged faulty sockets: ___.
  3. P(flagged | faulty) = ___ over ___ = ___.
Check my answer

9 over 10 = 0.9. Compare with P(faulty | flagged) = 9 over 49: different denominators, very different answers.

Check your knowledge: when a test says yes

A test flags faulty parts. It was tried on 1000 parts: 20 faulty and 980 good. Use the tree to find the total number of parts that were flagged.

The same test on 1000 partsThe same tree of 1000 parts. 20 are faulty and 980 are good. Of the 20 faulty parts, 18 are flagged and 2 are not. Of the 980 good parts, 49 are flagged and 931 are not.1000 partsFaulty 20Good 980Flagged 18Not flagged 2Flagged 49Not flagged 931
  1. Flagged parts come from two places on the tree.
  2. Add the flagged faulty parts and the flagged good parts.
  • That is only the flagged faulty parts. Good parts can be flagged too.
  • That is only the flagged good parts. Add the flagged faulty parts as well.

18 faulty parts and 49 good parts were flagged: 18 + 49 = 67.

A faulty part is tested. What is the probability that it is flagged? Give your answer as a fraction in its simplest form, like 3/10.

The same test on 1000 partsThe same tree of 1000 parts. 20 are faulty and 980 are good. Of the 20 faulty parts, 18 are flagged and 2 are not. Of the 980 good parts, 49 are flagged and 931 are not.1000 partsFaulty 20Good 980Flagged 18Not flagged 2Flagged 49Not flagged 931
  1. You know the part is faulty, so look only at the 20 faulty parts.
  2. How many of them are flagged?
  • Right value, but it can be simplified. Divide the numerator and denominator by 2.
  • That is for a flagged part being faulty. Here you know the part is faulty, so divide by the 20 faulty parts.

Of the 20 faulty parts, 18 are flagged: P(flagged | faulty) = 18 over 20 = 9 over 10.

A part is flagged. What is the probability that it really is faulty? Give your answer as a fraction, like 3/10.

The same test on 1000 partsThe same tree of 1000 parts. 20 are faulty and 980 are good. Of the 20 faulty parts, 18 are flagged and 2 are not. Of the 980 good parts, 49 are flagged and 931 are not.1000 partsFaulty 20Good 980Flagged 18Not flagged 2Flagged 49Not flagged 931
  1. You know the part is flagged, so look only at the flagged parts.
  2. How many flagged parts are there in total? How many of them are faulty?
  • That is the chance a faulty part is flagged. Here you know the part is flagged, so the denominator is all the flagged parts.
  • That divides by all 1000 parts. You are told the part is flagged.

There are 18 + 49 = 67 flagged parts and only 18 of them are faulty. P(faulty | flagged) = 18 over 67, about 0.27.

P(flagged | faulty) is 9 over 10 but P(faulty | flagged) is only about 0.27. Why is the second one so much lower?

The same test on 1000 partsThe same tree of 1000 parts. 20 are faulty and 980 are good. Of the 20 faulty parts, 18 are flagged and 2 are not. Of the 980 good parts, 49 are flagged and 931 are not.1000 partsFaulty 20Good 980Flagged 18Not flagged 2Flagged 49Not flagged 931
  • Most parts are good, so false alarms add up
  • The test must be broken, because it keeps flagging good parts
  • Flagged parts are never faulty
  • The two probabilities are always the same
  1. Compare the 18 flagged faulty parts with the 49 flagged good ones.
  2. How many good parts are there compared with faulty ones?

980 of the 1000 parts are good, so even a 5% false-alarm rate flags 49 of them. Only 18 of the 67 flagged parts are faulty.

A flagged part is checked by hand. What is the probability that it turns out to be a good part? Give your answer as a fraction, like 3/10.

The same test on 1000 partsThe same tree of 1000 parts. 20 are faulty and 980 are good. Of the 20 faulty parts, 18 are flagged and 2 are not. Of the 980 good parts, 49 are flagged and 931 are not.1000 partsFaulty 20Good 980Flagged 18Not flagged 2Flagged 49Not flagged 931
  1. Use the same group: all the flagged parts.
  2. How many of the flagged parts are good?
  • That is the false-alarm rate among good parts. Here the group is all flagged parts.
  • That is the chance a flagged part is faulty. You want the good ones.

There are 67 flagged parts and 49 of them are good, so the probability is 49 over 67. Check: 18 over 67 + 49 over 67 = 1. ✓

Flip it: the chance of B given A, and of A given B

The two conditional probabilities are linked by the same overlap, P(A and B), but they have different denominators.

B given A

B given A: look only inside ATwo overlapping circles A and B. Circle A is outlined heavily, because it is the group we already know we are in.ABbothgiven A:the bottom

P(B | A) = P(A and B) ÷ P(A)

The denominator is the event that is given: A.

A given B

A given B: look only inside BTwo overlapping circles A and B. Circle B is outlined heavily, because it is the group we already know we are in.ABbothgiven B:the bottom

P(A | B) = P(A and B) ÷ P(B)

Now B is given, so the denominator is P(B).

You can also go backwards through the multiplication rule. If P(A and B) = P(A) × P(B | A), then P(B | A) = P(A and B) ÷ P(A), and P(A) = P(A and B) ÷ P(B | A).

Key idea: the same overlap, divided by different groups, gives different answers. Say out loud which event is given, and put its probability or count on the denominator.

Worked example

P(A) = 0.3, P(B) = 0.6 and P(A and B) = 0.12. Find P(B | A) and P(A | B), and say whether A and B are independent.

  1. P(B | A) = 0.12 ÷ 0.3 = 0.4.
  2. P(A | B) = 0.12 ÷ 0.6 = 0.2.
  3. P(B | A) = 0.4 is not P(B) = 0.6, so A and B are not independent. (Check: 0.3 × 0.6 = 0.18, which is not 0.12.)

Now you finish it

P(A) = 0.2, P(B) = 0.5 and P(A and B) = 0.08. Find P(B | A) and P(A | B).

  1. P(B | A) = 0.08 ÷ ___ = ___.
  2. P(A | B) = 0.08 ÷ ___ = ___.
Check my answer

P(B | A) = 0.08 ÷ 0.2 = 0.4. P(A | B) = 0.08 ÷ 0.5 = 0.16. They are different, and neither equals P(B) or P(A) respectively, so the events are not independent.

Check your knowledge: running it backwards

P(A) = 0.3, P(B) = 0.6 and P(A and B) = 0.12. Find P(B | A).

  1. P(B | A) = P(A and B) ÷ P(A).
  2. Divide 0.12 by 0.3.
  • That is P(A | B), which divides by P(B). For P(B | A) the denominator is P(A).
  • That is P(A and B). You still need to divide by P(A).

P(B | A) = 0.12 ÷ 0.3 = 0.4.

P(A) = 0.3, P(B) = 0.6 and P(A and B) = 0.12. Find P(A | B).

  1. P(A | B) = P(A and B) ÷ P(B).
  2. Divide 0.12 by 0.6.
  • That is P(B | A), which divides by P(A). For P(A | B) the denominator is P(B).
  • That adds the two numbers. Divide P(A and B) by P(B).

P(A | B) = 0.12 ÷ 0.6 = 0.2. This is different from P(B | A) = 0.4.

P(A) = 0.5 and P(B | A) = 0.4. Find P(A and B).

  1. Rearrange: P(A and B) = P(A) × P(B | A).
  2. Multiply 0.5 by 0.4.
  • That adds. P(A and B) = P(A) × P(B | A).
  • That divides 0.4 by 0.5. To find P(A and B), multiply.

P(A and B) = 0.5 × 0.4 = 0.2.

P(B | A) = 0.4 and P(A and B) = 0.2. Find P(A).

  1. P(A and B) = P(A) × P(B | A).
  2. To undo × 0.4, divide 0.2 by 0.4.
  • That multiplies. You need to find P(A) from P(A and B) = P(A) × 0.4, so divide.
  • That is P(A and B). Divide it by P(B | A) = 0.4.

0.2 = P(A) × 0.4, so P(A) = 0.2 ÷ 0.4 = 0.5.

In a class of girls and boys, P(walk | girl) = 3 over 5 and there are 30 girls. How many girls walk to school?

  1. 3 over 5 of the girls walk.
  2. Find 3 over 5 of 30.
  • That divides 30 by 3 over 5. The probability is the fraction of girls who walk, so multiply.
  • That is 1 over 5 of 30. You need three fifths, so multiply 6 by 3.

P(walk | girl) is the fraction of the girls who walk, so 3 over 5 × 30 = 18 girls.

A bag has 6 counters, some red and the rest blue. Two are taken without replacement and P(both red) = 1 over 5. How many red counters are in the bag?

  1. If r counters are red, P(both red) = r over 6 × (r − 1) over 5.
  2. Try small numbers of red counters, starting from 2. Which one makes 1 over 5?
  • Test it: 2 over 6 × 1 over 5 = 2 over 30, which is 1 over 15, not 1 over 5.
  • Test it: 4 over 6 × 3 over 5 = 12 over 30, which is 2 over 5, not 1 over 5.

Try r = 3: 3 over 6 × 2 over 5 = 6 over 30 = 1 over 5. ✓ So there are 3 red counters. (r = 2 gives 1 over 15 and r = 4 gives 12 over 30 = 2 over 5.)

Spot the mistake

Finding an error in someone else’s working helps you learn. For each one, decide what went wrong.

Sam says: in the class table, P(boy | bus) = 16 over 60, because there are 60 students. What went wrong?

  • The denominator should be the 28 students on the bus, not all 60
  • Nothing is wrong, because you always divide by the whole class of 60 students.
  • The numerator should be 28
  1. What does “given bus” tell you about which students to look at?
  2. The denominator of the fraction is the given group.

You are told the student rides the bus, so look only at the 28 bus riders. 16 of them are boys: P(boy | bus) = 16 over 28 = 4 over 7.

Mia says: a bag has 5 red and 3 blue counters. Two counters are taken at random without replacement, so P(both red) = 5 over 8 × 5 over 8. What went wrong?

  • After one red is out, the second pick is 4/7, not 5/8
  • Nothing is wrong, because 5/8 is the chance of red every single time.
  • She should have added the two probabilities instead of multiplying them
  1. Is the second counter taken from the same bag as the first?
  2. How many counters are left, and how many of them are red?

Without replacement, the second pick is from 7 counters with 4 red. P(both red) = 5 over 8 × 4 over 7 = 5 over 14.

Kit says: the test flags 90% of faulty parts, so if a part is flagged there is a 90% chance it is faulty. What went wrong?

  • The two probabilities have different denominators, so they are usually not equal
  • Nothing is wrong. If 90% of faulty parts are flagged then 90% of flagged parts must be faulty.
  • He should have used 10% instead, because 100% − 90% = 10%
  1. Which group is the denominator of P(flagged | faulty)? Which is the denominator of P(faulty | flagged)?
  2. Think about the flagged good parts as well.

90% is P(flagged | faulty): the share of faulty parts that are flagged. P(faulty | flagged) is the share of flagged parts that are faulty. It depends on how many good parts are also flagged, so it can be much lower.

Check your knowledge: mixed review

Mixed up on purpose, like a real paper. Work out which idea fits.

A bag has 6 red and 2 blue counters. Two counters are taken at random without replacement. What is the probability that the first is red and the second is blue? Give your answer as a fraction in its simplest form, like 3/10.

  1. The first branch is red: 6 over 8.
  2. After one red is out, 7 are left. How many are blue?
  • Right value, but it can be simplified. Divide the numerator and denominator by 4.
  • That is with replacement. After a red, 7 counters are left.

6 over 8 × 2 over 7 = 12 over 56 = 3 over 14.

80 people were asked. 50 own a car, and 30 of the car owners are over 40. One car owner is chosen at random. What is the probability they are over 40? Give your answer as a fraction in its simplest form, like 3/10.

  1. You know they own a car, so look only at the 50 car owners.
  2. How many of those are over 40?
  • Right value, but it can be simplified. Divide the numerator and denominator by 10.
  • That divides by all 80 people. You know they own a car.

30 over 50 = 3 over 5.

12 plumbers do gas work (this includes 4 who also do oil work) and 9 do oil work. A plumber who does gas work is chosen at random. What is the probability that they also do oil work? Give your answer as a fraction in its simplest form, like 3/10.

  1. Gas work is the given group, with 12 plumbers.
  2. How many of them also do oil?
  • Right value, but it can be simplified. Divide the numerator and denominator by 4.
  • That divides by the oil plumbers. You are told they do gas work.

4 of the 12 gas plumbers also do oil. P(oil | gas) = 4 over 12 = 1 over 3.

P(A) = 0.5 and P(A and B) = 0.15. Find P(B | A).

  1. P(B | A) = P(A and B) ÷ P(A).
  2. Divide 0.15 by 0.5.
  • That multiplies. To find P(B | A), divide by P(A).
  • Check the division: 0.15 ÷ 0.5 = 0.3.

P(B | A) = 0.15 ÷ 0.5 = 0.3.

A fair dice is rolled and a fair coin is tossed. What is the probability of a 6 and tails? Give your answer as a fraction, like 3/10.

  1. The dice and the coin are independent.
  2. Multiply the two probabilities.
  • That adds the probabilities. For “and”, multiply.
  • That is only the dice. The coin matters too.

1 over 6 × 1 over 2 = 1 over 12.

Check your knowledge: on the job

Real jobs from the building trades: electrics, plumbing, carpentry and roofing. Prices are typical, so check them with your own supplier.

An electrician’s tray has 12 fuses: 4 are 13 amp and 8 are 5 amp. She takes two fuses at random, without putting the first back. What is the probability that both are 13 amp? Give your answer as a fraction in its simplest form, like 3/10.

  1. The first is 13 amp with probability 4 over 12.
  2. After one 13 amp fuse is out, how many fuses are left, and how many are 13 amp?
  • Right value, but it can be simplified. Divide the numerator and denominator by 12.
  • That is with replacement: 4 over 12 × 4 over 12. Without it, the second is 3 over 11.

4 over 12 × 3 over 11 = 12 over 132 = 1 over 11.

A plumber buys 100 valves: 60 from supplier A and 40 from supplier B. 3 of A’s valves leak and 4 of B’s valves leak. A valve from supplier B is picked at random. What is the probability that it leaks? Give your answer as a fraction in its simplest form, like 3/10.

  1. It is from supplier B, so look only at the 40 valves from B.
  2. How many of those leak?
  • Right value, but it can be simplified. Divide the numerator and denominator by 4.
  • That counts all the leaking valves. You know the valve is from supplier B.

4 over 40 = 1 over 10: divide the numerator and denominator by 4.

A carpenter has 20 planks and 6 of them are warped. She takes two at random without replacement. What is the probability that neither is warped? Give your answer as a fraction in its simplest form, like 3/10.

  1. 14 planks are not warped. The first is fine with probability 14 over 20.
  2. After a good plank is taken, 19 are left and 13 are good. Multiply.
  • That is with replacement. Without it, the second plank is from 19 planks, 13 of them good.
  • Right value, but it can be simplified. Divide the numerator and denominator by 2.

14 over 20 × 13 over 19 = 182 over 380 = 91 over 190.

[2 marks] A tester checks 500 sockets. 25 are faulty. The tester flags 24 of the faulty sockets and 38 of the 475 good ones. One of the flagged sockets is chosen at random. What is the probability that it is really faulty? Give your answer as a fraction in its simplest form, like 3/10.

  1. How many sockets were flagged altogether?
  2. Put the flagged faulty ones over all the flagged ones, then simplify.
  • Right value, but it can be simplified. Divide the numerator and denominator by 2.
  • That is the chance that a faulty socket is flagged. A socket is flagged, so the denominator is all the flagged sockets.

Flagged: 24 + 38 = 62. Of these, 24 are faulty. P(faulty | flagged) = 24 over 62 = 12 over 31, which is about 0.39.

  • M1 for 24 + 38 = 62 flagged sockets
  • A1 for 12 over 31, from 24 over 62 simplified

A pack of 15 roof tiles has 3 cracked ones. Two tiles are taken at random without replacement, and the first is cracked. What is the probability that the second is cracked as well? Give your answer as a fraction in its simplest form, like 3/10.

  1. After one cracked tile is out, how many tiles are left?
  2. How many of those are cracked?
  • Right value, but it can be simplified. Divide the numerator and denominator by 2.
  • That is the chance for the first tile. One cracked tile has gone.

14 tiles are left and 2 are cracked, so P = 2 over 14 = 1 over 7.

[3 marks] 60% of deliveries to a site arrive before 9 am. Of those, 5% are damaged. Of the deliveries that arrive later, 10% are damaged. Each damaged delivery costs £85 to replace. In 200 deliveries, what is the expected cost of replacements, in pounds? Type it like 1250.

  1. Find P(damaged) with a two-stage tree: early and damaged, late and damaged.
  2. P(early and damaged) = 0.6 × 0.05. Work out the late path too, then add them.
  3. Expected damaged deliveries = probability × 200. Then multiply by the cost of one.
  • That is the expected number of damaged deliveries. Multiply by £85 to get the cost.
  • That uses 10 damaged deliveries. Check the probability: 0.03 + 0.04 = 0.07, so 14 are damaged.

P(early and damaged) = 0.6 × 0.05 = 0.03. P(late and damaged) = 0.4 × 0.1 = 0.04. P(damaged) = 0.07. Expected damaged = 0.07 × 200 = 14. Cost = 14 × 85 = £1190.

  • M1 for 0.6 × 0.05 = 0.03 and 0.4 × 0.1 = 0.04
  • M1 for 0.03 + 0.04 = 0.07
  • A1 for 200 × 0.07 × 85 = 1190

Exam style

Use these like a real paper. The marks tell you how much to write. A calculator is fine here.

Not sure what a question word means? Question words explained.

Write your working on paper, then type the answer.

[3 marks] In a group of 50 people, 28 play chess, 20 play draughts and 8 play both. A person who plays chess is chosen at random. Work out the probability that they also play draughts. Give your answer as a fraction in its simplest form, like 3/10.

  1. Chess is the given group, so find how many play chess.
  2. The numerator is the people who play both.
  3. Write the fraction, then simplify.
  • Right value, but it can be simplified. Divide the numerator and denominator by 4.
  • That divides by all 50. You know the person plays chess, so the denominator is 28.

Chess is given, so look only at the 28 chess players. 8 of them also play draughts. P(draughts | chess) = 8 over 28 = 2 over 7.

  • M1 for 28 as the number who play chess
  • M1 for 8 over 28
  • A1 for 2 over 7

Higher [4 marks] A box has 4 red cards and 3 green cards. Two cards are taken at random without replacement. Work out the probability that at least one is green. Give your answer as a fraction in its simplest form, like 3/10.

  1. “At least one green” is everything except “both red”.
  2. P(both red) = 4 over 7 × the second branch with one red already gone.
  3. Take your answer away from 1.
  • That is the chance both are red. At least one green is the rest.
  • That is the chance both are red, not simplified. Take it from 1 to get at least one green.

P(both red) = 4 over 7 × 3 over 6 = 12 over 42 = 2 over 7. P(at least one green) = 1 − 2 over 7 = 5 over 7.

  • M1 for 4 over 7 × 3 over 6
  • M1 for 12 over 42 or 2 over 7
  • M1 for 1 − 2 over 7
  • A1 for 5 over 7

Higher [3 marks] Machine P made 60 parts and 9 were faulty. Machine Q made 40 parts and 2 were faulty. Show that “faulty” and “made by machine P” are not independent events.

  1. If they are independent, P(faulty | made by P) would equal P(faulty).
  2. Work out both. P(faulty | P) uses only the parts from machine P.
  3. Compare the two answers.

P(faulty | made by P) = 9 over 60 = 0.15. In all, 11 of the 100 parts were faulty, so P(faulty) = 11 over 100 = 0.11. These are not equal, so knowing the part came from machine P changes the chance of a fault: the events are not independent.

  • M1 for P(faulty | made by P) = 9 over 60 = 0.15
  • M1 for P(faulty) = 11 over 100 = 0.11
  • C1 for saying they are different, so the events are not independent

Higher [4 marks] P(A) = 0.4. P(B | A) = 0.5. P(B | not A) = 0.2. Work out P(B).

  1. B can happen in two ways: with A, or with not A.
  2. P(A and B) = P(A) × P(B | A). Do the same for not A.
  3. Add the two probabilities.
  • That is only P(A and B). B can also happen when A does not.
  • That adds the two conditional probabilities 0.5 + 0.2. Multiply each by the chance of its condition first.

P(A and B) = 0.4 × 0.5 = 0.2. P(not A and B) = 0.6 × 0.2 = 0.12. P(B) = 0.2 + 0.12 = 0.32.

  • M1 for 0.4 × 0.5 = 0.2
  • M1 for 0.6 × 0.2 = 0.12
  • M1 for 0.2 + 0.12
  • A1 for 0.32

[3 marks] P(A and B) = 0.18 and P(B) = 0.45. Work out P(A | B).

  1. P(A | B) = P(A and B) ÷ P(B).
  2. Put the numbers in and divide.
  • That multiplies. For P(A | B), divide by P(B).
  • That is the division upside down. P(B) is the denominator.

P(A | B) = P(A and B) ÷ P(B) = 0.18 ÷ 0.45 = 0.4.

  • M1 for P(A | B) = P(A and B) ÷ P(B)
  • M1 for 0.18 ÷ 0.45
  • A1 for 0.4

Higher [3 marks] A test is tried on 1000 parts. 40 are faulty and 960 are good. The test flags 36 of the faulty parts and 48 of the good parts. A flagged part is chosen at random. What is the probability that it is faulty? Give your answer as a fraction in its simplest form, like 3/10.

  1. Find how many parts were flagged altogether.
  2. The numerator is the flagged faulty parts.
  3. Simplify your fraction.
  • Right value, but it can be simplified. Divide the numerator and denominator by 12.
  • That is the chance a faulty part is flagged. Here the part is flagged, so the denominator is all flagged parts.

Flagged: 36 + 48 = 84. 36 of them are faulty. P(faulty | flagged) = 36 over 84 = 3 over 7.

  • M1 for 36 + 48 = 84 flagged parts
  • M1 for 36 over 84
  • A1 for 3 over 7

Why it works

  • “Given” shrinks the world. Once you know A has happened, only the outcomes inside A are possible. So A becomes the whole, and the denominator of the fraction.
  • The formula is the table in disguise. P(A and B) ÷ P(A) = (both ÷ total) ÷ (A ÷ total). The totals cancel, leaving both ÷ A, which is the overlap over the given group.
  • Branches multiply because each is a share of a share. A share 4 over 7 of the 5 over 8 that were red is the share 5 over 8 × 4 over 7 of all outcomes.
  • Without replacement means dependent. The first pick changes the bag, so the second branches are not the same as the first.
  • Independence is symmetric. If knowing A does not change B, then knowing B does not change A. That is why P(A and B) = P(A) × P(B) works both ways.
  • The two directions differ. P(B | A) and P(A | B) have the same numerator but different denominators, so they are usually not equal.

Common traps

  • Dividing by the whole total instead of the given group.
  • Mixing up P(B | A) and P(A | B).
  • Using the same denominator on the second branch when nothing is put back.
  • Leaving the overlap out of the given circle on a Venn diagram.
  • Saying events are independent because there are items in both groups, without comparing P(B | A) with P(B).
  • Assuming a test that finds 90% of faulty parts means 90% of flagged parts are faulty.
  • Forgetting to simplify a fraction when the question asks for its simplest form.

Going further

A bag has 5 red and 3 blue counters. Two counters are taken at random without replacement. Without drawing a tree, you might guess that the second counter is less likely to be red than the first. Work out the probability that the second counter is red. Give your answer as a fraction in its simplest form, like 3/10.

  1. The second can be red in two ways: red then red, or blue then red.
  2. Work out each path, remembering the bag changes, and add.
  3. Compare your answer with the chance the first is red.
  • That is only when the first is red. The first could be blue too, so add that path.
  • Right value, but it can be simplified. Divide the numerator and denominator by 7.

Red then red: 5 over 8 × 4 over 7 = 20 over 56. Blue then red: 3 over 8 × 5 over 7 = 15 over 56. Add: 35 over 56 = 5 over 8. It is the same as the chance the first is red: if you do not look at the first counter, the second is as likely to be red.

Three cards are in a hat. One has red on both sides, one has white on both sides and one has red on one side and white on the other. A card is drawn and put down with one side showing. The side you see is red. What is the probability that the other side is red as well? Give your answer as a fraction, like 3/10.

  1. Count the red faces. How many are there in all?
  2. Each red face is equally likely to be the one you see. How many of them have a red face on the back?
  • That thinks there are two possible cards. But the red-red card has two red faces, so it is twice as likely to show red.
  • That is the chance of picking the red-red card. You have seen red, which makes that card more likely.

There are 3 red faces: 2 on the red-red card and 1 on the red-white card. Seeing red means one of these 3 faces is showing, each equally likely. For 2 of them the other side is red, so the probability is 2 over 3.

Higher [3 marks] Events A and B are such that P(B | A) = P(B). Show that P(A | B) = P(A). (This shows that if B does not depend on A, then A does not depend on B.) Assume P(B) is not 0.

  1. Start with P(A | B) = P(A and B) ÷ P(B).
  2. Write P(A and B) another way, using P(A) and P(B | A).
  3. What happens when P(B | A) is replaced with P(B)?

P(A | B) = P(A and B) ÷ P(B). Also P(A and B) = P(A) × P(B | A) = P(A) × P(B), because P(B | A) = P(B). So P(A | B) = P(A) × P(B) ÷ P(B) = P(A), as required.

  • M1 for P(A | B) = P(A and B) ÷ P(B)
  • M1 for using P(A and B) = P(A) × P(B | A) = P(A) × P(B)
  • C1 for cancelling P(B) to get P(A | B) = P(A)

I can…

Come back in a week and tick again, without looking.

Back to the pyramid Glossary

What next?

Next in the 12-week route: Constructions and loci See all the routes