数学史

婆罗摩笈多与零的运算法则

公元 628 年,婆罗摩笈多在《婆罗摩历算书》中明确写下了零和负数的运算规则。本演示把 a 和 b 放在数轴上,计算加、减、乘的结果,并把结果的正负解释为财富、债务或零。

5 分钟难度 2/3交互演示区域不展示广告。
a7b-4Result3Meaningfortune (positive)
-10-50510a = 7b = -43← debt (negative)fortune (positive) →

7 + (-4) = 3 · this is fortune (positive)

FortuneOpposite signs partially cancel; the larger magnitude decides the sign.
Brahmagupta, 7th century (628 CE)In the Brahmasphutasiddhanta, Brahmagupta gave arithmetic rules for zero and for negative numbers — treating them as numbers that obey laws, long before negative numbers were fully accepted in Europe. This demo is about “zero as a number with rules”, not about who first drew a zero symbol.

Drag a and b, then switch between add, subtract, and multiply. Positive values are fortunes, negative values are debts, and zero is neither. Multiplying two debts gives a fortune, and adding a fortune to an equal debt returns zero — exactly the rules Brahmagupta wrote down in the 7th century.

你看到的是什么

1

正数表示财富,负数表示债务。零既不是财富也不是债务,而是“空无”的状态。

2

直接计算 a + b、a − b 或 a × b,再把结果放回同一条数轴,读作财富、债务或零。

3

婆罗摩笈多指出“债乘债得财”,以及相反的量相互抵消。面板中的法则文字对应这些符号规律。

为什么重要

把零和负数当作遵守统一算术的数,是迈向现代代数的重要一步。它让方程可以统一求解,而不必把“无法相减”的情形特殊处理。

复杂度与细节

这里的算术为 O(1)。演示重点在符号规则,而不是大量计算。

常见问题

零这个符号是婆罗摩笈多发明的吗?+

不是,本演示也不这样主张。更早的文明使用过占位记号。这里强调的是婆罗摩笈多把零当作可以做加减乘运算的数,并给出成套规则。

为什么把正数叫财富、负数叫债务?+

这是一种历史且直观的模型:加上债务会减少财富,两个债务相乘会得到财富。数学本身是精确的,比喻只是帮助理解符号。