跳到主要内容

排列与组合

IGCSE 附加数学知识点 11

训练

讲义

English

This topic counts arrangements and selections: the difference between permutations and combinations, the factorial notation, and problems with conditions.

11.1 Difference between permutations and combinations

Counting questions ask "how many ways?". First decide whether the order of the items matters. That decides whether you need a permutation 排列 or a combination 组合.

The counting principle

If one choice can be made in $m$ ways and a second choice in $n$ ways, the two together can be made in $m \times n$ ways. Draw one box for each place and write the number of choices in it.

Five boxes for the 1st to 5th places, holding 6, 5, 4, 3 and 2 choices, multiplied together to give 720

Worked example 1. How many 5-digit numbers can be made from the digits 1, 3, 5, 6, 8, 9, if no digit is used more than once?

  1. The first place has 6 choices, the next 5, and so on, as in the figure.
  2. $6 \times 5 \times 4 \times 3 \times 2 = 720$.

Factorials

$n! = n \times (n - 1) \times \ldots \times 2 \times 1$ is the number of ways to arrange $n$ different items in a row. By definition, $0! = 1$.

Permutations and combinations

order matters order does not matter
name permutation combination
words in the question arrange, number, code, queue, 1st/2nd/3rd choose, select, team, committee, group
$r$ items from $n$ ${}^{n}P_{r} = \dfrac{n!}{(n - r)!}$ ${}^{n}C_{r} = \dbinom{n}{r} = \dfrac{n!}{r!(n - r)!}$

Each group of $r$ items can be arranged in $r!$ orders, so ${}^{n}C_{r} = \dfrac{{}^{n}P_{r}}{r!}$.

Worked example 2. Ten runners are in a race. Find the number of ways to give (a) a gold, a silver and a bronze medal (b) three identical certificates.

  1. (a) Order matters: ${}^{10}P_{3} = 10 \times 9 \times 8 = 720$.
  2. (b) Order does not matter: ${}^{10}C_{3} = \dfrac{720}{3!} = 120$.

11.2 Notation n! and permutation and combination expressions n!

Some questions give a permutation ${}^{n}P_{r}$ or a combination ${}^{n}C_{r}$ with an unknown $n$. Write each one as a product of brackets in $n$, cancel, and solve the equation.

Writing ${}^{n}P_{r}$ and ${}^{n}C_{r}$ in terms of $n$

${}^{n}P_{r}$ is the product of $r$ factors, counting down from $n$. Divide by $r!$ to get ${}^{n}C_{r}$.

$r$ ${}^{n}P_{r}$ ${}^{n}C_{r}$
1 $n$ $n$
2 $n(n - 1)$ $n(n - 1) \div 2$
3 $n(n - 1)(n - 2)$ $n(n - 1)(n - 2) \div 6$
Five points A, B, C, D and E with every pair joined by a straight line, making ten lines

The figure shows ${}^{5}C_{2}$: each line joins a pair of the 5 points. Each point has 4 lines, and each line has 2 ends, so there are $\dfrac{5 \times 4}{2} = 10$ lines.

For a factorial 阶乘, cancel the common part: $\dfrac{(n + 2)!}{n!} = (n + 2)(n + 1)$.

Solving for $n$

  1. Write every term as brackets in $n$.
  2. Divide both sides by common factors such as $n(n - 1)$; they are not zero, because $n \geqslant r$.
  3. Solve, and keep only a positive whole number $n$ that is large enough.

Worked example 1. ${}^{n}C_{2} = 45$. Find $n$.

  1. $\dfrac{n(n - 1)}{2} = 45$, so $n^2 - n - 90 = 0$.
  2. $(n - 10)(n + 9) = 0$, and $n > 0$, so $n = 10$.

Worked example 2. ${}^{n}P_{3} = 8 \times {}^{n}C_{2}$. Find $n$.

  1. $n(n - 1)(n - 2) = 8 \times \dfrac{n(n - 1)}{2} = 4n(n - 1)$.
  2. Divide by $n(n - 1)$: $n - 2 = 4$, so $n = 6$.

Showing a result

Write both terms over a common denominator, take out the common factors, and simplify to the required form.

Worked example 3. Show that ${}^{n}C_{2} + {}^{n+1}C_{2} = n^2$.

  1. $\dfrac{n(n - 1)}{2} + \dfrac{(n + 1)n}{2} = \dfrac{n[(n - 1) + (n + 1)]}{2}$.
  2. $= \dfrac{n \times 2n}{2} = n^2$.

11.3 Arrangement and selection problems

Most exam questions add a restriction 限制条件, such as "odd", "does not start with 0" or "at least 至少 2 teachers". Deal with the restriction first, then count the rest.

Arrangements: fill the restricted places first

Five boxes for a 5-digit number; the last box, drawn thicker, is filled first with 4 choices (1, 3, 5 or 9); the others hold 5, 4, 3 and 2 choices; the product is 480

Worked example 1. How many odd 5-digit numbers can be made from 1, 3, 5, 6, 8, 9, with no digit repeated?

  1. The last digit must be odd: 4 choices. Fill that box first, as in the figure.
  2. The other four places use the 5 digits left: $5 \times 4 \times 3 \times 2$.
  3. $4 \times 120 = 480$.

Split into cases when one choice changes another

Worked example 2. 5-digit numbers are made from 0, 1, 2, 3, 4, 5, 6, with no digit repeated and no 0 at the start. How many are even?

  1. Last digit 0: the first place then has 6 choices: $6 \times 5 \times 4 \times 3 = 360$.
  2. Last digit 2, 4 or 6: the first place has 5 choices (not 0, not the last digit): $3 \times 5 \times 5 \times 4 \times 3 = 900$.
  3. Add the cases 格: $360 + 900 = 1260$.

Selections: cases, or total minus the unwanted

  • "At least" or "at most 至多": add the separate cases, or subtract the unwanted cases from the total.
  • Two people who must be together: count "both in" plus "both out".
  • Letters that must be together in an arrangement 约定: treat them as one block, then multiply by the ways to arrange the block.

Worked example 3. A committee of 6 is chosen from 20 people. Anwar and Bo cannot both be on it. How many committees are possible?

  1. Total: ${}^{20}C_{6} = 38\,760$. Both on it: choose the other 4 from 18: ${}^{18}C_{4} = 3060$.
  2. $38\,760 - 3060 = 35\,700$.

Worked example 4. A team of 6 is chosen from 10 people. Two sisters must not be separated. How many teams are possible?

  1. Both in: choose 4 more from 8: ${}^{8}C_{4} = 70$. Both out: ${}^{8}C_{6} = 28$.
  2. $70 + 28 = 98$.

Words in the questions

The exercise sheets for this topic also use these words:

  • selection 甄选
  • algebraic method 代数方法
词汇
English 中文 拼音
permutation/ˌpɜːmjuːˈteɪʃn/ 排列 pái liè
combination/ˌkɒmbɪˈneɪʃn/ 组合 zǔ hé
factorial/fækˈtɔːrɪəl/ 阶乘 jiē chéng
arrangement/əˈreɪndʒmənt/ 约定 yuē dìng
selection/sɪˈlekʃn/ 甄选 zhēn xuǎn
algebraic method 代数方法 dài shù fāng fǎ
restriction/rɪˈstrɪkʃn/ 限制条件 xiàn zhì tiáo jiàn
at least 至少 zhì shǎo
at most 至多 zhì duō
case/keɪs/ 格 gé

更多 IGCSE 附加数学 知识点

登录或创建账户

IGCSE, A-Level & AP