Shunya and Ananta: How India Gave the World Zero, Infinity — and the Foundation of All Knowledge

Zero and Infinity are not just numbers. They are India’s greatest philosophical and mathematical gifts to the world. Here is the full story — from Pingala’s Chandahsutra to Al-Khwarizmi to Georg Cantor.

The Two Numbers That Made All Other Numbers Possible

Consider for a moment how much of the modern world rests on two numbers. Not the dramatic ones — not pi, not prime numbers, not even Euler’s constant. Two numbers that seem, at first glance, almost too simple to matter. Zero, which represents nothing. And infinity, which represents everything without limit. Between them, these two numbers make calculus possible. They make the binary code of computers possible. They make quantum physics possible. They make the entire architecture of modern mathematics possible. Without them, civilisation as it currently exists simply could not function.

Now ask where they came from. Not who first scribbled a placeholder in a counting system. But who first understood what they actually were — what it meant for nothingness to be a number in its own right, what it meant for the limitless to be a coherent mathematical object — and who first gave both of them the philosophical and mathematical grounding to travel across the world and transform every number system they touched.The answer to that question leads to ancient India. And it leads there not by accident, not by the random fortune of one brilliant scholar, but because of something deeper and more structural — a civilisational way of thinking about existence, void, and the infinite that made India uniquely prepared to see what no other tradition could.

This is that story.

Shunya — The Indian Vedic Marvel

The Philosophical Soil: What Shunya Meant Before It Became Zero

The Sanskrit word Shunya (शून्य) means emptiness, void, nothingness. But in the Indian philosophical tradition, emptiness was never simply the absence of something. It was a presence of its own — a profound state worthy of contemplation, capable of containing within it the seeds of all creation.

The Nasadiya Sukta of the Rigveda — one of the oldest human attempts to describe the origin of the universe — opens with this question: ‘There was neither non-existence nor existence then.’ It contemplates the state before creation as a kind of fertile void, not empty in the impoverished sense but empty in the sense of unlimited potential. The Upanishads extended this. The Mandukya Upanishad describes pure consciousness — Turiya — as the ground of all experience, formless and boundless, prior to all objects, beyond all measure. Mahayana Buddhism elevated Shunyata, the doctrine of emptiness, to the status of ultimate reality. The great philosopher Nagarjuna, writing in the 2nd–3rd century CE, argued that all phenomena are empty of intrinsic nature — not because they don’t exist, but because their existence is relational, interdependent, without fixed boundary.

Here is what made India philosophically unique: the void was not feared. In the Greek philosophical tradition, Aristotle insisted that nature abhors a vacuum — the very idea of nothingness was considered dangerous, a threat to the rational order of the cosmos. In the Abrahamic traditions, creation emerged from nothing, but nothing itself remained theologically problematic. In India, nothingness was familiar. It was meditated upon. It was named. It had a rich inner life.

That philosophical comfort with the void was the soil in which zero would eventually grow.

In India, nothingness was not feared. It was named, contemplated, and meditated upon for millennia — and that made all the difference

The First Seed: Pingala and the Chandahsutra (3rd–2nd Century BCE)

The earliest recorded use of the word Shunya in a technical, structured context comes not from a mathematician or philosopher but from a prosodist — a scholar of Sanskrit poetic metre. His name was Pingala, and his work was the Chandahsutra (also known as the Chandahshastra), a treatise on the science of metre in Vedic poetry, composed around the 3rd to 2nd century BCE.

Pingala was working on a problem that sounds almost modest: how to systematically classify and enumerate all possible arrangements of long (guru) and short (laghu) syllables in Sanskrit verse. To solve this, he developed a binary-like notation — using the two types of syllables as the two base states of a positional system. In doing so, he created the earliest known description of a binary numeral system in human history — nearly two thousand years before Leibniz would independently arrive at the same structure in 17th-century Europe.

And in the process, Pingala explicitly used the word Shunya to denote the null state — the empty position, the zero-like element in his combinatorial framework. This is the first recorded technical use of Shunya in Indian mathematical thought. It was not yet zero as a full arithmetic number in the sense Brahmagupta would later define. It was the conceptual seed — nothingness acknowledged as a distinct, nameable, functional element of a formal system.

The significance of this cannot be overstated. Pingala wasn’t building a number system; he was classifying poetry. And yet in doing so, he planted the deepest root of what would become the most consequential number in human intellectual history.

Pingala’s Double Gift

In a single work on Sanskrit prosody, Pingala (3rd–2nd century BCE) gave the world two ideas that would shape modern civilisation: the conceptual foundation of zero (Shunya as a distinct null state) and the earliest binary numeral system. The binary logic of computers — 0 and 1, off and on — descends directly from the logical framework first articulated in the Chandahsutra.

The Formalization: From Dot to Number — Aryabhata and Brahmagupta

Between Pingala’s conceptual seed and the fully arithmetic zero lay several centuries of development. The Bakhshali manuscript — an ancient Indian mathematical text discovered in 1881 near Peshawar — contains hundreds of instances of a dot used as a placeholder for Shunya, functioning as zero in a decimal place-value system. Oxford University’s Bodleian Libraries commissioned radiocarbon dating of this manuscript, with the oldest leaf dated to approximately the 3rd–4th century CE, though academic debate about the composite nature of the manuscript continues. What is agreed is that the zero symbol as a placeholder was in regular mathematical use in India by this period, significantly predating the Gwalior temple inscription of 876 CE which was previously considered the oldest written record.

The mathematician and astronomer Aryabhata (476–550 CE) formalized the decimal place-value system in his Aryabhatiya, using a positional structure that required a placeholder for zero to function — making zero mathematically necessary, not merely notational. But it was Brahmagupta, writing in Brahmasphutasiddhanta in 628 CE, who made the decisive, world-changing leap.

Brahmagupta was the first mathematician in history to define zero as a full number in its own right, with explicit arithmetic rules. He wrote: when zero is added to a number or subtracted from a number, the number remains unchanged. A number multiplied by zero becomes zero. And crucially, a number subtracted from itself equals zero. These rules seem obvious to us now precisely because Brahmagupta established them thirteen centuries ago. Before him, they did not exist anywhere in human mathematical literature.He went further. When Brahmagupta encountered the question of what happens when a number is divided by zero, he termed the result ‘khahara’ — an undefined or indeterminate quantity. Several centuries later, Bhaskara II (1114–1185 CE) would refine this further, explicitly stating that division by zero produces Ananta — infinity. In that formulation, in the 12th century, the mathematical bridge between India’s two great conceptual gifts was formally constructed: Shunya divided produces Ananta. Zero and infinity, not as opposites, but as companions.

Shunya divided gives Ananta. Zero and infinity are not opposites. In Indian mathematics, they are mirror images of the same boundless truth.

The Place Value Revolution — How Zero Transformed Number Systems

The place value system — the mechanism by which the position of a digit determines its value, making 1, 10, 100 and 1000 all expressible with just two symbols — is the most powerful tool in the history of practical mathematics. And it cannot function without zero.

Think about what zero does in a number like 205. It tells you that there are no tens — that the positional column for tens is empty. Without that information, 205 becomes indistinguishable from 25. The entire hierarchical architecture of the decimal system — the one that allows us to write any number, no matter how large or small, with just ten symbols — collapses without the zero that holds each positional column in place.

The Roman numeral system, used across Europe for over a thousand years, had no zero and no place value. To write 1,847 in Roman numerals requires: MDCCCXLVII — seven symbols, each with its own fixed value, with no positional logic. To multiply MDCCCXLVII by XII required a trained specialist and an abacus. In the Indian decimal system with zero, the same operation becomes elementary. This is not a minor technical advantage. It is the difference between a mathematics capable of supporting science, engineering, astronomy, and trade at scale — and one that is not.

The Indian decimal system, with zero at its foundation, made the entire edifice of modern quantitative thought possible.

How Shunya Became Zero — The Arabian Bridge

The transmission of Indian mathematics to the Arab world is one of the most consequential intellectual transfers in human history, and it is documented in a way that leaves no ambiguity about its origin.

In the 8th and 9th centuries, Arab scholars at the House of Wisdom in Baghdad — the great intellectual institution of the Abbasid Caliphate — actively sought out and translated scientific and mathematical works from India, Greece, and Persia. Among those scholars was Muhammad ibn Musa al-Khwarizmi (c. 780–850 CE), a Persian mathematician whose work would give the world two words it uses every day.

Al-Khwarizmi wrote a treatise on the Indian number system whose full title is Kitāb al-Jamʿ wa-l-Tafrīq bi-Ḥisāb al-Hind — ‘The Book of Addition and Subtraction According to the Hindu Calculation.’ It is also known as Kitāb al-Ḥisāb al-Hindī — ‘The Book of Calculation with Hindu Numerals.’ The title itself is the proof. It does not say ‘Arabian calculation’ or ‘Persian calculation.’ It says Hindu — Indian. Al-Khwarizmi was explicit and honest about his source.

When this work was translated into Latin in the 12th century, it became Algoritmi de Numero Indorum — ‘Al-Khwarizmi Concerning the Hindu Art of Reckoning.’ From the Latinisation of the author’s name, Algoritmi, we get the word algorithm. From his other great work on algebra, Al-Kitāb al-mukhtaṣar fī ḥisāb al-jabr — ‘The Compendious Book on Calculation by Completion and Balancing’ — we get the word algebra. Both words, two of the most foundational terms in the history of mathematics, trace directly back to one scholar who was himself, by his own explicit testimony, transmitting Indian knowledge.

In Arabic, Al-Khwarizmi called zero ‘sifr’ — meaning ’empty.’ That word passed into medieval Latin as ‘zephirum,’ which contracted into ‘zefiro’ in Italian, and then into ‘zero.’ The word zero, used by every mathematician, scientist, programmer, and schoolchild on earth, is the Arabic translation of the Sanskrit Shunya, travelling through Persian Baghdad and medieval Italy to reach the world.

From the Arab world, zero moved west. The Italian mathematician Leonardo of Pisa — known as Fibonacci — encountered Indian numerals through Arab scholars in North Africa while travelling with his merchant father. In his book Liber Abaci, published in 1202, he introduced the full Hindu-Arabic numeral system, including zero, to European readers. Fibonacci was careful to note its Indian origin. His successors were less scrupulous, and for centuries the numerals were called ‘Arabic’ — a label that persists today in the phrase ‘Arabic numerals,’ which should more accurately be called ‘Indian numerals transmitted through Arabia.

‘Europe resisted for longer than you might expect. As late as 1299, the city of Florence banned the use of zero in commercial transactions, viewing it with a suspicion that echoed Aristotle’s ancient philosophical anxiety about the void. By the 17th century, resistance finally collapsed under the weight of scientific necessity — zero was indispensable to the calculus that Newton and Leibniz were developing, and it was indispensable to the decimal system that commerce and science could no longer function without.

The word ‘algorithm’ comes from Al-Khwarizmi. The word ‘zero’ comes from the Arabic ‘sifr’ — translation of the Sanskrit ‘Shunya.’ Two of mathematics’ most essential words trace directly back to India.

Ananta — The Concept of Infinity

The Verse That Contains Everything

If Shunya is India’s gift of nothingness to the world, then Ananta is its gift of everything. And no text expresses the Indian understanding of infinity more profoundly, more precisely, or more beautifully than the invocatory Shanti mantra of the Isha Upanishad — a verse also found in the Brihadaranyaka Upanishad — composed somewhere between 800 and 500 BCE.

Om Purnamadah Purnamidam Purnat Purnamudachyate

Purnasya Purnamadaya Purnamevavashishyate Om Shantih Shantih Shantih

Om. That is Purnam. This is Purnam. From Purnam, Purnam arises.When Purnam is taken from Purnam, Purnam alone remains.Om. Peace. Peace. Peace.

Why Purnam Means Ananta — Not ‘Full’

Here is where careful reading changes everything. The word Purnam is routinely translated as ‘full’ or ‘whole’ — and literally, that translation is correct. But philosophically, it misses the point entirely, and your understanding of this distinction is one of the most important insights this article carries.

If you fill a glass with water and then pour some out, the glass is no longer full. Fullness — in the ordinary sense — is a finite, measurable condition. Something is full when a known amount has been reached. Take from it, and fullness is gone.

But the verse says: when Purnam is taken from Purnam, Purnam alone remains. This is not the logic of a glass of water. This is the logic of infinity. And it is exactly the mathematical property of infinity: subtract infinity from infinity, and infinity remains. Add infinity to infinity, and infinity remains. Multiply infinity by any finite number, and infinity remains. This is not poetic licence. It is a precise statement of the mathematical nature of infinite sets — one that Georg Cantor would only formalize in Western mathematics in the 1870s, more than two thousand years after this verse was composed.

The Taittiriya Upanishad makes the equation explicit: ‘Satyam Jnanam Anantam Brahma’ — Brahman (Ultimate Reality) is Existence, Consciousness, and Ananta (Infinite). The Upanishads use both Purnam and Anantam to describe the same quality: that which is without limit, without boundary, without measure. Purnam is the experiential description — the sense of absolute completeness that lacks nothing and cannot be diminished. Ananta is the mathematical description — the quality of having no end.

They are the same reality, described from two different angles. And together, they constitute the most sophisticated ancient philosophical treatment of infinity that any tradition has produced.

Purnam is not ‘full’ in the way a glass is full. It is full in the way infinity is full — take from it, and it remains whole. This is not poetry. This is mathematics, composed 2,500 years ago

Jain Mathematics and the Many Sizes of Infinity

The Vedantic tradition was not the only school within India to grapple seriously with infinity. Jain mathematicians, working in the early centuries of the Common Era, developed a classification of infinity that would not be matched in rigour until Cantor’s set theory in the 19th century. They distinguished between multiple types and sizes of infinity — numerical infinity, spatial infinity, temporal infinity — and recognized that these were not the same thing. The idea that infinity comes in different sizes, that some infinities are larger than others, is one of Cantor’s most celebrated and counterintuitive discoveries. The Jain tradition had articulated the same intuition in a philosophical framework roughly two millennia earlier.

Jain mathematical texts also engaged seriously with very large finite numbers, pushing the decimal system to express quantities in the trillions and beyond — at a time when the Greeks, with their base-language number system, stopped counting at ‘myriad’ (ten thousand). The comfort with vast and limitless numbers was not incidental to the Jain tradition; it was built into its cosmological framework, which envisioned a universe of endless cycles, endless rebirths, and boundless space.

Zero and Infinity Across Cultures — A Comparative Timeline

Neither zero nor infinity was a solely Indian discovery in every sense. Other civilisations touched these ideas, found placeholders, glimpsed the void. But there is a crucial distinction between encountering zero as a practical problem and understanding it as a philosophical and mathematical truth. The timeline below shows what each civilisation did — and didn’t — achieve.

DIAGRAM: Shunya and Ananta Across Civilisations — A Comparative Timeline

Culture /Period Concept of Zero Concept of Infinity
Sumerian ~3000 BCEEmpty space used as place holder (no symbol, no number)No formal concept, numbers, limited to practical counting
Vedic India / Pingala ~ 3rd-2nd century BCEShunya first named in Chandahsutra as a distinct void in poetic meter – the conceptual seedAnanta (limitless) in early Vedic texts: Purnam as infinite wholeness in Upanishads.
Babylon ~ 300 BCESlanted wedge used as positional place holder (not a number)No concept ; mathematics remained practical and finite
Ancient Greece ~ 400-150 BCEZero deeply resisted philosophically – ‘how can nothing be?’ Aristotle rejected the voidArchimedes approached large numbers but stopped short of true infinity
Maya Civilisation ~ 4th century CEShell glyph used as place holder AND numeral (independent invention)No formalized concept of Infinity
Aryabhata ~ 5th century CEPlace holder zero formally integrated into the decimal place-value system Implicit in astronomical calculations with vast numbers
Brahmagupta 628 CEZero defined as a full arithmetic number with formal rule: a-a=0, n x 0=0, n ÷ 0= Khahara (Undefined / infinite)n ÷ 0 = Ananta (infinity) – the first mathematical link between zero ond infinity
Bhaskara II, 12 century CEZero’s properties further refinedDivision by zero explicitly stated to equal infinity: ‘As no change takes place in the infinite and immutable God when worlds are created or destroyed.’
Al-Khwarizmi / Baghdad ~ 820 CETransmitted Indian zero and decimal system to Arabia, Arabic ‘Sifr’ (empty) – Latin ‘Zephirum’ – European Zero Concept transmitted through translation of Indian mathematical works
Fibonacci / Europe 1202 CEIntroduced Hindu-Arabic numerals including zero to Europe via Liber AbaciInfinity largely absent from European mathematics at this stage
George Cantor 1870-1880 CEZero established as foundational element of Set theory Infinity formally mathematized – Cantor proves different sizes of Infinity, vindicating what Jain mathematicians had intuited 2000 years earlier

Only India transformed both zero and infinity from philosophical concepts into rigorous mathematical tools — and then transmitted them to the world.

Why India? The Conditions That Made This Possible

This is the question that deserves the most careful answer. Zero and infinity were not obvious. Every other sophisticated ancient civilisation encountered the practical need for a placeholder and stopped there. Greece — arguably the greatest mathematical culture of the ancient world — explicitly rejected the void on philosophical grounds. Rome built an empire without a zero. Babylon invented the sexagesimal system, tracked astronomical cycles, and still never made the conceptual leap that Indian mathematicians made. Why not? And why did India?

Philosophy That Welcomed the Void

The most fundamental reason is philosophical. The Indic worldview — the shared substrate of thought that gave rise to Hinduism, Buddhism, and Jainism — was deeply comfortable with nothingness. Meditation practices explicitly cultivated the experience of emptiness. The concept of Shunyata in Buddhism made the void not a problem to be avoided but an insight to be sought. Yoga traditions worked to empty the mind of content so that pure awareness could emerge.

Devdutt Pattanaik, one of India’s most perceptive mythologists, has observed that the Greek worldview begins with chaos until the gods create order — and with order come definitions, boundaries, certainty, and predictability. The Abrahamic worldview has God creating the world from nothing, but that nothing quickly becomes something and has a definite expiry date in the Apocalypse. The Indic worldview is different: the universe is cyclical, without beginning or end, perpetually arising from and dissolving back into a boundless ground. In that worldview, Shunya and Ananta are not mathematical abstractions — they are descriptions of the basic structure of reality as the tradition already understood it. Mathematical zero was not a strange new idea imported into Indian culture. It was the mathematical expression of something the culture already deeply knew.

A Decimal System That Demanded Zero

The Indian decimal system, which assigned place value to digits based on their position, created an internal mathematical pressure toward zero that other number systems did not experience. In a place-value system, you cannot distinguish 205 from 25 without something to mark the empty tens column. The structure of the system itself demanded a zero — not as a philosophical gesture but as a functional necessity. Once the decimal system was sufficiently developed, zero became mathematically inevitable. Other traditions that used different numerical architectures — the Roman system of additive symbols, the Greek alphabetic numerals, the Babylonian base-60 system with its complex place-marking conventions — never created that same internal pressure.

The Tradition of Counting the Uncountable

Early Indian mathematicians were, by the standards of any ancient culture, obsessed with very large numbers. Vedic texts from around 1000 BCE use place-value notation to express numbers in the trillions — far beyond what any contemporary mathematical culture was attempting. The names for large numbers in Sanskrit — Koti, Pakoti, Kotiguna, and beyond — reflect a tradition that was comfortable moving toward the astronomically vast. This comfort with large numbers created a natural context in which the philosophical concept of Ananta — the limitless — could develop a mathematical dimension. If you are already counting to a trillion, the question of what lies beyond all counting becomes mathematically interesting rather than merely metaphysical.

The Convergence of Philosophy, Linguistics, and Mathematics

In ancient India, these were not separate disciplines. The grammarian Panini (4th century BCE) produced a formal grammar of Sanskrit — the Ashtadhyayi — that anticipated the structure of formal language theory and computer science by over two millennia. His contemporary or near-contemporary Pingala applied similar structural thinking to prosody and arrived at binary mathematics. The Upanishadic philosophers who articulated Ananta were drawing on the same intellectual tradition as the astronomers who needed to calculate the positions of celestial bodies. Mathematics, philosophy, linguistics, and spiritual inquiry were not separate departments of knowledge — they were aspects of a single project: understanding the nature of reality at its most fundamental level.

This integration meant that when a mathematical problem required a concept like zero, the philosophical vocabulary was already there. When a philosophical concept like Ananta needed mathematical expression, the mathematical tools were being built. The cross-pollination between traditions produced insights that no single discipline, working in isolation, could have reached.

Cyclical Time — The Mathematics of Eternity

The Indic conception of time is cyclical, not linear. Creation and dissolution succeed each other in vast cycles — the Yugas, the Kalpas — each of astronomical length, repeating without beginning or end. In this framework, infinity is not an abstract limit to be approached. It is the natural description of time itself. A tradition that thinks in cycles of billions of years, that conceives of universe after universe arising and dissolving, is a tradition whose everyday cosmological vocabulary is the vocabulary of the infinite. Ananta was not a philosopher’s puzzle — it was the clock by which cosmic time was measured.

The Integrated Insight

India developed zero and infinity not because it had better mathematicians than other cultures — though it had remarkable ones — but because its entire philosophical, cosmological, and linguistic tradition was already structured around the concepts that zero and infinity express. The mathematics was, in a deep sense, the natural formalization of what the culture already believed about the nature of reality.

The Foundation of the Knowledge System — A Closing Reflection

There is a remarkable irony in the history of zero. A number that represents nothing became the foundation of everything. Without zero, there is no place-value arithmetic. Without place-value arithmetic, there is no algebra. Without algebra, there is no calculus. Without calculus, there is no classical physics, no engineering, no modern chemistry. Without the binary representation of zero and one — a structure Pingala first articulated in the 3rd century BCE while classifying Sanskrit poetry — there are no computers, no internet, no artificial intelligence. The digital world, in its entirety, rests on the foundation of a dot that an Indian prosodist used to mark an empty syllable position in a poem about metre.

And at the other extreme, without Ananta — without the philosophical and mathematical courage to treat the infinite as a coherent object of thought rather than a chaos to be avoided — there is no set theory, no theory of limits, no rigorous calculus, no modern analysis. Georg Cantor, the mathematician who finally gave infinity its mathematical rigour in the 19th century, wrote that the fear of infinity is a form of myopia that ultimately harms mathematics. The Indian tradition had understood this more than two thousand years earlier. It did not fear the infinite. It gave it a name, a verse, a mathematical rule, and eventually sent it out into the world.

The Purnamadah verse from the Isha Upanishad — ‘from Purnam, Purnam arises; when Purnam is taken from Purnam, Purnam alone remains’ — is not a mystical riddle. It is the earliest known precise statement of the mathematical properties of infinite sets, expressed in the language of a culture whose entire cosmology was built around the boundless. And Brahmagupta’s arithmetic of zero — ‘a – a = 0; n × 0 = 0; 0 – 0 = 0’ — is not a cultural curiosity. It is the set of axioms without which modern mathematics cannot exist.

Al-Khwarizmi named his book ‘The Book of Calculation with Hindu Numerals.’ Fibonacci learned his mathematics from Arab scholars who learned from Indian sources, and he said so. The word algorithm carries the name of a Persian scholar who was himself transmitting Indian knowledge. The word zero carries the echo of the Sanskrit word for void. These are not claims made on behalf of Indian civilisation. They are the historical record, written in the etymology of the words that mathematics uses every day.

Shunya and Ananta. Nothing and everything. The two poles of existence, formalized as numbers by a tradition that understood, millennia before modern science, that the void and the infinite are not opposites but partners — the twin faces of a reality that exceeds all ordinary measure. India gave them to the world. The world built its knowledge on them. And the foundations, it turns out, go all the way down to nothing — and all the way up to everything.

From Purnam, Purnam arises. When Purnam is taken from Purnam, Purnam alone remains. This is not mysticism. It is the earliest known mathematical description of infinity — written 2,500 years ago in a language most of the world has forgotten but whose gifts it uses every single day.

About Author

Dr. Narayan Rout writes about culture, philosophy, science, health, knowledge traditions, and research through the Quest Sage platform.


Discover more from Quest Sage

Subscribe to get the latest posts sent to your email.

Leave a Reply

Scroll to Top

Discover more from Quest Sage

Subscribe now to keep reading and get access to the full archive.

Continue reading