【排列與組合 Permutation and Combination:nPr、nCr、n!、聯集、交集】Permutation and Combination: nPr, nCr, n!, Union and Intersection

SketchMath 數學團隊 SketchMath Maths Team | 更新 Updated 2026-10-20

Permutation and Combination 排列與組合係數學 DSE 嘅必修課題,技巧包括認識排列 nPr、組合 nCr,以及 ∪ 聯集 Union、∩ 交集 Intersection 等。SketchMath 介紹所有公式定理及應用,並附上相關題目示範!Use the multiplication principle when events happen together (m × n) and the addition principle for exclusive choices (m + n). A permutation nPr counts ordered selections, a combination nCr counts selections where order does not matter: nPr = n!/(n − r)!, nCr = n!/[r!(n − r)!].

用 AI 逐步解排列與組合題目 Solve it with AI練習 34 條 DSE 模擬題 Practise 34 DSE-style questions

原創練習、提示、詳解與免費 PDF / Original exercises, hints, solutions & free PDF →

DSE 數學 AI 導師 · DSE Math AI Tutor

排列組合公式 Counting Formulas

乘法原則Multiplication principlem × n
加法原則Addition principlem + n(互斥事件)m + n (mutually exclusive)
階乘Factorialn! = n × (n − 1) × … × 2 × 1,0! = 1n! = n × (n − 1) × … × 2 × 1, 0! = 1
排列PermutationnPr = n! / (n − r)!
組合CombinationnCr = n! / [r!(n − r)!]
↑ 返回頁頂 Back to top

乘法原則 Multiplication Principle

乘法則用於計算獨立事件的總數。如果事件 A 可以發生 m 次,而事件 B 可以發生 n 次,則事件 A 和事件 B 同時發生的總次數為 m × n。

舉例:假設你有一件衣服,有 3 種不同的顏色可以選擇:紅色、藍色和綠色。同時,你還有 2 種不同的尺寸可以選擇:小號和中號。根據乘法原則,總共的可能性數量為 3 × 2 = 6。

The multiplication principle counts independent events. If event A can happen in m ways and event B in n ways, then A and B together can happen in m × n ways.

Example: a shirt comes in 3 colours (red, blue, green) and 2 sizes (small, medium). The number of possible shirts is 3 × 2 = 6.

↑ 返回頁頂 Back to top

加法原則 Addition Principle

加法原則指出,如果有兩個互斥的事件,則這兩個事件的總數量等於它們各自的數量之和。

舉例:假設你要從一個城市前往另一個城市,有兩條可行的路徑,分別是路線 A 和路線 B。路線 A 有 3 個分岔路口,路線 B 有 4 個分岔路口。根據加法原則,總共有 3 + 4 = 7 條路徑。

The addition principle says that for two mutually exclusive events, the total number of ways is the sum of their separate numbers of ways.

Example: to travel from one city to another there are two routes, A and B. Route A has 3 branches to choose and route B has 4. By the addition principle there are 3 + 4 = 7 possible paths.

↑ 返回頁頂 Back to top

階乘 Factorial

階乘(Factorial)是一個重要的數學概念,通常用符號「n!」表示,其中 n 是一個非負整數。階乘表示從 1 到 n 的所有正整數的乘積:n! = n × (n − 1) × (n − 2) × … × 2 × 1。例子:0! = 1(零的階乘被定義為 1)、1! = 1、2! = 2、3! = 6、4! = 24。

The factorial, written n! where n is a non-negative integer, is the product of all the positive integers from 1 to n: n! = n × (n − 1) × (n − 2) × … × 2 × 1. For example 0! = 1 (zero factorial is defined as 1), 1! = 1, 2! = 2, 3! = 6, 4! = 24.

↑ 返回頁頂 Back to top

排列 Permutation

排列指的是從一組物件中按照一定順序選取若干個物件的方式。如果有 n 個物件,其中 r 個物件按照一定順序選取,則排列的數量用 nPr = n!/(n − r)! 表示。

例子:假設你有三本書 A、B、C,要從中選擇兩本書按照順序排列。排列的方式有:AB、AC、BA、BC、CA、CB。這裡的 n = 3,r = 2,所以排列的數量為 3P2 = 6。

A permutation is a way of choosing some objects from a group in a certain order. If there are n objects and r of them are chosen in order, the number of permutations is written nPr = n!/(n − r)!.

Example: from three books A, B, C, pick two in order. The arrangements are AB, AC, BA, BC, CA, CB. Here n = 3, r = 2, so 3P2 = 6.

↑ 返回頁頂 Back to top

組合 Combination

組合指的是從一組物件中選取若干個物件的方式,不考慮其順序。如果有 n 個物件,其中 r 個物件選取,則組合的數量用 nCr = n!/[r!(n − r)!] 表示。

例子:假設你有三個水果:蘋果、橘子和香蕉。你想從中選擇兩種水果,不考慮它們的順序。組合的方式有:{蘋果, 橘子}、{蘋果, 香蕉}、{橘子, 香蕉},所以組合的數量為 3C2 = 3。

A combination is a way of choosing some objects from a group without regard to order. If n objects are available and r are chosen, the number of combinations is written nCr = n!/[r!(n − r)!].

Example: from an apple, an orange and a banana, choose two fruits, in no particular order. The choices are {apple, orange}, {apple, banana}, {orange, banana}, so 3C2 = 3.

↑ 返回頁頂 Back to top

事件的運算法則 Rules for Events

  1. Empty set 空集合:不包含樣本空間的任意事件的集合為空集合,以 Φ 表示。
  2. Complement 補集:A 的補集以 A′ 表示,指的是所有不在 A 中的元素(當 A′ 發生時,A 不發生)。
  3. Union 聯集:A、B 的聯集以 A ∪ B 表示,意思就是無論中了 A 或中了 B,或是既是 A 又是 B 的,都在這個集合之中。
  4. Intersection 交集:A、B 的交集以 A ∩ B 或 AB 表示,此集合的元素必定同時在 A 及 B 中。
  1. Empty set: the set that contains none of the outcomes of the sample space, written Φ.
  2. Complement: the complement of A, written A′, is all the elements not in A (when A′ occurs, A does not occur).
  3. Union: A ∪ B means either A or B or both occur.
  4. Intersection: A ∩ B (or AB) means both A and B occur; its elements must be in both A and B.
↑ 返回頁頂 Back to top

排列與組合例題詳解 Worked Examples

例題 1 Example 1:排列:把人排成一行 Arranging people in a row

5 位學生排成一行,若其中 2 位必須相鄰,有多少種排法?In how many ways can 5 students be arranged in a row if 2 particular students must sit next to each other?

  1. Treat the 2 as one block: 4 objects, 4! = 24 ways.
  2. The 2 can swap inside the block: 2! = 2.
  3. 24 × 2 = 48

答案: Answer: 48 種。48 ways.

例題 2 Example 2:組合:選委員會 Choosing a committee

從 7 人中選出 3 人組成委員會,有多少種選法?A committee of 3 is chosen from 7 people. How many committees are there?

  1. 7C3 = 7!/(3! 4!) = 35

答案: Answer: 35 種。35 ways.

↑ 返回頁頂 Back to top

✏️ 自我測試:互動練習 Self-Test: Interactive Practice

溫習方法:點擊以下任何題目,即時在坐標網格載入並核對計算步驟。How to study: click any question to load it on the coordinate grid and check your steps.

(nPr)用 1、2、3、4、5 組成沒有重複數字的三位數,有多少個?How many 3-digit numbers can be formed from 1, 2, 3, 4, 5 with no repeated digit?
(nCr)從 10 人中選 4 人,有多少種方法?Choose 4 students from 10: how many ways?
↑ 返回頁頂 Back to top

排列與組合練習題(DSE 模擬題) Exercises: DSE-Style Practice

SketchMath 題庫內的 DSE 風格練習,選擇題及長題目均附解答。 DSE-style practice from the SketchMath question bank, with solutions for every MC and long question.

排列、組合及概率 · 中五
25 條選擇題 25 MC · 9 條長題目 9 long questions

常見問題 Frequently Asked Questions

↑ 返回頁頂 Back to top

相關主題 Related Topics

更多關於概率 More about Probability離散程度的度量 Measures of DispersionHKDSE 數學全部課題 HKDSE Math: all topicsDSE 數學公式表(全課題) HKDSE Maths Formula SheetDSE 數學練習(按年級) DSE Maths Practice by Form
排列與組合 DSE 練習題 Try a DSE Practice Question