Debt and credit, gain and loss — those, says this Sanskrit commentary on algebra, are what positive and negative quantities really mean. The Sūryabhāṣya works through the arithmetic of negative numbers with everyday examples, and then goes further, treating division by zero and giving the result a name: ananta, the infinite.
Positive and Negative as Debt and Credit
The commentary states the sign rules the way a classroom teacher would, but grounds them in finance rather than abstractions.
The sum of two positive quantities would be their addition; likewise, the sum of a positive and negative quantity would be their difference. Here, positive and negative should be understood as gain and loss, or as debt and credit.
So two gains add; a gain and a debt cancel; two debts accumulate. The manuscript then walks through the rest of the rules: subtracting a positive makes it negative, subtracting a negative makes it positive, and multiplying two negatives gives a positive. Each rule is explained not as an abstract law but as a logical consequence of the underlying meaning. If you owe someone and then that debt is canceled (subtracted from your ledger), your position improves — the negative has become positive. The text never loses sight of the real world it is describing.
Multiplication and Division Rules
The text walks through multiplication in order: positive times positive gives positive; positive times negative gives negative; negative times negative — and here the reasoning becomes more subtle — gives positive. Why? Because if you have two units of debt, each multiplied by two, you don't end up with four units of debt; the multiplication itself reverses the direction. The text uses the example of removing a quantity from zero: if you remove three units from zero, you are left with negative three.
In multiplication, the product of two positive quantities is positive. In the multiplication of a positive and a negative quantity, the result is negative. Similarly, in the multiplication of two negative quantities, the result is positive.
Division follows the same logic. The text demonstrates this with the example of dividing six by three: the quotient is two. When that quotient (two) is multiplied by the divisor (three), it recovers the dividend (six). The sign rules in division therefore mirror those in multiplication — the same principle of reversibility holds.
Zero and the Infinite
The most striking passage is about zero. Multiplying by zero gives zero — clear enough — but dividing by zero is where the text reaches for a concept that would take European mathematics centuries to formalize.
A quantity divided by kha (zero) becomes kha-hara (having zero as divisor). In mathematical science there is another name for a digit having zero as divisor — ananta (infinite). In this kha-hara quantity, even when many are entered into it or removed from it, there would be no change.
That is a recognizable, informal description of infinity: adding or removing finite amounts leaves it unchanged. The manuscript is drawing a philosophical parallel — the infinite as that which remains unmoved by addition and subtraction — while doing real mathematics in the same breath. To make the idea concrete, the text compares the infinite to Vishnu at the moment of cosmic dissolution and creation: when all beings enter into Vishnu at the end of an age, His infinitude is unchanged; when they emerge again at the beginning of the next age, He remains infinite. Nothing added or subtracted changes His nature.
Why This Matters
This commentary shows a mathematical culture that treated zero, negative numbers, and infinity as ordinary working tools centuries before they were standard elsewhere in the world. The text never treats them as curiosities or edge cases; they are simply part of the landscape of calculation, handled with the same logical rigor as any other operation. It is a reminder that the history of mathematics is not a single straight line — some of its most fundamental ideas were being taught, copied, and commented upon in Sanskrit when they were still unthinkable in much of the world.

