Conditional probability from two-way tables and Venn diagrams
A two-way table splits a group two ways at once. A conditional probability looks at one row or column only: P(A given B) is the cell for A and B divided by the total of B.
Key ideas
P(A | B) = n(A and B) ÷ n(B).
Missing cells: rows and columns must add up to their totals.
P(A or B) = P(A) + P(B) − P(A and B).
Exactly one of three sets: fill the Venn diagram from the middle outwards.
A and B are independent if P(A and B) = P(A) × P(B).
Watch out: P(ill given positive) and P(positive given ill) are different numbers: check which total you divide by.
Practise this step
5 questions from this step only, in 8 minutes: new numbers and
stories every time, of exactly the types worked out below. Marked at the end, with every question
worked out.
9 types of question. Try each one yourself before you open
the hint or the solution.
Example 1 · level 6
At a school, 4 girls and 49 boys walk to school, and 12 girls and 57 boys come by bus. Nobody comes another way. A girl is chosen at random. What is the probability that she walks?
Hint
Only the girls count: the girls who walk out of all the girls.
Worked solution
Girls: 4 + 12 = 16
Probability: 4/16 = 0.25
Answer: 0.25
Example 2 · level 7
At a cinema, 110 adults and 15 children bought popcorn, and 94 adults and 49 children did not. Someone who bought popcorn is chosen at random. What is the probability that it is a child?
Hint
The condition leaves only the people who bought popcorn.
Worked solution
Popcorn buyers: 110 + 15 = 125
Children among them: 15/125 = 0.12
Answer: 0.12
Example 3 · level 7
A sports club has 330 members. 157 of them are adults, 205 of the members swim, and 110 of the adults swim. A member who does not swim is chosen at random. What is the probability that it is an adult?
Hint
Fill in a two-way table of adults and children against swimming or not; the totals give the missing cells.
Worked solution
Adults who do not swim: 157 − 110 = 47
Members who do not swim: 330 − 205 = 125
47/125 = 0.376
Answer: 0.376
Example 4 · level 7
Of the 60 members of a club, 16 play tennis, 12 play golf and 3 play both. A member who plays at least one of the two is chosen at random. What is the probability that this member plays both?
Hint
Draw two overlapping circles. Adding tennis and golf counts the overlap twice.
Worked solution
At least one of the two: 16 + 12 − 3 = 25
Both: 3/25 = 0.12
Answer: 0.12
Example 5 · level 8
In a town, 27% of the households have a dog and 16% have a cat. Of the households with a cat, 30% also have a dog. What percentage of the households have a dog or a cat or both?
Hint
The households with both are a percentage of the cat households, not of the whole town.
Worked solution
Dog and cat: 30% × 16% = 4.8%
Dog or cat: 27 + 16 − 4.8 = 38.2%
Answer: 38.2%
Example 6 · level 8
Three schools go on a trip together: 80 pupils from school A, 40 from school B and 180 from school C. 60% of the pupils from A, 75% from B and 90% from C bring a packed lunch. A pupil with a packed lunch is chosen at random. What is the probability that the pupil is from school C?
Hint
Turn each percentage into a number of pupils first.
Of the 220 pupils in a year group, 98 learn French, 60 learn Spanish and 46 learn both. A pupil who does not learn Spanish is chosen at random. What is the probability that this pupil learns French?
Hint
Outside the Spanish circle, only the part of the French circle that does not overlap is left.
Worked solution
French but not Spanish: 98 − 46 = 52
Not Spanish: 220 − 60 = 160
52/160 = 0.325
Answer: 0.325
Example 8 · level 9
In a group of 500 pupils, 250 are girls and 64 are left-handed. How many left-handed girls must there be for being left-handed to be independent of being a girl?
Hint
Independent means the share of left-handers among the girls is the same as in the whole group.
Worked solution
Left-handed in the whole group: 64/500 = 0.128
The same share of the girls: 0.128 × 250 = 32
Answer: 32 girls
Example 9 · level 9
Of the 152 guests at a party, 40 drink tea, 60 drink coffee and 62 drink juice. 11 drink tea and coffee, 15 tea and juice, 13 coffee and juice, and 2 drink all three. A guest who drinks at least one of them is chosen at random. What is the probability that this guest drinks exactly one?
Hint
Fill in a Venn diagram of three circles from the middle outwards.
Worked solution
At least one: 40 + 60 + 62 − 11 − 15 − 13 + 2 = 125