The origins of mathematicians’ interest in this infinite sum came from music and went back to a discovery made by the Greeks. Pythagoras was the first to discover the fundamental connection between mathematics and music. He filled an urn with water and banged it with a hammer to produce a note. If he removed half the water and banged the urn again, the note had gone up an octave. Each time he removed more water to leave the urn one-third full, then one-quarter full, the notes produced would sound to his ear in harmony with the first note he’d played. Any other notes which were created by removing some other amount of water sounded in dissonance with that original note. There was some audible beauty associated with these fractions. The harmony that Pythagoras had discovered in the numbers
Ever since Pythagoras’ discovery of an arithmetic connection between mathematics and music, people have compared both the aesthetic and the physical traits shared by the two disciplines. The French Baroque composer Jean-Philippe Rameau wrote in 1722 that ‘Not withstanding all the experience I may have acquired in music from being associated with it for so long, I must confess that only with the aid of mathematics did my ideas become clear.’ Euler sought to make music theory ‘part of mathematics and deduce in an orderly manner, from correct principles, everything which can make a fitting together and mingling of tones pleasing’. Euler believed that it was the primes that lay behind the beauty of certain combinations of notes.
Many mathematicians have a natural affinity with music. Euler would relax after a hard day’s calculating by playing his clavier. Mathematics departments invariably have little trouble assembling an orchestra from the ranks of their members. There is an obvious numerical connection between the two given that counting underpins both. As Leibniz described it, ‘Music is the pleasure the human mind experiences from counting without being aware that it is counting.’ But the resonance between the subjects goes much deeper than this.
Mathematics is an aesthetic discipline where talk of beautiful proofs and elegant solutions is commonplace. Only those with a special aesthetic sensibility are equipped to make mathematical discoveries. The flash of illumination that mathematicians crave often feels like bashing notes on a piano until suddenly a combination is found which contains an inner harmony marking it out as different.
G.H. Hardy wrote that he was ‘interested in mathematics only as a creative art’. Even for the French mathematicians in Napoleon’s academies, the buzz of doing mathematics came not from its practical application but from its inner beauty. The aesthetic experiences of doing mathematics or listening to music have much in common. Just as you might listen to a piece of music over and over and find new resonances previously missed, mathematicians often take pleasure in re-reading proofs in which the subtle nuances that make it hang together so effortlessly gradually reveal themselves. Hardy believed that the true test of a good mathematical proof was that ‘the ideas must fit together in a harmonious way. Beauty is the first test: there is no permanent place in the world for ugly mathematics.’ For Hardy, ‘A mathematical proof should resemble a simple and clear-cut constellation, not a scattered Milky Way.’
Both mathematics and music have a technical language of symbols which allow us to articulate the patterns we are creating or discovering. Music is much more than just the minims and crochets which dance across the musical stave. Similarly, mathematical symbols come alive only when the mathematics is played with in the mind.
As Pythagoras discovered, it is not just in the aesthetic realm that mathematics and music overlap. The very physics of music has at its root the basics of mathematics. If you blow across the top of a bottle you hear a note. By blowing harder, and with a little skill, you can start to hear higher notes – the extra harmonics, the overtones. When a musician plays a note on an instrument they are producing an infinity of additional harmonics, just as you do when you blow across the top of the bottle. These additional harmonics help to give each instrument its own distinctive sound. The physical characteristics of each instrument mean that we hear different combinations of harmonics. In addition to the fundamental note, the clarinet plays only those harmonics produced by odd fractions:
Since the sound of a vibrating violin string is the infinite sum of the fundamental note and all the possible harmonics, mathematicians became intrigued by the mathematical analogue. The infinite sum
So the zeta function must output the answer infinity when fed the number x = 1. If, however, instead of taking x = 1, Euler fed the zeta function with a number bigger than 1, the answer no longer spiralled off to infinity. For example, taking x = 2 means adding together all the squares in the harmonic series:
This is a smaller number as it does not include all possible fractions found when x = 1. We are now adding only some of the fractions, and Euler knew that this time the smaller sum wouldn’t spiral off to infinity but would home in on some particular number. It had become quite a challenge by Euler’s day to identify a precise value for this infinite sum when x = 2. The best estimate was somewhere around
Nevertheless, Euler, emboldened by his previous discoveries, began to play around with this infinite sum. Twisting it this way and that like the sides of a Rubik’s cube, he suddenly found the series transformed. Like the colours on the cube, these numbers slowly came together to form a completely different pattern from the one he had started with. As he went on to describe, ‘Now, however, quite unexpectedly, I have found an elegant formula depending upon the quadrature of the circle’ – in modern parlance, a formula depending on the number π = 3.1415 …
By some pretty reckless analysis, Euler had discovered that this infinite sum was homing in on the square of π divided by 6:
The decimal expansion of
This success inspired Euler to investigate the power of the zeta function further. He knew that if he fed the zeta function with any number bigger than 1, the result would be some finite number. After a few years of solitary study he managed to identify the output of the zeta function for every even number. But there was something rather unsatisfactory about the zeta function. Whenever Euler fed the formula for the zeta function with any number less than 1, it would always output infinity. For example, for x = −1 it yields the infinite sum