Mike Tate Mathematics

Tag: Zero

  • Brahmagupta Made Nothing a Number

    Brahmagupta Made Nothing a Number

    The operator is RULE: a quantity is real when its laws are written and kept. Give nothing a statute, give less-than-nothing one, and obey them wherever they lead.

    In 628 CE, at Bhillamāla in the west of India, a thirty-year-old astronomer named Brahmagupta finished a book of twenty-five chapters in verse. Its title is a claim: Brāhmasphuṭasiddhānta, “The Corrected Treatise of Brahmā” — the old doctrine, set right. Brahmagupta (598 – c. 668), son of Jisnugupta, went on to head the astronomical school at Ujjain, the foremost mathematical centre of ancient India. Two of his chapters outlasted the rest, because in them he did something no surviving text had done: he wrote the laws of arithmetic for zero and for the negative numbers, and worked under them in the open.

    I. The gap

    Zero was old by 628. Calculators had long used a mark for an empty place — a sign that keeps the rows, so that 2 and 200 do not collide. But a placeholder is not a number: it answers no question — what is a number plus nothing, a number times nothing? It had no arithmetic. The negative quantities were worse off. A ledger knew debts perfectly well, but formal arithmetic treated them as weather — real enough to owe, not real enough to multiply. What a debt does to a debt had no statute to answer it. Arithmetic had citizens and it had ghosts, and the ghosts haunted exactly the places where calculation needed to go: the empty place, the amount below nothing. Brahmagupta’s book is where the ghosts get legislated.

    II. The legislator

    He wrote young and he wrote against a giant. The Āryabhaṭīya of Āryabhaṭa, Indian astronomy’s founding text, was 129 years old when Brahmagupta took it up — and taking it up meant taking it on. The eleventh chapter, the “Examination of the Systems,” is fault-finding aimed almost entirely at Āryabhaṭa, named some sixty times in the book. Its closing verdict is a trap: Āryabhaṭa knows none of his three subjects — mathematics, time-reckoning, the sphere — the titles of Āryabhaṭa’s own chapters. Some faults are genuine catches: a wrong earth diameter poisons the longitude correction, the lunar day, then both eclipses — one bad number, traced from the bottom of the system to the top. Some of it is the old order defending itself: he declares Āryabhaṭa’s account of the eclipse false, restores the demon Rāhu, and rejects the turning earth outright. The legislator of zero was also the conservative of the eclipse — and at sixty-seven he built his astronomy on Āryabhaṭa’s own frame, with a year length agreeing with the old master’s to within six seconds. He fought the man for forty years, and never escaped him.

    III. The rules, computed

    Chapter 18 opens the statute book. Zero is defined first: it is what a number leaves when subtracted from itself. Then the clauses, in a bookkeeper’s tongue — dhana, fortune, for the positives; ṛṇa, debt, for the negatives; śūnya, the void, for zero. A debt subtracted from zero is a fortune; a fortune subtracted from zero is a debt — reach below nothing and the sign reverses, by law. The products: fortune by fortune is fortune, debt by debt is fortune, fortune by debt is debt. Run the statute on instances: subtract a debt of 4 from nothing and you hold a fortune — 0 − (−4) = 4; multiply two debts, (−4) × (−3), and it returns a fortune of 12. Zero itself gets clauses: a + 0 = a, a − 0 = a, a × 0 = 0. Every schoolchild now memorizes these rules. Brahmagupta is where they were first written as law.

    One clause fails, and the failure is in the book. Division: zero divided by zero, he writes, is zero. It is not — the expression has no value at all. A quantity divided by zero he leaves standing as a fraction with zero for its denominator, unevaluated: not infinity, which is Bhāskara II’s refinement five centuries later. He ruled where the territory ran out; the wrong clause is the chapter’s most instructive line.

    The statute then goes to work. His rule for the quadratic, stated in words: multiply the absolute term by four times the square’s coefficient, add the square of the middle coefficient, take the root, diminish by the middle coefficient, divide by twice the square’s coefficient — x = (√(4ac + b²) − b)/(2a), the modern formula, first stated whole. Feed it x² + 2x = 3: √(12 + 4) = 4, less 2 is 2, over 2 is 1. His geometry is two-tiered: for a quadrilateral, a gross area — the product of the half-sums of opposite sides — and an accurate one, √(s−a)(s−b)(s−c)(s−d). Build the figure his way, from two right triangles on a common hypotenuse of 65 — legs 25 and 60, legs 39 and 52 — and the sides 25, 39, 52, 60 stand on one circle. The triangles give the area directly: 750 + 1014 = 1764. The accurate rule gives √((88−25)(88−39)(88−52)(88−60)) = √3,111,696 = 1764. The gross rule gives 1905.75 — close, wrong, and labeled gross by the author himself. One honest caveat: the verse never says the quadrilateral must stand on a circle. Off the circle the rule fails; whether he assumed the circle or overclaimed is argued still.

    And then the summit of the chapter, the bhāvanā, composition. Solutions of x² − Ny² = k can be composed: from (a, b) and (c, d) build (ac + Nbd, ad + bc), and the k’s multiply. So solutions breed. His exhibit is x² − 92y² = 1, set in Colebrooke’s rendering as a challenge: the man who solves it within a year is a mathematician. Start with (10, 1): 100 − 92 = 8. Compose it with itself: (192, 20), k = 64. Divide through by 8: (24, 5/2), k = 1 — fractions allowed on the road. Compose that with itself: (1151, 120), whole numbers, and 1151² − 92 · 120² = 1,324,801 − 1,324,800 = 1. A four-digit solution, bred from (10, 1) in three moves.

    IV. What ruling buys

    Everything the statute touches becomes an instrument: with negatives as citizens, equations stop dying when a root goes below zero. With composition, one solution of a hard equation becomes a machine for manufacturing the rest — Bhāskara II’s cyclic method, five centuries later, is Brahmagupta’s composition with a steering wheel fitted. Even his tables obey the habit: in the Khaṇḍakhādyaka he corrects the sine table’s own differences, blending the steps behind and ahead — half their sum, corrected by θ² times half their difference. On his table (radius 150, steps of 15°) the rule reads the sine of 52.5° as 118.875 against a true 119.003; the straight-line guess gives 118, with eight times the error. His π is two-tiered too — 3 for practice, √10 (3.1623, within two-thirds of one percent) for accuracy: one pattern everywhere, a working rule and an accurate rule, each labeled.

    V. The long fuse

    The book outlived its language. In 772 or 773 an embassy from Sindh brought Baghdad a scholar and a siddhānta — the Sindhind of the Arabic sources, generally identified with Brahmagupta’s own treatise. Al-Fazārī translated it; al-Khwārizmī built his astronomy and his arithmetic on it; and through al-Khwārizmī’s arithmetic, the nine digits and the zero — śūnya become ṣifr, ṣifr become zephirum, zephirum become zero — walked into Latin Europe wearing Arabic dress. The credit thinned at every border: the numerals are called Arabic, the equation he cracked is called Pell’s, the art of computing with the figures is called algorism, after the man who carried the contents one stop further. Fermat, in 1657, challenged Europe to solve x² − 92y² = 1 and its kin — a thousand and twenty-nine years after Brahmagupta set the same problem and answered it. The rules had traveled the whole way; the name had not. That is the fate of statute: the water everyone swims in, its legislator forgotten precisely because the legislation held.

    — Mike Tate, MikeTateMath

    Sources and checks: Colebrooke, Algebra, with Arithmetic and Mensuration, from the Sanscrit of Brahmegupta and Bháscara (1817) — the zero and fortune/debt clauses (BSS 18.30–35), the quadratic rule (18.44), the quadrilateral and π verses (12.21, 12.40), the composition and the 92 challenge; MacTutor, “Brahmagupta” — the quadrilateral dispute, the year lengths; Clark (1930) and Dvivedī — the chapter against Āryabhaṭa; Gupta (1969) and Handa & Taneja (2014) — the interpolation; MacTutor/Pearce after R. Gupta, and al-Bīrūnī — the Sindhind transmission. Every number in this post — the sign-rule instances, the quadratic worked end to end, the quadrilateral’s area from its two triangles and from the accurate rule, its gross-rule overshoot and diagonal check, the composition chain (10, 1) → (192, 20) → (24, 5/2) → (1151, 120), the interpolation on Brahmagupta’s own table against the true sine, √10 against π, and the date arithmetic — is verified by direct computation in the pack’s work/verify_numbers.py.