In 628 CE, a 30-year-old mathematician at the astronomical observatory in Ujjain wrote the rules for arithmetic with zero and negative numbers that every school in the world now teaches. He also solved quadratic equations, computed the area of any cyclic quadrilateral, described gravitational attraction, and built astronomical tables that influenced Islamic and European science for centuries. His name was Brahmagupta.
The number zero is so fundamental to mathematics that it is difficult to imagine arithmetic without it. But for most of human history, zero did not exist as a number — it existed, at most, as a placeholder symbol marking an empty column in a counting board.
Making zero into a number — a quantity with its own rules of arithmetic — required a conceptual leap that took centuries. Āryabhaṭa, in 499 CE, formalised the decimal place-value system that zero enabled. It was Brahmagupta, in 628 CE, who completed the work by writing down, for the first time in history, a complete set of rules for arithmetic operations involving zero.
Brahmagupta (ब्रह्मगुप्त) was born in 598 CE, likely in Bhillamāla (modern Bhinmal in Rajasthan). He became the head of the astronomical observatory at Ujjain — one of the great centres of learning in ancient India. In 628 CE, at the age of 30, he completed the Brahmasphutasiddhānta (The Correctly Established Doctrine of Brahma) — a text of 25 chapters in Sanskrit verse that contains some of the most original mathematics produced in any civilisation.
The Brahmasphutasiddhānta is primarily an astronomical treatise — it covers planetary motion, eclipse calculation, the celestial sphere, and the construction of astronomical instruments. But chapters 12 and 18, on arithmetic and algebra, contain the mathematical results that made Brahmagupta immortal.
The text was translated into Arabic around 773 CE at the court of Caliph al-Mansur in Baghdad, by order of the Caliph himself, who sent a delegation to India to bring back the best mathematical and astronomical texts. The translation — known as the Sindhind — became one of the most influential scientific works in the Islamic world. Al-Fazārī and Yaʿqūb ibn Ṭāriq translated it; Al-Khwarizmi built on it when composing the algebra text whose title gave us the word “algebra.”
Al-Bīrūnī, the 11th-century Islamic scholar, visited India and translated the Brahmasphutasiddhānta directly from Sanskrit. He called Brahmagupta one of the greatest mathematicians he had encountered and devoted substantial sections of his masterwork Kitāb fī Taḥqīq mā lil-Hindto summarising Brahmagupta's discoveries.
Every claim is sourced from the Brahmasphutasiddhānta itself or peer-reviewed scholarship from Princeton University Press, Birkhäuser, MIT Press, and the American Philosophical Society.
शून्य-गणित · śūnya-gaṇita
Before Brahmagupta, zero existed as a positional placeholder. It was Āryabhaṭa who formalised its role in calculation. But it was Brahmagupta, in the Brahmasphutasiddhānta (628 CE), who gave zero a complete arithmetic. He stated: "When zero is added to a number or subtracted from a number, the number remains unchanged; and a number multiplied by zero becomes zero." He also addressed: zero plus zero = zero, zero minus zero = zero, zero multiplied by any number = zero. These rules, stated in Sanskrit verse in 628 CE, are the rules every child learns today. He then attempted division by zero — and arrived at an answer he called śūnya (zero divided by zero) and another he acknowledged was problematic (a non-zero number divided by zero). He was honest about the difficulty. The question of division by zero would not be rigorously resolved until the 19th century with the development of limits in calculus.
Source: Brahmasphutasiddhānta 18.30–35 · Kim Plofker, Mathematics in India (Princeton University Press, 2009)
ऋणात्मक-संख्या · ṛṇātmaka-saṃkhyā
Brahmagupta defined negative numbers in the Brahmasphutasiddhānta using the concept of debt (ṛṇa — literally "that which is owed"). A positive number represents a fortune (dhana). A negative number represents a debt. He then stated the complete rules: fortune minus greater fortune is debt; debt minus debt is fortune if the second debt is greater; the product of two debts is a fortune; the product of a fortune and a debt is a debt. These are the rules of multiplication of positive and negative numbers. In modern notation: (–) × (–) = (+) and (+) × (–) = (–). European mathematicians resisted negative numbers for centuries — as late as the 17th century, Descartes called them "false numbers." Brahmagupta had given them a complete arithmetic in 628 CE.
Source: Brahmasphutasiddhānta 18.30 · Florian Cajori, A History of Mathematics (Macmillan, 1919) · David Burton, The History of Mathematics (McGraw-Hill, 2007)
वर्गसमीकरण · varga-samīkaraṇa
Brahmagupta provided a general method for solving quadratic equations of the form ax² + bx = c. His method, stated in verse, is equivalent to the quadratic formula taught in schools today: x = (–b ± √(b² + 4ac)) / 2a. He extended this to indeterminate equations — equations with multiple unknowns — and worked on what is now called the Pell equation (Nx² + 1 = y²), giving methods for finding integer solutions. Al-Khwarizmi's algebra, which introduced quadratic solutions to the Islamic world (from which Europe learned them), was composed around 820 CE — nearly 200 years after Brahmagupta. Al-Khwarizmi had access to Brahmagupta's work through the Arabic translation of the Brahmasphutasiddhānta commissioned by the Caliph al-Mansur around 773 CE.
Source: Brahmasphutasiddhānta 18.44–45 · André Weil, Number Theory: An Approach Through History (Birkhäuser, 1984) · Kim Plofker, Mathematics in India (Princeton, 2009)
चक्रीय-चतुर्भुज · cakrīya-caturbhuja
Brahmagupta discovered the formula for the area of a cyclic quadrilateral (a four-sided figure inscribed in a circle): Area = √((s–a)(s–b)(s–c)(s–d)), where s is the semi-perimeter and a, b, c, d are the sides. This formula — now called Brahmagupta's Formula — is a generalisation of Heron's formula for the area of a triangle (which is the special case where d = 0). It was unknown to Greek mathematics and was not rediscovered in Europe until the 17th century. He also stated what is now called Brahmagupta's theorem: in a cyclic quadrilateral with perpendicular diagonals, the perpendicular to one side from the point of intersection of diagonals bisects the opposite side. This is taught in every advanced geometry curriculum today.
Source: Brahmasphutasiddhānta 12.21–28 · Roger Cooke, The History of Mathematics (Wiley, 2011) · Howard Eves, An Introduction to the History of Mathematics (Saunders, 1990)
गुरुत्वाकर्षण · gurutvākarṣaṇa
In the Brahmasphutasiddhānta, Brahmagupta writes: "Bodies fall towards the earth as it is in the nature of the earth to attract bodies, just as it is in the nature of water to flow downwards." (Brahmasphutasiddhānta 11.3). This is a statement of universal gravitational attraction — the idea that the Earth has an inherent attractive property that draws objects towards it. It is not merely observation that things fall. It is the claim that the Earth attracts. Isaac Newton formulated his law of universal gravitation in 1687. Brahmagupta stated that the Earth attracts bodies in 628 CE — 1,059 years earlier. He did not derive the mathematical law of gravity (that would require calculus, which Newton developed). But the conceptual claim — that gravity is the Earth's attractive property — is documented here, in Sanskrit, in the 7th century.
Source: Brahmasphutasiddhānta 11.3 · Kim Plofker, Mathematics in India (Princeton University Press, 2009) · David Pingree, Census of the Exact Sciences in Sanskrit (American Philosophical Society)
भूपरिधि · bhūparidhi
Brahmagupta calculated the circumference of the Earth as 36,000 km — less accurate than Āryabhaṭa's earlier figure, but more importantly, he provided the mathematical tools for computing planetary positions and eclipse times. The Brahmasphutasiddhānta was the definitive astronomical handbook in the Islamic world for centuries after it was translated into Arabic as the Sindhind (from Siddhānta) around 773 CE. This was the text Al-Fazārī translated, establishing Indian astronomy at the Abbasid court in Baghdad. From there, Indian astronomical methods — including Brahmagupta's — influenced Islamic astronomy, which in turn influenced European astronomy, which produced Copernicus and Kepler.
Source: Brahmasphutasiddhānta 21.9 · Al-Bīrūnī, Kitāb fī Taḥqīq mā lil-Hind (c. 1030 CE) · George Saliba, Islamic Science and the Making of the European Renaissance (MIT Press, 2007)
These are the verses from the Brahmasphutasiddhānta, written in 628 CE, that defined the arithmetic of zero and negative numbers for the world.
ऋणमृणेन धनं धनेन मूल्यं भवति ऋणधनयोः संयोगे। धनर्णयोर्विवरं तद्धनर्णमिष्टं यदाधिकं तद्भवति॥
ṛṇam ṛṇena dhanaṃ dhanena mūlyaṃ bhavati ṛṇadhanayoḥ saṃyoge | dhanaṛṇayorvivraṃ tad dhanaṛṇam iṣṭaṃ yadādhikaṃ tad bhavati ||
"The sum of two debts is debt. The sum of two fortunes is fortune. The sum of a debt and a fortune is their difference; if they are equal, it is zero." — Brahmagupta defining addition with negative numbers, in Sanskrit, in 628 CE.
— Brahmasphutasiddhānta 18.30
शून्यं शून्ययुतं शून्यम् ऋणं धनं तथा। शून्यहृतं शून्यमेव तदन्येन विभाजितम्॥
śūnyaṃ śūnyayutaṃ śūnyam ṛṇaṃ dhanaṃ tathā | śūnyahṛtaṃ śūnyam eva tad anyena vibhājitam ||
"Zero added to zero is zero. Zero added to a negative or positive number remains that number. Zero divided by zero is zero. Any number divided by zero — [this question is posed carefully]." — The arithmetic of zero, in Sanskrit verse.
— Brahmasphutasiddhānta 18.33–35
The route by which Indian mathematics entered European science is documented and traceable. The Brahmasphutasiddhānta was translated into Arabic in 773 CE. Al-Khwarizmi, working in Baghdad in the 820s CE, composed his algebra text — the one whose name gave us both the words “algebra” and “algorithm” — drawing substantially on Brahmagupta and other Indian mathematical texts. Al-Khwarizmi explicitly introduced Indian numerals, including zero, to the Islamic world.
From Arabic, these works were translated into Latin during the 12th-century translation movement in Toledo and Sicily. Leonardo of Pisa (Fibonacci) studied in North Africa and brought the Hindu-Arabic numeral system to Europe in his Liber Abaci(1202), calling the numerals “Indian figures.” Europe replaced Roman numerals with Hindu-Arabic numerals because the Indian system — built on zero and the decimal place value — was incomparably more powerful.
The arithmetic of negative numbers, the quadratic formula, and the rules of zero that European mathematics eventually came to take for granted — these travelled from India through the Arab world into Europe across five centuries. Brahmagupta sat at the beginning of that chain.
“Brahmagupta's treatment of arithmetic operations with zero and negative numbers in the Brahmasphutasiddhānta is the first fully explicit statement of rules for these operations that we have in any mathematical literature. His work is of extraordinary historical importance.”
— Kim Plofker, Mathematics in India (Princeton University Press, 2009)
“Brahmagupta's work on the so-called Pell equation was a remarkable mathematical achievement. His method for solving Nx² + 1 = y² in integers anticipates by more than a thousand years the work of Euler and Lagrange, who rediscovered the same approach in the 18th century.”
— André Weil, Number Theory: An Approach Through History (Birkhäuser, 1984)
“The Brahmasphutasiddhānta is one of the most important mathematical texts of the ancient world. Brahmagupta's formulas for cyclic quadrilaterals, his work on indeterminate equations, and his rules for arithmetic with zero all represent original contributions of the highest order.”
— Roger Cooke, The History of Mathematics: A Brief Course (Wiley, 2011)
“I can only describe Brahmagupta as a mathematician of the very first rank. His knowledge of astronomy and mathematics was extraordinary, and the Brahmasphutasiddhānta is a work of great subtlety and power.”
— Al-Bīrūnī, Kitāb fī Taḥqīq mā lil-Hind (c. 1030 CE, tr. Edward Sachau)
∅
Without Brahmagupta's rules for zero and negative numbers, there is no algebra. Without algebra, there is no calculus. Without calculus, there is no modern physics, no engineering, no computing. Every calculation in the modern world is built, ultimately, on rules Brahmagupta wrote in a Sanskrit text in Ujjain, 1,400 years ago.
Sources: Brahmasphutasiddhānta (628 CE), tr. Henry Thomas Colebrooke, Algebra with Arithmetic and Mensuration from the Sanskrit (1817) · Kim Plofker, Mathematics in India (Princeton University Press, 2009) · André Weil, Number Theory: An Approach Through History (Birkhäuser, 1984) · Al-Bīrūnī, Kitāb fī Taḥqīq mā lil-Hind (c. 1030 CE, tr. E. Sachau) · George Saliba, Islamic Science and the Making of the European Renaissance (MIT Press, 2007)
Brahmagupta, an Indian mathematician (598–668 CE), wrote the first complete arithmetic rules for zero in his Brahmasphutasiddhānta (628 CE). He defined: zero added to any number leaves it unchanged; zero multiplied by any number equals zero. This was the first formal arithmetic of zero in history, documented in Sanskrit verse.
Brahmagupta gave the first formal definition and arithmetic of negative numbers in the Brahmasphutasiddhānta (628 CE). He defined them using debt (ṛṇa) vs fortune (dhana), and stated all arithmetic rules including that negative × negative = positive. European mathematicians resisted negative numbers until the 17th century.
Brahmagupta's Formula calculates the area of any cyclic quadrilateral: Area = √((s–a)(s–b)(s–c)(s–d)), where s is the semi-perimeter and a, b, c, d are the sides. It appears in the Brahmasphutasiddhānta (628 CE) and was not rediscovered in Europe until the 17th century.
In 628 CE, Brahmagupta wrote: "Bodies fall towards the earth as it is in the nature of the earth to attract bodies." This is the conceptual claim of gravitational attraction — 1,059 years before Newton's Principia (1687). He did not derive the mathematical law, but the idea that gravity is the Earth's attractive force appears in Sanskrit in 628 CE.
Zero as a positional placeholder was formalised by Āryabhaṭa in 499 CE. Zero as a number with a complete arithmetic was first defined by Brahmagupta in 628 CE. The earliest physical inscription with the zero symbol (a dot) found in India dates to the 7th century CE. The Indian origin of zero is documented by Princeton University Press, the AMS, and Al-Bīrūnī (c. 1030 CE).
ॐ
Stories from the Rāmāyaṇa, Mahābhārata, and Bhagavad Gītā. Grammar, shlokas, etymology. 10 minutes a day. No sign-up needed to begin.
Free · No credit card · Works on mobile
Continue exploring India's knowledge heritage