The Number and the Witness
How an ancient civilization used mathematics to measure the sky — and then to look within
There is an old habit of treating ancient India's sacred texts and its mathematics as two separate stories — myth on one side, science on the other. This essay takes a different view, and tries to earn it honestly. The claim is simple to state: the people who composed the Vedic tradition treated mathematics and metaphysics as a single activity, and they were unusually good at it. The harder task is to say exactly how far the evidence supports that claim, and where it runs out. So one rule holds throughout. Where something can be checked — a number, a date, a verse — it is reported as fact. Where something is an interpretation, it is named as one. The two are never quietly blended, because the whole point collapses if they are.
One thing should be said plainly at the start, because it changes how the dates in this essay ought to be read. The Vedic material was composed and carried orally for a very long time before it was ever written down. It was preserved by elaborate systems of recitation — the same words memorised forwards, backwards, and in interwoven patterns — designed to transmit a text across many centuries without a single syllable drifting. The Sanskrit name for this body of knowledge is śruti, 'that which is heard': knowledge received by listening, not reading. So the date a manuscript was finally written is not the date the idea was born. The idea is almost always older — sometimes far older — than the page it survives on.
The Geometry Hidden in an Altar
Begin with the oldest layer, because it is the firmest. Long before telescopes — before even the great Indian astronomy — there were manuals for building fire-altars out of brick. They are called the Śulba Sūtras. The word śulba means a cord or measuring-rope, and sūtra means a thread or terse rule — the same root that gives us the English word 'suture.' These texts date to around 800 BCE or earlier. They sound like the dullest documents imaginable: instructions for laying bricks. They are, in fact, the oldest geometry textbooks in the world.
The reason geometry appears here at all is the ritual itself. The fire-altar, the vedi, had to be built to exact shapes and exact areas, because in the Vedic conception a sacrifice performed on a flawed altar was a flawed sacrifice. A priest might need to build a square altar equal in area to a circular one, or enlarge an altar to a precise multiple of its original size without changing its proportions. To do that with nothing but pegs and a stretched cord, you need real geometry. And so, written into these building manuals, is the earliest known statement anywhere on Earth of what the world now calls the Pythagorean theorem — set down generations before Pythagoras was born.
But the most striking single thing in these texts is a value for the square root of two — the length of the diagonal of a unit square. Baudhāyana gives it as a verse-rule that, followed precisely, yields:
$$\sqrt{2} \approx 1 + \frac{1}{3} + \frac{1}{12} - \frac{1}{408} = \frac{577}{408} = 1.4142157\dots$$
The true value is $1.4142136\dots$. The ancient figure is correct to five decimal places. That alone is impressive. But the truly telling detail is the last step — the small subtraction. A lucky guess does not arrive with a correction built into it. That final subtraction is the fingerprint of a method.
Notice the attitude, because it recurs throughout this story. The square root of two cannot be written out exactly — its digits run on forever without repeating. The text does not pretend otherwise. The name it gives the value is saviśeṣa — 'that which has a remainder,' 'the one with something left over.' It approaches the un-completable thing as nearly as the work requires, and then names the gap instead of hiding it. That honesty about the remainder turns out to be the signature of the whole tradition's mathematics. Hold the word saviśeṣa in mind.
The Sky as a System of Numbers
Now look up. The Indian sky was divided not into the twelve zodiac signs most people know, but into twenty-seven segments called nakṣatras, the lunar mansions. Why twenty-seven? Because the Moon takes about 27.3 days to travel once around the sky against the background stars, moving through roughly one segment each night. The number was not chosen for elegance; it was read straight off the Moon's own motion. The sky chose the number.
And once twenty-seven is fixed, the rest follows like clockwork. Divide the full circle of 360 degrees into twenty-seven equal parts, and each comes to exactly 13 degrees and 20 minutes. Split each segment into four quarters, called pādas, and you have 108 of them around the whole sky — the very number of beads on a mālā, the rosary used for counting recitations. The numbers lock together so tightly that you cannot move one without breaking the others: 27 sets the circle, the circle sets the quarters, the quarters give 108. That interlock is the signature of a designed system, not a heap of coincidences.
The tradition seems to have chosen 108 precisely because it is a kind of harmonic hub — the number at which the most natural cycles meet with the cleanest fit. This instinct, that reality is a single ordered whole whose parts must harmonise, has its own Vedic name: ṛta, the deep order that runs through nature, time, and right conduct alike.
A Working Machine for the Heavens
By the year 499 CE, when a mathematician named Aryabhaṭa finished his great work at the age of twenty-three, this knowledge had become something remarkable: a genuine calculating machine for the sky, built out of arithmetic rather than gears. He stated how many times the Earth turns on its axis within a mahāyuga — and dividing the time by the turns gives the length of a single sidereal day that differs from the value modern instruments give by less than a hundredth of a second.
To do the arithmetic he also produced the earliest known table of sines — the foundation of trigonometry. The word 'sine' itself carries a small history worth knowing. It traces back to the Sanskrit jyā, meaning 'bowstring.' Borrowed into Arabic and later misread by a twelfth-century Latin translator, it became sinus — 'fold' or 'bay' — from which the English 'sine' descends. The word every student now uses began as a bowstring in Sanskrit and reached Europe through an honest mistranslation.
His value for pi was 3.1416, correct to four decimal places. And once again the most revealing thing is a single word. He attached to it the term āsanna — 'approaching,' 'approximate.' He was telling his readers that this was a close value, not the exact one, more than a thousand years before pi was proved to be a number that can never be written out in full. The honesty about the gap is, if anything, more impressive than the accuracy. It is the same disposition as the saviśeṣa.
Stories That Carry Their Cargo
Some of this knowledge was stored not in tables but in stories — and the stories turn out to be carefully built containers. There is a tale that the Moon-god, Candra, married twenty-seven sisters and was bound to spend one night with each. Read it as astronomy and it decodes at once: the twenty-seven sisters are the twenty-seven lunar mansions, and 'one night with each' is the Moon's month-long journey through them. The story even preserves a finer technical fact: the Moon favoured one wife, Rohiṇī — and Rohiṇī is the mansion in which the Moon is reckoned strongest, its place of exaltation.
A second tale is sharper still. Two shadowy figures, Rāhu and Ketu, are said to chase the Sun and Moon and swallow them, causing eclipses. Astronomically, Rāhu and Ketu are not bodies at all. They are the two points where the Moon's tilted path crosses the apparent path of the Sun. An eclipse can happen only when the Sun and Moon meet at one of those two crossing-points — which is precisely why eclipses do not occur every month, even though there is a full moon every month. The story encodes not merely a fact but a condition: the exact circumstance under which an eclipse becomes possible.
Why wrap astronomy in stories in the first place? Because a culture without printing presses had one supremely reliable medium of storage: human memory — and memory holds a vivid tale far better than a column of figures. A story with characters and conflict survives the centuries almost unchanged, and it can be understood at every level at once: as entertainment by a child, as a calendar by a priest, as exact astronomy by a specialist. The myth, in this light, was a technology for preserving verified knowledge.
When the Mathematics Turned Inward
So far, everything has pointed outward — to bricks, stars, eclipses. But the same precision was turned in the opposite direction, toward the one thing each of us is nearest to and understands least: our own awareness. There is a short verse chanted at the opening of the Īśāvāsya Upaniṣad:
ॐ पूर्णमदः पूर्णमिदं पूर्णात् पूर्णमुदच्यते । पूर्णस्य पूर्णमादाय पूर्णमेवावशिष्यते ॥
"That is whole; this is whole. From the whole, the whole arises. Take the whole from the whole, and the whole alone remains."
— Īśāvāsya Upaniṣad, invocation
The word here translated 'whole' is pūrṇa, which in this context means the infinite — for only the infinite can be truly full, with nothing left outside it. Read that way, the last line makes a startling mathematical claim. For ordinary numbers, taking a part away always leaves less. The verse describes something for which this fails — a wholeness from which you may remove the whole and still have the whole remaining. That is the exact property that defines infinity in modern mathematics, which Cantor would not pin down for another two and a half thousand years.
It is important not to overstate this. The verse does not contain modern set theory — there are no proofs, no machinery. What it contains is the intuition that the machinery would one day make exact. The tradition reached infinity by turning inward and finding something that could not be exhausted: the bare fact of being aware that underlies all experience, which the tradition called ātman. The Sanskrit word for this boundless awareness-ground cannot be exhausted by observation, because any attempt to observe it already requires an observer doing the observing — there is always someone home, behind the looking.
The Root and the Dissolver
One example draws the outward and inward halves of the story together, and it must be handled with real care. One of the twenty-seven lunar mansions is named Mūla — 'the root.' It lies in the direction of Sagittarius. And modern astronomy has found that in that very direction sits the centre of our galaxy: a supermassive black hole, the gravitational anchor around which the whole Milky Way slowly turns. The deity assigned to this mansion is Nirṛti, whose domain is dissolution — decay, the unmaking of all form. And dissolution is precisely what a black hole does.
That correspondence is real, and it should not be waved away as mere chance. But neither should it be stretched past what can be shown. The deep idea is theirs; the naming of the object is ours. The function — origin and dissolution in one place — they grasped. Whether they knew the object as we know it is a question the evidence simply does not answer, and it is more honest to leave it open than to force it shut in either direction.
One Inquiry, Seen From Two Sides
Step back, and a single shape rises out of all of it. The same disciplined mind that measured the diagonal of a square, that read the Moon's motion off the night sky, that built a machine of arithmetic to forecast eclipses, also turned to face its own awareness and used the same instruments to describe what it found there. The square root of two named with its honest remainder; the harmonic number chosen out of all numbers; the infinite stated as undiminished by its own removal; the root that is also the dissolver — these are not separate achievements. They are one motion performed at different depths.
This is why, in this tradition, astronomy and metaphysics were never two subjects. Mathematics was the language in which a civilization learned to speak precisely — and once it could speak precisely, it spoke precisely about everything, including the one who was doing the speaking. The tradition even gave this unity a compact form: yathā piṇḍe tathā brahmāṇḍe — 'as in the body, so in the cosmos.'
The Mirror and the Witness
There is a final image the tradition returns to again and again. Consider what a mirror actually needs in order to show anything. It must be made of true glass — undistorted. But true glass is not enough. A mirror in an empty, unlit room shows nothing. And there is a third condition, the one most easily forgotten: the surface must be clean. A true mirror buried under dust shows nothing at all, however fine the glass beneath, however bright the thing before it.
In this tradition the mirror is the mind — the citta, the field of thought and impression — and what it exists to reflect is consciousness itself, the silent witness, the ātman. The mind is not the source of that awareness; it is an instrument for reflecting it. And like any mirror, it reflects the witness only when two conditions hold: there must be something real before it — which there always is, for awareness is never absent — and the surface must be clear.
This is the quiet teaching beneath all the mathematics. Patañjali opens his aphorisms with a single line that defines the whole discipline: yogaś citta-vṛtti-nirodhaḥ — 'yoga is the stilling of the turnings of the mind.' The cleaning of the mirror is precisely this stilling. The discipline that makes a measurement honest, turned inward, becomes the discipline that makes a mind clear: in both, you stop adding your own distortion and let what is truly there appear.
Long ago, a civilization decided that the world was deeply ordered, that the order could be measured with real rigour, and that the same order ran through the one doing the measuring. It treated the number and the witness, the thing counted and the one who counts, as belonging to a single inquiry. And it understood that to know either of them clearly, you must first make the instrument clean.
यतो वाचो निवर्तन्ते
"That from which words turn back."
— Taittirīya Upaniṣad
यतो वाचो निवर्तन्ते — that from which words turn back.
← Return to essays