Permutations and combinations
導入済み
11:37
確率・統計1
Roll a single die, and the result is anyone's guess. But roll it thousands of times, or measure the heights of thousands of people, and something remarkable…
英語のナレーション・英語と中国語の字幕を切り替え可能
このレッスンの内容
| English | 意味 |
|---|---|
| permutation/ˌpɜːmjuːˈteɪʃn/ | 順列 |
| combination/ˌkɒmbɪˈneɪʃn/ | 組合せ |
| multiplication principle/ˌmʌltɪplɪˈkeɪʃn ˈprɪnsɪpl/ | 掛け合わせの法則 |
| arrangements | |
| factorial/fækˈtɔːrɪəl/ | 階乗 |
本棚の並べ方は何通り?
- 10冊の本があり、その中から3冊を選んで展示したいとする。何通りあるか?順序が重要なら順列。単に3つ選ぶだけなら組合せ。
- 数え上げ法は確率の基礎であり、宝くじの当選確率からパスワードのセキュリティまで、あらゆる場面で登場する。
Permutation or combination lab
Choose whether order matters in a counting problem.
順列(順序が重要)
- 順列とは順序が重要な並び替えのこと: ${}^nP_r = \dfrac{n!}{(n-r)!}$。
- 例:10冊の本から3冊を並べる: ${}^{10}P_3 = \dfrac{10!}{7!} = 10 \times 9 \times 8 = 720$。
** worked example.** 重複なしで26文字から3文字のコードを作れるのは何通りか? ${}^{26}P_3 = 26 \times 25 \times 24 = 15\,600$。

順列:3冊の本を並べ替える方法は 3 × 2 × 1 = 6通り

You have 3 shirts and 4 trousers. How many outfits can you make?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
3 × 4 = 12 outfits (multiplication principle).
組合せ(順序不重要)
- 組合せとは順序が重要でない選び方のこと: ${}^nC_r = \dbinom{n}{r} = \dfrac{n!}{r!\,(n-r)!}$。
- 例:10冊の本から3冊を選ぶ: ${}^{10}C_3 = \dfrac{10!}{3!\,7!} = \dfrac{720}{6} = 120$。
順列と組合せの違い。 10人の中から委員3人を選ぶのは組合せ(順序不重要)。10人から議長、副議長、秘書を選ぶのは順列(順序重要 — 役職が違う)。

順列では順序が重要だが、組合せでは重要ではない

In a combination, the order of the chosen items:
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
Combinations ignore order; permutations count order.
How many ways to arrange 3 books from 10 on a shelf (¹⁰P₃)?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
¹⁰P₃ = 10!/(10-3)! = 10!/7! = 10 × 9 × 8 = 720.
重複を含む並べ替え
- 重複する文字を含む単語を並べ替える場合、各重複数の階乗で割る。
- 例:NEEDLESS は8文字で、Eが3個、Sが2個ある:並べ替え $= \dfrac{8!}{3!\,2!} = \dfrac{40320}{12} = 3360$。

How many ways are there to choose 2 from 5 (⁵C₂)?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
⁵C₂ = 5!/(2!3!) = 120/(2×6) = 10.
⁵P₃ is greater than ⁵C₃.
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
⁵P₃ = 60 (order matters), ⁵C₃ = 10 (order doesn't). Permutations always ≥ combinations.
From 8 distinct letters, how many ordered pairs and how many unordered pairs can be chosen?
8 times 7 is 56, and each unordered pair has been counted twice.
積の法則
- 一つの選択が $m$ 通りあり、別の選択が $n$ 通りある場合、両方を併用すると $m \times n$ 通りある。
- 例:シャツ3枚とパンツ4本 → $3 \times 4 = 12$ の組み合わせ。
How many arrangements of the letters of NEEDLESS? (8 letters: E×3, S×2 → 8!/(3!2!))
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
8!/(3!2!) = 40320/(6×2) = 40320/12 = 3360.
理解できましたか
- 順列(順序重要): ${}^nP_r = \dfrac{n!}{(n-r)!}$
- 組合せ(顺序不重要): ${}^nC_r = \dfrac{n!}{r!(n-r)!}$
- 重複文字: $n!$ を各重複の階乗で割る(NEEDLESS → $\dfrac{8!}{3!\,2!}$)
を 56 の順列と 28 の組合せで書く
- 8種類の異なる文字があり、その中から2つを選ぶ。
- 順列の個数と組合せの個数を求めよ。

6 friends stand in a row. In how many ways can they stand if Ana and Ben must be next to each other?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
Glue Ana and Ben: 5 blocks give 5! = 120, and the pair can swap: 120 × 2 = 240.
In how many ways can the 6 friends stand if Ana and Ben must NOT be next to each other?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
Total 6! = 720, minus 240 together = 480.
このカードは新しいため、翻訳ができるまで英語で表示されます。
Selections with conditions
- Split into cases, find each with the multiplication principle 乘法原理, then add the cases.
- A team of 5 from 6 men and 4 women, with at least 2 women:
| Women | Men | Ways |
|---|---|---|
| 2 | 3 | $\binom42\binom63=120$ |
| 3 | 2 | $\binom43\binom62=60$ |
| 4 | 1 | $\binom44\binom61=6$ |
- Total $=186$. Check with total − unwanted (0 or 1 woman):
A group of 4 is chosen from 5 boys and 3 girls. How many groups contain at least one girl?
難易度 2/5 · 140 コイン + 今日初回達成時の小ボーナス
Total C(8,4) = 70; groups with no girl C(5,4) = 5; so 70 − 5 = 65.
このカードは新しいため、翻訳ができるまで英語で表示されます。
Worked exam question: arranging PARALLEL
Question (6 marks). Find the number of different arrangements 排列 of the 8 letters of the word PARALLEL (a) in total, (b) in which the three L's are together, (c) in which the two A's are not next to each other.
- Count the repeats: P, R, E once each; A twice; L three times.
- (a) $\dfrac{8!}{2!\,3!}=\dfrac{40320}{12}=$ 3360 (B1).
- (b) Treat LLL as one block: 6 items (LLL, P, A, R, A, E), with A repeated. $\dfrac{6!}{2!}=$ 360 (M1 A1). There is nothing to multiply inside the block, because the L's are identical.
- (c) A's together: treat AA as one block, giving 7 items with three L's: $\dfrac{7!}{3!}=840$ (M1). Not together $=3360-840=$ 2520 (M1 A1).
Why answers lose marks: forgetting to divide by $3!$ for the L's in part (c), or multiplying by $2!$ for the "inside" of a block of identical letters.
Find the number of arrangements of the letters of COFFEE (a) in total, (b) with the two F's together, (c) with the two E's not together.
Same method as PARALLEL.
このカードは新しいため、翻訳ができるまで英語で表示されます。
You've got it
- $n$ different objects in a row: $n!$; permutation 排列 ${}^nP_r=\dfrac{n!}{(n-r)!}$; combination ${}^nC_r=\dfrac{n!}{r!(n-r)!}$
- repeated letters: divide by each repeat's factorial
- together: one block × arrangements inside; apart: total − together, or the gaps method; ends: fill them first
- conditions on a selection: list the cases, multiply within a case, add the cases; check with total − unwanted
How many unordered pairs are there?
難易度 1/5 · 100 コイン + 今日初回達成時の小ボーナス
8 C 2 is 28.
何が問題でしたか?この内容はサイトの運営チームだけが確認します。