Skip to main content
NSWMaths Standard 2Syllabus dot point

How do tree diagrams and two-way tables find probabilities for multi-stage events?

Use arrays and tree diagrams to determine the outcomes and probabilities for multi-stage experiments, including two-way tables, multiplying probabilities along the branches of a tree diagram and adding the probabilities of mutually exclusive outcomes, with and without replacement

A focused answer to the HSC Maths Standard 2 dot point on multi-stage events. Two-way tables, tree diagrams for two- and three-stage experiments, the difference between drawing with and without replacement, multiplying probabilities along the branches and adding across mutually exclusive paths, with worked coin, counter and survey examples.

Generated by Claude Opus 4.815 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to find probabilities for multi-stage events: experiments made of two or three steps, like tossing a coin twice or drawing two counters from a bag. You need two tools. A two-way table (an array) organises data that has been classified two ways at once, so you can read off probabilities by counting cells. A tree diagram lays out every path through a multi-stage experiment, and you find a path's probability by multiplying along its branches, then add the probabilities of separate paths that all satisfy what you want. The single decision that earns or loses the most marks is whether the experiment is with replacement (the pool is put back, so probabilities stay the same) or without replacement (an item is kept, so the denominator shrinks for the next stage).

The answer

There are two situations and one tool for each. When the data is already counted and sorted into categories, use a two-way table and read probabilities straight from the cells and margins. When an experiment happens in stages, draw a tree diagram, multiply along each path, and add the paths you want. The whole topic rests on two operations: multiply along a branch (the stages of one outcome happening together) and add across branches (separate outcomes, any of which would do).

Two-stage tree diagram for drawing two counters with replacementA tree starting from one node on the left. Stage one splits into a red branch with probability three fifths and a blue branch with probability two fifths. Each of those splits again into red (three fifths) and blue (two fifths), because the counter is replaced. The four paths are red red, red blue, blue red and blue blue, with probabilities nine twenty-fifths, six twenty-fifths, six twenty-fifths and four twenty-fifths, which add to one.Multiply along each path; add the paths you wantStage 1Stage 2Path3/52/53/52/53/52/5RBR RR BB RB B9/256/256/254/25

Two-way tables (arrays)

A two-way table sorts each item by two categories at once. The rows are one category, the columns another, and each inner cell counts the items that fall into both. The right-hand Total column and the bottom Total row are the marginal totals, and the bottom-right corner is the grand total - the size of the whole sample space.

To find a probability, count the favourable items and divide by the relevant total:

  • A single category (just rows, or just columns): use the marginal total. P(female)=120200P(\text{female}) = \dfrac{120}{200} reads straight off the female row total over the grand total.
  • "... and ..." (both categories at once): use the single inner cell where the row meets the column. P(female and wears glasses)=30200P(\text{female and wears glasses}) = \dfrac{30}{200} is one cell over the grand total.
  • The complement of a category: subtract from 11, or read the rest of the margin. P(no glasses)=148200=152200P(\text{no glasses}) = 1 - \dfrac{48}{200} = \dfrac{152}{200}, which is also the no-glasses column total.
  • "at least one" across a small experiment: it is almost always fastest as P(at least one)=1P(none)P(\text{at least one}) = 1 - P(\text{none}) rather than adding every favourable case.

Tree diagrams for multi-stage events

A tree diagram draws one branch for each outcome at every stage. Stage 1 splits from a single starting node; each of those nodes splits again for stage 2; and so on. A two-stage coin gives 2×2=42 \times 2 = 4 end-paths, a three-stage coin gives 2×2×2=82 \times 2 \times 2 = 8. Two rules turn the picture into a number:

  • Multiply along a branch (AND). A complete path is "this and then that", so multiply the branch probabilities from the start to the end of the path. For two heads, P(HH)=12×12=14P(HH) = \tfrac12 \times \tfrac12 = \tfrac14.
  • Add across mutually exclusive paths (OR). If several different paths each satisfy what you want, and no outcome can be two of them at once, add their probabilities. For "exactly one head", P(HT)+P(TH)=14+14=12P(HT) + P(TH) = \tfrac14 + \tfrac14 = \tfrac12.

A reliable check: the probabilities at every split add to 11, and so do all the complete path probabilities. In the tree above the four paths give 925+625+625+425=2525=1\tfrac{9}{25} + \tfrac{6}{25} + \tfrac{6}{25} + \tfrac{4}{25} = \tfrac{25}{25} = 1.

With replacement versus without replacement

This is the decision that separates a Band 4 from a Band 6. It changes the second-stage probabilities.

  • With replacement. The item is returned, so the pool is exactly the same for the next draw. The stages are independent and every stage uses the same probabilities. Drawing from 33 red and 22 blue, P(red)=35P(\text{red}) = \tfrac35 on every draw.
  • Without replacement. The item is kept, so there is one fewer item in the pool and the denominator shrinks by 11 (and the count of the colour you drew shrinks too). Drawing 33 red and 22 blue, the first draw is out of 55, but the second draw is out of 44. After a red is drawn, only 22 red remain, so the second red branch is 24\tfrac24.

The single most common lost mark in this topic is leaving the second denominator unchanged in a without-replacement problem.

How exam questions ask about multi-stage events

The wording tells you which tool and which operation to use:

  • "By drawing a tree diagram, find ..." asks for the tree explicitly: draw it, label every branch with its probability, then multiply along and add across.
  • "... with replacement" keeps the denominators the same at every stage; "without replacement", "does not replace" or "keeps the first" drops the denominator by 11 for the next stage.
  • "... and ..." means one path or one cell: multiply along the branch, or read the single inner cell of a table.
  • "... or ..." (for outcomes that cannot both happen, such as separate tree paths) means add those mutually exclusive probabilities, P(A or B)=P(A)+P(B)P(A \text{ or } B) = P(A) + P(B).
  • "at least one ..." is almost always fastest as 1P(none)1 - P(\text{none}) rather than adding many paths.
  • "Complete the two-way table" means fill missing cells using the rule that each row and each column adds to its marginal total.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2022 HSC-style3 marksA box contains 44 white and 66 black marbles. Two marbles are drawn at random without replacement. By drawing a tree diagram, or otherwise, find the probability that the two marbles are different colours.
Show worked answer →

Set up the without-replacement branches: first draw P(W)=410P(W) = \tfrac{4}{10}, P(B)=610P(B) = \tfrac{6}{10}; second-draw denominators drop to 99.

"Different colours" is white then black OR black then white: P(WB)=410×69=2490P(WB) = \tfrac{4}{10} \times \tfrac{6}{9} = \tfrac{24}{90} and P(BW)=610×49=2490P(BW) = \tfrac{6}{10} \times \tfrac{4}{9} = \tfrac{24}{90}.

Add the two mutually exclusive paths: 2490+2490=4890=815\tfrac{24}{90} + \tfrac{24}{90} = \tfrac{48}{90} = \tfrac{8}{15}.

Markers award one mark for a correct tree with changed second-draw denominators, one for the two path products, and one for adding the mutually exclusive paths to reach 815\tfrac{8}{15}. A common error is keeping the denominator at 1010 (treating it as with replacement).

2024 HSC-style4 marksA jar contains 55 green and 33 yellow lollies. Two lollies are taken at random, one after the other, without replacement. By drawing a tree diagram, or otherwise, find (a) the probability both lollies are green, and (b) the probability the two lollies are different colours.
Show worked answer →

Set up the without-replacement branches. First draw: P(G)=58P(G) = \tfrac58, P(Y)=38P(Y) = \tfrac38. Once one lolly is removed, 77 remain, so the second-draw denominators drop to 77.

Part (a): both green is the single path GGGG. Multiply along it: P(GG)=58×47=2056=514P(GG) = \tfrac58 \times \tfrac47 = \tfrac{20}{56} = \tfrac{5}{14}.

Part (b): "different colours" is green then yellow OR yellow then green, two mutually exclusive paths. P(GY)=58×37=1556P(GY) = \tfrac58 \times \tfrac37 = \tfrac{15}{56} and P(YG)=38×57=1556P(YG) = \tfrac38 \times \tfrac57 = \tfrac{15}{56}. Add them: 1556+1556=3056=1528\tfrac{15}{56} + \tfrac{15}{56} = \tfrac{30}{56} = \tfrac{15}{28}.

Markers award a mark for a correct tree with the second-draw denominators reduced to 77, a mark for P(GG)=514P(GG) = \tfrac{5}{14}, a mark for the two product paths in part (b), and a mark for adding the mutually exclusive paths to reach 1528\tfrac{15}{28}. The classic error is leaving the second denominator at 88 (treating it as with replacement).

2025 HSC-style3 marksA cafe surveyed 250250 customers, recording their drink and cup size. | | Regular | Large | Total | |---|---|---|---| | Coffee | 9090 | 7070 | 160160 | | Tea | 5454 | 3636 | 9090 | | Total | 144144 | 106106 | 250250 | One customer is chosen at random. Find (a) P(coffee)P(\text{coffee}), (b) P(tea and large)P(\text{tea and large}), and (c) P(regular)P(\text{regular}).
Show worked answer →

Part (a): coffee is a single category, so use the coffee row marginal total of 160160 out of 250250: P(coffee)=160250=1625=0.64P(\text{coffee}) = \tfrac{160}{250} = \tfrac{16}{25} = 0.64.

Part (b): "tea and large" is the single inner cell where the tea row meets the large column, 3636 out of 250250: P(tea and large)=36250=18125=0.144P(\text{tea and large}) = \tfrac{36}{250} = \tfrac{18}{125} = 0.144.

Part (c): regular is a single category, so use the regular column marginal total of 144144 out of 250250: P(regular)=144250=72125=0.576P(\text{regular}) = \tfrac{144}{250} = \tfrac{72}{125} = 0.576.

Markers award a mark for each correct probability: parts (a) and (c) need a marginal total over the grand total 250250, and part (b) needs the single overlap cell, not a row or column total. The denominator is the grand total 250250 throughout.

2023 HSC-style3 marksA traffic light shows green for 35\tfrac35 of the time and red for 25\tfrac25 of the time (ignore amber). On two consecutive mornings a commuter notes the light's colour. Assuming the mornings are independent, find the probability that the light is red on at least one of the two mornings.
Show worked answer →

Recognise this as a with-replacement (independent) two-stage event: each morning P(R)=25P(R) = \tfrac25, P(G)=35P(G) = \tfrac35.

Use the complement: "at least one red" is the opposite of "no red", i.e. green on both mornings. P(GG)=35×35=925P(GG) = \tfrac35 \times \tfrac35 = \tfrac{9}{25}.

So P(at least one red)=1925=1625=0.64P(\text{at least one red}) = 1 - \tfrac{9}{25} = \tfrac{16}{25} = 0.64.

Markers reward identifying the complement (or adding P(RR)+P(RG)+P(GR)=4+6+625P(RR) + P(RG) + P(GR) = \tfrac{4 + 6 + 6}{25}), the correct branch products, and the final 1625\tfrac{16}{25}. The efficient solution is the complement; the long way must list all three mutually exclusive paths.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marksA fair coin is tossed twice. (a) List the sample space. (b) Find the probability of getting two heads.
Show worked solution →

Part (a) - list every outcome of the two-stage experiment. Each toss is a head (HH) or a tail (TT), and the first toss pairs with each second toss:

S={HH, HT, TH, TT}S = \{HH,\ HT,\ TH,\ TT\}

so there are 44 equally likely outcomes.

Part (b) - find P(HH)P(HH). Multiply along the two branches that give a head each time. Each toss has P(H)=12P(H) = \tfrac12, so

P(HH)=12×12=14P(HH) = \frac12 \times \frac12 = \frac14

so the probability of two heads is 14\tfrac14. (Check: the four outcomes are equally likely, and only one of them is HHHH, so 14\tfrac14 agrees.)

foundation2 marksA bag holds 33 red and 22 blue counters. One counter is drawn, its colour noted, then it is returned to the bag and a second counter is drawn. Find the probability that both counters are red.
Show worked solution →

Recognise this is with replacement. The first counter goes back, so the bag is unchanged for the second draw and the two draws are independent. Each draw has P(red)=35P(\text{red}) = \tfrac35.

Multiply along the two red branches.

P(red, red)=35×35=925P(\text{red, red}) = \frac35 \times \frac35 = \frac{9}{25}

so the probability that both are red is 925\tfrac{9}{25}. (Check: 925=0.36\tfrac{9}{25} = 0.36, a sensible chance since red is the more common colour.)

foundation2 marksThe two-way table shows 200200 students by gender and whether they wear glasses. Find (a) P(wears glasses)P(\text{wears glasses}) and (b) P(female)P(\text{female}). | | Wears glasses | No glasses | Total | |---|---|---|---| | Male | 1818 | 6262 | 8080 | | Female | 3030 | 9090 | 120120 | | Total | 4848 | 152152 | 200200 |
Show worked solution →

Read the totals from the margins of the table. The "Total" row and column already count the categories for you.

Part (a) - P(wears glasses)P(\text{wears glasses}). The glasses column totals 4848 out of 200200:

P(wears glasses)=48200=625=0.24P(\text{wears glasses}) = \frac{48}{200} = \frac{6}{25} = 0.24

Part (b) - P(female)P(\text{female}). The female row totals 120120 out of 200200:

P(female)=120200=35=0.6P(\text{female}) = \frac{120}{200} = \frac35 = 0.6

so P(wears glasses)=0.24P(\text{wears glasses}) = 0.24 and P(female)=0.6P(\text{female}) = 0.6. (Check: the table total is 200200, which matches the denominator used each time.)

core3 marksA bag holds 33 red and 22 blue counters. Two counters are drawn one after the other WITHOUT replacement. Find the probability that both counters are red.
Show worked solution →

Recognise this is without replacement. The first counter is kept, so the bag has only 44 counters for the second draw and the second probability changes.

First draw. There are 33 red out of 55:

P(first red)=35P(\text{first red}) = \frac35

Second draw, after a red is removed. One red has gone, leaving 22 red out of the remaining 44 counters, so the second red branch is:

P(second red)=24P(\text{second red}) = \frac24

Multiply along the branch.

P(red, red)=35×24=620=310P(\text{red, red}) = \frac35 \times \frac24 = \frac{6}{20} = \frac{3}{10}

so the probability that both are red is 310\tfrac{3}{10}. (Check: 310=0.3\tfrac{3}{10} = 0.3, lower than the with-replacement answer of 0.360.36, which makes sense - removing a red leaves fewer reds for the second draw.)

core4 marksA bag holds 33 red and 22 blue counters. Two counters are drawn WITHOUT replacement. Find the probability of drawing (a) one counter of each colour, and (b) at least one red.
Show worked solution →

Set up the four paths. Drawing without replacement, the second denominator drops to 44. After the first counter is removed, 44 counters remain, split as whatever the first draw left behind. The four outcomes and their probabilities are

P(RR)=35×24=620,P(RB)=35×24=620,P(RR) = \frac35 \times \frac24 = \frac{6}{20}, \qquad P(RB) = \frac35 \times \frac{2}{4} = \frac{6}{20},

P(BR)=25×34=620,P(BB)=25×14=220P(BR) = \frac25 \times \frac34 = \frac{6}{20}, \qquad P(BB) = \frac25 \times \frac14 = \frac{2}{20}

For P(RR)P(RR) the second factor 24\tfrac24 is the 22 red left among 44; for P(RB)P(RB) a red has gone, so the bag is 22 red and 22 blue and the blue branch is 24\tfrac24 (the 22 blue among 44). They give the same number here, but for different reasons. These four add to 2020=1\tfrac{20}{20} = 1, a good check.

Part (a) - one of each colour. "One of each" means red then blue OR blue then red, two mutually exclusive paths, so add them:

P(one of each)=P(RB)+P(BR)=620+620=1220=35P(\text{one of each}) = P(RB) + P(BR) = \frac{6}{20} + \frac{6}{20} = \frac{12}{20} = \frac35

Part (b) - at least one red. The complement of "at least one red" is "no red", which is BBBB:

P(at least one red)=1P(BB)=1220=1820=910P(\text{at least one red}) = 1 - P(BB) = 1 - \frac{2}{20} = \frac{18}{20} = \frac{9}{10}

so P(one of each)=35P(\text{one of each}) = \tfrac35 and P(at least one red)=910P(\text{at least one red}) = \tfrac{9}{10}. (Check via the long way: P(RR)+P(RB)+P(BR)=6+6+620=1820P(RR) + P(RB) + P(BR) = \tfrac{6+6+6}{20} = \tfrac{18}{20}, which agrees.)

exam5 marksA spinner is split into 33 equal green sectors and 11 red sector, so P(green)=34P(\text{green}) = \tfrac34 and P(red)=14P(\text{red}) = \tfrac14. It is spun three times. (a) Draw or describe the tree and find the probability of three greens. (b) Find the probability of exactly two greens. (c) Find the probability of at least one red.
Show worked solution →

Set up the three-stage experiment. Each spin is green (GG) with probability 34\tfrac34 or red (RR) with probability 14\tfrac14. A three-stage tree has 2×2×2=82 \times 2 \times 2 = 8 paths, and you multiply the three branch probabilities along each path.

Part (a) - three greens. Multiply three green branches:

P(GGG)=34×34×34=2764P(GGG) = \frac34 \times \frac34 \times \frac34 = \frac{27}{64}

Part (b) - exactly two greens. Exactly two greens means one red, and the red can fall on spin 11, 22 or 33: the paths RGGRGG, GRGGRG, GGRGGR. Each has the same probability:

14×34×34=964\frac14 \times \frac34 \times \frac34 = \frac{9}{64}

There are 33 such mutually exclusive paths, so add them:

P(exactly two greens)=3×964=2764P(\text{exactly two greens}) = 3 \times \frac{9}{64} = \frac{27}{64}

Part (c) - at least one red. The complement is "no red", which is GGGGGG from part (a):

P(at least one red)=1P(GGG)=12764=3764P(\text{at least one red}) = 1 - P(GGG) = 1 - \frac{27}{64} = \frac{37}{64}

so P(GGG)=2764P(GGG) = \tfrac{27}{64}, P(exactly two greens)=2764P(\text{exactly two greens}) = \tfrac{27}{64} and P(at least one red)=3764P(\text{at least one red}) = \tfrac{37}{64}. (Check: 37640.58\tfrac{37}{64} \approx 0.58, a believable chance of seeing red at least once in three spins.)

exam5 marksThe two-way table shows 200200 students by gender and whether they wear glasses. | | Wears glasses | No glasses | Total | |---|---|---|---| | Male | 1818 | 6262 | 8080 | | Female | 3030 | 9090 | 120120 | | Total | 4848 | 152152 | 200200 | A student is chosen at random. Find (a) P(female and wears glasses)P(\text{female and wears glasses}), (b) P(male)P(\text{male}), and (c) P(does not wear glasses)P(\text{does not wear glasses}), using the complement for part (c).
Show worked solution →

Part (a) - female AND wears glasses. Read the single cell where the female row meets the glasses column: 3030 students, out of 200200:

P(female and glasses)=30200=320=0.15P(\text{female and glasses}) = \frac{30}{200} = \frac{3}{20} = 0.15

Part (b) - male. This is a single category, so use the marginal total from the bottom of the male row: 8080 out of 200200:

P(male)=80200=25=0.4P(\text{male}) = \frac{80}{200} = \frac25 = 0.4

Part (c) - does not wear glasses, via the complement. The glasses column totals 4848, so P(wears glasses)=48200=625P(\text{wears glasses}) = \tfrac{48}{200} = \tfrac{6}{25}. "Does not wear glasses" is the complement:

P(no glasses)=1625=1925=0.76P(\text{no glasses}) = 1 - \frac{6}{25} = \frac{19}{25} = 0.76

so the answers are 0.150.15, 0.40.4 and 0.760.76. (Check on (c): the no-glasses column totals 152152, and 152200=1925\tfrac{152}{200} = \tfrac{19}{25}, which agrees.)

Related dot points