Professional Documents
Culture Documents
2. Flavours Sizes Possible choices From the table above, we can see that each
combination of 2 colours can be permuted in
L B, L 2! = 2 ways.
Therefore, the number of combinations of 2 coloured
B M B, M P4
cups selected from 4 is 2 6 .
(2!)
S B, S
2. (a) The number of permutations of 4 coloured cups taken
L C, L 3 at a time is P34 24 .
C M C, M
(b) Permutation Combination
RBG RGB BRG BGR GRB GBR RBG
S C, S RBO ROB BRO BOR ORB OBR RBO
From the tree diagram, there are 6 possible choices. RGO ROG GRO GOR ORG OGR RGO
BGO BOG GBO GOB OBG OGB BGO
3. Multiple-choice question From the table above, we can see that each combination
A B C D of 3 colours can be permuted in 3! = 6 ways.
Therefore, the number of combinations of 3 coloured
True-false T T, A T, B T, C T, D P4
cups selected from 4 is 3 4 .
question F F, A F, B F, C F, D (3!)
From the table above, there are 8 possible outcomes. P2n P3n Prn
3. (a) (b) (c)
2! 3! r!
4. 2nd digit
Maths Dialogue
1 2 3
100
10 Permutation and Combination
101
NSS Mathematics in Action (2nd Edition) 5B Full Solutions
Quick Practice 10.11 (p. 10.22) Quick Practice 10.16 (p. 10.34)
(a) The number of ways to choose the 2 letters P226 (a) The number of ways of selecting 3 girls and 2 boys
C312 C 210
The number of ways to choose the 4 digits P410
9900
By the multiplication rule of counting,
the number of possible passwords = P226 P410 3 276 000
(b) Since 2 particular girls must be included and 4 particular
boys must be excluded, there are (12 – 2) = 10 girls and
Quick Practice 10.12 (p. 10.23) (10 – 4) = 6 boys remained for selection.
(a) The number of ways of arranging face cards on the right The required number of ways
= 3! C110 C 26
The number of ways of arranging number cards on the left
= 3! 150
By the multiplication rule of counting,
the number of possible arrangements 3 ! 3 ! 36 Quick Practice 10.17 (p. 10.35)
(a) The total number of mathematicians and physicists
(b) We can treat all the face cards as a unit. 5 7 12
The number of ways of arranging the number cards and the The required number of committees formed
unit = (3 + 1)! = 4!
C812
The number of ways of arranging the number cards = 3!
By the multiplication rule of counting, 495
the number of possible arrangements 4 ! 3 ! 144
(b) Exactly 4 mathematicians must be included.
Quick Practice 10.13 (p. 10.24) The required number of committees formed
Arrange the consonants B, C, D and F in a row. C 45 C 47
The number of ways to arrange the 4 consonants is 4!. 175
Since vowels A and E must be separated by consonants, they can
be arranged into the 5 positions between or next to the
consonants as shown below. (c) The committee can have 1 mathematician and 7 physicists,
or 2 mathematicians and 6 physicists, or 3 mathematicians
Consonants: and 5 physicists.
The number of committees with exactly 1 mathematician
Vowels:
C15 C77
The number of ways to arrange the vowels P25
The number of committees with exactly 2 mathematicians
∴ The required number of permutations = 4 ! P25 480
C25 C67
The number of committees with exactly 3 mathematicians
Alternative Solution
The total number of permutations without restrictions C35 C57
= 6! = 720 By the addition rule of counting,
The number of permutations with the vowels next to each other the required number of committees formed
= 5! × 2! = 240 C15 C77 C25 C67 C35 C57
∴ The required number of permutations 720 240 480
285
Quick Practice 10.14 (p. 10.31) (d) The number of committees with more than 3 physicists
12 11 10 9 2 1 175 285
(a) C 412C 22
4 3 2 1 2 1 460
495 The required number of committees formed
495 460
C 216 16 ! 5! 35
(b)
C 45 (16 2)! 2 ! (5 4)! 4 !
16 ! 1! 4 ! Quick Practice 10.18 (p. 10.37)
14 ! 2 ! 5 ! Number of ways of selecting 9 boys from 15 boys C915
16 15 14 ! 4! Number of ways of selecting a prince and a princess role from
14 ! 2 ! 5 4! the 9 selected children P29
24 ∴ The required number of ways
C915 P29
Quick Practice 10.15 (p. 10.32) 360 360
(a) The required number of ways = C520 15 504
102
10 Permutation and Combination
Quick Practice 10.19 (p. 10.38) 2. (a) By the multiplication rule of counting,
(a) The number of ways to arrange 4 girls in the front row = 4! the required number of ways 4 5 4 80
The number of ways to arrange 6 boys in the back row = 6!
∴ The number of possible arrangements (b) By the addition rule of counting,
4 ! 6 ! the required number of ways 4 5 9
17 280
(c) By the multiplication rule of counting,
(b) (i) The number of possible arrangements the required number of ways 9 4 36
10 !
3 628 000 3. (a) The number of choices of □ (i.e. 0, 5) = 2
(ii) Consider the girls stand in the first row. The number of choices of = 10
The number of ways of selecting a boy to stand in the By the multiplication rule of counting,
first row C16 the number of ways of forming the 3-digit number
2 10 20
The number of ways to arrange 4 girls and 1 boy in the
first row 2 ! 4 !
The number of ways to arrange the remaining 5 boys (b) The number of choices of □ (i.e. 0, 5) = 2
in the second row 5 ! The number of choices of (i.e. except 4 and □)
The number of ways to arrange the boys and girls if = 10 – 1 – 1 = 8
By the multiplication rule of counting,
the 4 girls stand in the first row C16 2 ! 4 ! 5 !
the number of ways of forming the 3-digit number
The situation is similar if the girls stand in the back 2 8 16
row.
The number of ways of arranging the boys and girls if
Further Practice (p. 10.26)
the 4 girls stand in the back row C16 2 ! 4 ! 5 !
1. (a) The number of 4-letter strings formed = P45 120
∴ The total number of arrangements
C16 2 ! 4 ! 5 ! 2
(b) The string must begin with A and end with O, or vice
69120 versa.
The number of arrangements for the first and the last
letters is 2!.
Further Practice
Then 3 letters remain for the 2nd and 3rd letters.
The number of ways of arranging the 2nd and the 3rd
Further Practice (p. 10.6)
1. By the addition rule of counting, letters is P23 .
the number of possible ways 12 3 9 ∴ The required number of the 4-letter strings
2 ! P23
2. Number of ways of selecting an even number = 10 12
Number of ways of selecting a multiple of 3
(i.e. 3, 6, 9, 12, 15, 18) = 6
Number of ways of selecting an even multiple of 3 2. (a) (i) The total number of singers = 4 + 5 = 9
(i.e. 6, 12, 18) = 3 The required number of performing sequences
By the addition rule of counting, 9!
the required number of ways 10 6 3 13 362 880
(ii) The number of ways to select the first and the last
3. (a) Number of ways of choosing an adult = 4
male singers is P24 .
Number of ways of choosing a female = 1 + 1 + 2 = 4
Number of ways of choosing a female adult = 2 The number of ways to arrange the remaining
∴ The required number of ways 4 4 2 6 7 singers = 7!
The required number of performing sequences
7! P24
(b) Number of ways of choosing a child = 3 + 2 = 5
Number of ways of choosing a male = 1 + 1 + 3 = 5 60 480
Number of ways of choosing a male child = 3
∴ The required number of ways 5 5 3 7 (b) The total number of singers = 3 + 3 = 6
If the first singer is a male, the number of ways to
Further Practice (p. 10.10) arrange the male singers is 3!.
1. By the multiplication rule of counting, The number of ways to arrange the female singers is
the number of choices with 2 models having both 3G and also 3! .
4G versions = 2 × 4 × 2 = 16 By the multiplication rule of counting,
The number of choices with the model having a 3G version the number of ways to arrange the singers if the first
only = 4 singer is a male 3 ! 3 !
By the addition rule of counting, The situation is similar if the first singer is a female.
the required number of choices 16 4 20 The number of ways to arrange the singers if the first
singer is a female 3 ! 3 !
Thus, the required number of ways 3 ! 3 ! 2 72
103
NSS Mathematics in Action (2nd Edition) 5B Full Solutions
3. (a) The number of ways to arrange phones D and E = 2! 3. (a) The number of ways to form the first group from the 9
The number of ways to arrange phones A, B, C, F, G students C39
and H = 6!
The number of ways to form the second and third
By the multiplication rule of counting,
the required number of ways 2 ! 6 ! 1440 group from the remaining 6 students C36
The required number of arrangements
(b) We can treat phones of the same brand as one unit. C39 C36 1680
The number of ways to arrange the 3 units = 3!
The number of ways to arrange the brand I phones (b) The situation is the same as that in (a), except the 3
= 3! groups of students perform the same task (i.e. playing
The number of ways to arrange the brand II phones a game).
= 2! For each arrangement that can be made, it corresponds
The number of ways to arrange the brand III phones to 3! arrangements in (a).
= 3! ∴ The required number of arrangements
By the multiplication rule of counting,
1680
the required number of ways 3 ! 3 ! 2 ! 3 ! 432
3!
280
(c) Phone D can be inserted into the 6 positions between
or next to the 6 phones as shown such that phone E
can then be placed and separated by exactly 4 phones Exercise
from phone D.
Exercise 10A (p. 10.11)
Level 1
1. By the addition rule of counting,
For each position of phone D, there is only one the number of possible ways 12 7 19
corresponding position for phone E.
The number of ways to arrange phones D and E = 6 2. By the addition rule of counting,
The number of ways to arrange the other 6 phones = 6! the number of possible outcomes 23 28 51
∴ The required number of ways 6 6! 4320
2. The total number of animals in the shop = 5 + 6 = 11 5. (a) By the addition rule of counting,
(a) (i) The required number of ways = C611 462 the number of possible outcomes 6 4 10
104
10 Permutation and Combination
12. By the addition rule of counting, 19. (a) The number of grammar schools = 4 + 8 + 5 = 17
the total number of students = 30 + 35 – n > 60 The number of technical schools = 2 + 1 + 1 = 4
65 - n > 60 By the multiplication rule of counting,
n<5 the number of choices 17 4 68
∴ n can be 1, 2, 3 or 4.
(b) The number of boys’ schools = 4 + 2 = 6
Level 2 The number of girls’ schools = 8 + 1 = 9
13. (a) (i) Number of multiple of 2 50 The number of co-educational schools = 5 + 1 = 6
By the multiplication rule of counting,
(ii) Number of multiple of 3 33 the required number of choices 6 9 6 324
(iii) Number of multiple of 6 16
20. (a) By the addition rule of counting,
(b) By the addition rule of counting, the required number of choices 8 3 11
the required number of ways 50 33 16 67
(b) By the multiplication rule of counting,
14. By the addition rule of counting, the required number of choices 11 5 55
(a) the required number of ways 4 4 8
(b) the required number of ways 36 26 18 44 21. (a) By the multiplication rule of counting,
the required number of ways 2 3 6
(c) the required number of ways 20 13 5 28
(d) the required number of ways 13 13 12 6 32
(b) Number of ways for a car to travel from town P to
town Q via Y 2 1 2
15. (a) By the multiplication rule of counting, By the addition rule of counting,
the required number of ways 5 3 15 the required number of ways 6 2 8
(b) By the multiplication rule of counting, 22. (a) By the multiplication rule of counting,
the number of ways 5 5 3 4 300 the number of ways 4 3 12
16. (a) By the multiplication rule of counting, (b) By the multiplication rule of counting,
the number of possible zip codes 105 100 000 the number of ways 4 3 6 72
(b) By the multiplication rule of counting, (c) The number of ways for taking one finance course and
the number of possible zip codes 9 104 90 000 one language course = 3 × 6 = 18
The number of ways for taking one accounting course
and one language course
(c) There are 9 choices for the first number. The last = 4 × 6 = 24
number must be 2, 3, 5 or 7. The other numbers have By the addition rule of counting,
no restrictions. the number of ways 12 18 24 54
By the multiplication rule of counting,
the number of possible zip codes
9 103 4 23. If Ivan buys fish ball, he can buy any of the 3 drinks.
If Ivan buys chicken wing, he can buy any of the 3 drinks.
36 000 If Ivan buys French fries, he can only buy mineral water or
orange juice.
17. By the multiplication rule of counting, If Ivan buys hamburger, he can only buy mineral water.
the number of possible passwords of deposit box A By the addition rule of counting,
2 2 101010 4000 the number of choices 3 3 2 1 9
the number of possible passwords of deposit box B
9 9 9 9 6561 24. (a) The first digit cannot be 0. Thus, there are 6 choices
Since 4000 < 6561, the password of deposit box A is easier for it.
to be cracked. After the first digit has been selected, there are 7
choices for each of the second digit and the last digit.
18. (a) By the addition rule of counting, By the multiplication rule of counting,
the number of choices 16 23 39 the number of 3-digit numbers formed
6 7 7 294
(b) The number of Chinese books left = 16 – 1 = 15
By the multiplication rule of counting,
the number of choices 15 23 345
(b) Since the number formed is even, the last digit must be 15. The required number of ways 8! 40 320
0, 2 or 4.
By the multiplication rule of counting,
the number of 3-digit numbers formed 16. There are 5 different choices for digits.
6 7 3 126 The number of 3-digit numbers formed P35 60
(d) Since the number formed is odd, the last digit must be
3, 5, 7 or 9. (b) The required number of ways P47 840
Since the number formed is greater than 400, the first
digit must be 4, 5, 7 or 9.
19. (a) The required number of ways P48 1680
By the multiplication rule of counting,
the number of 3-digit numbers formed
4 7 4 112 (b) The required number of ways = 84 4096
10. P45 P15 (5 4 3 2) 5 600 23. Kelly can be the champion, the first runner-up or the second
runner-up. After the position of Kelly is fixed, the
remaining 7 athletes can be ranked in 7! = 5040 ways.
P310 10 9 8 6
11. By the multiplication rule of counting,
P47 7 65 4 7 the required number of ways 3 7! 15 120
106
10 Permutation and Combination
25. (a) The required number of ways 8! 40 320 The number of ways of arranging the remaining
3 persons = 3! = 6
By addition rule and multiplication rule of counting,
(b) The number of ways of arranging the girls = 3! = 6
the required number of ways (4 3 2 1) 6 60
The number of ways of arranging the boys = 5! = 120
By the multiplication rule of counting,
the required number of ways 6 120 720 (d) We can treat Jelly, Leo and Mandy as a unit.
The number of ways of arranging the remaining 2
people and the unit = 3! = 6
(c) Alvin can be the 4th, 5th, 6th, 7th or 8th pupil leaving
The number of ways of arranging Jelly, Leo and
the classroom.
Mandy = 3! = 6
The number of ways of arranging the remaining
By the multiplication rule of counting,
7 students = 7! = 5040
the required number of ways 6 6 36
By the multiplication rule of counting,
the required number of ways 5040 5 25 200
29. (a) The pattern must be BRBRBRBRB, where R and B
represent a red ball and a blue ball respectively.
26. Suppose all sports magazines are placed on the right.
The number of ways of arranging the red balls
The number of ways of arranging the sports magazines
= 4! = 24
P35
The number of ways of arranging the blue balls
The number of ways of arranging the computer magazines = 5! = 120
P46 By the multiplication rule of counting,
The situation is similar when all sports magazines are the required number of ways 24 120 2880
placed on the left.
By the multiplication rule of counting, (b) Arrange the 5 blue balls in a row and there are
the required number of ways P35 P46 2 43 200 5! = 120 ways of arranging the blue balls.
107
NSS Mathematics in Action (2nd Edition) 5B Full Solutions
Since both Tom and Mary must be seated between two 6. C 26 C 47 C36 C37 C 26 C774 C36 C37
children, there are 6 possible pairs of positions (i.e.
(1, 2), (1, 3), (1, 4), (2, 3), (2, 4) and (3, 4)) for them. C37 (C 26 C36 )
The number of ways of arranging Tom and Mary P37 P26 P36
3! 2! 3!
= 2! = 2
∴ The required number of ways 6 2 120 1440
7 6 5 6 5 6 5 4
(d) The number of ways of arranging Tom and Mary 3 2 1 2 1 3 2 1
= 2! = 2 35 (15 20)
(i) The number of ways of arranging the 5 children 1225
= 5! = 120
By the multiplication rule of counting,
the required number of ways 2 120 240 7. (a) The possible combinations are listed as follows:
RBG, RBY, RBV, RGY, RGV,
(ii) If no sons can sit next to each other, then the boys RYV, BGY, BGV, BYV, GYV
and girls must sit alternatively.
The number of ways of arranging the 3 boys (b) The number of possible combinations C35 10
= 3! = 6
The number of ways or arranging the 2 girls
= 2! = 2 8. The required number of ways C518 8568
By the multiplication rule of counting,
the required number of ways 2 6 2 24
9. There are 30 days in June.
∴ The number of possible choices C530 142 506
Exercise 10C (p. 10.39)
Level 1
P4 4 3 10. There are 9 multiples of 5 from 10 to 50 inclusive (i.e. 10,
1. C24 2 6 15, 20, 25, 30, 35, 40, 45 and 50).
2! 2 1
∴ The required number of ways C49 126
P25 5 4
2. C25 C77 1 1 11
2! 2 11. (a) The number of possible outcomes C212 66
108
10 Permutation and Combination
265
3 2
735
26. (a) There are (2 + 5) = 7 people. 30. (a) There (9 + 7) = 16 different articles.
The required number of arrangements C47 35 ∴ The required number of ways C616 8008
(b) If Simon is in the taxi carrying 4 passengers, 3 more (b) (i) The required number of ways C47 C29 1260
people will be selected from the remaining 6 people
(ii) The number of ways of arranging the Chinese
for that taxi.
articles P47 840
∴ The required number of arrangements C36 20
The number of ways of arranging the English
articles P29 72
(c) Case I: Suppose Simon and Nick are in the taxi
carrying 3 passengers. Then, 1 more person By the multiplication rule of counting,
the required number of ways 840 70 60 480
needs to be selected from the remaining 5
people for that taxi.
The number of arrangements in this case Check Yourself (p. 10.44)
C15 5 1. Addition rule Multiplication
Case II: Suppose Simon and Nick are in the taxi of counting rule of counting
carrying 4 passengers. Then, 2 more people (a)
(b)
need to be selected from the remaining 5
(c)
people for that taxi. (d)
The number of arrangements in this case
C25 10 2. An arrangement of a certain number of objects in a definite
order is called a permutation .
By addition rule of counting,
For example, the number of ways to arrange 5 different toy
the required number of arrangements 5 10 15
cars in a row is 5! = 120 .
(d) Suppose Simon is in the taxi carrying 3 passengers. 3. A selection of r objects from n distinct objects regardless of
As Nick is not in this taxi, 2 more people can be their order is called a combination .
selected from the remaining 5 people for that taxi. For example, the number of ways to choose 4 colour pens
The number of such arrangements C25 10 from 10 different colour pens is C410 210 .
The situation is similar if Simon is in the taxi carrying
4 passengers, i.e. Nick is in the taxi carrying 3 4. (a) The number of ways of buying an electrical
passengers. appliance 5 3 4 12
∴ The required number of arrangements
C 25 2
(b) The number of ways of buying 3 electrical
20 appliances of different types 5 3 4 60
(b) There are 8! = 40 320 ways to assign the chosen 6. (a) The letter ‘E’ must be selected.
people on the sports ground. The number of ways of selecting 2 letters from
By the multiplication rule of counting, the remaining 5 letters C25 10
the required number of ways
75 40 320
3 0240000 (b) The letters ‘A’ and ‘R’ must not be selected.
The number of ways of selecting 3 letters from
the remaining 4 letters C34 4
29. First, 6 students are selected from the 20 students.
Then 3 students out of the 6 chosen students are assigned to
the posts of chairman, secretary and treasurer respectively.
Finally, the remaining 3 students are automatically assigned
to the post of coordinator.
∴ The required number of ways C620 P36 4 651200
110
10 Permutation and Combination
7. (a) The number of ways of arranging the 7. (a) By the addition rule of counting,
teachers 8 ! 40 320 the number of choices 8 6 5 19
2. By the addition rule of counting, 8. (a) The required number of ways P210 90
the number of choices 10 6 8 24
3. By the addition rule of counting, (b) The required number of ways P510 30 240
(a) the required number of ways 4 4 8
(b) the required number of ways 13 26 13 26 9. (a) The required number of ways 6! 720
4. By the multiplication rule of counting, (c) The required number of ways C46 15
(a) the number of possible choices 3 2 4 24
10. (a) For each letter, there are 8 choices.
(b) the number of possible choices 3 2 2 4 48
∴ The required number of ways 85 32 768
5. (a) By the addition rule of counting,
the required number of ways 2 3 2 4 11 (b) The required number of ways P58 6720
(b) The number of males = 2 + 2 = 4 11. (a) The required number of combinations C225 300
The number of females = 3 + 4 = 7
By the multiplication rule of counting,
the required number of ways 4 7 28 (b) The number of combinations with the same flavour
= 25
By the addition rule of counting,
(c) The number of adults = 2 + 3 = 5 the required number of combinations 300 25 325
The number of children = 2 + 4 = 6
By the multiplication rule of counting,
the required number of ways 5 6 30 12. Since 2 particular violinists must be included, 4 more
violinists are chosen from the remaining 8 violinists.
∴ The number of possible ways C48 70
(d) By the multiplication rule of counting,
the required number of ways 2 3 6 36
13. Since 3 particular students must be excluded and 1
particular student must be included, 4 more students are
6. (a) The required number of passwords chosen from the remaining (15 – 3 – 1) = 11 students.
26 261010 67 600
∴ The required number of ways C411 330
111
NSS Mathematics in Action (2nd Edition) 5B Full Solutions
16. First, 3 athletes are selected from the 12 athletes into the 23. (a) We can treat the scouts as a unit.
first group. The number of ways of arranging the girl guides and
Then another 4 athletes are selected from the remaining the unit = 6! = 720
(12 3) = 9 athletes into the second group. The number of ways of arranging the scouts = 4! = 24
Finally, the remaining 5 athletes are automatically assigned By the multiplication rule of counting,
to the third group. the required number of arrangements
∴ The required number of ways C312 C49 27 720 720 24 17 280
17. First, 3 books are selected from the 12 books and (b) The number of ways of arranging the girl guides
distributed to the 1st child. = 5! = 120
Then 3 books are selected from the remaining (12 3) = 9
books and distributed to the 2nd child.
After that, 3 books are selected from the remaining
(9 3) = 6 and distributed to the 3rd child. The scouts can stand in any 4 of the 6 positions as
Finally, the remaining 3 books are automatically distributed shown above.
to the 4th child. The number of ways of arranging the scouts
∴ The required number of ways P46 360
C312 C39 C36 369 600 By the multiplication rule of counting,
the required number of arrangements
Level 2 120 360 43 200
18. We can treat the triplets as a unit.
The number of ways of arranging the remaining 5 children
and the unit = 6! = 720 24. (a) The required number of ways C312 C19 1980
The number of ways of arranging the triplets = 3! = 6
By the multiplication rule of counting, (b) The number of ways of selecting 4 students from
the number of possible arrangements 720 6 4320 class A C412
∴ The required number of ways 1980 C412 2475
19. The number of ways of arranging C, D, E and F = 4! = 24
25. The number of ways for forming the jury with 4 men
C46 C39 1260
A and B can be arranged in any 2 of the 5 positions as The number of ways for forming the jury with 5 men
shown above. C56 C29 216
The number of ways of arranging A and B = P25 20 The number of ways for forming the jury with 6 men
By the multiplication rule of counting, C66 C19 9
the required number of ways 24 20 480 ∴ The required number of ways
1260 216 9
20. (a) The number of possible outcomes P38 336 1485
(b) 2 participants can be chosen from the remaining 26. If ‘6’ is the second largest number drawn, the largest
7 participants for the first runner-up and the second number drawn must be ‘7’, ‘8’, ‘9’or ‘10’. The remaining
runner-up. 2 cards must be from ‘1’, ‘2’, ‘3’, ‘4’ and ‘5’.
∴ The number of possible outcomes P27 42 ∴ The required number of ways 4 C25 40
21. (a) The number of ways of assigning 4 out of 7 people to 27. (a) (i) The total number of courses = 4 + 5 = 9
live in 4 single rooms P47 840 The number of different choices C49 126
(ii) If the student had selected M1 and F2, 2 more
(b) The number of ways of assigning 4 people to live in 7 courses would have been selected from the
single rooms P47 840 remaining 7 courses.
The number of choices with both M1 and F2
(c) The results in (a) and (b) are the same. We can taken C27 21
consider the people in (a) as rooms and the rooms as The required number of different choices
people. The problem in (a) then becomes exactly the 126 21
same as that in (b). 105
22. (a) The required number of ways P412 11880 (b) The number of choices with no Finance courses
C44 1
(b) The problem is equivalent to arranging 12 icons in a The number of choices with no Mathematics courses
row.
∴ The required number of ways C45 5
12! 479 001600
112
10 Permutation and Combination
The required number of different choices The number of ways of selecting exactly 1 odd
126 1 5 number C25 C15 50
120 By the addition rule of counting,
the required number of selections 10 50 60
28. (a) The number of ways of choosing 3 classes from (ii) We consider the case when the product is odd.
the 5 classes C35 All the three numbers drawn must be odd in this
The required number of ways C35 3 3 3 270 case.
∴ The number of selections in which the
(b) The number of ways of selecting 3 members without product is odd C35 10
restrictions C315 455 The number of selections without restrictions
C310 120
The required number of ways 455 270 185
∴ The required number of selections
29. (a) The boy can buy a $16 book, a $20 book or 120 10 110
a $28 book.
By the addition rule of counting, 31. (a) There are 6 classmates in total.
the required number of ways 6 8 4 18 The required number of ways 6 ! 720
(b) The boy can buy a $16 book and a $34 book. (b) We can treat Sandy, Lisa and Eunice as a unit.
By the multiplication rule of counting, The required number of ways 4 ! 24
the required number of ways 6 6 36
(c) If Sandy is the last one to present, the number of
(c) If the boy buys a $16 book, the other book can be any arrangements is 5! = 120.
of the available books. ∴ The required number of ways
If the boy does not buy any $16 books, he can either
720 120 600
buy two $20 books or one $20 book plus one $28
book.
By addition and multiplication rule of counting, (d) We treat Sandy and Lisa as a unit.
the required number of ways The number of ways to arrange the remaining
6 (5 8 4 6) 8 (7 4) 4 students and the unit = 5!
226 Either both Sandy and Lisa present before Eunice or
vice versa. In both cases, the numbers of ways to
arrange the students are the same.
(d) If one story book is bought, the book can be any book 5!
available. ∴ The required number of ways = 60
If three story books are bought, the three books must 2
be $16 books.
It is impossible to buy more than 3 books using not 32. (a) The required number of ways = P420 116 280
more than $50.
∴ The required number of ways
(b) The number of ways for boys to leave the lift
(6 8 4 6) 226 6 5 4
P220 380
370
The number of ways for girls to leave the lift = 20
∴ The required number of ways
30. (a) (i) If the sum of the numbers on the cards drawn is 380 20
even, then the two numbers are either both odd or
both even. 7600
∴ The number of required selections
C25 C25 20 33. (a) First, 2 of the 10 people are arranged to take the 2-seat
cable car.
(ii) We consider the case when the product is odd. Then, 4 of the remaining 8 people are arranged to take
The two numbers drawn must be odd in this case. the first 4-seat cable car.
∴ The number of selections in which the Finally, the remaining 4 people are automatically
product is odd C25 10 arranged to take the second 4-seat cable car.
The number of selections without restrictions ∴ The required number of ways C210 C48 3150
C210 45
∴ The required number of selections (b) The case can be considered as assigning 10 people to
45 10 35 10 seats in a row.
∴ The required number of ways 10! 3 628 800
(b) (i) Either all the three numbers drawn are odd or
exactly one number drawn is odd. 34. (a) The number of ways of choosing one King = 4
The number of ways of selecting 3 odd numbers The number of ways of choosing the other cards
C35 10 C448 194 580
113
NSS Mathematics in Action (2nd Edition) 5B Full Solutions
∴ The required number of different poker hands By the multiplication rule of counting,
4 194 580 the required number of arrangements
778320 5 10120 6 36 000
(b) The number of possible poker hands without (b) We treat the 3 selected women as a unit. There are
3 positions for the unit: 1 in the front row and 2 in the
restrictions C552 2 598 960 back row.
The number of hands without a King The number of ways of arranging the 4 men = 4! = 24
C548 1 712 304 The number of ways of arranging the 3 women = 3! = 6
By the multiplication rule of counting,
∴ The required number of poker hands
the required number of arrangements
2 598 960 1 712 304 5 10 24 6 3 21600
886 656
37. (a) John has to make 7 moves in total: 3 moves
(c) The number of possible ranks for the pair = 13 northwards and 4 moves eastwards. In any one of the
The number of possible suit combination for the pair paths, he can make any 3 of the 7 moves to be
C24 6 northwards moves, and the rest to be eastwards moves.
Since there should be exactly one pair, there are now ∴ The number of possible paths C37 35
only 48 cards left for selection. Afterwards, every card
picked removes 3 other cards of the same rank from (b) John has to make n of (m + n) moves to be northwards
the pool. This ensures that there will be no more than moves.
one pair.
The number of ways of choosing the other three cards ∴ The number of possible paths C nm n
48 44 40
14 080
3! Alternative Solution
∴ The required number of poker hands John has to make m of (m + n) moves to be eastwards
13 6 14 080 moves.
1 098 240 ∴ The number of possible paths C mm n
35. (a) (i) The number of arrangements without restrictions Multiple Choice Questions (p. 10.50)
8 ! 40 320 1. Answer: B
There are 2 choices for the rice and 3 choices for the
(ii) We treat Alan, Mr Cheung and Mrs Cheung as a noodle.
unit. By addition rule of counting,
The number of ways of arranging the 5 friends there are (2 + 3) = 5 choices for the main dish.
and the unit = 6! = 720 There are 5 choices for the drink.
The number of ways of arranging Alan, By multiplication rule of counting,
Mr Cheung and Mrs Cheung = 2! = 2 the number of choices for a customer 5 5 25
∴ The required number of arrangements
720 2 1440
2. Answer: C
By the multiplication rule of counting,
(b) (i) The number of arrangements without restrictions the required number of ways = 2 ´ 2 ´ 2 ´ 4´ 4 ´ 4 = 512
8 ! 40 320
(ii) We treat Alan, Mr Cheung and Mrs Cheung as a 3. Answer: B
unit. 3 of the 6 sportsmen are awarded the gold, silver and
The number of ways of arranging the unit in the bronze medals.
first row = 2! = 2 ∴ The required number of ways = P36 =120
The number of ways of arranging the remaining 5
friends = 5! = 120
4. Answer: A
The number of ways of arranging Alan, We have to select 3 more students from
Mr Cheung and Mrs Cheung = 2! = 2 (15 – 1 – 1) = 13 students.
∴ The required number of arrangements
∴ The required number of ways C313
2 120 2 480
36. (a) The number of ways of selecting 4 men from the 5. Answer: C
The number of ways of arranging the black and the purple
5 men C45 5 marbles = 2! = 2
The number of ways of selecting 3 women from the The number of ways of arranging the other 4 marbles in the
5 women C35 10 middle of the row = 4! = 24
If the 3 selected women sit together, we can treat them ∴ The required number of ways 2 24 48
as a unit.
The number of ways of arranging the 4 men and the 6. Answer: C
unit = 5! = 120 We can treat books of the same type as a unit.
The number of ways of arranging the 3 women = 3! = 6 The number of ways of arranging the 3 units = 3! = 6
The number of ways of arranging the novels = 3! = 6
114
10 Permutation and Combination
The number of ways of arranging the science books 3. The number of ways of choosing 2 English books C24
= 4! = 24
The number of ways of arranging the dictionaries = 2! = 2 The number of ways of choosing 2 Chinese books C 26
∴ The required number of ways 6 6 24 2 1728 The number of ways of choosing 2 Japanese books C 29
By the addition rule of counting,
7. Answer: B X C24 C26 C29
The number of ways to arrange C and D 2 ! 2
57
The 3 regions partitioned by the bars represent the 3 distinct (b) The tallest student among the 8 students should be
boxes. excluded. After the second tallest one among the 8
students is selected, 2 more students are selected from
the remaining 6 students.
∴ The required number of ways C26 15
Since every box contains at least one ball, the required
number of ways is just the number of ways of selecting 2 of
the 7 positions for the 2 bars. (c) Consider the 2 tallest students are selected at the same
∴ The required number of ways C27 21 time. 1 more student is selected from the remaining
6 students.
The number of ways of selections in this case
2. We first considered the selection with order.
There are 5 × 5 = 25 choices for the 1st square. C16 6
Since the 2nd square does not lies in the same row as the 1st The number of ways of selections without restrictions
square, the number of possible choices for the 2nd square is C38 56
(25 – 9) = 16.
∴ The required number of ways 56 6 50
The number of selection with order considered
= 25 × 16 = 400
400
∴ The required number of ways 200
2
115
NSS Mathematics in Action (2nd Edition) 5B Full Solutions
4. (a) There are 13 members younger than 40. (a) (i) Step 1: 5 ways
Step 2: 4 ways
∴ The required number of ways C513 1287 Step 3: 3 ways
(ii) Case 1:
(b) There are 7 members older than 40. Step 4: 1 ways
The number of ways of assigning the chairperson and Step 5: 3 ways
Case 2:
the vice-chairperson P27
Step 4: 2 ways
There are 6 members younger than 30. Step 5: 2 ways
The number of ways of assigning the secretary = 6 (iii) The required number of ways
There are 17 members left for the selections of the 5 4 3 (1 3 2 2)
treasurer and the coordinator.
The number of ways of assigning the treasurer and the
420
coordinator P217
(b) (i) The required number of ways
∴ The required number of ways
10 9 8 (1 8 7 7)
P27 6 P217 68 544
41040
(ii) Colouring figures (2) and (3) is the same as colouring
5. Answer: C
Case 1: If a red card is drawn from Box A, the other card figure (1).
drawn from Box B can only be blue. ∴ The required number of ways 41040
The number of ways of selection in this case
3 5 15 (c) (i) The required number of ways
Case 2: If a yellow card is drawn from Box A, the other n(n 1)(n 2)[1 (n 2) (n 3) (n 3)]
card drawn from Box B can be red or blue.
n(n 1)(n 2)(n 2 n 2 6n 9)
The number of ways of selection in this case
2 (2 5) 14 n(n 1)(n 2)(n 2 5n 7)
Case 3: If a blue card is drawn from Box A, the other card (ii) Colouring figures (2) and (3) is the same as colouring
drawn from Box B can only be red. figure (1).
The number of ways of selection in this case ∴ The required number of ways
4 2 8
n(n 1)(n 2)(n 2 5n 7)
∴ The required number of ways 15 14 8 37
6. Answer: B
We can treat Winnie and Yanny as a unit.
∴ The required number of ways 5! 120
7. Answer: B
The number of ways of selection without restriction
C310 120
The number of ways of selection with no boys
C36 20
∴ The required number of ways 120 20 100
116