# 除法（数学）

除法是取两个数之比的算术运算，写作 \( x/y \) 或 \( x \div y \)，其中 \( x \) 是被除数，\( y \) 是除数，所得结果为商。除法是乘法的逆运算：若 \( a \times b = c \)，则只要 \( b \neq 0 \)，就有 \( a = c \div b \)。<sup>[1](https://mathworld.wolfram.com/Division.html)</sup> 除以零没有定义，而这一唯一的例外既塑造了该运算的理论，也决定了它在计算中的处理方式。<sup>[2](https://mathworld.wolfram.com/DivisionbyZero.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 术语 | 在 \( x/y \) 中，\( x \) 是被除数，\( y \) 是除数，\( x/y \) 是商；符号 / 和 ÷ 分别是斜线与除号<sup>[1](https://mathworld.wolfram.com/Division.html)</sup> |
| 解释 | 除法表示重复减法，正如乘法表示重复加法<sup>[3](https://openstax.org/books/prealgebra/pages/1-5-divide-whole-numbers)</sup> |
| 带余除法 | 对整数 \( a \) 与 \( b > 0 \)，存在唯一的 \( q \) 和 \( r \)，使得 \( a = bq + r \) 且 \( 0 \le r < b \)<sup>[4](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Elementary_Number_Theory_%28Barrus_and_Clark%29/01%3A_Chapters/1.05%3A_The_Division_Algorithm)</sup> |
| 除以零 | 在实数范围内无定义，因为对任意 \( y \) 都有 \( 0 \cdot y = 0 \)，所以无法通过乘法的逆运算还原出 \( y \)<sup>[2](https://mathworld.wolfram.com/DivisionbyZero.html)</sup> |
| 计算标准 | IEEE 754 将除法列为必需的浮点运算之一，并规定了包括非数在内的异常处理<sup>[5](https://standards.ieee.org/ieee/754/6210/)</sup> |
| 符号历史 | 除号（÷）最早由约翰·拉恩（Johann Rahn）于1659年在《德意志代数》（*Teutsche Algebra*）中用作除法符号<sup>[6](https://mathshistory.st-andrews.ac.uk//Miller/mathsym/operation/)</sup> |
| 早期算法 | 现存最早有记载的算法化除法是中国公元400年的孙子除法；同一过程重现于花拉子米（al-Kwarizmi）公元825年的著作，并以“帆船除法”的形式留存至今<sup>[7](https://www.amsi.org.au/teacher_modules/multiplication_and_division.html)</sup> |

## 意义与模型

除法回答两个相关的问题：一个量可以分成多少个相等的组，以及每个相等的组有多大。在重复减法的模型中，\( 12 \div 4 = 3 \)，因为从12中恰好可以减去4三次；被除的数是被除数，用来除的数是除数。<sup>[3](https://openstax.org/books/prealgebra/pages/1-5-divide-whole-numbers)</sup> 同一运算可写作 \( 12 \div 4 \)、\( 12/4 \)、\( \frac{12}{4} \)，或用长除法的括号写作 \( 4 \overline{)12} \)。<sup>[3](https://openstax.org/books/prealgebra/pages/1-5-divide-whole-numbers)</sup>

由于除法是乘法的逆运算，它的性质由乘法的性质推出。除法每次作用于两个数，并且不像加法和乘法那样满足交换律和结合律；操作数的顺序是有影响的。<sup>[1](https://mathworld.wolfram.com/Division.html)</sup> 当商不被求值而保留原样时，\( x/y \) 称为分数，\( x \) 为分子，\( y \) 为分母。<sup>[1](https://mathworld.wolfram.com/Division.html)</sup>

## 带余除法与余数

整数相除并不总能得到整数。带余除法指出，对整数 \( a \) 与 \( b > 0 \)，存在商 \( q \) 和余数 \( r \)，满足 \( a = bq + r \) 且 \( 0 \le r < b \)，并且这样的数对是唯一的。<sup>[4](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Elementary_Number_Theory_%28Barrus_and_Clark%29/01%3A_Chapters/1.05%3A_The_Division_Algorithm)</sup> 对实数，同样的量可以用向下取整函数写出：\( q = \left\lfloor \frac{a}{b} \right\rfloor \)，\( r = a - bq \)。<sup>[4](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Elementary_Number_Theory_%28Barrus_and_Clark%29/01%3A_Chapters/1.05%3A_The_Division_Algorithm)</sup> 取余运算记作 \( a \bmod b \)；例如 \( 23 \bmod 7 = 2 \)，因为 \( 23 = 7 \cdot 3 + 2 \)。<sup>[4](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Elementary_Number_Theory_%28Barrus_and_Clark%29/01%3A_Chapters/1.05%3A_The_Division_Algorithm)</sup>

舍去商的小数部分的除法称为整数除法，有时用反斜杠表示。<sup>[1](https://mathworld.wolfram.com/Division.html)</sup> 编程语言对此作了明确区分：Python 的 `a / b` 对应真除法，`a // b` 对应向下取整除法。<sup>[8](https://docs.python.org/3/library/operator.html)</sup> 反复应用带余除法，不断取商和余数直到余数为零，就是求最大公约数的欧几里得算法。<sup>[9](https://math.libretexts.org/%40api/deki/pages/28630/pdf/1.6%253A%2BThe%2BEuclidean%2BAlgorithm.pdf?stylesheet=default)</sup>

## 分数与有理数

对分数而言，除法通过乘以倒数来完成：\( \frac{a}{b} \div \frac{c}{d} = \frac{a}{b} \times \frac{d}{c} = \frac{a \times d}{b \times c} \)，其中整数均非零。<sup>[10](https://openstax.org/books/contemporary-mathematics/pages/3-4-rational-numbers)</sup> 分数的倒数通过交换分子与分母得到，一个数乘以其倒数等于1。<sup>[10](https://openstax.org/books/contemporary-mathematics/pages/3-4-rational-numbers)</sup> 同样的倒数法则可推广到多项式表达式的商，这种商称为有理表达式，通过因式分解和约去公因式来化简。<sup>[11](https://openstax.org/books/algebra-and-trigonometry-2e/pages/1-6-rational-expressions)</sup>

## 除以零

在实数范围内，除以零没有定义。原因是结构性的：由于对任意 \( y \) 都有 \( 0 \cdot y = 0 \)，乘积无法确定 \( y \)，因此当除数为0时，定义除法所用的逆运算就失效了。<sup>[2](https://mathworld.wolfram.com/DivisionbyZero.html)</sup> 零是唯一具有这一性质的数。<sup>[2](https://mathworld.wolfram.com/DivisionbyZero.html)</sup> 在扩展的语境中，这一运算可以被赋予意义：在扩展复平面上，对 \( z \neq 0 \)，\( z/0 \) 定义为复无穷，这反映了 \( \lim_{w \to 0} z/w = \infty \)，尽管这并不意味着 \( 1 = 0 \cdot \infty \)。<sup>[2](https://mathworld.wolfram.com/DivisionbyZero.html)</sup> 涉及除数趋于零的极限也可能有良好定义，例如 \( \lim_{x \to 0} \frac{\sin x}{x} = 1 \)。<sup>[2](https://mathworld.wolfram.com/DivisionbyZero.html)</sup>

在计算机算术中，这一运算按约定处理，而非留作无定义。IEEE 754 是二进制与十进制浮点算术的标准，它将除法列为其必需运算之一，并定义了异常条件及其默认处理方式，包括非数。<sup>[5](https://standards.ieee.org/ieee/754/6210/)</sup> 相比之下，整数除以零在程序中仍是致命错误状态。<sup>[2](https://mathworld.wolfram.com/DivisionbyZero.html)</sup>

## 笔算方法的历史

除法的笔算历史在很大程度上就是人们执行除法的各种程序的历史。<sup>[7](https://www.amsi.org.au/teacher_modules/multiplication_and_division.html)</sup> 现存最早有记载的算法化除法实例是中国公元400年的孙子除法。本质上相同的过程重现于花拉子米公元825年的著作，其现代对应形式称为帆船除法；它在实质上也等同于现代长除法，但与现代布局相比会让页面显得杂乱。<sup>[7](https://www.amsi.org.au/teacher_modules/multiplication_and_division.html)</sup> 《英国科学史杂志》（*British Journal for the History of Science*）上的一项研究认为，印度方法与中国早期文献如《九章算术》（*Chiu Chang Suan Shu*，约公元1世纪）中提到的中国除法（ch'u）完全相同。<sup>[12](https://www.cambridge.org/core/journals/british-journal-for-the-history-of-science/article/abs/on-the-chinese-origin-of-the-galley-method-of-arithmetical-division/CCBEE823E15EB41EE7E4A682792B6461)</sup>

另一种算法出现在斐波那契（Fibonacci）公元1202年的《计算之书》（*Liber Abaci*）中，这本书以普通人能够复现的形式帮助将计算方法带到了西方。斐波那契的方法用质因数分解来表示除数，排列成类似分数的组合，用质数而非十进制位值来缩小计算规模。<sup>[13](https://tildesites.geneseo.edu/~johannes/AnnaLongDiv.pdf)</sup> 印度-阿拉伯位值记数法本身促成了高效的算术算法，这很可能是该记数法被迅速采用的主要原因。<sup>[7](https://www.amsi.org.au/teacher_modules/multiplication_and_division.html)</sup>

记法后来才固定下来。8)24 这种排列由米夏埃尔·施蒂费尔（Michael Stifel）用于《综合算术》（*Arithmetica integra*），该书1540年完成，1544年出版；冒号用于分数见于《约翰逊算术》（*Johnson Arithmetik*，1633年）；戈特弗里德·威廉·莱布尼茨（Gottfried Wilhelm Leibniz）于1684年将 : 同时用于比和除法；除号 ÷ 最早由约翰·拉恩于1659年在《德意志代数》中用作除法符号，其1668年由约翰·佩尔（John Pell）增补的英文版保留了这个符号。<sup>[6](https://mathshistory.st-andrews.ac.uk//Miller/mathsym/operation/)</sup> 一些晚近的资料将该符号的发明归功于佩尔本人，但历史学家弗洛里安·卡约里（Florian Cajori）没有找到支持这一说法的证据。<sup>[6](https://mathshistory.st-andrews.ac.uk//Miller/mathsym/operation/)</sup> 如今大多数国家使用斜线或分数线，不过除号在德国和挪威的部分地区仍然留存。<sup>[14](https://mathshistory.st-andrews.ac.uk/SH/pell_sh.pdf)</sup> 甚至涉及 ÷ 和 × 的运算顺序也缺乏普遍共识，正如卡约里在《数学记法史》（*A History of Mathematical Notations*）中指出的那样。<sup>[6](https://mathshistory.st-andrews.ac.uk//Miller/mathsym/operation/)</sup>

## 计算与复杂度

在现代计算中，除法是基本运算里结构上要求最高的一种。在基于朴素乘法、卡拉楚巴（Karatsuba）乘法和快速傅里叶变换乘法的复杂度模型中，已知最好的除法算法依托牛顿法，将除法归约为若干次乘法；反过来，除法不可能比乘法更快，因为 \( a/b = a \cdot (1/b) \)。<sup>[15](https://algo.inria.fr/seminars/sem99-00/zimmermann.html)</sup> 没有专用除法电路的硬件可以用乘法方式计算浮点商，采用牛顿-拉夫逊迭代、戈尔德施密特（Goldschmidt）算法或泰勒级数倒数展开等方法。<sup>[16](https://globals.ieice.org/en_transactions/fundamentals/10.1587/e82-a_1_173/_p)</sup> 自然数的长除法在 Cobol 算术、密码学和素性检验等应用中仍然居于核心地位。<sup>[17](https://surface.syr.edu/eecs_techreports/166/)</sup>

## References

1. [Division, Wolfram MathWorld](https://mathworld.wolfram.com/Division.html)
2. [Division by Zero, Wolfram MathWorld](https://mathworld.wolfram.com/DivisionbyZero.html)
3. [1.5 Divide Whole Numbers, OpenStax Prealgebra](https://openstax.org/books/prealgebra/pages/1-5-divide-whole-numbers)
4. [1.5: The Division Algorithm, Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Elementary_Number_Theory_%28Barrus_and_Clark%29/01%3A_Chapters/1.05%3A_The_Division_Algorithm)
5. [IEEE 754-2019, IEEE Standard for Floating-Point Arithmetic](https://standards.ieee.org/ieee/754/6210/)
6. [Earliest Uses of Symbols of Operation, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk//Miller/mathsym/operation/)
7. [Multiplication and Division, AMSI Teacher Modules](https://www.amsi.org.au/teacher_modules/multiplication_and_division.html)
8. [operator, Standard operators as functions, Python 3 documentation](https://docs.python.org/3/library/operator.html)
9. [1.6: The Euclidean Algorithm, Mathematics LibreTexts](https://math.libretexts.org/%40api/deki/pages/28630/pdf/1.6%253A%2BThe%2BEuclidean%2BAlgorithm.pdf?stylesheet=default)
10. [3.4 Rational Numbers, OpenStax Contemporary Mathematics](https://openstax.org/books/contemporary-mathematics/pages/3-4-rational-numbers)
11. [1.6 Rational Expressions, OpenStax Algebra and Trigonometry 2e](https://openstax.org/books/algebra-and-trigonometry-2e/pages/1-6-rational-expressions)
12. [On the Chinese Origin of the Galley Method of Arithmetical Division, British Journal for the History of Science](https://www.cambridge.org/core/journals/british-journal-for-the-history-of-science/article/abs/on-the-chinese-origin-of-the-galley-method-of-arithmetical-division/CCBEE823E15EB41EE7E4A682792B6461)
13. [The History of Long Division, SUNY Geneseo](https://tildesites.geneseo.edu/~johannes/AnnaLongDiv.pdf)
14. [John Pell biographical note, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/SH/pell_sh.pdf)
15. [Efficient Algorithms on Numbers, Polynomials, and Series, Paul Zimmermann, INRIA](https://algo.inria.fr/seminars/sem99-00/zimmermann.html)
16. [Floating-Point Divide Operation without Special Hardware Supports, IEICE Transactions](https://globals.ieice.org/en_transactions/fundamentals/10.1587/e82-a_1_173/_p)
17. [Multiple-Length Division Revisited: A Tour of the Minefield, Per Brinch Hansen, Syracuse University](https://surface.syr.edu/eecs_techreports/166/)

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

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Arithmetic and number systems › Elementary and formal arithmetic › Elementary arithmetic operations

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/division-mathematics

English original: https://www.edgepedia.org/division-mathematics
