Back to Philosophy

Mathematics and Science: Which Comes First?

November 9, 2025 Wasil Zafar 14 min read

Exploring the ancient philosophical question: Do we discover mathematics in nature, or do we invent models to describe what we observe? A journey through the intertwined history of mathematics and science.

The Fundamental Question

Imagine standing at the edge of a vast ocean, waves crashing rhythmically against the shore. The patterns are mesmerizing—each wave follows predictable curves, yet no two are exactly alike. Now ask yourself: did the mathematical equations describing wave motion exist before humans discovered them, or did we invent these equations to make sense of what we observed?

This question lies at the heart of one of philosophy's most enduring debates. It's a chicken-and-egg problem that has puzzled thinkers for millennia: What comes first—mathematical models or the physical phenomena they describe? Do we create mathematics and then apply it to science, or does nature reveal mathematical truths that we simply uncover?

Core Question: The relationship between mathematics and science isn't just an academic curiosity—it shapes how we understand reality itself. Are we discovering eternal truths written into the fabric of the universe, or are we constructing useful fictions that happen to predict outcomes accurately?

This exploration will take us through competing philosophical views, historical examples, and modern paradoxes. We'll examine cases where mathematics preceded scientific discovery, instances where observation came first, and the mysterious "unreasonable effectiveness" of mathematics in describing our universe.

Historical Perspectives

Ancient Greek Philosophy

The ancient Greeks were perhaps the first civilization to systematically contemplate this question. Pythagoras (c. 570–495 BCE) famously declared that "all is number," suggesting that mathematical relationships were the fundamental reality underlying physical phenomena. The Pythagoreans discovered that musical harmony corresponded to simple numerical ratios—a finding that led them to believe mathematics was woven into the cosmic order.

The Pythagorean Discovery

Pythagoras, ~500 BCE, Ancient Greece

Pythagoras discovered that a vibrating string produces harmonious tones when its length follows simple ratios: 1:2 (octave), 2:3 (perfect fifth), 3:4 (perfect fourth). This mathematical relationship existed in nature—he didn't invent it, he discovered it. Or did he? Did the concept of ratio exist before human minds conceived of it, or did Pythagoras create a framework to describe what he heard?

Pythagorean Theorem Musical Harmony Mathematical Realism

Plato (428–348 BCE) took this idea further with his Theory of Forms. He argued that mathematical objects—perfect circles, ideal triangles, abstract numbers—exist in a realm of eternal, unchanging Forms. Physical objects are merely imperfect copies of these perfect mathematical realities. In Plato's view, mathematicians don't invent; they discover truths about this transcendent realm.

Aristotle (384–322 BCE), Plato's student, disagreed. He believed mathematics was abstracted from physical experience. We observe many circular objects and gradually form the concept of a perfect circle. Mathematics, for Aristotle, was a human construction derived from sensory experience of the natural world.

The Scientific Revolution

Fast forward to the 16th and 17th centuries. Galileo Galilei proclaimed that "the book of nature is written in the language of mathematics." His experimental approach combined observation with mathematical description, but which came first in his method?

Galileo observed falling bodies, rolling balls down inclined planes, and swinging pendulums. From these observations, he formulated mathematical laws. Observation preceded mathematics in his method. Yet, he also believed that mathematical laws existed in nature, waiting to be discovered—suggesting that math was already "there."

Galileo's Paradox: Galileo both discovered mathematical patterns through observation and believed mathematics was nature's inherent language. This dual perspective captures the complexity of our question.

Mathematical Platonism: The Discovery View

Mathematical Platonism is the view that mathematical entities exist independently of human minds. According to Platonists, when a mathematician proves that there are infinitely many prime numbers, they're not inventing this fact—they're discovering a truth about an abstract mathematical universe that exists whether or not humans exist.

Arguments for Platonism

1. Objectivity and Universality: Mathematical truths seem objective. 2 + 2 = 4 in every culture, at every time, everywhere in the universe. This universality suggests mathematics isn't a human invention but a discovered reality.

2. Predictive Power: Mathematics often predicts physical phenomena before we observe them. Maxwell's equations predicted electromagnetic waves before Hertz detected them. Neptune's existence was calculated mathematically before it was observed. If math were merely invented, why would it predict undiscovered aspects of reality?

3. Mathematical Surprises: Mathematicians frequently discover unexpected connections. The number π appears in probability theory, quantum mechanics, and statistics—contexts far removed from circles. How could a human invention show up in so many unrelated areas unless it reflects something real?

Euler's Identity: A Beautiful Discovery

Leonhard Euler, 1748

Euler's identity, e^(iπ) + 1 = 0, connects five fundamental mathematical constants (e, i, π, 1, 0) in a single equation. Euler didn't set out to connect these constants—he discovered this relationship through mathematical exploration. Platonists argue this kind of unexpected elegance suggests mathematics exists independently, revealing its truths to those who seek them.

Euler's Identity Mathematical Beauty Discovery

Challenges to Platonism

Critics ask: If mathematical objects exist in an abstract realm, how do we access them? We have no sensory organs for detecting mathematical truths. How does the human brain, a physical organ, interact with non-physical mathematical entities?

Mathematical Formalism: The Invention View

Mathematical Formalism holds that mathematics is a formal system—essentially, a sophisticated game played with symbols according to rules we've invented. Mathematical statements don't describe an external reality; they're manipulations within a system we've created.

Arguments for Formalism

1. Historical Development: Different cultures developed different mathematical systems. The ancient Babylonians used base-60; we use base-10. Non-Euclidean geometries are just as valid as Euclidean geometry, each with different axioms. If mathematics were discovered, wouldn't there be one "true" mathematics?

2. Arbitrary Axioms: Mathematics begins with axioms—starting assumptions we choose. Euclidean geometry assumes parallel lines never meet. Spherical geometry assumes they do. Both are internally consistent, but they contradict each other. This suggests we're inventing systems, not discovering reality.

3. Human Constraints: Our mathematics reflects the structure of human cognition. We think in terms of objects, patterns, and logic because our brains evolved to navigate a physical world. Different intelligences might develop entirely different "mathematics."

Cognitive Perspective: Studies show that even infants have innate number sense, suggesting arithmetic is partly a product of our neural architecture. This supports the view that mathematics is shaped by human cognitive constraints, not discovered from an external realm.

Challenges to Formalism

If mathematics is just symbol manipulation, why does it work so well in describing nature? Why would an invented game predict gravitational waves, quantum entanglement, or the behavior of black holes? The formalist must explain this "unreasonable effectiveness."

Case Studies Through History

When Math Came First: Conic Sections

Around 200 BCE, the Greek mathematician Apollonius studied conic sections—the shapes created by slicing a cone at different angles: circles, ellipses, parabolas, and hyperbolas. This was pure mathematics, studied for its intrinsic beauty with no practical application.

Fast forward 1,800 years. Johannes Kepler discovered that planets orbit the Sun in ellipses, not circles as previously believed. The mathematics of conic sections, developed millennia earlier for aesthetic reasons, perfectly described planetary motion. Mathematics came first; physics application came much later.

Kepler's Laws

Johannes Kepler, 1609-1619

Kepler's First Law states that planets move in elliptical orbits with the Sun at one focus. He didn't invent ellipses—Apollonius had already explored them. Kepler discovered that nature uses this mathematical form. Did ellipses exist in planetary orbits before humans discovered them? Or did we retroactively apply a useful mathematical model?

Planetary Motion Ellipses Conic Sections

When Observation Came First: Calculus

In the 17th century, Isaac Newton and Gottfried Wilhelm Leibniz independently developed calculus. Newton was motivated by physics—he needed mathematical tools to describe motion, gravity, and changing quantities. Observation of physical phenomena (falling apples, planetary orbits) came first; the mathematics of calculus was invented to describe what was observed.

Leibniz approached calculus more abstractly, focusing on symbolic manipulation. Yet even his work was grounded in problems from geometry and physics. Calculus emerged from the need to solve real-world problems, suggesting that science drove mathematical innovation.

When They Co-Evolved: Thermodynamics

The development of thermodynamics in the 19th century shows mathematics and science evolving together. Engineers observed steam engines and heat transfer. Physicists like Sadi Carnot, Rudolf Clausius, and Ludwig Boltzmann formulated mathematical laws to describe these phenomena.

As the mathematical framework developed, it revealed new predictions: the concept of entropy, the heat death of the universe, the statistical nature of thermodynamics. Math and observation fed into each other in a continuous loop—neither purely came first.

Modern Examples

General Relativity: Math Predicts, Science Confirms

Einstein's General Relativity (1915) is a stunning example of mathematics preceding observation. Einstein used the mathematics of differential geometry—developed decades earlier by Bernhard Riemann for purely theoretical reasons—to describe gravity as curved spacetime.

The theory predicted phenomena no one had observed: gravitational lensing, black holes, gravitational waves, the expansion of the universe. Each prediction was later confirmed by observation. Mathematics came first, providing a framework that revealed hidden aspects of reality.

Gravitational Waves Detection

LIGO Collaboration, 2015

Einstein predicted gravitational waves in 1916 using pure mathematics. A century later, LIGO detected them, confirming ripples in spacetime caused by colliding black holes. The mathematics existed long before the technology to detect the phenomenon. Did gravitational waves exist before we had math to describe them, or did the math create the conceptual category that we then confirmed empirically?

General Relativity Gravitational Waves Prediction

Quantum Mechanics: Observation Forces Math

Contrast this with quantum mechanics. Physicists like Niels Bohr, Werner Heisenberg, and Erwin Schrödinger were confronted with bizarre experimental results: electrons behaving as both particles and waves, discrete energy levels, quantum entanglement.

The mathematics of quantum mechanics was developed in response to these observations. The formalism is notoriously counterintuitive—it works, but no one fully understands why. Observation came first; mathematics was invented (or discovered?) to make sense of it.

String Theory: Math in Search of Observation

String theory is perhaps the most controversial modern example. It's an elegant mathematical framework proposing that fundamental particles are tiny vibrating strings. The math is beautiful and internally consistent, predicting extra dimensions and unifying quantum mechanics with gravity.

The problem? No experimental evidence supports it. String theory exists purely as mathematics. Critics argue it's unfalsifiable, not science. Supporters counter that the mathematics is too beautiful to be wrong—a very Platonist argument.

String Theory Dilemma: If mathematics can exist without corresponding physical phenomena, does this prove math is invented? Or is string theory discovering truths about a reality we simply can't yet observe?

The Unreasonable Effectiveness of Mathematics

In 1960, physicist Eugene Wigner published a famous essay titled "The Unreasonable Effectiveness of Mathematics in the Natural Sciences." He marveled at how mathematical concepts, often developed with no thought to physical application, turn out to describe nature with stunning accuracy.

Consider complex numbers. Mathematicians invented them to solve equations like x² + 1 = 0. The square root of -1 seemed like pure abstraction, a useful fiction. Yet complex numbers are essential to quantum mechanics, electrical engineering, and signal processing. How can something "imaginary" be so useful in describing reality?

Possible Explanations

Platonist Answer: Mathematics is effective because it describes the underlying structure of reality. We're discovering the universe's true language.

Formalist Answer: We notice patterns in nature and invent mathematics to describe them. We then select and refine mathematical models that work, discarding those that don't. The "effectiveness" is confirmation bias—we only remember the successes.

Evolutionary Answer: Our brains evolved to recognize patterns crucial for survival. Mathematics is a formalization of pattern-recognition abilities shaped by natural selection. It works because it reflects how our physical brains interact with a physical world.

Anthropic Answer: In a vast multiverse with different physical laws, only universes with mathematical structure can support observers. We find math effective because we can only exist in a mathematically structured universe.

The Golden Ratio in Nature

Ongoing observations across biology, art, and cosmology

The golden ratio (φ ≈ 1.618) appears in flower petal arrangements, nautilus shells, galaxy spirals, and human facial proportions. Did nature "choose" this mathematical constant, or do we impose this pattern through selective perception? The ratio emerges from simple mathematical relationships (Fibonacci sequence), yet appears in complex biological systems. Discovery or invention?

Golden Ratio Fibonacci Pattern Recognition

Conclusion: A Symbiotic Dance

After this journey through philosophy, history, and science, what answer can we give? Which comes first—mathematics or science?

The honest answer is: it depends, and perhaps the question itself is incomplete.

Sometimes mathematics comes first. Conic sections preceded planetary ellipses. Differential geometry preceded General Relativity. Group theory preceded quantum mechanics. In these cases, pure mathematical exploration revealed structures that nature happened to use—suggesting mathematics is discovered.

Sometimes observation comes first. Calculus emerged from studying motion. Thermodynamics came from engineering heat engines. Quantum mechanics was forced on us by experimental anomalies. In these cases, mathematics was invented to describe what we observed.

Often, they co-evolve. The scientific method involves a continuous feedback loop: observe → mathematize → predict → test → refine. Neither math nor science clearly comes "first" in this process—they're intertwined, each driving the other forward.

Synthesis: Perhaps the question "discovery or invention?" is a false dichotomy. Mathematics might be both—we invent the language and symbols, but in doing so, we discover genuine patterns and relationships that constrain what we can say. Like a sculptor "discovering" the statue within the marble, we create the framework but find structures we didn't put there.

The physicist Max Tegmark has proposed that reality is mathematics—not that it's described by math, but that mathematical structure is all there is. In this view, the distinction between mathematics and physical reality dissolves entirely.

Others, like Reuben Hersh, argue for "mathematical humanism"—the idea that mathematics is a social, cultural product, but one constrained by the structure of reality and human cognition.

Practical Implications

Why does this philosophical question matter? Because it shapes how we do science and mathematics:

  • Research priorities: If math is discovered, we should explore abstract theory freely—applications will follow. If it's invented, we should focus on modeling observed phenomena.
  • Education: Should we teach math as discovery of eternal truths or as problem-solving tool creation?
  • Epistemology: How confident can we be in theories based purely on mathematical elegance with no experimental support?
  • Philosophy of mind: What does mathematical ability tell us about the nature of human consciousness?

The relationship between mathematics and science remains one of the deepest mysteries in philosophy. It touches on questions of existence, knowledge, reality, and mind. Perhaps, as with many profound questions, the value lies not in reaching a definitive answer but in the insights we gain by asking.

Final Thought: "How can it be that mathematics, being after all a product of human thought independent of experience, is so admirably adapted to the objects of reality?" — Albert Einstein. Even Einstein, who wielded mathematics to reshape our understanding of space and time, marveled at this mystery.