Читать книгу The Music of the Primes: Why an unsolved problem in mathematics matters - Marcus Sautoy du - Страница 18
The zeta function – the dialogue between music and mathematics
ОглавлениеDuring his years in Paris in the 1820s, Dirichlet had become fascinated by Gauss’s great youthful treatise Disquisitiones Arithmeticae. Although Gauss’s book marked a beginning of number theory as an independent discipline, the book was difficult and many failed to penetrate the concise style Gauss preferred. Dirichlet, though, was more than happy to battle with one tough paragraph after another. At night he would place the book under his pillow in the hope that the next morning’s reading would suddenly make sense. Gauss’s treatise has been described as a ‘book of seven seals’, but thanks to the labours and dreams of Dirichlet, those seals were broken and the treasures within gained the wide distribution they deserved.
Dirichlet was especially interested in Gauss’s clock calculator. In particular, he was intrigued by a conjecture that went back to a pattern spotted by Fermat. If you took a clock calculator with N hours on it and you fed in the primes, then, Fermat conjectured, infinitely often the clock would hit one o’clock. So, for example, if you take a clock with 4 hours there are infinitely many primes which Fermat predicted would leave remainder 1 on division by 4. The list begins 5, 13, 17, 29, …
In 1838, at the age of thirty-three, Dirichlet had made his mark in the theory of numbers by proving that Fermat’s hunch was indeed correct. He did this by mixing ideas from several areas of mathematics that didn’t look as if they had anything to do with one another. Instead of an elementary argument like Euclid’s cunning proof that there are infinitely many primes, Dirichlet used a sophisticated function that had first appeared on the mathematical circuit in Euler’s day. It was called the zeta function, and was denoted by the Greek letter ζ. The following equation provided Dirichlet with the rule for calculating the value of the zeta function when fed with a number x:
To calculate the output at x, Dirichlet needed to carry out three mathematical steps. First, calculate the exponential numbers 1x, 2x, 3x, …, nx, … Then take the reciprocals of all the numbers produced in the first step. (The reciprocal of 2x is 1/2x.) Finally, add together all the answers from the second step.
It is a complicated recipe. The fact that each number 1, 2, 3, … makes a contribution to the definition of the zeta function hints at its usefulness to the number theorist. The downside comes in having to deal with an infinite sum of numbers. Few mathematicians could have predicted what a powerful tool this function would become as the best way to study the primes. It was almost stumbled upon by accident.
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 made him believe that the whole universe was controlled by music, which is why he coined the expression ‘the music of the spheres’.
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: , … The string of a violin, on the other hand, vibrates to create all the harmonics that Pythagoras produced with his urn – those corresponding to the 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 … became known as the harmonic series. This infinite sum is also the answer Euler got when he fed the zeta function with the number x = 1. Although this sum grew only very slowly as he added more terms, mathematicians had known since the fourteenth century that eventually it must spiral off to infinity.
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 . In 1735, Euler wrote that ‘So much work has been done on the series that it seems hardly likely that anything new about them may still turn up … I, too, in spite of repeated effort, could achieve nothing more than approximate values for their sums.’
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 , like that of π, is completely chaotic and unpredictable. To this day, Euler’s discovery of this order lurking in the number ranks as one of the most intriguing calculations in all of mathematics, and it took the scientific community of Euler’s time by storm. No one had predicted a link between the innocent sum and the chaotic number π.
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 1 + 2 + 3 + 4 + … The function behaved well only for numbers bigger than 1.
Euler’s discovery of his expression for in terms of simple fractions was the first sign that the zeta function might reveal unexpected links between seemingly disparate parts of the mathematical canon. The second strange connection that Euler discovered was with an even more unpredictable sequence of numbers.