Product Rule for Counting
Question 11 mark
A student chooses one subject from each of three option blocks.
- Block A has 5 subjects.
- Block B has 4 subjects.
- Block C has 6 subjects.
No subject is in more than one block.
How many different combinations of three subjects can the student choose?
Hint
For each choice from Block A, think about how many choices there are from Block B, then from Block C.
Worked solution
- One subject from each block, so multiply the numbers of choices (don't add).
- 5\times4\times6=120
- Answer: 120
Question 21 mark
A parking permit code is made of two letters followed by three digits.
Each letter can be any of the 26 letters from A to Z.
Each digit can be any digit from 0 to 9
Letters and digits can be repeated.
How many different codes are possible?
Select the correct answer.
Hint
Count the number of choices for each of the five positions, then multiply (don't add).
Worked solution
- There are 26 choices for each letter and 10 choices for each digit.
- Repeats are allowed, so the choices don't go down.
- Multiply: 26\times26\times10\times10\times10
- =676\,000
Question 31 mark
A music app plays each of 7 different songs exactly once, in a random order.
How many different orders are possible?
Hint
Count the choices for the first song, then the second, and so on: each song played leaves one fewer.
Worked solution
- First song: 7 choices; second: 6; third: 5; and so on down to 1
- 7\times6\times5\times4\times3\times2\times1=5040
- Answer: 5040
Question 41 mark
A teacher gives three different prizes, one for effort, one for attendance and one for progress.
There are 25 students in the class.
A student can win more than one prize.
Which calculation gives the number of different ways the prizes can be given out?
Select the correct answer.
Hint
Think about how many students could win each prize, remembering that a student who has won one prize can still win another.
Worked solution
- Each prize can go to any of the 25 students, because a student can win more than one prize.
- So there are 25 choices for each of the 3 prizes.
- 25\times25\times25=25^3=15\,625
- 25\times24\times23 would be right only if a student could win at most one prize.
- Answer: 25^3
Question 51 mark
A ship has 7 different flags.
A signal is made by flying 3 of the flags on a pole, one above the other.
The same three flags in a different order make a different signal.
How many different signals can be made?
Hint
A flag on the pole can't be used again, so each position has one fewer choice than the one above it.
Worked solution
- Top flag: 7 choices
- Middle flag: 6 choices left
- Bottom flag: 5 choices left
- 7\times6\times5=210
- Answer: 210
Question 62 marks
How many 4-digit integers are multiples of 5 and have a first digit that is a square number?
Hint
Fill in the first and last digits first: which digits are square numbers, and how must a multiple of 5 end?
Worked solution
- First digit: a square number, so 1, 4 or 9: 3 choices (0 can't start a 4-digit integer)
- Last digit: 0 or 5 for a multiple of 5: 2 choices
- Second and third digits: any digit 0 to 9, so 10 choices each
- 3\times10\times10\times2=600
- Answer: 600
Question 72 marks
Ravi makes 3-digit integers using digits from the number
9\,205\,560
Each integer he makes must
- not start with 0
- have all different digits.
How many different integers can he make?
Hint
First list the different digits that appear in the number, then deal with the first digit before the others.
Worked solution
- The different digits are 0, 2, 5, 6 and 9: five digits
- First digit: not 0, so 4 choices
- Second digit: any of the 4 digits not yet used (0 is allowed now)
- Third digit: 3 choices left
- 4\times4\times3=48
- Answer: 48
Question 82 marks
A customer orders a new car by choosing one colour, one engine and one trim level.
- There are 5 colours.
- There are 3 engines: petrol, diesel and electric.
- There are 2 trim levels.
The electric engine is only available in 3 of the 5 colours.
How many different cars can be ordered?
Hint
Split into two cases, electric and not electric, count each with the product rule, then add.
Worked solution
- Petrol or diesel: 2\times5\times2=20
- Electric: 1\times3\times2=6
- Add the two cases: 20+6=26
- Answer: 26
Question 92 marks
Five friends, including Alex, stand in a queue.
Alex does not stand at the front of the queue.
In how many different orders can the five friends stand?
Hint
Fill the front place first: who is allowed to stand there?
Worked solution
- Front place: anyone except Alex, so 4 choices
- Second place: 4 people left (Alex is now allowed)
- Then 3, 2 and 1 choices for the other places
- 4\times4\times3\times2\times1=96
- Answer: 96
Question 102 marks
How many odd three-digit integers have three different digits?
Hint
Fill the most restricted places first: the last digit must be odd, and the first digit cannot be 0
Worked solution
- Last digit (odd): 1, 3, 5, 7 or 9, so 5 choices.
- First digit: not 0 and not the last digit, so 10-2=8 choices.
- Middle digit: any digit except the two already used, so 8 choices.
- 5\times8\times8=320
Question 112 marks
A phone PIN has 4 digits. Each digit can be any digit from 0 to 9.
How many 4-digit PINs have at least one digit that is repeated?
Hint
Work out the number of PINs altogether and the number with four different digits.
Worked solution
- All PINs: 10\times10\times10\times10=10\,000
- PINs with four different digits: 10\times9\times8\times7=5040
- Every other PIN has at least one repeated digit.
- 10\,000-5040=4960
- Answer: 4960
Question 122 marks
The six letters of the word MARKET are arranged in a row.
Each arrangement must start with a consonant and end with a consonant.
How many different arrangements are possible?
Hint
Fill the first and last places before the middle four, remembering that a consonant used at the start can't be used again at the end.
Worked solution
- The consonants are M, R, K and T (A and E are vowels)
- First letter: 4 choices
- Last letter: 3 consonants left
- Middle four places: the 4 letters left in any order, 4\times3\times2\times1=24
- 4\times3\times24=288
- Answer: 288
Question 133 marks
There are n teams in a football league.
Each team plays every other team twice in a season, once at home and once away.
There are 182 matches in the season.
Work out the value of n.
Hint
Each match has a home team and an away team: count the choices for each, in terms of n, and set the product equal to 182.
Worked solution
- Home team: n choices
- Away team: any other team, so n-1 choices
- n(n-1)=182
- n^2-n-182=0
- (n-14)(n+13)=0
- n is positive, so n=14
- Answer: n=14
Question 143 marks
How many even 4-digit integers have four different digits?
Hint
Split into two cases: the last digit is 0, or the last digit is 2, 4, 6 or 8, because the first digit can't be 0.
Worked solution
- Case 1, last digit 0: first digit 9 choices, then 8, then 7
- 9\times8\times7=504
- Case 2, last digit 2, 4, 6 or 8: 4 choices
- First digit: not 0 and not the last digit, so 8 choices; then 8 and 7
- 4\times8\times8\times7=1792
- 504+1792=2296
- Answer: 2296
Question 153 marks
How many 4-digit integers less than 3500 have four different digits?
Hint
Split by the first digit: if it is 1 or 2 the other digits are free, but if it is 3 the second digit is restricted too.
Worked solution
- First digit 1 or 2: 2\times9\times8\times7=1008
- First digit 3: the second digit must be less than 5 and not 3, so 0, 1, 2 or 4: 4 choices
- Then 8 and 7 choices: 1\times4\times8\times7=224
- 1008+224=1232
- Answer: 1232
Question 16Challenge5 marks
4-digit integers are made using the digits
0\qquad1\qquad4\qquad5\qquad7\qquad8
No digit is used more than once in an integer.
How many 4-digit integers can be made?
1 mark
How many of these integers are multiples of 5?
2 marks
How many of these integers are multiples of 5 and greater than 5000?
2 marks
Hint
Fill the restricted places first (the first digit, and the last digit for a multiple of 5), and split into cases by the last digit.
Worked solution
Part (a)
- First digit: not 0, so 5 choices
- Then 5, 4 and 3 choices for the other digits
- 5\times5\times4\times3=300
- Answer: 300
Part (b)
- A multiple of 5 ends in 0 or 5
- Ends in 0: 5\times4\times3=60
- Ends in 5: first digit not 0 or 5, so 4 choices; then 4 and 3
- 4\times4\times3=48
- 60+48=108
- Answer: 108
Part (c)
- The first digit must be 5, 7 or 8
- Ends in 0: first digit 5, 7 or 8, then 4 and 3 choices: 3\times4\times3=36
- Ends in 5: first digit 7 or 8 (5 is used), then 4 and 3 choices: 2\times4\times3=24
- 36+24=60
- Answer: 60
Question 17Challenge5 marks
Positive integers are made using some or all of the digits
2\qquad3\qquad6\qquad7\qquad9
No digit is used more than once in an integer.
For example, 7, 62 and 39 276 can all be made.
How many different positive integers can be made?
3 marks
How many of the integers that can be made are even?
2 marks
Hint
The question doesn't say how many digits, so count the 1-digit, 2-digit, 3-digit, 4-digit and 5-digit integers separately and add.
Worked solution
Part (a)
- Count the integers of each length and add.
- 1 digit: 5
- 2 digits: 5\times4=20
- 3 digits: 5\times4\times3=60
- 4 digits: 5\times4\times3\times2=120
- 5 digits: 5\times4\times3\times2\times1=120
- 5+20+60+120+120=325
- Answer: 325
Part (b)
- An even integer ends in 2 or 6, so there are 2 choices for the last digit
- 1 digit: 2; 2 digits: 2\times4=8; 3 digits: 2\times4\times3=24
- 4 digits: 2\times4\times3\times2=48; 5 digits: 2\times4\times3\times2\times1=48
- 2+8+24+48+48=130
- Answer: 130
Question 18Challenge5 marks
An ice-cream shop sells n different flavours.
A customer orders a cone with three scoops stacked one above another.
The three scoops are all different flavours, and the order of the scoops from bottom to top matters.
There are 2730 different cones possible.
Work out the value of n.
3 marks
Two of the flavours are chocolate and vanilla.
How many of the possible cones have chocolate as the bottom scoop and do not contain vanilla?
2 marks
Hint
Write the number of choices for the bottom, middle and top scoop in terms of n, multiply, and set this equal to 2730
Worked solution
Part (a)
- Bottom scoop: n choices; middle: n-1; top: n-2
- So n(n-1)(n-2)=2730
- Three consecutive integers multiply to 2730, so they are close to \sqrt[3]{2730}\approx14.0
- Try 13\times14\times15=2730 ✓
- So n-2=13 and n=15
Part (b)
- Bottom scoop: chocolate only, so 1 choice.
- Middle scoop: not chocolate and not vanilla, so 15-2=13 choices.
- Top scoop: 12 choices left.
- 1\times13\times12=156
Question 19Challenge5 marks
A chess club has 15 members. Some are boys and the rest are girls.
At a tournament, every boy plays every girl exactly once.
There are 54 games between a boy and a girl.
There are more girls than boys.
Work out the number of boys.
3 marks
At the tournament, every girl also plays every other girl exactly once.
The boys do not play each other.
Work out the total number of games played at the tournament.
2 marks
Hint
Write the number of girls in terms of the number of boys, b, and use the product rule to form an equation. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- Let the number of boys be b, so there are 15-b girls
- Choose a boy (b ways) and a girl (15-b ways): b(15-b)=54
- b^2-15b+54=0
- (b-6)(b-9)=0, so b=6 or b=9
- There are more girls than boys, so b=6
- Answer: 6 boys
Part (b)
- There are 15-6=9 girls
- Choosing a first and a second girl: 9\times8=72
- Each game is counted twice this way (A against B and B against A), so 72\div2=36 games
- Total: 54+36=90
- Answer: 90
Question 20Challenge5 marks
A company makes ID codes. Each code is two letters followed by two digits.
- The letters are chosen from a set of n letters, and the two letters can be the same.
- The digits are chosen from 0 to 9, and the two digits must be different.
For example, PP37 and HP03 are possible codes, but HP33 is not.
Write down an expression, in terms of n, for the number of possible codes.
Simplify your answer.
1 mark
The company needs at least 50 000 different codes.
Work out the least value of n.
2 marks
The company changes the rules so that the two letters must also be different.
It still needs at least 50 000 different codes.
Work out the least value of n now.
2 marks
Hint
Multiply the number of choices for each of the four characters, and remember n must be a whole number.
Worked solution
Part (a)
- Letters: n\times n=n^2
- Digits: 10\times9=90
- Answer: 90n^2
Part (b)
- 90n^2\geqslant50\,000
- n^2\geqslant555.5\ldots
- n\geqslant23.57\ldots
- n is a whole number, so n=24
- Check: 90\times23^2=47\,610 (too few) and 90\times24^2=51\,840
- Answer: n=24
Part (c)
- Letters: n choices, then n-1
- Number of codes: 90n(n-1)
- n=24: 90\times24\times23=49\,680, which is less than 50 000
- n=25: 90\times25\times24=54\,000
- Answer: n=25