banner banner banner
Fermat’s Last Theorem
Fermat’s Last Theorem
Оценить:
Рейтинг: 0

Полная версия:

Fermat’s Last Theorem

скачать книгу бесплатно


However, the book described a sister equation in which x, y and z are all cubed (i.e. x

= x × x × x). The so-called power of x in this equation is no longer 2, but rather 3:

Finding whole number solutions, i.e. Pythagorean triples, to the original equation was relatively easy, but changing the power from ‘2’ to ‘3’ (the square to a cube) and finding whole number solutions to the sister equation appears to be impossible. Generations of mathematicians scribbling on notepads have failed to find numbers which fit the equation perfectly.

Figure 4. Is it possible to add the building blocks from one cube to another cube, to form a third, larger cube? In this case a 6 × 6 × 6 cube added to an 8 × 8 × 8 cube does not have quite enough building blocks to form a 9 × 9 × 9 cube. There are 216 (6

) building blocks in the first cube, and 512 (8

) in the second. The total is 728 building blocks, which is 1 short of 9

.

With the original ‘squared’ equation, the challenge was to rearrange the tiles in two squares to form a third, larger square. The ‘cubed’ version of the challenge is to rearrange two cubes made of building blocks, to form a third, larger cube. Apparently, no matter what cubes are chosen to begin with, when they are combined the result is either a complete cube with some extra blocks left over, or an incomplete cube. The nearest that anyone has come to a perfect rearrangement is one in which there is one building block too many or too few. For example, if we begin with the cubes 6

(x

) and 8

(y

) and rearrange the building blocks, then we are only one short of making a complete 9 × 9 × 9 cube, as shown in Figure 4 (#litres_trial_promo).

Finding three numbers which fit the cubed equation perfectly seems to be impossible. That is to say, there appear to be no whole number solutions to the equation

Furthermore, if the power is changed from 3 (cubed) to any higher number n (i.e. 4, 5, 6, …), then finding a solution still seems to be impossible. There appear to be no whole number solutions to the more general equation

By merely changing the 2 in Pythagoras’ equation to any higher number, finding whole number solutions turns from being relatively simple to being mind-bogglingly difficult. In fact, the great seventeenth-century Frenchman Pierre de Fermat made the astonishing claim that the reason why nobody could find any solutions was that no solutions existed.

Fermat was one of the most brilliant and intriguing mathematicians in history. He could not have checked the infinity of numbers, but he was absolutely sure that no combination existed which would fit the equation perfectly because his claim was based on proof. Like Pythagoras, who did not have to check every triangle to demonstrate the validity of his theorem, Fermat did not have to check every number to show the validity of his theorem. Fermat’s Last Theorem, as it is known, stated that

has no whole number solutions for n greater than 2.

As Wiles read each chapter of Bell’s book, he learnt how Fermat had become fascinated by Pythagoras’ work and had eventually come to study the perverted form of Pythagoras’ equation. He then read how Fermat had claimed that even if all the mathematicians in the world spent eternity looking for a solution to the equation they would fail to find one. He must have eagerly turned the pages, relishing the thought of examining the proof of Fermat’s Last Theorem. However, the proof was not there. It was not anywhere. Bell ended the book by stating that the proof had been lost long ago. There was no hint of what it might have been, no clues as to the proof’s construction or derivation. Wiles found himself puzzled, infuriated and intrigued. He was in good company.

For over 300 years many of the greatest mathematicians had tried to rediscover Fermat’s lost proof and failed. As each generation failed, the next became even more frustrated and determined. In 1742, almost a century after Fermat’s death, the Swiss mathematician Leonhard Euler asked his friend Clêrot to search Fermat’s house in case some vital scrap of paper still remained. No clues were ever found as to what Fermat’s proof might have been. In Chapter 2 (#u06677994-f837-5bd0-be53-be6ef376a28b) we shall find out more about the mysterious Pierre de Fermat and how his theorem came to be lost, but for the time being it is enough to know that Fermat’s Last Theorem, a problem that had captivated mathematicians for centuries, had captured the imagination of the young Andrew Wiles.

Sat in Milton Road Library was a ten-year-old boy staring at the most infamous problem in mathematics. Usually half the difficulty in a mathematics problem is understanding the question, but in this case it was simple – prove that x

+ y

= z

has no whole number solutions for n greater than 2. Andrew was not daunted by the knowledge that the most brilliant minds on the planet had failed to rediscover the proof. He immediately set to work using all his textbook techniques to try and recreate the proof. Perhaps he could find something that everyone else, except Fermat, had overlooked. He dreamed he could shock the world.

Thirty years later Andrew Wiles was ready. Standing in the auditorium of the Isaac Newton Institute, he scribbled on the board and then, struggling to contain his glee, stared at his audience. The lecture was reaching its climax and the audience knew it. One or two of them had smuggled cameras into the lecture room and flashes peppered his concluding remarks.

With the chalk in his hand he turned to the board for the last time. The final few lines of logic completed the proof. For the first time in over three centuries Fermat’s challenge had been met. A few more cameras flashed to capture the historic moment. Wiles wrote up the statement of Fermat’s Last Theorem, turned towards the audience, and said modestly: ‘I think I’ll stop here.’

Two hundred mathematicians clapped and cheered in celebration. Even those who had anticipated the result grinned in disbelief. After three decades Andrew Wiles believed he had achieved his dream, and after seven years of isolation he could reveal his secret calculation. However, while euphoria filled the Newton Institute tragedy was about to strike. As Wiles was enjoying the moment, he, along with everyone else in the room, was oblivious of the horrors to come.

2 The Riddler (#ulink_949a6a73-7af6-51f3-98a6-d956ed44d09b)

‘Do you know,’ the Devil confided, ‘not even the best mathematicians on other planets – all far ahead of yours – have solved it? Why, there’s a chap on Saturn – he looks something like a mushroom on stilts – who solves partial differential equations mentally; and even he’s given up.’

Arthur Porges, ‘The Devil and Simon Flagg’

Pierre de Fermat was born on 20 August 1601 in the town of Beaumont-de-Lomagne in south-west France. Fermat’s father, Dominique Fermat, was a wealthy leather merchant, and so Pierre was fortunate enough to enjoy a privileged education at the Franciscan monastery of Grandselve, followed by a stint at the University of Toulouse. There is no record of the young Fermat showing any particular brilliance in mathematics.

Pressure from his family steered Fermat towards a career in the civil service, and in 1631 he was appointed conseiller au Parlement de Toulouse, a councillor at the Chamber of Petitions. If locals wanted to petition the King on any matter they first had to convince Fermat or one of his associates of the importance of their request. The councillors provided the vital link between the province and Paris. As well as liaising between the locals and the monarch, the councillors made sure that royal decrees emanating from the capital were implemented back in the regions. Fermat was an efficient civil servant, who by all accounts carried out his duties in a considerate and merciful manner.

Fermat’s additional duties included service in the judiciary and he was senior enough to deal with the most severe cases. An account of his work is given by the English mathematician, Sir Kenelm Digby. Digby had requested to see Fermat, but in a letter to a mutual colleague, John Wallis, he reveals that the Frenchman had been occupied with pressing judicial matters, thus excluding the possibility of a meeting:

It is true that I had exactly hit the date of the displacement of the judges of Castres to Toulouse, where he [Fermat] is the Supreme Judge to the Sovereign Court of Parliament; and since then he has been occupied with capital cases of great importance, in which he has finished by imposing a sentence that has made a great stir; it concerned the condemnation of a priest, who had abused his functions, to be burned at the stake. This affair has just finished and the execution has followed.

Fermat corresponded regularly with Digby and Wallis. Later we will see that the letters were often less than friendly, but they provide vital insights into Fermat’s daily life, including his academic work.

Fermat rose rapidly within the ranks of the civil service and became a member of the social élite, entitling him to use de as part of his name. His promotion was not necessarily the result of ambition, but rather a matter of health. The plague was raging throughout Europe and those who survived were elevated to fill the places of those who died. Even Fermat suffered a serious bout of plague in 1652, and was so ill that his friend Bernard Medon announced his death to several colleagues. Soon after he corrected himself in a report to the Dutchman Nicholas Heinsius:

I informed you earlier of the death of Fermat. He is still alive, and we no longer fear for his health, even though we had counted him among the dead a short time ago. The plague no longer rages among us.

In addition to the health risks of seventeenth-century France, Fermat had to survive the political dangers. His appointment to the Parliament of Toulouse came just three years after Cardinal Richelieu was promoted to first minister of France. This was an era of plotting and intrigue, and everyone involved in the running of the state, even at local government level, had to take care not to become embroiled in the machinations of the Cardinal. Fermat adopted the strategy of performing duties efficiently without drawing attention to himself. He had no great political ambition, and did his best to avoid the rough and tumble of parliament. Instead he devoted all his spare energy to mathematics and, when not sentencing priests to be burnt at the stake, Fermat dedicated himself to his hobby. Fermat was a true amateur academic, a man whom E.T. Bell called the ‘Prince of Amateurs’. But so great were his talents that when Julian Coolidge wrote Mathematics of Great Amateurs, he excluded Fermat on the grounds that he was ‘so really great that he should count as a professional’.

At the start of the seventeenth century, mathematics was still recovering from the Dark Ages and was not a highly regarded subject. Similarly mathematicians were not treated with great respect and most of them had to fund their own studies. For example, Galileo was unable to study mathematics at the University of Pisa and was forced to seek private tuition. Indeed, the only institute in Europe to actively encourage mathematicians was Oxford University which had established the Savilian Chair of Geometry in 1619. It is true to say that most seventeenth-century mathematicians were amateurs, but Fermat was an extreme case. Living far from Paris he was isolated from the small community of mathematicians that did exist, which included such figures as Pascal, Gassendi, Roberval, Beaugrand and most notably Father Marin Mersenne.

Father Mersenne made only minor contributions to number theory and yet he played a role in seventeenth-century mathematics which was arguably more important than any of his more esteemed colleagues. After joining the order of Minims in 1611, Mersenne studied mathematics and then taught the subject to other monks and to nuns at the Minim convent at Nevers. Eight years later he moved to Paris to join the Minims de l’Annociade, close to the Place Royale, a natural gathering place for intellectuals. Inevitably Mersenne met the other mathematicians of Paris, but he was saddened by their reluctance to talk to him or to each other.

The secretive nature of the Parisian mathematicians was a tradition which had been passed down from the cossists of the sixteenth century. The cossists were experts in calculations of all kinds and were employed by merchants and businessmen to solve complex accounting problems. Their name derives from the Italian word cosa, meaning ‘thing’, because they used symbols to represent an unknown quantity, similar to the way mathematicians use x today. All professional problem-solvers of this era invented their own clever methods for performing calculations and would do their utmost to keep these methods secret in order to maintain their reputation as the only person capable of solving a particular problem. On one exceptional occasion Niccolò Tartaglia, who had found a method for quickly solving cubic equations, revealed his discovery to Girolamo Cardano and swore him to absolute secrecy. Ten years later Cardano broke his promise and published Tartaglia’s method in his Ars Magna, an act which Tartaglia would never forgive. He broke off all relations with Cardano and a bitter public dispute ensued, which only served to further encourage other mathematicians to guard their secrets. The secretive nature of mathematicians continued right up until the end of the nineteenth century, and as we shall see later there are even examples of secret geniuses working in the twentieth century.

When Father Mersenne arrived in Paris he was determined to fight against the ethos of secrecy and tried to encourage mathematicians to exchange their ideas and build upon each other’s work. The monk arranged regular meetings and his group later formed the core of the French Academy. When anyone refused to attend, Mersenne would pass on to the group whatever he could by revealing letters and papers – even if they had been sent to him in confidence. It was not ethical behaviour for a man of the cloth, but he justified it on the grounds that the exchange of information would benefit mathematics and mankind. These acts of indiscretion naturally caused bitter arguments between the well-meaning monk and the taciturn prima donnas, and eventually destroyed Mersenne’s relationship with Descartes which had lasted since the two men had studied together at the Jesuit College of La Flèche. Mersenne had revealed philosophical writings by Descartes which were liable to offend the Church, but to his credit he did defend Descartes against theological attacks, as in fact he had done earlier in the case of Galileo. In an era dominated by religion and magic Mersenne stood up for rational thought.

Mersenne travelled throughout France and further afield, spreading news of the latest discoveries. In his travels he would make a point of meeting up with Pierre de Fermat and, indeed, seems to have been Fermat’s only regular contact with other mathematicians. Mersenne’s influence on this Prince of Amateurs must have been second only to the Arithmetica, a mathematical treatise handed down from the ancient Greeks which was Fermat’s constant companion. Even when he was unable to travel Mersenne would maintain his relationship with Fermat and others by writing prolifically. After Mersenne’s death his room was found stacked with letters written by seventy-eight different correspondents.

Despite the encouragement of Father Mersenne, Fermat steadfastly refused to reveal his proofs. Publication and recognition meant nothing to him and he was satisfied with the simple pleasure of being able to create new theorems undisturbed. However, the shy and retiring genius did have a mischievous streak, which, when combined with his secrecy, meant that when he did sometimes communicate with other mathematicians it was only to tease them. He would write letters stating his most recent theorem without providing the accompanying proof. Then he would challenge his contemporaries to find the proof. The fact that he would never reveal his own proofs caused a great deal of frustration. Rene Descartes called Fermat a ‘braggart’ and the Englishman John Wallis referred to him as ‘That damned Frenchman’. Unfortunately for the English, Fermat took particular pleasure in toying with his cousins across the Channel.

As well as having the satisfaction of annoying his colleagues, Fermat’s habit of stating a problem but hiding its solution did have more practical motivations. First, it meant that he did not have to waste time fully fleshing out his methods; instead he could rapidly proceed to his next conquest. Furthermore, he did not have to suffer jealous nit-picking. Once published, proofs would be examined and argued over by everyone and anyone who knew anything about the subject. When Blaise Pascal pressed him to publish some of his work, the recluse replied: ‘Whatever of my work is judged worthy of publication, I do not want my name to appear there.’ Fermat was the secretive genius who sacrificed fame in order not to be distracted by petty questions from his critics.

This exchange of letters with Pascal, the only occasion when Fermat discussed ideas with anyone but Mersenne, concerned the creation of an entirely new branch of mathematics – probability theory. The mathematical hermit was introduced to the subject by Pascal, and so, despite his desire for isolation, he felt obliged to maintain a dialogue. Together Fermat and Pascal would discover the first proofs and cast-iron certainties in probability theory, a subject which is inherently uncertain. Pascal’s interest in the subject had been sparked by a professional Parisian gambler, Antoine Gombaud, the Chevalier de Méré, who had posed a problem which concerned a game of chance called points. The game involves winning points on the roll of a dice, and whichever player is the first to earn a certain number of points is the winner and takes the prize money.

Gombaud had been involved in a game of points with a fellow-gambler when they were forced to abandon the game half-way through, owing to a pressing engagement. The problem then arose as to what to do with the prize money. The simple solution would have been to have given all the money to the competitor with the most points, but Gombaud asked Pascal if there was a fairer way to divide the money. Pascal was asked to calculate the probability of each player winning had the game continued and assuming that both players would have had an equal chance of winning subsequent points. The prize money could then be split according to these calculated probabilities.

Prior to the seventeenth century the laws of probability were defined by the intuition and experience of gamblers, but Pascal entered into an exchange of letters with Fermat with the aim of discovering the mathematical rules which more accurately describe the laws of chance. Three centuries later Bertrand Russell would comment on this apparent oxymoron: ‘How dare we speak of the laws of chance? Is not chance the antithesis of all law?’

The Frenchmen analysed Gombaud’s question and soon realised that it was a relatively trivial problem which could be solved by rigorously defining all the potential outcomes of the game and assigning an individual probability to each one. Both Pascal and Fermat were capable of independently solving Gombaud’s problem, but their collaboration speeded up the discovery of a solution and led them to a deeper exploration of other more subtle and sophisticated questions related to probability.

Probability problems are sometimes controversial because the mathematical answer, the true answer, is often contrary to what intuition might suggest. This failure of intuition is perhaps surprising because ‘survival of the fittest’ ought to provide a strong evolutionary pressure in favour of a brain naturally capable of analysing questions of probability. You can imagine our ancestors stalking a young deer, and weighing up whether or not to attack. What is the risk that a stag is nearby ready to defend its offspring and injure its assailant? On the other hand what is the chance that a better opportunity for a meal might arise if this one is judged too risky? A talent for analysing probability should be part of our genetic makeup and yet often our intuition misleads us.

One of the most counterintuitive probability problems concerns the likelihood of sharing birthdays. Imagine a football pitch with 23 people on it, the players and the referee. What is the probability that any two of those 23 people share the same birthday? With 23 people and 365 birthdays to chose from, it would seem highly unlikely that anybody would share the same birthday. If asked to put a figure on it most people would guess a probability of perhaps 10% at most. In fact, the actual answer is just over 50% – that is to say, on the balance of probability, it is more likely than not that two people on the pitch will share the same birthday.

The reason for this high probability is that what matters more than the number of people is the number of ways people can be paired. When we look for a shared birthday, we need to look at pairs of people not individuals. Whereas there are only 23 people on the pitch, there are 253 pairs of people. For example, the first person can be paired with any of the other 22 people giving 22 pairings to start with. Then, the second person can be paired with any of the remaining 21 people (we have already counted the second person paired with the first person so the number of possible pairings is reduced by one), giving an additional 21 pairings. Then, the third person can be paired with any of the remaining 20 people, giving an additional 20 pairings, and so on until we reach a total of 253 pairs.

The fact that the probability of a shared birthday within a group of 23 people is more than 50% seems intuitively wrong, and yet it is mathematically undeniable. Strange probabilities such as this are exactly what bookmakers and gamblers rely on in order to exploit the unwary. The next time you are at a party with more than 23 people you might want to make a wager that two people in the room will share a birthday. Please note that with a group of 23 people the probability is only slightly more than 50%, but the probability rapidly rises as the group increases in size. Hence, with a party of 30 people it is certainly worth betting that two of them will share the same birthday.

Fermat and Pascal founded the essential rules which govern all games of chance and which can be used by gamblers to define perfect playing and betting strategies. Furthermore, these laws of probability have found applications in a whole series of situations, ranging from speculating on the stock market to estimating the probability of a nuclear accident. Pascal was even convinced that he could use his theories to justify a belief in God. He stated that ‘the excitement that a gambler feels when making a bet is equal to the amount he might win multiplied by the probability of winning it’. He then argued that the possible prize of eternal happiness has an infinite value and that the probability of entering heaven by leading a virtuous life, no matter how small, is certainly finite. Therefore, according to Pascal’s definition, religion was a game of infinite excitement and one worth playing, because multiplying an infinite prize by a finite probability results in infinity.

As well as sharing the parentage of probability theory, Fermat was deeply involved in the founding of another area of mathematics, calculus. Calculus is the ability to calculate the rate of change, known as the derivative, of one quantity with respect to another. For example, the rate of change of distance with respect to time is better known simply as velocity. For mathematicians the quantities tend to be abstract and intangible but the consequences of Fermat’s work were to revolutionise science. Fermat’s mathematics enabled scientists to better understand the concept of velocity and its relation to other fundamental quantities such as acceleration – the rate of change of velocity with respect to time.

Economics is a subject heavily influenced by calculus. Inflation is the rate of change of price, known as the derivative of price, and furthermore economists are often interested in the rate of change of inflation, known as the second derivative of price. These terms are frequently used by politicians and the mathematician Hugo Rossi once observed the following: ‘In the fall of 1972 President Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used a third derivative to advance his case for re-election.’

For centuries Isaac Newton was thought to have discovered calculus independently and without any knowledge of Fermat’s work, but in 1934 Louis Trenchard Moore discovered a note which set the record straight and gave Fermat the credit he deserves. Newton wrote that he developed his calculus based on ‘Monsieur Fermat’s method of drawing tangents’. Ever since the seventeenth century calculus has been used to describe Newton’s law of gravity and his laws of mechanics, which depend on distance, velocity and acceleration.

The discovery of calculus and probability theory would have been more than enough to earn Fermat a place in the mathematicians’ hall of fame, but his greatest achievement was in yet another branch of mathematics. While calculus has since been used to send rockets to the moon, and while probability theory has been used for risk assessment by insurance companies, Fermat’s greatest love was for a subject which is largely useless – the theory of numbers. Fermat was driven by an obsession to understand the properties of and the relationships between numbers. This is the purest and most ancient form of mathematics and Fermat was building on a body of knowledge that had been handed down to him from Pythagoras.

The Evolution of Number Theory

After Pythagoras’ death the concept of mathematical proof rapidly spread across the civilised world, and two centuries after his School was burnt to the ground the hub of mathematical study had moved from Croton to the city of Alexandria. In 332 BC, having conquered Greece, Asia Minor and Egypt, Alexander the Great decided that he would build a capital city that would be the most magnificent in the world. Alexandria was indeed a spectacular metropolis but not immediately a centre of learning. It was only when Alexander died and his half-brother Ptolemy I ascended the throne of Egypt that Alexandria became home to the world’s first-ever university. Mathematicians and other intellectuals flocked to Ptolemy’s city of culture, and although they were certainly drawn by the reputation of the university, the main attraction was the Alexandrian Library.

The Library was the idea of Demetrius Phalaerus, an unpopular orator who had been forced to flee Athens, and who eventually found sanctuary in Alexandria. He persuaded Ptolemy to gather together all the great books, assuring him that the great minds would follow. Once the tomes of Egypt and Greece had been installed, agents scoured Europe and Asia Minor in search of further volumes of knowledge. Even tourists to Alexandria could not escape the voracious appetite of the Library. Upon entering the city, their books were confiscated and taken to the scribes. The books were copied so that while the original was donated to the Library, a duplicate could graciously be given to the original owner. This meticulous replication service for ancient travellers gives today’s historians some hope that a copy of a great lost text will one day turn up in an attic somewhere in the world. In 1906 J.L. Heiberg discovered in Constantinople just such a manuscript, The Method, which contained some of Archimedes’ original writings.

Ptolemy’s dream of building a treasure house of knowledge lived on after his death, and by the time a few more Ptolemys had ascended the throne the Library contained over 600,000 books. Mathematicians could learn everything in the known world by studying at Alexandria, and there to teach them were the most famous academics. The first head of the mathematics department was none other than Euclid.

Euclid was born in about 330 BC. Like Pythagoras, Euclid believed in the search for mathematical truth for its own sake and did not look for applications in his work. One story tells of a student who questioned him about the use of the mathematics he was learning. Upon completing the lesson, Euclid turned to his slave and said, ‘Give the boy a penny since he desires to profit from all that he learns.’ The student was then expelled.

Euclid devoted much of his life to writing the Elements, the most successful textbook in history. Until this century it was also the second best-selling book in the world after the Bible. The Elements consists of thirteen books, some of which are devoted to Euclid’s own work, and the remainder being a compilation of all the mathematical knowledge of the age, including two volumes devoted entirely to the works of the Pythagorean Brotherhood. In the centuries since Pythagoras, mathematicians had invented a variety of logical techniques which could be applied in different circumstances, and Euclid skilfully employed them all in the Elements. In particular Euclid exploited a logical weapon known as reductio ad absurdum, or proof by contradiction. The approach revolves around the perverse idea of trying to prove that a theorem is true by first assuming that the theorem is false. The mathematician then explores the logical consequences of the theorem being false. At some point along the chain of logic there is a contradiction (e.g. 2 + 2 = 5). Mathematics abhors a contradiction and therefore the original theorem cannot be false, i.e. it must be true.

The English mathematician G.H. Hardy encapsulated the spirit of proof by contradiction in his book A Mathematician’s Apology: ‘Reductio ad absurdum, which Euclid loved so much, is one of a mathematician’s finest weapons. It is a far finer gambit than any chess play: a chess player may offer the sacrifice of a pawn or even a piece, but a mathematician offers the game.’

One of Euclid’s most famous proofs by contradiction established the existence of so-called irrational numbers. It is suspected that irrational numbers were originally discovered by the Pythagorean Brotherhood centuries earlier, but the concept was so abhorrent to Pythagoras that he denied their existence.

When Pythagoras claimed that the universe is governed by numbers he meant whole numbers and ratios of whole numbers (fractions) together known as rational numbers. An irrational number is a number that is neither a whole number nor a fraction, and this is what made it so horrific to Pythagoras. In fact, irrational numbers are so strange that they cannot be written down as decimals, even recurring decimals. A recurring decimal such as 0.111111 … is in fact a fairly straightforward number, and is equivalent to the fraction

⁄

. The fact that the ‘1’ repeats itself forever means that the decimal has a very simple and regular pattern. This regularity, despite the fact that it continues to infinity, means that the decimal can be rewritten as a fraction. However, if you attempt to express an irrational number as a decimal you end up with a number which continues forever with no regular or consistent pattern.

The concept of an irrational number was a tremendous breakthrough. Mathematicians were looking beyond the whole numbers and fractions around them, and discovering, or perhaps inventing, new ones. The nineteenth-century mathematician Leopold Kronecker said, ‘God made the integers; all the rest is the work of man.’

The most famous irrational number is π. In schools it is sometimes approximated by 3

⁄

or 3.14; however, the true value of π is nearer 3.14159265358979323846, but even this is only an approximation. In fact, π can never be written down exactly because the decimal places go on forever without any pattern. A beautiful feature of this random pattern is that it can be computed using an equation which is supremely regular:

By calculating the first few terms, you can obtain a very rough value for π, but by calculating more and more terms an increasingly accurate value is achieved. Although knowing π to 39 decimal places is sufficient to calculate the circumference of the universe accurate to the radius of a hydrogen atom, this has not prevented computer scientists from calculating π to as many decimal places as possible. The current record is held by Yasumasa Kanada of the University of Tokyo who calculated π to six billion decimal places in 1996. Recently rumours have suggested that the Russian Chudnovsky brothers in New York have calculated π to eight billion decimal places and that they are aiming to reach a trillion decimal places. However, even if Kanada or the Chudnovsky brothers carried on calculating until their computers sapped all the energy in the universe, they would still not have found the exact value of π. It is easy to appreciate why Pythagoras conspired to hide the existence of these mathematical beasts.

The value of π to over 1500 decimal places

When Euclid dared to confront the issue of irrationality in the tenth volume of the Elements the goal was to prove that there could be a number which could never be written as a fraction. Instead of trying to prove that π is irrational, he examined the square root of two, √2 – the number which when multiplied by itself is equal to two. In order to prove that √2 could not be written as a fraction Euclid used reductio ad absurdum and began by assuming that it could be written as a fraction. He then demonstrated that this hypothetical fraction could be simplified. Simplification of a fraction means, for example, that the fraction

⁄

can be simplified to

⁄

by dividing top and bottom by 2. In turn

⁄

can be simplified to

⁄

, which cannot be simplified any further and therefore the fraction is then said to be in its simplest form. However, Euclid showed that his hypothetical fraction, which was supposed to represent √2, could be simplified not just once, but over and over again an infinite number of times without ever reducing to its simplest form. This is absurd because all fractions must eventually have a simplest form, and therefore the hypothetical fraction cannot exist. Therefore √2 cannot be written as a fraction and is irrational. An outline of Euclid’s proof is given in Appendix 2 (#litres_trial_promo).

By using proof by contradiction Euclid was able to prove the existence of irrational numbers. For the first time numbers had taken on a new and more abstract quality. Until this point in history all numbers could be expressed as whole numbers or fractions, but Euclid’s irrational numbers defied representation in the traditional manner. There is no other way to describe the number equal to the square root of two other than by expressing it as √2, because it cannot be written as a fraction and any attempt to write it as a decimal could only ever be an approximation, e.g. 1.414213562373 …

For Pythagoras, the beauty of mathematics was the idea that rational numbers (whole numbers and fractions) could explain all natural phenomena. This guiding philosophy blinded Pythagoras to the existence of irrational numbers and may even have led to the execution of one of his pupils. One story claims that a young student by the name of Hippasus was idly toying with the number √2, attempting to find the equivalent fraction. Eventually he came to realise that no such fraction existed, i.e. that √2 is an irrational number. Hippasus must have been overjoyed by his discovery, but his master was not. Pythagoras had defined the universe in terms of rational numbers, and the existence of irrational numbers brought his ideal into question. The consequence of Hippasus’ insight should have been a period of discussion and contemplation during which Pythagoras ought to have come to terms with this new source of numbers. However, Pythagoras was unwilling to accept that he was wrong, but at the same time he was unable to destroy Hippasus’ argument by the power of logic. To his eternal shame he sentenced Hippasus to death by drowning.

The father of logic and the mathematical method had resorted to force rather than admit he was wrong. Pythagoras’ denial of irrational numbers is his most disgraceful act and perhaps the greatest tragedy of Greek mathematics. It was only after his death that irrationals could be safely resurrected.

Although Euclid clearly had an interest in the theory of numbers, it was not his greatest contribution to mathematics. Euclid’s true passion was geometry, and of the thirteen volumes that make up the Elements, books I to VI concentrate on plane (two-dimensional) geometry and books XI to XIII deal with solid (three-dimensional) geometry. It is such a complete body of knowledge that the contents of the Elements would form the geometry syllabus in schools and universities for the next two thousand years.

The mathematician who compiled the equivalent text for number theory was Diophantus of Alexandria, the last champion of the Greek mathematical tradition. Although Diophantus’ achievements in number theory are well documented in his books, virtually nothing else is known about this formidable mathematician. His place of birth is unknown and his arrival in Alexandria could have been any time within a five-century window. In his writings Diophantus quotes Hypsicles and therefore he must have lived after 150 BC; on the other hand his own work is quoted by Theon of Alexandria and therefore he must have lived before AD 364. A date around AD 250 is generally accepted as being a sensible estimate. Appropriately for a problem-solver, the one detail of Diophantus’ life that has survived is in the form of a riddle said to have been carved on his tomb:

God granted him to be a boy for the sixth part of his life, and adding a twelfth part to this, He clothed his cheeks with down; He lit him the light of wedlock after a seventh part, and five years after his marriage He granted him a son. Alas! late-born wretched child; after attaining the measure of half his father’s full life, chill Fate took him. After consoling his grief by this science of numbers for four years he ended his life.

The challenge is to calculate Diophantus’ life span. The answer can be found in Appendix 3 (#litres_trial_promo).

This riddle is an example of the sort of problem that Diophantus relished. His speciality was to tackle questions which required whole number solutions, and today such questions are referred to as Diophantine problems. He spent his career in Alexandria collecting well-understood problems and inventing new ones, and then compiled them all into a major treatise entitled Arithmetica. Of the thirteen books which made up the Arithmetica, only six would survive the turmoils of the Dark Ages and go on to inspire the Renaissance mathematicians, including Pierre de Fermat. The remaining seven books would be lost during a series of tragic events which would send mathematics back to the age of the Babylonians.

During the centuries between Euclid and Diophantus, Alexandria remained the intellectual capital of the civilised world, but throughout this period the city was continually under threat from foreign armies. The first major attack occurred in 47 BC, when Julius Caesar attempted to overthrow Cleopatra by setting fire to the Alexandrian fleet. The Library, which was located near the harbour, also caught alight, and hundreds of thousands of books were destroyed. Fortunately for mathematics Cleopatra appreciated the importance of knowledge and was determined to restore the Library to its former glory. Mark Antony realised that the way to an intellectual’s heart is via her library, and so marched to the city of Pergamum. This city had already initiated a library which it hoped would provide it with the best collection in the world, but instead Mark Antony transplanted the entire stock to Egypt, restoring the supremacy of Alexandria.

For the next four centuries the Library continued to accumulate books until in AD 389 it received the first of two fatal blows, both the result of religious bigotry. The Christian Emperor Theodosius ordered Theophilus, Bishop of Alexandria, to destroy all pagan monuments. Unfortunately when Cleopatra rebuilt and restocked the Library, she decided to house it in the Temple of Serapis, and so the Library became caught up in the destruction of icons and altars. The ‘pagan’ scholars attempted to save six centuries-worth of knowledge, but before they could do anything they were butchered by the Christian mob. The descent into the Dark Ages had begun.

A few precious copies of the most vital books survived the Christian onslaught and scholars continued to visit Alexandria in search of knowledge. Then in 642 a Moslem attack succeeded where the Christians had failed. When asked what should be done with the Library, the victorious Caliph Omar commanded that those books that were contrary to the Koran should be destroyed, and furthermore those books that conformed to the Koran were superfluous and they too must be destroyed. The manuscripts were used to stoke the furnaces which heated the public baths and Greek mathematics went up in smoke. It is not surprising that most of Diophantus’ work was destroyed; in fact it is a miracle that six volumes of the Arithmetica managed to survive the tragedy of Alexandria.

For the next thousand years mathematics in the West was in the doldrums, and only a handful of luminaries in India and Arabia kept the subject alive. They copied the formulae described in the surviving manuscripts of Greece and then began to reinvent for themselves many of the theorems that had been lost. They also added new elements to mathematics, including the number zero.

In modern mathematics zero performs two functions. First, it allows us to distinguish between numbers like 52 and 502. In a system where the position of a number denotes its value, a symbol is needed to confirm an empty position. For instance, 52 represents 5 times ten plus 2 times one, whereas 502 represents 5 times a hundred plus 0 times ten plus 2 times one, and the zero is crucial for removing any ambiguity. Even the Babylonians in the third millennium BC appreciated the use of zero to avoid confusion, and the Greeks adopted their idea, using a circular symbol similar to the one we use today. However, zero has a more subtle and deeper significance which was only fully appreciated several centuries later by the mathematicians of India. The Hindus recognised that zero had an independent existence beyond the mere spacing role among the other numbers – zero was a number in its own right. It represented a quantity of nothing. For the first time the abstract concept of nothingness had been given a tangible symbolic representation.

This may seem a trivial step forward to the modern reader, but the deeper meaning of the zero symbol had been ignored by all the ancient Greek philosophers, including Aristotle. He had argued that the number zero should be outlawed because it disrupted the consistency of the other numbers – dividing any ordinary number by zero led to an incomprehensible result. By the sixth century the Indian mathematicians no longer brushed this problem under the rug, and the seventh-century scholar Brahmagupta was sophisticated enough to use division by zero as a definition for infinity.

While Europe had abandoned the noble search for truth, India and Arabia were consolidating the knowledge which had been smuggled out of the embers of Alexandria and were reinterpreting it in a new and more eloquent language. As well as adding zero to the mathematical vocabulary, they replaced the primitive Greek symbols and cumbersome Roman numerals with the counting system which has now been universally adopted. Once again, this might seem like an absurdly humble step forward, but try multiplying CLV by DCI and you will appreciate the significance of the breakthrough. The equivalent task of multiplying 155 by 601 is a good deal simpler. The growth of any discipline depends on the ability to communicate and develop ideas, and this in turn relies on a language which is sufficiently detailed and flexible. The ideas of Pythagoras and Euclid were no less elegant for their awkward expression, but translated into the symbols of Arabia they would blossom and give fruit to newer and richer concepts.

In the tenth century the French scholar Gerbert of Aurillac learnt the new counting system from the Moors of Spain and through his teaching positions at churches and schools throughout Europe he was able to introduce the new system to the West. In 999 he was elected Pope Sylvester II, an appointment which allowed him to further encourage the use of Indo-Arabic numerals. Although the efficiency of the system revolutionised accounting and was rapidly adopted by merchants, it did little to inspire a revival in European mathematics.

The vital turning point for Western mathematics occurred in 1453 when the Turks ransacked Constantinople. During the intervening years the manuscripts which had survived the desecration of Alexandria had congregated in Constantinople, but once again they were threatened with destruction. Byzantine scholars fled westward with whatever texts they could preserve. Having survived the onslaught of Caesar, Bishop Theophilus, Caliph Omar and now the Turks, a few precious volumes of the Arithmetica made their way back to Europe. Diophantus was destined for the desk of Pierre de Fermat.