Classical mathematical astronomy: Varāhamihira & Brahmagupta
Classical & early medieval India, c. 550 CE to c. 1000 CE
Structural diagram
Brahmagupta's Algebra & Arithmetic of Zero (628 CE)
Formal operations with positive/negative quantities, cyclic quadrilaterals, and the Bhāvanā lemma.
By the 6th century CE, the city of Ujjain (located on the prime meridian of ancient Indian geography, the madhya-rekhā) emerged as a major centre of subcontinental mathematical astronomy.1
Thinkers such as Varāhamihira, Brahmagupta, and Bhāskara I advanced this tradition: Brahmagupta developed algebra (bījagaṇita) and defined arithmetic with negative numbers and zero, and both he and Bhāskara I worked on algorithms for indeterminate equations.
Varāhamihira and the Pañcasiddhāntikā (6th century CE)
Varāhamihira was an encyclopedist of astronomical knowledge:
- His masterwork, the Pañcasiddhāntikā (Compendium of the Five Astronomical Canons), compared five competing systems of planetary reckoning: the Sūryasiddhānta, Paulisa, Romaka, Vāsiṣṭha, and Paitāmaha.2
- He preserved invaluable historical records of cross-cultural exchanges between Indian astronomers and Greco-Roman (Yavana) mathematical tables.
- In his Bṛhat Saṃhitā, Varāhamihira compiled material on meteorology, cloud formations, water-table detection and metallurgy.
Brahmagupta and the formal arithmetic of Zero (628 CE)
Working at Bhillamāla (modern Bhinmal, Rajasthan), Brahmagupta composed the monumental Brāhmasphuṭasiddhānta (Correctly Established Doctrine of Brahma) in 628 CE at age 30:
-
The Laws of Zero and Negative Numbers: Brahmagupta gave one of the earliest known systematic sets of rules for positive numbers (dhana / fortune), negative numbers (ṛṇa / debt), and zero (śūnya): In summary, his rules state that the sum of two positives is positive and of two negatives negative; the sum of a positive and a negative is their difference; the product of two negatives is positive, of a positive and a negative negative, and of zero and any number zero (BSS XVIII.30–35).3
-
Indeterminate Equations of the Second Degree (Vargaprakṛti): Brahmagupta formulated an ingenious method to find integer solutions for equations of the form:
Nx² + 1 = y²
(Later mistakenly known in Europe as “Pell’s equation”). He invented the Bhāvanā composition lemma, enabling one solution to generate infinite subsequent integer solutions — a milestone in algebraic number theory.4
-
Brahmagupta’s Formula for Cyclic Quadrilaterals: He gave a rule that for a quadrilateral with side lengths a, b, c, d inscribed in a circle, the area A is given by:
A = √[(s − a)(s − b)(s − c)(s − d)]
Here, s = (a + b + c + d) / 2 is the semi-perimeter, or half the total length of the sides.5
Bhāskara I and rational trigonometric approximations (c. 600 CE)
Bhāskara I, a follower of Āryabhaṭa’s school, developed an accurate algebraic rational formula for computing the sine of an angle without tables:6
sin(x) ≈ 16x(π − x) / [5π² − 4x(π − x)], for 0 ≤ x ≤ π.
This rational formula exhibits a maximum relative error of less than 1.9% across the entire range from 0° to 180°.
Four terms to carry forward
| Term | Working meaning in this chapter |
|---|---|
| Bījagaṇita | The science of algebra and unknown quantities in classical Indian mathematics. |
| Dhana & Ṛṇa | Positive (“fortune”) and negative (“debt”) numbers formalized in Brahmagupta’s arithmetic. |
| Vargaprakṛti | The indeterminate quadratic equation Nx² + 1 = y²; Brahmagupta’s Bhāvanā generates further solutions from known ones. |
| Bhāvanā | Brahmagupta’s algebraic composition principle used to generate integer solutions. |
What this chapter does not claim
- That Brahmagupta solved division by zero completely; he posited 0/0 = 0, which modern calculus defines as undefined / indeterminate.
- That Indian astronomers worked in complete isolation from the outside world; Varāhamihira openly acknowledged studying Greco-Roman tables alongside indigenous models.
- That mathematical astronomy was purely secular; it was closely integrated with calendarial astrology (Jyotiṣa), though mathematical astronomy (Siddhānta) was treated as a distinct rigorous science.
- That ancient algebraic methods were written in modern symbolic notation; Indian algebra was rhetorical and syncopated, composed in metrical Sanskrit verse.
Sources and further reading
Version 0.4 · September 2026 · Editorial orientation · Reading list provided · Not expert-reviewed. Corrected after an editorial audit in September 2026.
Footnotes
-
Kim Plofker, Mathematics in India (Princeton University Press, 2009). ↩
-
The Pañcasiddhāntikā of Varāhamihira, 2 vols. (Det Kongelige Danske Videnskabernes Selskab, Copenhagen, 1970–1971). ↩
-
Brāhmasphuṭasiddhānta XVIII.30–35 (numbered XVIII.31–36 in Colebrooke’s translation); translated in H.T. Colebrooke, Algebra, with Arithmetic and Mensuration, from the Sanscrit of Brahmegupta and Bhāscara (John Murray, London, 1817). ↩
-
George Gheverghese Joseph, The Crest of the Peacock: Non-European Roots of Mathematics (Princeton University Press, 3rd ed., 2011). ↩
-
Brāhmasphuṭasiddhānta XII.21; see C.N. Srinivasiengar, The History of Ancient Indian Mathematics (World Press, Calcutta, 1967). ↩
-
R.C. Gupta, “Bhāskara I’s Approximation to Sine,” in Indian Journal of History of Science, Vol. 2, No. 2 (1967), pp. 121–136. ↩