Gaṇita & Jyotiṣa
Ropes for building altars, a dot for nothing, a verse that hides π, and infinite series in fifteenth-century Kerala. The real achievements of Indian mathematics and astronomy — stated precisely, without inflation.
Every time you write “2026” you use an idea that took shape in India: nine digits and a zero, each worth more by its place. That idea came out of a tradition of gaṇita, “calculation”, which grew up beside jyotiṣa, the science of the lights of heaven. The Map of the Śāstras gave them one paragraph. This page walks the line from the Vedic altar to the Kerala school — and is honest about the one part of jyotiṣa that is not science.
Two sciences, one limb
Jyotiṣa began as one of the six Vedāṅgas (see Layers of a Veda): the knowledge needed to time a rite. Later writers divided it into three “branches”: gaṇita or siddhānta (mathematical astronomy), saṃhitā (omens and portents) and horā (horoscopy). Mathematics proper — arithmetic, algebra, geometry — was usually written up as chapters inside astronomical treatises, because astronomers needed it.
Tradition’s view The Sūrya Siddhānta presents itself as revealed by the Sun to the asura Maya at the end of the Kṛta age; the science is as old as the cosmos it measures. Historians see a datable story of borrowing and invention, set out below. Both can be held at once, but they answer different questions.
- c. 800–200 BCEThe ŚulbasūtrasRules for laying out fire-altars with cords: the diagonal theorem, √2, squaring the circle approximately.
- Last centuries BCEVedāṅga Jyotiṣa; PiṅgalaA five-year ritual calendar attributed to Lagadha; Piṅgala’s counting of metres.
- 499 CEĀryabhaṭa’s Āryabhaṭīya121 verses of mathematics and astronomy, written in Kusumapura (Patna) when he was 23.
- c. 550VarāhamihiraThe Pañcasiddhāntikā sums up five older astronomies, some showing Greek influence.
- 628BrahmaguptaThe Brāhmasphuṭasiddhānta: rules for zero and negative numbers.
- 1150Bhāskara IIThe Siddhāntaśiromaṇi, including the Līlāvatī and Bījagaṇita.
- c. 1340–1550The Kerala schoolMādhava’s infinite series; Nīlakaṇṭha’s Tantrasaṅgraha (c. 1500); the Malayalam Yuktibhāṣā.
Altars and cords: the Śulbasūtras
Vedic fire-altars had to be built to exact shapes and areas — a falcon of bricks, a square that must be doubled without changing its form. The Śulbasūtras, “rules of the cord”, attached to the ritual manuals of Baudhāyana, Āpastamba, Kātyāyana and Mānava, give the geometry. Baudhāyana’s is the oldest:
That is, the square on the diagonal equals the two squares on the sides — what Europe calls Pythagoras’ theorem, stated here as a builder’s rule, without a proof. Baudhāyana also gives √2 as 1 + 1/3 + 1/(3·4) − 1/(3·4·34), correct to five decimal places. Scholars dispute the dates (c. 800–200 BCE is the usual range), and whether Mesopotamian builders knew the same rule earlier is a separate question; what is clear is that these are the oldest geometry texts in Sanskrit.
Counting metres: Piṅgala
Another Vedāṅga, metre, led to combinatorics. Piṅgala’s Chandaḥśāstra (perhaps the last centuries BCE) asks how many patterns of light and heavy syllables a line can have, and gives procedures for listing them and finding the position of any pattern — in effect a binary code. Later commentators drew the triangle of numbers Europe calls Pascal’s (explicitly by Halāyudha, 10th century), and prosodists counting metres by beats found the sequence 1, 2, 3, 5, 8, 13… (Virahāṅka, Gopāla and Hemacandra, before Fibonacci’s 1202 book). Poetry, in this tradition, taught people to count.
Nine digits and a dot
Decimal place value with a zero is India’s best-known gift, and its history is still being written. Some milestones on which historians agree:
- The Jain cosmology Lokavibhāga (dated by its own colophon to 458 CE) writes large numbers in place-value order using number-words.
- Āryabhaṭa (499) assumes place value throughout, and invents a syllabic code for numbers.
- Brahmagupta, in the Brāhmasphuṭasiddhānta of 628, gives the first known rules for calculating with zero (śūnya) and with negative quantities, which he calls “debts” beside positive “fortunes”: a debt minus zero is a debt; zero times anything is zero. He stumbles only on dividing by zero.
- The oldest dated zeros carved in stone are in Southeast Asia, in Śaka-era dates: the Sambor inscription in Cambodia (605 Śaka, 683 CE) and the Old Malay Kedukan Bukit inscription from Palembang in Sumatra (604 Śaka) — the world of Śrīvijaya, next door to the Malay peninsula. In India, the Gwalior temple inscription of 876 CE writes “270” with a round zero.
The Bakhshali manuscript, a birch-bark arithmetic dug up near Peshawar in 1881, uses a dot for zero. In 2017 the Bodleian Library announced radiocarbon results placing three of its leaves roughly in the 3rd–4th, 7th–8th and 9th–10th centuries, and hailed “the oldest zero”. Kim Plofker and four colleagues replied that a manuscript is copied at one time, so the latest leaf dates the writing — which fits earlier estimates from script and content. The debate is open; treat headlines about “the earliest zero” with care. From India the system reached Baghdad (al-Khwārizmī, c. 825) and then Europe, where it is still mis-named “Arabic numerals”.
Āryabhaṭa: a verse that hides π
Āryabhaṭa’s Āryabhaṭīya is short and dense: a chapter of parameters, one of mathematics, one of time-reckoning and one on the sphere. He tells us he wrote it when 3,600 years of the Kali age had passed and he was twenty-three — that is, in 499 CE. Here is his value of the circle:
अयुतद्वयविष्कम्भस्यासन्नो वृत्तपरिणाहः ॥ caturadhikaṃ śatam aṣṭa-guṇaṃ dvāṣaṣṭis tathā sahasrāṇām,
ayuta-dvaya-viṣkambhasyāsanno vṛtta-pariṇāhaḥ A hundred plus four, multiplied by eight, and sixty-two thousand more: this is the approximate circumference of a circle whose diameter is two myriads. Āryabhaṭīya, Gaṇitapāda 10
Work it through, one step at a time:
The same book gives a table of 24 jyā (sine) differences at intervals of 3¾°, the ancestor of every later Indian trigonometry; the kuṭṭaka or “pulveriser” for solving equations like ax − by = c in whole numbers; and a startling astronomical claim — that the stars stand still and the earth turns:
अचलानि भानि तद्वत् समपश्चिमगानि लङ्कायाम् ॥ anuloma-gatir nausthaḥ paśyaty acalaṃ vilomagaṃ yadvat,
acalāni bhāni tadvat sama-paścima-gāni laṅkāyām Just as a man in a boat moving forward sees the motionless shore moving backward, so at Laṅkā the motionless stars are seen moving due west. Āryabhaṭīya, Golapāda 9
(“Laṅkā” here is a reference point on the equator, not Sri Lanka.) Most later astronomers, Brahmagupta among them, rejected the rotating earth, and some commentators reinterpreted the verse. Āryabhaṭa’s system was still earth-centred: the planets go round the earth.
From Varāhamihira to Bhāskara
Varāhamihira of Ujjain (6th century) wrote the Pañcasiddhāntikā, a digest of five astronomical systems current in his day. Two of them, the Romaka and Pauliśa, carry clear marks of Greek astronomy, and Indian astronomy of this period is best understood as a creative reworking of ideas that travelled along the trade routes. Varāhamihira also wrote on omens (Bṛhatsaṃhitā) and horoscopy (Bṛhajjātaka) — one person, three branches.
Bhāskara II (born 1114) completed his Siddhāntaśiromaṇi in 1150. Its arithmetic, the Līlāvatī, poses problems in verse to a “fawn-eyed girl”, and was taught for centuries; its algebra, the Bījagaṇita, perfects the cakravāla (“cyclic”) method, building on Jayadeva and Brahmagupta, for equations like 61x² + 1 = y², whose smallest solution has x = 226,153,980. Fermat set the same equation as a challenge in 1657. Later legend The story that Līlāvatī was Bhāskara’s daughter, whose wedding hour was lost to a pearl falling into a water-clock, is first told centuries later and is not in the book.
The Kerala school
Between about 1350 and 1550, in a cluster of Brahmin households in central Kerala, many near the Nīlā (Bhāratappuḻa) river, a line of teachers and students did something remarkable. Mādhava of Saṅgamagrāma (c. 1340–1425) found infinite series for the sine, cosine and arctangent, and so for π. None of his own writings on them survive; we know them from his successors, who quote verses like this:
त्रिशरादिविषमसङ्ख्याभक्तमृणं स्वं पृथक् क्रमात् कुर्यात् ॥ vyāse vāridhi-nihate rūpa-hṛte vyāsa-sāgarābhihate,
tri-śarādi-viṣama-saṅkhyā-bhaktam ṛṇaṃ svaṃ pṛthak kramāt kuryāt Multiply the diameter by four and divide by one. Then take the diameter times four, divide it in turn by the odd numbers three, five and so on, and subtract and add the results one after another. Verse attributed to Mādhava, quoted in the Kerala commentaries (e.g. Śaṅkara Vāriyar)
In modern notation: circumference = 4D(1 − 1/3 + 1/5 − 1/7 + …), the series Europe credits to Gregory and Leibniz in the 1670s. (“Ocean” means four, for the four oceans; “arrow” means five, for Kāma’s five arrows — numbers in verse were coded as words.) Because the series converges slowly, the Kerala mathematicians also worked out correction terms for where you stop, and computed π to eleven decimal places.
Nīlakaṇṭha Somayājī (1444–1544), in his Tantrasaṅgraha (c. 1500), revised the planetary model so that Mercury, Venus, Mars, Jupiter and Saturn circle the sun while the sun circles the earth — a scheme like Tycho Brahe’s, a century earlier. And Jyeṣṭhadeva’s Yuktibhāṣā (c. 1530) is the rare thing: a textbook of upapatti, demonstrations, written not in Sanskrit but in Malayalam, explaining why the series work.
Did this knowledge reach Europe? Here historians must be careful, and three positions are worth knowing:
George Gheverghese Joseph, Dennis Almeida and others point out that Jesuit missionaries were active around Kochi and Thrissur from the 16th century, studied local languages and calendars, and sent reports to Europe, where the same series appeared within about a century. Motive, means and timing were all present.
No document has yet been found showing a Kerala text, or knowledge of these series, in European hands. Gregory, Newton and Leibniz reached their results by routes that are well documented in their own papers. Independent discovery of the same mathematics is common.
Kim Plofker, in Mathematics in India, judges that transmission is possible but unproven, and that the Kerala achievement does not need it: the work stands as one of the great episodes in the history of mathematics whether or not Europe ever heard of it. That is this guide’s reading too.
Tamil skies: the vākya almanacs
The Tamil tradition prized calculation as highly as the Sanskrit one. Tiruvaḷḷuvar puts it in a single couplet:
கண்ணென்ப வாழும் உயிர்க்கு. eṇ eṉpa ēṉai eḻuttu eṉpa iv-viraṇṭum
kaṇ eṉpa vāḻum uyirkku Numbers, they say, and letters, they say — these two are the eyes of all who live. Tirukkuṟaḷ 392
In South India astronomy was carried less by new treatises than by working almanac-makers. The vākya system — “sentences” — encodes the moon’s and planets’ positions in short memorised phrases, so that a calculator needs only addition and a good memory. It was developed in Kerala and Tamil Nadu (the Vākyakaraṇa is usually dated to the 13th century) and still underlies the traditional Tamil vākya pañcāṅkam. In the 1760s the French astronomer Guillaume Le Gentil, stranded in Pondicherry by war, recorded how Tamil astronomers computed eclipses by these methods, and found them practical and impressively accurate. Today many Tamil almanacs, in India and Malaysia alike, follow either this vākya reckoning or the modern-calculation tirukkaṇita one — which is why temples sometimes keep a festival a day apart.
The calendar link
All this mathematics lands, every morning, on your temple’s wall. The pañcāṅga’s five limbs are astronomical quantities: a tithi ends each time the moon gains another 12° on the sun; a nakṣatra is the moon’s place among 27 segments of 13°20′. Computing them for a given town needs exactly the true-longitude methods of the siddhāntas. How the almanac works, and why festival dates move, is explained on The Panchanga; the great cycles of yugas and kalpas are on Time & Cosmology.
Horoscopy, honestly
Horā, the casting of birth charts, is a different kind of thing. Its core — twelve signs, planetary “houses”, the ascendant — came into India from the Hellenistic world: the Yavanajātaka (“Horoscopy of the Greeks”) is a Sanskrit version of a Greek-language work, and horā itself is the Greek hōra, “hour”. Indian astrologers then built a rich system of their own, joined to the older Indian nakṣatras.
Mathematical astronomy makes predictions that can be checked — and Indian eclipse calculations were checked, and worked. Horoscopy claims that the sky at birth shapes a life. When that claim has been tested under controlled conditions, astrologers have not done better than chance: in Shawn Carlson’s double-blind study (Nature, 1985), and in a 2009 Indian study led by the astrophysicist Jayant Narlikar, in which astrologers could not tell the charts of gifted children from those of children with intellectual disabilities. Many Hindus consult a horoscope for marriages and beginnings, as a matter of custom and faith. That is their right; it is simply not the same thing as Āryabhaṭa’s π. Practice varies
Questions
Did India invent zero?
India developed the decimal place-value system with a zero digit and, with Brahmagupta in 628, the first rules for zero as a number. Other cultures had placeholder signs — Babylonian scribes, and the Maya independently — but it is the Indian system that the world now uses. The exact date of its first appearance is still debated.
Did the Vedas contain calculus?
No. The Vedic texts contain geometry for altars and a ritual calendar. The infinite series that are the nearest Indian approach to calculus belong to the Kerala school of the 14th–16th centuries — a genuine achievement that needs no exaggeration. See Dharma & Modern Thought.
Can I read these texts in English?
Yes. The Āryabhaṭīya, Tantrasaṅgraha and Yuktibhāṣā all have modern scholarly translations with commentary (see the sources below), and Plofker’s survey is readable without advanced mathematics.
Check your knowledge:
What value does Āryabhaṭa’s verse give for the ratio of circumference to diameter?
He chose a diameter of two ayutas (20,000) and called the result āsanna, “near”.
The Yuktibhāṣā, with its demonstrations of the Kerala series, was written in…
Jyeṣṭhadeva wrote it in Malayalam, around 1530.
Where are the oldest dated zeros carved in stone?
The Sambor (683 CE) and Kedukan Bukit (604 Śaka) inscriptions, both dated in the Indian Śaka era.
Which branch of jyotiṣa came largely from Hellenistic sources?
Even the word horā is the Greek hōra.
॥ Pause and reflect
- Āryabhaṭa called his π “approximate”. Why might honesty about limits make a science more trustworthy, not less?
- Kerala’s mathematicians are often celebrated mainly for being “before Europe”. What would it mean to admire them on their own terms?
- Do you consult a horoscope, or does your family? How do you hold that alongside what you know of astronomy?
Your notes are saved privately in this browser.
Key terms on this page
Sources & further reading
- Kim Plofker, Mathematics in India (Princeton University Press, 2009) — the standard survey, and this page’s main guide.
- David Pingree, Jyotiḥśāstra: Astral and Mathematical Literature (Otto Harrassowitz, 1981).
- K. S. Shukla and K. V. Sarma (ed. and trans.), Āryabhaṭīya of Āryabhaṭa (Indian National Science Academy, 1976).
- S. N. Sen and A. K. Bag, The Śulbasūtras (Indian National Science Academy, 1983).
- K. Ramasubramanian and M. S. Sriram, Tantrasaṅgraha of Nīlakaṇṭha Somayājī (Springer / Hindustan Book Agency, 2011).
- K. V. Sarma, K. Ramasubramanian, M. D. Srinivas and M. S. Sriram, Gaṇita-Yukti-Bhāṣā of Jyeṣṭhadeva (Springer / Hindustan Book Agency, 2008).
- George Gheverghese Joseph, The Crest of the Peacock: Non-European Roots of Mathematics, 3rd ed. (Princeton University Press, 2011).
- Kim Plofker, Agathe Keller, Takao Hayashi, Clemency Montelle and Dominik Wujastyk, “The Bakhshālī Manuscript: A Response to the Bodleian Library’s Radiocarbon Dating”, History of Science in South Asia 5.1 (2017).
- Shawn Carlson, “A double-blind test of astrology”, Nature 318 (1985); J. V. Narlikar and others, “A statistical test of astrology”, Current Science 96 (2009).