The Mathematical Roots of Music: A Historical and Conceptual Orientation
The Mathematical Roots of Music: A Historical and Conceptual Orientation
The Persistent Question
Why should a beginner studying music encounter equations, group actions, and logarithmic scales within the first fifty pages of a textbook? The honest answer is that for more than two and a half millennia, thinkers as different as Pythagoras of Samos, the Chinese court theorist Jing Fang, the Arab polymath al-Fārābī, the Renaissance theorist Gioseffo Zarlino, the physicist Hermann von Helmholtz, and the twentieth-century composer Milton Babbitt have all maintained that music and mathematics are bound by something more durable than analogy. They have, each in their own idiom, treated the perception of consonance, the structure of scales, the logic of modulation, and the architecture of rhythm as instances of structural relationships that mathematics is uniquely equipped to describe.
The reader of this book is invited to consider three foundational questions. First, is the relationship between music and mathematics real, or is it a metaphorical overlay that we project onto an inherently non-quantitative art? Second, what kinds of mathematical objects recur across musical traditions, regardless of era and geography? Third, how should a beginner, encountering this interdisciplinary field for the first time, orient themselves so that the mathematics illuminates rather than overwhelms the music? These questions are not rhetorical. They will be answered, provisionally, in the pages that follow, and the provisional answers will structure everything that comes after.
A word about terminology is in order. *Mathematical music theory* denotes the application of formal mathematical structures—ratios, functions, transformations, abstract algebras—to the description, analysis, and generation of musical phenomena. It is a young discipline in name but an old enterprise in practice. The book's title, *Music by Numbers*, plays deliberately on the dual meaning of the word *numbers*: on one hand, the simple integers that ancient theorists associated with consonance; on the other, the much broader sense in which a *number* is any element of a structured mathematical set. By the end of this volume the reader will understand both senses and will see how they interlock.
This chapter is the conceptual frame of the book. It does not yet present technical proofs or detailed theorems; those arrive in Chapter 2 and beyond. Its task is more modest but indispensable: to establish *why* the project of mathematical music theory is intellectually serious, to identify the four mathematical domains that recur throughout the remainder of the book, to disarm two widespread objections that have historically discouraged thoughtful readers, and to give a roadmap of the terrain ahead.
---
Historical Threads: From Antiquity to the Twentieth Century
The history of mathematical music theory is not a single narrative but a braid of three intertwined stories: the story of tuning systems, the story of harmonic analysis, and the story of musical form. Each story has its own protagonists, but they converge on a recurring insight—that sound, when heard carefully, reveals numerical relations that the mind finds satisfying before it has any language for what it is hearing.
Pythagoras and the Monochord
The earliest preserved account of a deliberate experiment linking sound to number is found in the writings of Pythagoras of Samos and the Pythagorean school of the sixth century BCE. According to a tradition reported by later authors including Boethius and Nicomachus, Pythagoras observed that when a vibrating string is divided in the ratio 2:1, the resulting pitch is judged by the ear to be the same, only higher or lower; this interval is the octave. When the string is divided in the ratio 3:2, the ear hears a different consonance—the perfect fifth. The ratio 4:3 produces yet another, the perfect fourth. These three intervals, encoded in the simplest ratios that have distinct small integers as their terms, became the foundation of the Pythagorean tuning system and, with variations, of virtually all European music for the next two thousand years.
The monochord—an instrument consisting of a single string stretched over a movable bridge and a graduated scale—became the laboratory instrument of ancient harmonics. The Pythagoreans did not invent the concept of ratio; that belongs to earlier Greek mathematics. What they contributed was the explicit claim that musical intervals *are* ratios of string lengths, that these ratios are not arbitrary conventions but are grounded in the structure of perception, and that they form a hierarchical system in which the simpler ratios are the more consonant. This last claim, that consonance is correlated with the smallness of the integers involved, became known as the Pythagorean *lexis* or "law" and remains one of the most contested, yet most persistent, theses in the history of musical acoustics.
Greek Harmonics After Pythagoras
The Pythagorean tradition did not go unchallenged. Aristoxenus of Tarentum, a student of Aristotle writing in the fourth century BCE, attacked the Pythagorean equation of intervals with ratios and proposed instead a theory based on the judgment of trained listeners. Aristoxenian music theory is, in a sense, the first explicit *empirical* music theory: it locates the cause of musical order in the perceiving ear rather than in the arithmetic of the string. Ptolemy, writing in the second century CE, attempted a synthesis in his *Harmonics*, tabulating ratios for the diatonic, chromatic, and enharmonic genera and ranking them according to both acoustic accuracy and perceptual smoothness. The debate between Aristoxenus and the Pythagoreans has never been definitively settled, and it surfaces again in modern discussions of whether mathematical models of harmony describe or prescribe musical practice.
Boethius and the Medieval Quadrivium
Anicius Manlius Severinus Boethius, writing in the early sixth century, codified the Greek heritage in his *De institutione musica*, which became the principal musical textbook of the Latin Middle Ages. Boethius placed music in the *quadrivium*, the four mathematical arts—arithmetic, geometry, astronomy, and music—taught as preparation for the study of philosophy. For Boethius, music was *musica mundana* (the music of the cosmos, inaudible but expressed in the proportions of celestial bodies), *musica humana* (the music of the human body and soul), and *musica instrumentalis* (the music performed on instruments or sung). The placement of music within the quadrivium is significant: it asserts that the discipline is a branch of mathematics, not of physics, and not of aesthetics. This classification shaped the medieval university curriculum for centuries.
Renaissance Polymaths: Zarlino and the Syntonic Comma
The sixteenth century saw the most ambitious pre-modern attempt to construct a complete mathematical theory of harmony. Gioseffo Zarlino, in his *Le istitutioni harmoniche* (1558), argued that the consonances are not limited to the Pythagorean 2:1, 3:2, and 4:3, but include the major third 5:4 and the minor third 6:5. Zarlino's *senario*—the set of integers 1 through 6—became for him what the monochord had been for the Pythagoreans: the numerical foundation of music. The introduction of the 5:4 ratio into the theory of consonance required a reform of the tuning system, because 5:4 and 3:2 cannot simultaneously divide the octave into whole-tone steps of equal size. This led to the concept of the *syntonic comma*, the small interval of approximately 81:80 that distinguishes Pythagorean from just intonation and that has tormented and enriched Western harmony ever since.
Zarlino's contemporary, the lutenist and theorist Vincenzo Galilei (father of the astronomer Galileo), challenged his master on empirical grounds, conducting careful experiments that cast doubt on the Pythagorean identif