AZTest
Basic 3 study guide · step 11 of 13

Probability word problems: trees, tables, conditional probability and expected value

Probability problems count or multiply chances. A tree diagram multiplies along branches and adds the branches you want; a two-way table reads conditional probabilities straight from its rows and columns.

Key ideas

Watch out: “At least one” is usually easiest as 1 − P(none).

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.

Start the 5-question quiz

Every question type in this step, worked out

24 types of question. Try each one yourself before you open the hint or the solution.

Dice and coins

Explained in more depth in Probability study guide, step 1.

Example 1 · level 7

Two fair dice with 8 faces each, numbered from one up, are rolled. The total is at least 10. What is the probability, as a percentage to one decimal place, that both dice show the same number?

1818first dieP = ?
Hint

Draw the grid of all outcomes: the cells with a total of at least 10 form a triangle in one corner.

Worked solution
1818first dieP ≈ 14.3 %
P(a=b|a+b≥k)=n(a=b,a+b≥k)n(a+b≥k)
  1. Totals of at least 10: rows of 1, 2, …, 7 cells, so 1 + 2 + … + 7 = 28
  2. Doubles among them: from (5, 5) up to (8, 8), so 4
  3. 100 × 4/28 ≈ 14.3%

Answer: 14.3%

Example 2 · level 8

9 fair coins are tossed. In how many of the 512 equally likely outcomes are there exactly 2 tails?

Hint

Choose which 2 of the 9 coins show tails.

Worked solution
  1. C(9, 2) = 36

Answer: 36 outcomes

Example 3 · level 8

Two fair dice with 4 faces each, numbered from one up, are rolled one after the other. The first shows a higher number than the second. What is the probability, as a percentage to one decimal place, that the total is at least 6?

1414first dieP = ?
Hint

Of the outcomes without a double, half have the first die higher; the same holds for the outcomes with a total of at least 6.

Worked solution
1414first dieP ≈ 33.3 %
P(a+b≥k|a>b)=n(a>b,a+b≥k)n(a>b)
  1. First higher: 4 × 3/2 = 6 outcomes
  2. Totals of at least 6: 1 + 2 + … + 3 = 6; doubles among them, from (3, 3) up to (4, 4): 2
  3. Of the other 6 − 2 = 4, half have the first higher: 2
  4. 100 × 2/6 ≈ 33.3%

Answer: 33.3%

Example 4 · level 8

9 fair coins are tossed. At least 4 of them land heads. What is the probability, as a percentage to one decimal place, that exactly 5 land heads?

1091362843126412658463679819P = ?
Hint

Each pattern of heads and tails is equally likely; count the patterns with each number of heads.

Worked solution
1091362843126412658463679819P ≈ 33.0 %
P(X=k|X≥j)=C(n,k)C(n,j)+…+C(n,n)
  1. Patterns with each number of heads from the least allowed up: 126, 126, 84, 36, 9 and 1, together 382
  2. Exactly 5 heads: C(9, 5) = 126
  3. 100 × 126/382 ≈ 33.0%

Answer: 33.0%

Tables and venn diagrams

Explained in more depth in Probability study guide, step 2.

Example 5 · level 7

At a cinema, 104 adults and 21 children bought popcorn, and 116 adults and 97 children did not. Someone who bought popcorn is chosen at random. What is the probability that it is a child?

popcornnoneadultschildrentotal1041162197P = ?
Hint

The condition leaves only the people who bought popcorn.

Worked solution
popcornnoneadultschildrentotal1041162197= 125213P = 0.168
P(C|B)=n(C∩B)n(B)
  1. Popcorn buyers: 104 + 21 = 125
  2. Children among them: 21/125 = 0.168

Answer: 0.168

Example 6 · level 7

A sports club has 370 members. 203 of them are adults, 295 of the members swim, and 140 of the adults swim. A member who does not swim is chosen at random. What is the probability that it is an adult?

swimnottotaladultschildrentotal140203295370P = ?
Hint

Fill in a two-way table of adults and children against swimming or not; the totals give the missing cells.

Worked solution
swimnottotaladultschildrentotal140= 6320315512167295= 75370P = 0.84
P(A|S')=n(A∩S')n(S')
  1. Adults who do not swim: 203 − 140 = 63
  2. Members who do not swim: 370 − 295 = 75
  3. 63/75 = 0.84

Answer: 0.84

Example 7 · level 7

Of the 220 members of a club, 48 play tennis, 83 play golf and 31 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?

tennisgolf488331N = 220P = ?
Hint

Draw two overlapping circles. Adding tennis and golf counts the overlap twice.

Worked solution
tennisgolf488331N = 220= 100P = 0.31
P(T∩G|T∪G)=n(T∩G)n(T)+n(G)−n(T∩G)
  1. At least one of the two: 48 + 83 − 31 = 100
  2. Both: 31/100 = 0.31

Answer: 0.31

Example 8 · level 8

In a town, 45% of the households have a dog and 22% have a cat. Of the households with a cat, 65% also have a dog. What percentage of the households have a dog or a cat or both?

dogcat45 %22 %65 % of catsP = ?
Hint

The households with both are a percentage of the cat households, not of the whole town.

Worked solution
dogcat45 %22 %= 14.3 %65 % of catsP = 52.7 %
P(D∪C)=P(D)+P(C)−P(D|C)P(C)
  1. Dog and cat: 65% × 22% = 14.3%
  2. Dog or cat: 45 + 22 − 14.3 = 52.7%

Answer: 52.7%

Example 9 · level 8

Three schools go on a trip together: 240 pupils from school A, 60 from school B and 160 from school C. 65% of the pupils from A, 60% from B and 30% 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?

65 %240A60 %60B30 %160CP = ?
Hint

Turn each percentage into a number of pupils first.

Worked solution
65 %240= 156A60 %60= 36B30 %160= 48CP = 0.2
P(C|L)=nCpCnApA+nBpB+nCpC
  1. Packed lunches: 65% × 240 = 156, 60% × 60 = 36, 30% × 160 = 48
  2. In all: 156 + 36 + 48 = 240
  3. From C: 48/240 = 0.2

Answer: 0.2

Example 10 · level 8

Of the 190 pupils in a year group, 84 learn French, 95 learn Spanish and 65 learn both. A pupil who does not learn Spanish is chosen at random. What is the probability that this pupil learns French?

FrenchSpanish849565N = 190P = ?
Hint

Outside the Spanish circle, only the part of the French circle that does not overlap is left.

Worked solution
FrenchSpanish849565N = 190= 19P = 0.2
P(F|S')=n(F)−n(F∩S)N−n(S)
  1. French but not Spanish: 84 − 65 = 19
  2. Not Spanish: 190 − 95 = 95
  3. 19/95 = 0.2

Answer: 0.2

Trees and draws

Explained in more depth in Probability study guide, step 3.

Example 11 · level 7

A bag holds 12 red and 9 blue balls. Two balls are drawn together, which can be done in 210 ways. In how many of those ways are both balls red?

Hint

Only the red balls matter: choose two of them.

Worked solution
  1. 12 × 11/2 = 66

Answer: 66 ways

Example 12 · level 7

The probability that it rains on a school day is 0.6. When it rains, the school bus is late with probability 0.45; when it is dry, with probability 0.3. What is the probability that the bus is late on a school day?

0.6rain0.45late0.55on time0.4dry0.3late0.7on timeP = ?
Hint

Draw a tree: rain or dry first, then late or not. Add the branches that end in late.

Worked solution
0.6rain0.45late0.55on time0.4dry0.3late0.7on timeP = 0.39
P(L)=P(R)P(L|R)+P(R')P(L|R')
  1. Rain and late: 0.6 × 0.45 = 0.27
  2. Dry and late: 0.4 × 0.3 = 0.12
  3. Late: 0.27 + 0.12 = 0.39

Answer: 0.39

Example 13 · level 8

A factory makes light bulbs on three machines. Machine A makes 35% of the bulbs, machine B 50% and machine C the rest. Of the bulbs from A, 6% are faulty; from B 2%; from C 5%. What percentage of all the bulbs are faulty?

35 %A6 %faulty94 %fine50 %B2 %faulty98 %fineC5 %faulty95 %fineP = ?
Hint

Each machine adds its share times its own faulty percentage.

Worked solution
35 %A6 %faulty94 %fine50 %B2 %faulty98 %fine= 15 %C5 %faulty95 %fineP = 3.85 %
P(F)=P(A)P(F|A)+P(B)P(F|B)+P(C)P(F|C)
  1. Machine C makes 100 − 35 − 50 = 15%
  2. Faulty from each: 6% × 35% = 2.1%, 2% × 50% = 1%, 5% × 15% = 0.75%
  3. In all: 2.1 + 1 + 0.75 = 3.85%

Answer: 3.85%

Example 14 · level 8

A bag holds 3 red and 17 blue marbles. Marbles are taken out one at a time, without putting any back. What is the probability, as a percentage to one decimal place, that the first red marble comes out on the third draw?

17/2016/193/18P = ?
Hint

The first two must be blue and the third red; multiply along that one path.

Worked solution
17/2016/193/18P ≈ 11.9 %
P=bn×b−1n−1×rn−2
  1. Blue, blue, red: 17/20 × 16/19 × 3/18
  2. (17 × 16 × 3)/(20 × 19 × 18) = 816/6840, which is about 11.9%

Answer: 11.9%

Example 15 · level 8

The probability of rain on Saturday is 0.61, on Sunday 0.2, and on at least one of the two days 0.75. It rains on Sunday. What is the probability that it rained on Saturday too?

SaturdaySunday0.610.2at least one: 0.75P = ?
Hint

First find the probability of rain on both days; then divide by the probability of the condition.

Worked solution
SaturdaySunday0.610.2= 0.06at least one: 0.75P = 0.3
P(A|B)=P(A)+P(B)−P(A∪B)P(B)
  1. Both days: 0.61 + 0.2 − 0.75 = 0.06
  2. Given Sunday: 0.06/0.2 = 0.3

Answer: 0.3

Example 16 · level 8

A bag holds 15 red and 10 blue marbles. Two marbles are taken out one after the other, without putting the first back. What is the probability that they are the same colour?

15/25red14/24red10/24blue10/25blue15/24red9/24blueP = ?
Hint

Both red or both blue. After the first marble, one fewer of that colour is left, and one fewer in all.

Worked solution
15/25red14/24red10/24blue10/25blue15/24red9/24blueP = 0.5
P(RR)+P(BB)=r(r−1)+b(b−1)n(n−1)
  1. Both red: 15/25 × 14/24; both blue: 10/25 × 9/24
  2. ((15 × 14) + (10 × 9))/(25 × 24) = 0.5

Answer: 0.5

Example 17 · level 8

A box of 68 phone chargers has 7 faulty ones in it. An inspector takes two chargers at random to test. What is the probability, as a percentage to one decimal place, that at least one of the two is faulty?

7N = 68P = ?
Hint

At least one faulty is everything except both working.

Worked solution
7N = 68P ≈ 19.7 %
P(X≥1)=1−gN×g−1N−1
  1. Both working: 61/68 × 60/67 = 3660/4556
  2. At least one faulty: 100 × 896/4556 ≈ 19.7%

Answer: 19.7%

Independence and repeats

Explained in more depth in Probability study guide, step 4.

Example 18 · level 7

A print shop has two printers that break down independently. On a given day the first works with probability 0.7 and the second with probability 0.8. What is the probability that exactly one of them works?

first worksseconda = 0.7b = 0.8P = ?
Hint

Exactly one: the first works and the second does not, or the other way round.

Worked solution
first worksseconda = 0.7b = 0.8P = 0.38
P=a(1−b)+(1−a)b
  1. First only: 0.7 × 0.2 = 0.14
  2. Second only: 0.3 × 0.8 = 0.24
  3. Exactly one: 0.14 + 0.24 = 0.38

Answer: 0.38

Example 19 · level 8

A string of party lights has 5 bulbs, and each one fails during a party with probability 0.5, independently of the others. What is the probability that at least one bulb fails?

p = 0.5P = ?
Hint

At least one fails is everything except all of them working.

Worked solution
p = 0.5P = 0.96875
P(X≥1)=1−(1−p)n
  1. All work: 0.5⁵ = 0.03125
  2. At least one fails: 1 − 0.03125 = 0.96875

Answer: 0.96875

Example 20 · level 8

A learner driver passes the driving test with probability 0.6 on each attempt, independently of earlier attempts. What is the probability that the first pass comes on attempt number 4?

✗1✗2✗3✓4p = 0.6P = ?
Hint

Every attempt before it fails, and that attempt passes.

Worked solution
✗1✗2✗3✓4p = 0.6P = 0.0384
P(X=k)=(1−p)k−1p
  1. Fail the first 3: 0.4³ = 0.064
  2. Then pass: 0.064 × 0.6 = 0.0384

Answer: 0.0384

Example 21 · level 8

The probability that a commuter's train is late is 0.3. The probability that the train or the connecting bus or both are late is 0.615. The train and the bus are late independently of each other. What is the probability that the bus is late?

trainbusP(T) = 0.3P(T ∪ B) = 0.615P(B) = ?
Hint

Write P(train or bus) with the addition rule, and P(both) as a product.

Worked solution
trainbusP(T) = 0.3P(T ∪ B) = 0.615P(B) = 0.45
P(T∪B)=P(T)+P(B)−P(T)P(B)
  1. P(T ∪ B) = P(T) + P(B) − P(T) × P(B) = 0.3 + 0.7 × P(B)
  2. 0.7 × P(B) = 0.615 − 0.3 = 0.315
  3. P(B) = 0.315/0.7 = 0.45

Answer: 0.45

Bayes and tests

Explained in more depth in Probability study guide, step 5.

Example 22 · level 8

A town tests all of its 25,000 people for an illness that 14% of them have. The test is positive for 86% of the people who have the illness and for 2% of those who do not. What fraction of the positive results, as a decimal, belongs to people who do not have the illness?

N = 25,00014 %ill86 %+−86 %healthy2 %+−P = ?
Hint

Count the people: first ill and not ill, then the positives in each group.

Worked solution
N = 25,00014 %ill86 %+−86 %healthy2 %+−= 3500= 21,500= 3010= 430P = 0.125
N(1−p)fNps+N(1−p)f
  1. Ill: 14% × 25,000 = 3500; not ill: 25,000 − 3500 = 21,500
  2. Positive: 86% × 3500 = 3010 ill and 2% × 21,500 = 430 not ill, 3440 in all
  3. 430/3440 = 0.125

Answer: 0.125

Expected value

Explained in more depth in Probability study guide, step 6.

Example 23 · level 8

A school raffle sells 500 tickets at 2 euros each. One ticket wins a prize of 200 euros and 18 other tickets win 5 euros each. What profit does the school expect per ticket sold?

prizechance20051/50018/500c = 2 eurosE = ?
Hint

The expected prize money per ticket is the total prize money spread over all the tickets.

Worked solution
prizechance20051/50018/500c = 2 eurosE = 1.42 euros
E=c−w1+kw2N
  1. Prizes in all: 200 + (18 × 5) = 290 euros
  2. Expected prize per ticket: 290/500 = 0.58 euros
  3. Profit per ticket: 2 − 0.58 = 1.42 euros

Answer: 1.42 euros

Example 24 · level 8

A fair spinner has 20 equal sectors. Landing on any of 6 of them pays 35 euros, on any of 8 others 2 euros, and on the rest nothing. What price per spin makes the game fair, so that neither the player nor the stall expects to gain?

35 euros2 eurosE = ?
Hint

A fair price is the expected payout: each amount times the chance of landing on it.

Worked solution
35 euros2 eurosE = 11.30 euros
E=k1x1+k2x2n
  1. 35 euros with probability 6/20: 6 × 35/20 = 10.50
  2. 2 euros with probability 8/20: 8 × 2/20 = 0.80
  3. Fair price: 10.50 + 0.80 = 11.30 euros

Answer: 11.30 euros

Ready for the quiz?

Check yourself on this step: 5 questions, 8 minutes.

Start the quiz

All steps of the Basic 3 study guide

  1. Algebra and number

    Linear and quadratic models, simultaneous equations, motion and work, and number puzzles.

  2. Inequalities

    One inequality, double inequalities, comparing offers and regions with two variables.

  3. Quadratic equations

    Solve ax² + bx + c = 0 from a story, use the discriminant, and the sum and product of roots.

  4. Functions, exponentials and logs

    Linear and piecewise rules, exponential growth and decay, cooling, and log scales.

  5. Sequences and series

    Terms and sums of arithmetic and geometric sequences, rules, and growing patterns.

  6. Interest and percentage growth

    Simple and compound interest, effective rates, loans, savings plans and inflation.

  7. Geometry

    Pythagoras, areas of composite shapes, volumes of solids, coordinates and angles.

  8. Circles and similar triangles

    Arcs and sectors, chords and tangents, circle theorems, and similar triangles.

  9. Trigonometry

    Sine, cosine and tangent in right triangles, angles of elevation, bearings and the sine rule.

  10. Statistics

    Means and medians from lists and tables, spread, the normal distribution, samples and regression.

  11. Probability

    Dice and coins, two-way tables, tree diagrams, conditional probability and expected value.

  12. Counting

    Multiplication principle, arrangements, choosing groups, grid paths and overlaps.

  13. Calculus

    Limits, derivatives, integrals, and rates, maxima and totals in context.

When every step feels easy, take the whole Basic 3 test: 20 questions in 15 minutes.