排列与组合的区别
引入本课内容
| 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 |
Does the order matter?
- Every counting question asks "how many ways?". First decide whether the order matters: that chooses a permutation 排列 or a combination 组合.
The counting principle

- $m$ ways then $n$ ways gives $m \times n$ ways. Draw one box per place and write the choices.
- Five digits from six, no repeats: $6 \times 5 \times 4 \times 3 \times 2 = 720$.
How many 5-digit numbers can be made from 1, 3, 5, 6, 8, 9 with no digit repeated?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$6 \times 5 \times 4 \times 3 \times 2$.
Factorials 阶乘
- $n! = n \times (n - 1) \times \ldots \times 1$: the ways to arrange $n$ different items in a row.
- By definition, $0! = 1$.
查找 $5!$.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$5 \times 4 \times 3 \times 2 \times 1$.
$0! = 0$.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
By definition $0! = 1$.
Permutation or combination
| order matters | order does not | |
|---|---|---|
| name | permutation | combination |
| words | arrange, code, 1st/2nd | choose, team, committee |
| formula | ${}^nP_r = \frac{n!}{(n - r)!}$ | ${}^nC_r = \frac{n!}{r!(n - r)!}$ |
- Each group of $r$ can be ordered in $r!$ ways, so ${}^nC_r = \frac{{}^nP_r}{r!}$.
Match each question to the method.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Order matters for medals and codes; not for groups.
Ten runners. In how many ways can three identical certificates be given?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
${}^{10}C_3 = \frac{720}{6}$.
Medals or certificates
Ten runners. Gold, silver, bronze: ${}^{10}P_3 = 720$. Three identical certificates: ${}^{10}C_3 = \frac{720}{3!} = 120$.
Read the key word. "Choose" and "select" mean a combination even when the items are listed in order.
Multiply choices for each place. Permutation when order matters (${}^nP_r$); combination when it does not (${}^nC_r = {}^nP_r \div r!$).
出了什么问题?只有网站团队能看到这些信息。