# 除法法则（组合数学）

**除法法则**，又称除法原理或商法则，是组合数学中的一个计数原理：如果一个有限集的元素可以分成若干个大小相同的等价类，每个等价类含 k 个元素，那么等价类的个数等于集合大小除以 k。形式化地说，若从集合 S 到集合 T 的满射 f 使得 T 中每个值都恰好在 S 的 k 个元素上取到，则 \( |T| = |S|/k \)。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> 它是解决重复计数的标准方法：先对一个更大、更易描述的集合计数，再除以每个目标对象被重复计数的次数。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup>

| 关键事实 | 细节 |
|---|---|
| 陈述 | 若 f : S → T 是满射，且每个纤维 f⁻¹(t) 大小相同为 k，则 \( \lvert T \rvert = \lvert S \rvert / k \)。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> |
| 成立原因 | 各纤维将 S 划分为大小相等的互不相交的部分，故 |S| = k · |T|。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> |
| 圆排列 | n 个不同对象排成一圈，旋转视为相同，共有 (n − 1)! 种排法，因为 n! 种线性坐法分成若干组，每组含 n 个旋转。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup><sup> • </sup><sup>[2](https://andrejb.net/engg2440/f17/notes/17L10.pdf)</sup> |
| 组合 | \( \binom{n}{k} = P(n,k)/k! = n!/(k!\,(n-k)!) \)，因为每个 k 元子集恰好被 k! 种有序选取所计数。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup><sup> • </sup><sup>[2](https://andrejb.net/engg2440/f17/notes/17L10.pdf)</sup> |
| 多重集排列 | N 个元素，各类型重数为 \( K_1, \ldots, K_m \)，有 \( N!/(K_1! \cdots K_m!) \) 种不同排列。<sup>[3](https://www.cs.bu.edu/fac/snyder/cs237/Lectures%20and%20Materials/Lecture%2005%20--%20Law%20of%20Total%2C%20Combinatorics%201.pdf)</sup> |
| 必要条件 | 每个类必须大小相同；当对称性使某些类变小时，简单除法会给出错误答案，且往往不是整数。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> |
| 推广 | 伯恩赛德引理（Burnside's lemma）将群作用的轨道数计算为不动点的平均数，可处理类大小不等的情形。<sup>[4](https://mathweb.ucsd.edu/~drogalsk/200ab-coursenotes-full.pdf)</sup> |

## 陈述与证明思路

该原理是关于多对一映射如何分配集合的陈述。设 f : S → T 为满射。对 T 中每个 t，纤维 \( f^{-1}(t) \) 是 S 中映射到 t 的元素集合。这些纤维两两不交，因为 S 中每个元素恰有一个像，且它们的并集是整个 S。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> 若每个纤维大小相同为 k，则 \( |S| = k \cdot |T| \)，作除法即得 T 的计数。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup>

实际操作中，映射 f 很少被显式写出。工作模式是：先对一个容易计数但存在重复的集合计数，然后确认每个目标对象的重复次数相同，再除以重复次数。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> 开放教材《用等价类计数》（*Counting with Equivalence*）将同一思想称为商原理，并强调它本质上只是关于除法如何运作的陈述。<sup>[5](https://discrete.openmathbooks.org/more/mdm/sec_basic-quotient.html)</sup>

一个小例子说明其机制。六位客人围坐圆桌：在有标号的座位上安排他们有 6! = 720 种方式，但所有人整体旋转一个座位后排列不变，因为只有谁挨着谁才重要。每种圆排列恰好对应 6 种有标号坐法，故答案为 720/6 = 120。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup><sup> • </sup><sup>[3](https://www.cs.bu.edu/fac/snyder/cs237/Lectures%20and%20Materials/Lecture%2005%20--%20Law%20of%20Total%2C%20Combinatorics%201.pdf)</sup>

## 圆排列

n 个不同对象的圆排列将它们放在圆周上，若旋转一个排列得到另一个，则两者视为相同；唯一重要的是绕圆一周的顺序。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> 对 \( n \ge 1 \)，计数为 \( (n-1)! \)。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup>

除法论证如下。设 S 为圆周上 n 个有标号座位中 n! 种坐法的集合，T 为圆排列的集合。将每种有标号坐法映到其圆排列的映射是 n 对一的：给定坐法的 n 个旋转两两不同，因为旋转 j 个座位（j 不被 n 整除）会把 1 号座位的人移到不同座位。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> 因此 \( |T| = n!/n = (n-1)! \)。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup><sup> • </sup><sup>[2](https://andrejb.net/engg2440/f17/notes/17L10.pdf)</sup> 当 n = 3，三人 A、B、C 时，六种排列分成两组各三种，得到 6/3 = 2 种圆排列。<sup>[2](https://andrejb.net/engg2440/f17/notes/17L10.pdf)</sup>

等价的捷径是固定一个对象的位置以打破旋转对称，再自由安排其余 n − 1 个对象，同样得到 (n − 1)!。<sup>[6](https://learn.geterdone.io/combinatorics-and-counting/permutations/)</sup><sup> • </sup><sup>[7](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Elementary_Foundations%3A_An_Introduction_to_Topics_in_Discrete_Mathematics_%28Sylvestre%29/21%3A_Permutations/21.03%3A_Counting_Permutations)</sup> 除法之所以合法，仅因为旋转被声明为相同。若座位有编号，所有人旋转后产生不同坐法，没有任何东西被等同，计数为 n!；决定哪种情形成立的是问题的陈述，而非桌子的形状。<sup>[6](https://learn.geterdone.io/combinatorics-and-counting/permutations/)</sup> 同样的除法可推广到圆 r 排列，即 n 个元素中取 r 个排成一圈的排列，方法是将有序 r 选取的计数除以相应的旋转数。<sup>[8](https://people.maths.ox.ac.uk/bays/teaching/3u03/notes/3-permutations.html)</sup>

## 组合与多重集排列

**无序选取。** n 元集合的 k 元子集公式是直接应用。设 X 为 {1, …, n} 中不同元素的长为 k 的序列集合；乘法法则给出 \( |X| = n(n-1) \cdots (n-k+1) \)。将每个序列映到其元素集合的映射是 k! 对一的，因为每个 k 元子集恰好由其元素的 k! 种排序列出，且由于元素互不相同，该数对每个子集都相同。作除法得

\[ \binom{n}{k} = \frac{n(n-1) \cdots (n-k+1)}{k!} = \frac{n!}{k!\,(n-k)!}. \]

<sup>[2](https://andrejb.net/engg2440/f17/notes/17L10.pdf)</sup><sup> • </sup><sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup>

**有重复的排列。** 对于由 m 种不同类型组成、各类型重数为 \( K_1, K_2, \ldots, K_m \) 且总和为 N 的 N 个元素，不同排列数为

\[ \frac{N!}{K_1! \, K_2! \cdots K_m!}. \]

<sup>[3](https://www.cs.bu.edu/fac/snyder/cs237/Lectures%20and%20Materials/Lecture%2005%20--%20Law%20of%20Total%2C%20Combinatorics%201.pdf)</sup> 单词 MISSISSIPPI 有 11 个字母，重数为 M: 1, I: 4, S: 4, P: 2，是标准例子。<sup>[3](https://www.cs.bu.edu/fac/snyder/cs237/Lectures%20and%20Materials/Lecture%2005%20--%20Law%20of%20Total%2C%20Combinatorics%201.pdf)</sup> 同样的商推理可一般地计数多重集：多重集是将相同对象分配给不同接收者，由有序函数除以不同对象的 k! 种排列得到，该类大小对每个有序函数都相同。<sup>[5](https://discrete.openmathbooks.org/more/mdm/sec_basic-quotient.html)</sup>

## 除法失效的情形

类大小相等这一假设并非自动成立，检验它是方法的一部分。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> 标准的警示案例是手镯或项链，其中圆环还可以翻转，因此反射与旋转都被视为相同。朴素的答案 \( n!/(2n) \) 一般不正确：在某反射下对称的排列其类大小为 n 而非 2n，故纤维的大小不恒定，除法原理不适用。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> 重复对象的圆排列中，旋转下的周期模式也造成同样的困难。<sup>[9](https://imoolympiad.com/learn/circular-permutations/)</sup>

系统的修正方法是伯恩赛德引理（Burnside's lemma），它将有限群作用在有限集上的轨道数计算为不动点的平均数，

\[ \frac{1}{|G|} \sum_{g \in G} |X^g|, \]

其中 \( X^g \) 是被 g 固定的元素集合。该公式有时称为伯恩赛德计数公式，尽管在伯恩赛德推广它之前许多年柯西（Cauchy）就已知道。<sup>[4](https://mathweb.ucsd.edu/~drogalsk/200ab-coursenotes-full.pdf)</sup> 当每个轨道都具有完整大小 |G| 时，它恰好退化为简单除法。一个实例：对于 3 种可用颜色的 6 珠项链，对二面体群的 12 个对称各自保持不变的着色数取平均，得到 1104/12 = 92 种不同项链。<sup>[10](https://theory.stanford.edu/~blynn/polya/burnside.html)</sup>

## 在计数法则中的地位

初等计数通常围绕一小组法则组织：用于不交选择的加法法则、用于连续选择的乘法法则、在情形重叠时修正加法法则的容斥原理，以及用于等同结果的除法原理。<sup>[1](https://calc-path.com/combinatorics/modules/basic-counting)</sup> 除法法则是将有标号、有序对象的计数转化为无标号或无序对象计数的法则，这就是为什么在组合、字母重排计数和圆桌就座中都会出现同样的除以 k! 的操作。<sup>[2](https://andrejb.net/engg2440/f17/notes/17L10.pdf)</sup><sup> • </sup><sup>[3](https://www.cs.bu.edu/fac/snyder/cs237/Lectures%20and%20Materials/Lecture%2005%20--%20Law%20of%20Total%2C%20Combinatorics%201.pdf)</sup>

## References

1. [Combinatorics — Basic Counting, calc-path.com](https://calc-path.com/combinatorics/modules/basic-counting)
2. [ENGG 2440A: Discrete Mathematics for Engineers, lecture notes on the division rule](https://andrejb.net/engg2440/f17/notes/17L10.pdf)
3. [Lecture 05 — Law of Total, Combinatorics 1, CS 237, Boston University](https://www.cs.bu.edu/fac/snyder/cs237/Lectures%20and%20Materials/Lecture%2005%20--%20Law%20of%20Total%2C%20Combinatorics%201.pdf)
4. [200AB course notes, University of California San Diego (Burnside's counting formula)](https://mathweb.ucsd.edu/~drogalsk/200ab-coursenotes-full.pdf)
5. [Counting with Equivalence, Open Math Books](https://discrete.openmathbooks.org/more/mdm/sec_basic-quotient.html)
6. [Permutations, Combinatorics and Counting, geterdone.io](https://learn.geterdone.io/combinatorics-and-counting/permutations/)
7. [21.3: Counting Permutations, Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Elementary_Foundations%3A_An_Introduction_to_Topics_in_Discrete_Mathematics_%28Sylvestre%29/21%3A_Permutations/21.03%3A_Counting_Permutations)
8. [Permutations course notes, University of Oxford](https://people.maths.ox.ac.uk/bays/teaching/3u03/notes/3-permutations.html)
9. [Circular permutations: Examples and Practice, IMO Olympiad](https://imoolympiad.com/learn/circular-permutations/)
10. [Polya Theory — Burnside's Lemma, Stanford University](https://theory.stanford.edu/~blynn/polya/burnside.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 11, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Combinatorics › Enumerative combinatorics › Counting techniques and recurrences › Rule of division (counting)

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/rule-of-division-combinatorics

English original: https://www.edgepedia.org/rule-of-division-combinatorics
