
Ancient India · Knowledge, Writing and Science
The number that had to be invented
Public domain, via Wikimedia Commons.
The Archives/Ancient India/Knowledge, Writing and Science
A gap in a column is not a number. Somebody had to decide that nothing is a quantity you can do arithmetic with, and then work out what happens when you divide by it.
The number system used by almost everybody on earth today has ten symbols, a positional notation in which a digit’s value depends on where it sits, and a symbol for zero. It came from India. The Arabic-speaking world adopted it from Indian sources in the eighth and ninth centuries and called the figures Indian; Europe adopted it from Arabic sources from the twelfth century and called them Arabic.
Three separate things had to happen, and they are often run together. First, a decimal place-value notation: writing numbers so that position carries value, which Babylonian mathematics had in base sixty and which India developed in base ten. Second, a symbol for an empty position, so that 205 can be distinguished from 25. Several cultures reached this, including the Babylonians and the Maya.
Third, zero treated as a number in its own right, which can be added, subtracted, multiplied and appear in equations. That is the step that appears first in India, and it is the one that matters mathematically.
❦On this page
Before the numerals
The arithmetic that came first was geometrical and it was done for ritual reasons. The Shulbasutras, attached to the ritual literature and probably composed between the eighth and fifth centuries BC, are manuals for constructing sacrificial altars. The altars had to be of prescribed shapes and areas, which raised real geometrical problems: building a square altar equal in area to a circular one, doubling the area of an altar while keeping its shape, and combining shapes.
Baudhayana’s text states the relation between the sides and diagonal of a rectangle, in words, in the form later known as Pythagoras’s theorem, several centuries before Pythagoras and apparently independently. It also gives a value for the square root of two, expressed as a sum of fractions, accurate to five decimal places. What the Shulbasutras do not have is algebra or a developed notation. They are practical geometry in prose, and the mathematics is a by-product of ritual exactness, in the same way that the grammar discussed elsewhere in this set was a by-product of textual exactness.
Counting large
One habit predates the notation and shaped everything after it. Indian texts are unusually comfortable with very large numbers. The Vedic literature has names for powers of ten up to a trillion. The Buddhist and Jain texts go much further, with Jain cosmology using numbers that require a classification of infinities, and a well-known passage in the Lalitavistara has the young Buddha reciting a sequence of number names extending past ten to the fifty-third power.
Jain mathematicians developed a theory of the infinite with different orders of infinity, and worked on combinations, permutations and sequences several centuries before comparable work elsewhere. The habit of naming powers of ten in a regular sequence is the conceptual ancestor of place value. A culture that routinely says three hundred and forty-five thousand six hundred and seventy-eight is already thinking in decimal positions, and writing it that way is a notational step rather than a conceptual one.
The notation
Establishing when place value appears is a problem in epigraphy rather than mathematics. The Brahmi numerals of the Ashokan period are not positional. They have separate symbols for one to nine, for the tens, and for hundreds and thousands.

Positional decimal notation with nine digits appears in inscriptions from around the sixth century AD, and a zero symbol appears shortly after. The dated evidence is contested at the edges. The Gwalior inscription of 876 has an unambiguous zero. A Cambodian inscription of 683 has one. The Bakhshali manuscript, a birch-bark mathematical text found near Peshawar in 1881, uses dots as placeholders, and radiocarbon dating published in 2017 gave dates ranging across several centuries, with the earliest around the third century, which has been disputed on the grounds that the manuscript may be composite.
Literary evidence is earlier and less precise. Aryabhata in 499 uses a system of his own, encoding numbers in syllables, which presupposes place value without displaying it. Varahamihira and other sixth-century writers use the word-numeral system, in which numbers are written with words standing for digits, and that system requires positional order to work.
The Syrian bishop Severus Sebokht, writing in 662, refers to the nine signs of the Indians and says their computation surpasses description, which is useful independent testimony from outside. So the notation is in use by the sixth century and probably earlier, and it spread out of India quickly.
Verse mathematics
The form these texts take is unfamiliar and it affects how they should be read. Indian mathematical works are in verse. The Aryabhatiya is a hundred and twenty-one metrical stanzas; Brahmagupta’s chapters are in the arya metre; Bhaskara II’s Lilavati is a poem.
Verse is a memory technology, for the same reason Panini’s rules are compressed. A rule that scans can be carried and recited; a paragraph of prose cannot, and manuscripts on palm leaf in a monsoon climate do not last. The consequence is severe compression. Aryabhata states a rule for summing an arithmetic series, or for extracting a cube root, in a single stanza with no working, no proof and no worked example.
The working lives in the commentary tradition instead. Bhaskara I’s commentary of 629 on the Aryabhatiya supplies the explanations, the examples and in places the demonstrations, and without it several of Aryabhata’s verses would be unintelligible. That division has misled readers. The claim that Indian mathematics has no proofs comes largely from reading the verse texts alone, and the commentaries, particularly the Kerala school’s Yuktibhasha of the sixteenth century, contain extended demonstrations of exactly the kind said to be absent.
The other consequence is charm. Bhaskara’s Lilavati poses its problems as scenes: a swarm of bees, a peacock striking a snake, a necklace breaking and the pearls scattering, a girl addressed by name and asked to work it out. It was the standard arithmetic textbook in India for six hundred years, and it is the only mathematical work of the period that anybody reads for pleasure.
Brahmagupta
The decisive text is datable exactly and its author knew what he was doing. Brahmagupta worked at Bhillamala in Rajasthan and completed the Brahmasphutasiddhanta in 628, at the age of thirty. Chapter eighteen contains the rules for operating with what he calls fortunes, debts and nothing, meaning positives, negatives and zero.

His statements are explicit. The sum of two fortunes is a fortune; of two debts, a debt; of a fortune and a debt, their difference. Zero added to zero is zero. A fortune subtracted from zero is a debt.
The product of a fortune and a debt is a debt; of two debts, a fortune. Anything multiplied by zero is zero. This is the first known systematic treatment of negative numbers, five hundred years before they were accepted in Europe, and it uses exactly the right metaphor: debt.
On division he gets into difficulty, as anybody would. He states that zero divided by zero is zero, which is wrong, and he leaves the division of a non-zero number by zero undefined in a way that later writers found unsatisfactory. Bhaskara II, in the twelfth century, returned to it and proposed that a quantity divided by zero is the infinite, which he called the unchangeable, observing that adding to it or taking from it makes no difference. That is closer to the modern treatment of a limit than anything in Europe for another five centuries.
Brahmagupta’s other work is substantial: a formula for the area of a cyclic quadrilateral, a general solution method for linear indeterminate equations, and work on the equation later mislabelled Pell’s, which he solved cases of a thousand years before Fermat proposed it as a challenge.
Aryabhata and the astronomers
The mathematics developed inside astronomy, and that context explains its shape. Aryabhata completed the Aryabhatiya in 499, in one hundred and twenty-one verses, and it is mathematics in service of computing planetary positions. It contains a table of sine differences, effectively the first sine table, using the half-chord function that passed into Arabic as jiba and into Latin, through a misreading, as sinus.
It gives a value for pi of 3.1416 and describes it as approximate, which is a notable piece of intellectual honesty. It gives methods for square and cube roots, arithmetic and geometric series, and a rule for solving linear indeterminate equations. And it states, in a verse that was argued over for centuries, that the apparent westward motion of the stars is caused by the earth’s rotation, comparing it to a man in a moving boat seeing the bank move backwards.
Later commentators, including Brahmagupta, rejected the rotating earth and reinterpreted the verse. Brahmagupta was extremely rude about Aryabhata generally, which is a reminder that this was a live argumentative tradition rather than a canon. The line continued: Bhaskara I, Varahamihira, Brahmagupta, Mahavira, Bhaskara II, and then, in Kerala from the fourteenth century, a school founded by Madhava of Sangamagrama that produced infinite series for pi, sine and cosine, effectively parts of the calculus, two centuries before Newton and Leibniz.
Getting out
The transmission westwards is documented well enough to trace. An Indian embassy is said to have reached the Abbasid court at Baghdad around 771 carrying an astronomical text, probably a version of the Brahmasphutasiddhanta, which was translated into Arabic as the Sindhind. Al-Khwarizmi, working in Baghdad in the early ninth century, wrote a treatise on calculation with the Indian numerals. His name, through the Latin of that treatise, gives us the word algorithm; the title of his other book, on al-jabr, gives us algebra.

Al-Biruni, who spent years in India in the early eleventh century and learned Sanskrit, wrote a long and remarkably fair account of Indian science, mathematics and religion, and translated Sanskrit works into Arabic. From Arabic the numerals reached Europe through Spain. Gerbert of Aurillac encountered them in the tenth century. The decisive work was Leonardo of Pisa’s Liber Abaci of 1202, which explained the system to merchants who needed it for commercial arithmetic.
Adoption was slow. Florence banned the numerals in 1299, on the grounds that they were easier to falsify than Roman ones, and the double-entry bookkeeping that made them indispensable took another two centuries to spread.
What was actually invented
A closing assessment, because the credit is often either inflated or withheld. India did not invent mathematics, and the Greek achievement in deductive geometry has no Indian parallel. Indian mathematics is computational rather than axiomatic, and proofs in the Greek sense are rare in it, though demonstrations do appear in the commentaries.
What India did produce is the notation everybody uses, the treatment of zero and negative numbers as quantities, a large body of algebra and indeterminate analysis, trigonometry in its modern form, and, in Kerala, infinite series. The decimal place-value system with zero is the single most widely used piece of intellectual technology in the world. Every calculation anybody does, on paper or in a machine, runs on it.
Pierre-Simon Laplace made the point that has been quoted ever since: that the idea seems simple now precisely because it is so effective, and that its very simplicity is what makes it easy to underrate.
Sources
Ancient
- The Shulbasutras of Baudhayana, Apastamba and Katyayana
- Aryabhata, Aryabhatiya, 499; Brahmagupta, Brahmasphutasiddhanta, 628
- The Bakhshali manuscript; the Gwalior inscription of 876
- Al-Biruni, Kitab fi Tahqiq ma li-l-Hind; Severus Sebokht on the nine signs
Modern
- Kim Plofker, Mathematics in India, 2009
- George Gheverghese Joseph, The Crest of the Peacock, 3rd edition 2011
- Takao Hayashi, The Bakhshali Manuscript, 1995
- Robert Kaplan, The Nothing That Is, 1999
New civilisations are announced by email as they are written.
Passages may be quoted with my name and a link to the page, and copies may be handed out in a classroom, lecture or study group as long as the site’s name stays on them. Please ask first before republishing a whole essay or Archives page, translating one, or using the writing in anything that is sold. Use for training machine-learning systems is not permitted. The details are on Using this site.
Images are credited individually; rights remain with their holders.