Multiply the numbers of options in each group, or divide a total to work back
The product rule for counting is on the Higher tier only. Every choice from one group pairs with every choice from the next, so the product rule multiplies the numbers of options.
Product rule for counting
If one choice has m{m}m options and a second has n,{n\text{,}}n, the two together can be made in m×n{m \times n}m×n ways.
Each of the 3 tops appears in 2 outfits, once with each skirt.
Listing outcomes, covered in the guide Systematic Listing, is only a check on a small case. With three or more groups, multiply all the numbers of options, and when they are equal the product is a power.
Codes on a lock
A lock has 3 dials, each set to one of the letters A to H. How many codes are there?
- A to H is 8 letters, and letters may repeat, so each dial has 8 options.
- 8×8×8=83=512{8 \times 8 \times 8 = 8^3 = 512}8×8×8=83=512 codes.
Wrong. A car comes in 7 colours, 3 engine sizes and 2 trims, so there are 7×3×2÷2=21{7 \times 3 \times 2 \div 2 = 21}7×3×2÷2=21 different cars.
Right. Each choice fills its own role, so no car is counted twice. Stop at the product, 7×3×2=42{7 \times 3 \times 2 = 42}7×3×2=42 cars.
To work back to a missing group size, divide the total by the product of the known group sizes. A claimed total is possible only if this gives a whole number.
Working back from a total
A café has 6 starters, 8 mains and n{n}n desserts. Amir says there are 240 ways to choose one of each, and Beth says 300. Who could be right, and what is n?{n\text{?}}n?
- The number of ways is 6×8×n=48n.{6 \times 8 \times n = 48n\text{.}}6×8×n=48n.
- For Amir, n=240÷48=5.{n = 240 \div 48 = 5\text{.}}n=240÷48=5.
- For Beth, n=300÷48=6.25,{n = 300 \div 48 = 6.25\text{,}}n=300÷48=6.25, not a whole number, so only Amir could be right, with n=5.{n = 5\text{.}}n=5.
Wrong. With 4 starters, 5 mains and n{n}n desserts giving 60 ways, 4+5+n=60,{4 + 5 + n = 60\text{,}}4+5+n=60, so n=51.{n = 51\text{.}}n=51.
Right. The total is a product, so 4×5×n=60,{4 \times 5 \times n = 60\text{,}}4×5×n=60, which gives 20n=60{20n = 60}20n=60 and n=3.{n = 3\text{.}}n=3.
Add the products of combinations joined by 'or'
When whole combinations are joined by 'or', find a product for each combination, then add, because each outcome belongs to only one combination.
The same 4 mains appear in both grids, but every meal is different.
Three allowed combinations
A florist has 5 kinds of rose, 8 of tulip and 3 of lily. A bunch is a rose and a tulip, a rose and a lily, or a tulip and a lily. Show that there are 79 different bunches.
- Rose and tulip give 5×8=40.{5 \times 8 = 40\text{.}}5×8=40.
- Rose and lily give 5×3=15.{5 \times 3 = 15\text{.}}5×3=15.
- Tulip and lily give 8×3=24.{8 \times 3 = 24\text{.}}8×3=24.
- Add the three products, 40+15+24=79.{40 + 15 + 24 = 79\text{.}}40+15+24=79.
In a "show that" question, write every product and their sum, and never start from the given total.
Without repeats each pick has one fewer option, and pairs are halved
Within one group, the count depends on whether items can repeat and whether order matters.
- No repeats. Each later pick has one fewer option, so 3 different digits from 1 to 7 give 7×6×5=210{7 \times 6 \times 5 = 210}7×6×5=210 codes, not 73.{7^3\text{.}}73.
- Repeats allowed. Every pick keeps all its options, as on a lock.
- Order does not matter. For a pair of different items, A with B is B with A, so the ordered product counts each pair twice and is halved.
The faded cells repeat the pairs above the diagonal in the opposite order.
Prizes for cakes and jams
A show awards first and second prizes among 9 cakes, and again among 7 jams. In how many ways can all four prizes be awarded?
- Cakes have 9 options for first and 8 for second, so 9×8=72{9 \times 8 = 72}9×8=72 ways.
- Jams give 7×6=42{7 \times 6 = 42}7×6=42 ways.
- Each cake result goes with each jam result, so 72×42=3024{72 \times 42 = 3024}72×42=3024 ways.
Games in a league
Each pair of teams in an 8-team league plays 3 games. How many games are played?
- Picking two teams in order gives 8×7=56.{8 \times 7 = 56\text{.}}8×7=56.
- This counts A against B and B against A, the same pair, so 56÷2=28{56 \div 2 = 28}56÷2=28 pairs.
- Each pair plays 3 games, so 28×3=84{28 \times 3 = 84}28×3=84 games.
Halve only when both picks come from one group and have the same role, never for first and second prizes.
- Why are the numbers of options multiplied, not added, for one top and one skirt?
- How can you tell from a question whether to halve a product?
In a contest, each player plays every other player once, and 21 games are played. How many players are there?
Solution
7
In how many ways can gold, silver and bronze medals go to 3 of 10 runners?
Solution
720