The tree of mathematics

How counting became a science, and who helped it grow

Most of us left school with a feeling that mathematics was something only a few people could follow. Yet it sits behind a great deal of what we use every day: the phone in our hands, the bridges we cross, the weather forecast we check, the medicines we take, the banks that keep our money safe. This essay is for people who have little knowledge of mathematics, or little interest in it, but who have wondered what it really is and how it produced such results. It is a long essay, about an hour’s reading in all, so it is best taken a part at a time. We ask for the reader’s patience, because the ideas build on one another.


Mathematics has long been called the queen of the sciences, because so many other subjects lean on it. Yet it is not one subject. It is a tree with many branches, and each branch grew out of a particular need. Counting led to numbers and zero. Measuring land led to geometry. Looking at the sky led to trigonometry. Solving everyday puzzles of buying and sharing led to algebra. Studying motion and change led to calculus, and living with chance led to probability and statistics. We will walk through these branches one by one, without going deep into any of them, and find what each one gave us. We do not need to follow every step. If we can follow the idea, that is enough. A few simple drawings help along the way, and a table near the end brings the branches together.

It is also a story of people, and not all of them were mathematicians first. Omar Khayyam, remembered by most for his poetry, worked out how to solve cubic equations. Florence Nightingale, the founder of modern nursing, used statistics to show that soldiers were dying of dirt and disease and not only of wounds. Pierre de Fermat and François Viète were lawyers. Thomas Bayes was a minister. Ada Lovelace, daughter of the poet Lord Byron, wrote what is widely regarded as the first published computer program. Hypatia taught in Alexandria, in Egypt, some 1,600 years ago. Ideas came from farmers, traders, priests, astronomers, clerks and teachers, in many places and many centuries.

This is not a story about which part of the world did more. It is an attempt to know what happened, as far as the records show. The Greeks made proof the centre of the subject. India gave us zero as a number. China and the Islamic world added methods of their own. From about the 1600s, much of the new mathematics came from Europe. Every step stood on earlier ones. Where the records are unclear, this essay says so.

One more thing is worth knowing before we begin. Mathematics also learned where its own limits lie. In the 1930s, Kurt Gödel showed that in any consistent system of rules rich enough to cover ordinary arithmetic, there are true statements that cannot be proved from within it. Soon after, Alan Turing showed that there are questions no computer, however powerful, can ever answer. So the story is not only about what mathematics can do. It is also about what it has shown cannot be done, which is a discovery in its own right.

Part I: Where mathematics began

Before the names

Long before there were professors, academies or journals, people already needed mathematics. Someone had to know how much grain had been stored. Someone else had to divide land, work out a worker’s ration, measure a wall or predict the return of a star.

We do not know the names of most of those first mathematicians. Their work survives in marks pressed into clay, painted on papyrus (a paper-like material made from reeds), carved into stone or copied by later hands. Often the problem was kept and the person who solved it was forgotten.

In Mesopotamia, the land between the Tigris and Euphrates rivers, mostly in present-day Iraq, scribes developed ways of doing arithmetic, geometry and practical calculation thousands of years ago. Their mathematics served administration, farming, trade, building and astronomy. These were not isolated tricks but procedures that could be used again and again.

Picture a scribe pressing a reed pen into wet clay. A field has a certain length and breadth, grain has to be divided, a payment has to be worked out. He is solving the problem in front of him, not looking for a universal rule. But once the solution is written down, it no longer belongs only to that moment. It can be checked and taught, and it no longer depends on one person’s memory.

Egypt, along the Nile in north-eastern Africa, had its own practical mathematics. The best-known record is the Rhind papyrus, a scroll copied around 1550 BCE by a scribe named Ahmes from an older text. It holds 84 problems on sharing food, measuring fields and storing grain, and it handles fractions by a method of its own. It also gives a rule for the area of a circle that comes very close to the true value. The scroll is now in the British Museum in London.

Much of the first mathematics was the work of communities before it was the work of individuals. A rule might be improved by one generation, corrected by another and copied by a third, and a method could travel across cities and kingdoms, changing a little each time. Behind the famous names in this essay stand many unnamed observers, scribes, teachers, translators, instrument-makers and patient calculators.

One of the most important ideas to come out of that effort was zero.

The birth of zero

At first, zero was not a number at all. It only marked an empty place. In 205, the zero tells us there are no tens. Without it, the digits could be misread. Here zero is a placeholder: it keeps every other digit in its right position.

Zero as a placeholder. Without it, 205 and 250 could be mistaken for 25.

Several cultures found ways to show an empty place. Babylonian number writing, from Mesopotamia, could mark an absence with a space or a special sign, and the Maya of present-day Mexico and Central America developed a zero symbol in their own mathematics and calendar. On the Indian subcontinent, a dot used as a placeholder appears in the Bakhshali manuscript, found in a village in what is now Pakistan. Scholars still debate its exact date.

These were important steps, but in each of them zero mainly marked an empty place. The big step came when zero could be used in calculations, like any other number: it could be added, subtracted and worked with.

This step is hard to appreciate now, because zero is so familiar. It can mean nothing, mark the start of a scale, separate positive from negative numbers and help describe quantities that do not exist in the ordinary physical sense. It is both an absence and a thing we use.

In seventh-century India, Brahmagupta gave one of the earliest systematic treatments of zero. In his Brāhmasphuṭasiddhānta, written in 628 CE, he set out rules for using zero, including adding and subtracting it.

His work did not come from nowhere. Indian mathematics already used place value, where a digit’s worth depends on where it stands (the 2 in 205 means two hundreds). Notation, place value, philosophical thought and rules of arithmetic had been coming together slowly. Brahmagupta gave this slippery idea a firm place in mathematics.

Subtract a number from itself and nothing remains. Brahmagupta treated that nothing as a quantity with rules of its own. Zero was now something we could calculate with.

The story was not complete. Brahmagupta also tried rules for dividing by zero, and they did not hold together. Division by zero remained unresolved. He had opened a door, but much beyond it was still unclear.

Mathematics often advances this way. A thinker does not always solve the problem. Sometimes the achievement is to state it so clearly that later generations know exactly where the difficulty lies.

Zero then travelled.

Indian numerals and methods moved through networks of scholars into the Islamic world, where mathematicians studied, adapted and passed them on. Among them was Muhammad ibn Musa al-Khwarizmi (c. 780–c. 850), a scholar in Baghdad, in present-day Iraq, whose writings helped shape algebra and systematic calculation. The word “algorithm”, meaning a step-by-step method of calculation, comes from the Latin form of his name. The word “algebra” comes from the Arabic al-jabr, a word in the title of his best-known book.

Over the following centuries, the number system reached Europe and entered trade, science, bookkeeping and teaching.

This was not a simple handover from one civilization to another. Ideas were translated, changed, explained, criticised and improved by one community after another.

No single civilisation owns mathematics. But saying ‘everyone contributed’ is not enough either. A fair account recognises how ideas were passed along, and also names the people whose work changed what was possible.

Without zero, we could not write 2,005 and 2,050 and tell them apart. Bank balances, thermometers and clocks all depend on it. An empty place had become part of the foundation of our number system.

We have told the longer story of zero separately, in How ‘shunya’ shaped the modern world.

Geometry: From land to proof

Geometry began with land.

A field had to be divided. A wall had to be raised. A boundary had to be marked after the river had changed its course. A builder needed a right angle. A surveyor needed a reliable measure. An astronomer needed to describe the shape of the heavens.

Before geometry became a subject of diagrams and proofs, it was an answer to practical worries.

In ancient Mesopotamia, surviving clay tablets show increasingly systematic ways of finding areas, lengths and other measures. The mathematics was tied to the real world of fields, buildings, bricks and boundaries.

The first geometers probably did not ask what space is. They asked how much land a field covered, how much material a building would need, where a boundary should lie and how a shape could be divided fairly. The questions were local, but the methods they produced could travel.

A particular field might disappear beneath a later settlement. A wall might crumble. A boundary might be erased. But a method for finding an area could outlast the object that first needed it.

That was the beginning of general rules. A rectangle was no longer just this plot of land. It became a shape that could be discussed anywhere. A triangle was no longer only the outline of a roof or courtyard. It became a relationship between lines, angles and areas.

Practical geometry had begun to detach itself from individual things.

The Greek tradition gave this a new form. Its great achievement was not that earlier peoples had never measured or noticed patterns. They had. The change was a growing insistence that mathematical knowledge should be justified step by step.

That is the difference between a rule and a proof. A rule says that a procedure gives the answer. A proof explains why it must.

The rule named after Pythagoras

The famous rule about right-angled triangles, that the square on the longest side equals the sum of the squares on the other two, is named after the Greek thinker Pythagoras (c. 570–c. 495 BCE). But it was known long before him.

A Babylonian clay tablet called Plimpton 322, about 3,800 years old, lists sets of numbers that fit the rule, though scholars still debate what it was for. Another clay tablet, YBC 7289, shows a square with its diagonals and gives the length of the diagonal as a number very close to the square root of 2.

The rule also appears in the Shulba Sutras, Indian texts of rules for building fire altars (shulba means a measuring cord), whose oldest parts are usually dated to around 800 BCE or later, and in ancient Chinese texts.

Whether Pythagoras himself proved it is not known. What the Greeks added was the habit of proving such things.

Euclid of Alexandria, in Egypt, traditionally dated to around 300 BCE, wrote the most famous example of this approach: the Elements, a book that gathered definitions, assumptions, propositions and proofs into a clear structure.

Euclid was not necessarily the first to discover everything in the book. Greek geometry grew out of knowledge inherited from earlier cultures, including the practical geometry of Mesopotamia and Egypt. His achievement was partly one of organisation. He arranged geometry like a building: definitions at the base, then the starting points he allowed, then propositions rising one above another.

A measurement can be wrong because the rope was stretched badly or the ground was uneven. A proof, if it is sound, does not depend on the weather, the soil or the ruler’s hand.

The physical world raises the first question. Proof then asks whether the answer holds only for this object, or for every object of that kind.

Euclid’s geometry is still used in building plans, maps and computer graphics.

Archimedes: Approaching the circle

Another Greek mathematician and physicist, Archimedes (287–c. 212 BCE), took geometry into the study of curves, areas and volumes.

A shape with straight sides is easy to deal with. A circle is harder. Its edge is curved, yet mathematicians wanted to find its circumference (the distance around it) and area as surely as they did for a rectangle.

Archimedes found a way. Instead of measuring the curve directly, he placed polygons inside and outside the circle. As the number of sides grew, the polygons fitted the circle more and more closely.

A hexagon, a 12-sided figure and a 24-sided figure inside the same circle.

A difficult curved shape could therefore be understood through simpler shapes that came closer and closer to it.

Using this method, Archimedes showed that π, the number we get by dividing a circle’s circumference by its width, lies between about 3.1408 and 3.1429. The true value, 3.14159…, sits between them. (He wrote his limits as the fractions 223/71 and 22/7.)

The idea hints at something mathematics would develop much later: reaching an exact answer through closer and closer approximation.

Liu Hui: Making methods clear

About five centuries later, in China, Liu Hui approached the circle in a very similar way. He lived in the third century CE and is best known for his commentary, written in 263 CE, on The Nine Chapters on the Mathematical Art, a collection of problems and methods compiled by unknown scholars in China over several centuries. Very little is known about his life.

He too worked with polygons inside a circle. Beginning with a hexagon, a six-sided figure, he doubled the number of sides again and again, so that the polygon fitted the circle more and more closely. The circle stays curved and the polygon stays straight-sided, yet the gap between them keeps shrinking. Liu Hui used this to get increasingly accurate values of π and, just as important, to explain why the approximation improved.

The resemblance to Archimedes is striking, but we should not turn it into a story of one copying the other. They belonged to different traditions, and there is no established evidence that Liu Hui’s method came from Archimedes. What they shared was an idea: when a curved shape is hard to measure directly, a simpler shape can be brought closer and closer to it.

Liu Hui’s importance goes beyond the polygon. He did more than copy an old book. He questioned it. A text may keep a rule, but the rule becomes a mystery once the reasoning behind it is lost. His commentary explained the procedures, justified the results and developed arguments of his own. Behind him was knowledge built up by many unknown authors, and ahead of him were readers who might repeat the methods without understanding them. Making a proof clearer can even create new mathematics. Some mathematicians find new things, and others explain old things so that people can use them.

Trigonometry: Measuring what we cannot reach

Geometry gave people a language for shape. Trigonometry gave them a way to reach what could not be touched.

A mountain could be measured without climbing to its top. The height of a tower could be estimated from its shadow. The distance to a ship could be worked out from an angle. The position of a planet could be inferred from observations made on Earth.

The key idea was simple. An angle can tell us about a distance, so a triangle links what we know to what we do not.

Trigonometry grew out of the study of astronomy. Hipparchus (c. 190–c. 120 BCE), a Greek astronomer and mathematician, is associated with early tables of chords, which let astronomers connect angles in a circle with lengths across it.

A chord is a straight line joining two points on a circle. If the angle at the centre is known, the length of the chord can be calculated. If the chord is known, the angle can be worked out.

But observations are never perfect. Shadows blur. Instruments have limits. A small error early in a calculation can grow after many steps.

So mathematicians needed tables. A table keeps the results of countless calculations, so that later astronomers need not begin again. It turns mathematics into a shared tool.

In India, trigonometry took a major step forward through Aryabhata, an Indian mathematician and astronomer born around 476 CE. His Āryabhaṭīya, composed around 499 CE, contains one of the earliest surviving systematic tables of sine values.

The sine can be understood as a half-chord inside a circle.

The sine of an angle: the half-chord compared with the radius.

Aryabhata used the Sanskrit term ardha-jya, meaning “half-chord”, which was shortened to jya or jiva. The word passed into Arabic as jiba. It was later read as jaib, a word meaning a fold or pocket, and European translators rendered it in Latin as sinus. From that we get “sine”.

The word carries a trace of the journey the idea made. Each tradition adapted it, and none simply handed it on unchanged.

Mathematicians in the Islamic world inherited Greek writings on astronomy and Indian methods, then developed them further. They improved tables, clarified definitions and extended trigonometry to problems involving both flat and spherical triangles.

Nasir al-Din al-Tusi (1201–1274), a Persian mathematician and astronomer born in Tus, in present-day Iran, is often credited with treating trigonometry as a subject in its own right rather than only a tool for astronomy.

Trigonometry began as a tool for astronomy and grew questions and methods of its own.

Today we learn sine, cosine and tangent through right-angled triangles. Behind the formulas lies an older human effort: to connect an angle with something too distant or too hard to reach to measure directly.

The same idea is at work whenever a navigator fixes a position from the angle of a star above the horizon, when an engineer works out the path of a projectile, or when a dish is pointed at a satellite so that its signal arrives. The sky was still far away, but it was no longer beyond calculation. Once angles could be turned into distances, mathematicians were ready to ask about quantities in general. That question leads to algebra.


Part II: The tree branches out

Algebra: Finding the unknown

Trigonometry showed that an angle could tell us how far away, or how tall, a distant object is. Algebra went a step further. It let mathematics reason about something before it was known at all.

A merchant might know the total value of a deal but not the price of one item. A surveyor might know the area of a field but not one of its sides. An astronomer might notice a pattern in the sky and want to find the rule behind it.

The unknown now had a place in the calculation. It might first appear as a word, a mark or a drawing, and in time it became a letter. It could be named, moved from one side of an equation to the other and combined with known quantities, all before its value was found.

Arithmetic asks what seven times eight is. Algebra asks: if some unknown number multiplied by eight gives fifty-six, what is the number? The second question stands for a whole class of problems, so algebra turns a single puzzle into a general method.

Rules for debts and fortunes

Indian mathematicians made major contributions to algebra. Brahmagupta gave rules for positive and negative quantities, using the language of assets and debts. A positive number was property. A negative number was a debt.

Negative numbers feel odd because we cannot place them in front of us, as we can five apples. But we understand a debt of five coins, a temperature below zero or a position five steps to the left. The language of debt made the strange familiar. Numbers were becoming less like counters in the hand and more like points on a line that stretches in both directions.

Al-Khwarizmi and the art of balancing

In Baghdad, then a leading centre of learning, in what is often called the Islamic Golden Age (roughly the eighth to the thirteenth century), al-Khwarizmi helped give algebra a systematic form.

An algebraic method tells us how to change a problem, step by step, until the unknown can be found. Today we write x + 5 = 12, and subtract 5 from both sides to get x = 7.

An equation as a balance. Whatever is done to one side is done to the other.

Al-Khwarizmi did not use symbols like these. He described each step in words. But the idea was already there: an equation can be changed without changing its meaning.

The equation is like a set of scales. Do the same to both sides and it stays balanced.

Al-Khwarizmi was not working alone. His world drew on Greek geometry, Indian number methods and earlier mathematics of the Near East. His achievement was to organise these methods so that they could be taught, copied and, in time, translated.

Omar Khayyam and equations that became curves

Some equations are easy to solve. If x² = 9, the answer is x = 3 or x = −3.

Equations get much harder when the unknown appears in higher powers. An equation with x² is called a quadratic equation. One with x³ is called a cubic equation. By the time mathematicians reached cubic equations, finding general methods of solving them was a hard problem.

Two curves cross. The position of the crossing point gives the answer.

Omar Khayyam (1048–1131), a Persian mathematician, astronomer and philosopher from Nishapur, in present-day Iran, tackled it with geometry. He is also remembered for the Rubáiyát, a collection of four-line poems.

Instead of treating an equation only as a calculation, he turned it into a problem of drawing. Draw two curves on a page. The point where they cross belongs to both. So the solution of an equation can become a point on a diagram, a place on the page and not only a number hidden in a line of symbols.

Khayyam did not find a general formula for every cubic equation. But his geometric method was an important step in linking algebra with geometry.

Sometimes mathematics advances not by solving a problem completely, but by finding a better way to see it.

When letters entered the equation

For a long time, algebra was written mostly in words. A problem might be described as “a square and ten roots equal thirty-nine”, rather than x² + 10x = 39.

François Viète (1540–1603), a French mathematician and lawyer, helped create a more systematic notation, using letters for unknown quantities and for known ones.

A letter could stand for one unknown number, or for a whole class of numbers. That made general statements possible. A good notation does more than shorten writing. It lets a calculation stay partly unfinished while the thinker carries on working with it.

Every spreadsheet formula and every computer program uses this idea: put a letter where the answer will go, and work out the rest.

Galois and the question behind the equation

By the nineteenth century, mathematicians could solve many kinds of equations. But some stubbornly resisted the usual methods.

Évariste Galois (1811–1832), a young French mathematician who died in a duel at twenty, and whose short life became part of mathematical legend, took up the problem.

He studied equations with powers of an unknown, which mathematicians call polynomial equations. His question was a deeper one: why can some equations be solved with the familiar steps of arithmetic and roots, while others cannot? That is very different from asking for the answer to one equation. Given a puzzle, we can look for its solution. Or we can ask what it is about the whole kind of puzzle that makes some solvable and others not.

Galois moved mathematics towards the second question. His ideas led to group theory, a branch of mathematics about symmetry: the ways something can be changed and still look the same. Earlier mathematicians had asked whether an equation could be solved. Galois asked what decides it. Mathematics was beginning to look for the pattern underneath a whole family of problems, and that changed algebra and much of the mathematics that followed. Today the same ideas help chemists study the shapes of molecules and physicists study the building blocks of matter.

Number theory: The hidden life of numbers

Algebra taught mathematics to reason about the unknown. Number theory looks at the most familiar things of all: the whole numbers, that is, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 … and so on without end.

A child can count them, a merchant can add them and a computer can store them. Yet the longer mathematicians study them, the more mysterious they become.

Number theory’s questions sound simple but can resist the best minds for centuries. The German mathematician Carl Friedrich Gauss is said to have called mathematics the queen of the sciences, and number theory the queen of mathematics.

Some numbers, such as 12, can be built by multiplying smaller numbers (3 × 4). Others, such as 2, 3, 5, 7 and 11, cannot. They can be divided only by themselves and by the number 1. These are called prime numbers, as opposed to composite numbers like 4, 6, 8, 9 and 10, which can be built from smaller ones. The number 1 is left out of both groups. Why do they come at such uneven gaps, and yet grow rarer in a steady way as the numbers get bigger?

Here is another puzzle. Take 2x + 4y = 1. In fractions it has endless answers, such as x = 1/2 and y = 0. In whole numbers it has none. Why can the same puzzle have endless answers in one kind of number and none in another?

Euclid and the endless primes

We have already met the primes:

2, 3, 5, 7, 11, 13, 17 …

Every whole number greater than 1 is either a prime or can be built by multiplying primes. For example:

60 = 2 × 2 × 3 × 5

But does the list of primes ever end? Euclid answered no, in Book IX of the Elements.

His argument can be tried on a small list. Pretend for a moment that 2, 3 and 5 are the only primes. Multiply them together and add 1: 2 × 3 × 5 + 1 = 31. Dividing 31 by 2, 3 or 5 leaves a remainder of 1, so none of them goes into it. So 31 must be a prime that was missing from the list.

The same trick works on any list. Multiply all its primes together and add 1. The new number leaves a remainder of 1 when divided by any prime on the list, so either it is itself a prime, or it is built from primes that are not on the list. Pretend that 2, 3, 5, 7, 11 and 13 are all the primes. The new number is 30,031. That is not a prime, but it is 59 × 509, and both 59 and 509 are primes that were missing. Either way, the list was incomplete.

So there must always be another prime. The argument does not find the next prime. It shows that there can be no last one. We reach the endless by reasoning, without checking every number.

Patterns in verse: Pingala and the Fibonacci numbers

In India, the scholar Pingala (c. third to second century BCE; the dates are uncertain) studied the rhythms of Sanskrit verse. He described verse by patterns of short and long syllables, and worked out how many patterns of a given length were possible.

Short and long work like 0 and 1, so his patterns resemble binary numbers.

Later writers, including Virahanka (about 700 CE) and Hemachandra (twelfth century), noticed that the number of patterns follows a sequence in which each number is the sum of the two before it:

1, 2, 3, 5, 8, 13 …

This is the sequence we call the Fibonacci numbers. Leonardo of Pisa, in Italy, known as Fibonacci, wrote about it in his Liber Abaci in 1202, the book that also helped carry the Hindu–Arabic numerals to Europe.

China and the puzzle of remainders

China also made its own discoveries about whole numbers.

A problem in the Sunzi Suanjing, a text from somewhere between the third and fifth centuries CE, asks: what number leaves remainder 2 when divided by 3, remainder 3 when divided by 5, and remainder 2 when divided by 7?

The smallest answer is 23.

Methods for such puzzles are now called the Chinese Remainder Theorem, and in 1247 Qin Jiushao gave a general method. Ideas like these are still used in computer arithmetic.

Fermat’s last theorem: A margin that challenged mathematics

Consider:

x² + y² = z²

This has whole-number solutions, such as:

3² + 4² = 5²

But what happens when the power changes?

xⁿ + yⁿ = zⁿ

Around 1637, Pierre de Fermat (c.1607–1665), a French lawyer and mathematician, wrote in the margin of his copy of Arithmetica, an ancient Greek book on number problems by Diophantus of Alexandria, that this equation has no positive whole-number solutions when n is greater than 2.

Diophantus, who lived in antiquity, had studied problems with unknown quantities and whole-number answers. His book became a source of inspiration for later European mathematicians, Fermat among them.

Fermat added that he had found a “truly marvellous” proof, but that the margin of the page he was reading from was too narrow to hold it.

No proof by Fermat has survived. The claim stayed unsettled for more than three centuries. Many special cases were proved, and each advance built new areas of number theory.

Then, in 1994–95, Andrew Wiles, a British mathematician, proved it. His proof used mathematics developed long after Fermat’s time, and linked the problem to ideas from several areas of modern mathematics.

A claim can be brilliant and still not be a theorem. Mathematics may admire a conjecture for centuries, but it accepts a theorem only when the reasoning stands up to examination.

Euler, Gauss and Ramanujan

The Swiss mathematician Leonhard Euler (1707–1783) brought great energy to number theory. He studied primes, divisibility, perfect numbers (numbers equal to the sum of the smaller numbers that divide them, such as 6 = 1 + 2 + 3) and equations, and linked number theory with analysis, the branch of mathematics that deals with limits, infinite series and change.

Gauss (1777–1855), the German mathematician and astronomer mentioned earlier, showed what number theory could become when handled with discipline. His Disquisitiones Arithmeticae, published in 1801, helped make it a field in its own right.

Gauss was strict about proof, because patterns in numbers can mislead. A statement may hold for the first million cases and still fail at the million-and-first.

Srinivasa Ramanujan (1887–1920) was born in India and was largely self-taught in his early years. He filled notebooks with formulas and discoveries, often without the proofs that professional mathematicians expected.

In 1913 he wrote to the English mathematician G. H. Hardy at Cambridge University in England, and Hardy recognised his gift.

Ramanujan saw relationships in numbers where others saw only lists. He worked on infinite series, continued fractions (fractions stacked inside fractions), partitions and functions of whole numbers.

A partition of a number is a way of writing it as a sum, without regard to order. The number 4 has five partitions:

4
3 + 1
2 + 2
2 + 1 + 1
1 + 1 + 1 + 1

As numbers grow, the number of partitions grows very fast. Ramanujan and Hardy found deep patterns in this growth and ways of estimating it.

Ramanujan often saw results before he could prove them. Others could accept them only once they had been turned into arguments that could be checked.

His story is sometimes told as a rescue, in which Hardy found a gifted stranger and brought him to Cambridge. That picture is too simple. Ramanujan had already produced a great deal of mathematics before Hardy saw his letters. What Hardy offered was a place at Cambridge, long discussions of the mathematics and a way into the wider community of mathematicians.

Ramanujan brought the ideas, and his partnership with Hardy carried them to the world. He died young, in 1920, at the age of 32.

Numbers and the modern world

For centuries, number theory was seen as one of the purest and least practical branches of mathematics. Its questions were about primes, divisibility and equations that seemed to have no use.

That changed with modern cryptography, the science of keeping messages secret.

Some forms of cryptography depend on how hard certain number problems are, such as breaking a very large number into its prime factors. Multiplying two large primes is easy. Recovering the primes from the product can be extremely hard for a computer.

So the numbers that fascinated mathematicians for their own sake now help protect messages, bank payments and digital identities.

A question may begin as curiosity. Generations later, it may become essential to science, engineering or everyday life. The whole numbers look like the entrance hall of mathematics, and beyond the door lies a much larger building.


Part III: Infinity and change

Madhava and the mathematics of infinity

Number theory showed that even the whole numbers hold endless mysteries.

In the late fourteenth and early fifteenth centuries, Madhava of Sangamagrama (c. 1340–c. 1425), an Indian mathematician and astronomer from Kerala, in south-western India, took mathematics into another kind of endlessness. He is the best-known figure of what is called the Kerala school.

Infinity is not simply a very large number. It is the idea of going on without a final step. A finite calculation stops, but an infinite process does not, so how can it give a useful answer? One way is through an infinite series: a sum that goes on for ever, one number added after another, with no last term. Such a sum can come closer and closer to a fixed value.

Reaching the infinite

The number π appears whenever we compare the distance around a circle with its width. Its digits never end and never repeat: 3.14159 … The Kerala school found ways to reach π through infinite series. One of the series linked with Madhava is:

π/4 = 1 − 1/3 + 1/5 − 1/7 + 1/9 − …

The running total of the series, term by term, closing in on π/4.

The sum goes on for ever, yet the running total swings above and below a fixed value and settles closer and closer to it. The sum never has to be finished for the answer to be useful. The Scottish mathematician James Gregory and the German mathematician Gottfried Leibniz found the same series again in the seventeenth century, so it is often called the Madhava–Gregory–Leibniz series.

The series served astronomy. To follow the Sun, Moon and planets, astronomers needed very accurate sines and cosines, the numbers that link an angle with a length, and these cannot be worked out exactly by ordinary arithmetic. Madhava is credited with infinite series for the sine, the cosine and the arctangent (a function that works backwards from a length to an angle), which let a curve be rebuilt from many small steps.

A school, and the question of transmission

Madhava was the best known of a line of Kerala mathematicians that lasted for generations. Parameshvara, Nilakantha Somayaji and Jyesthadeva kept and extended the work, and Jyesthadeva’s Yuktibhāṣā, written around 1530 in Malayalam, the language of Kerala, sets out the reasoning behind it.

The Kerala school reached results strikingly close to ideas that later became central to calculus. Did they reach Europe and shape the calculus of Newton and Leibniz? Direct evidence has not been established. Some historians point to Jesuit scholars who worked in Kerala from the sixteenth century as a possible route, but this is debated and has not been proved. What is documented is already a great deal: infinite series and careful approximation, developed in India more than two centuries before Newton and Leibniz.

Calculus: The mathematics of change

Madhava showed that an endless process could approach a finite answer.

Calculus took the next step: it describes a world that never stays still. Rivers flow, bodies fall, plants grow, temperatures rise and fall, and planets change position. Until then, mathematics had mostly described things as they are. Now it had to describe things as they change.

It has two main questions. How fast is something changing at this exact moment? And how much has built up over a period of time?

The distance travelled is the area under the speed curve, built up from many thin strips.

The first leads to the derivative, the rate of change at a single moment. If a car’s position changes with time, its derivative is its speed at that instant, the number the speedometer shows.

The second leads to the integral. If speed changes every moment, we can divide the time into short intervals, estimate the distance covered in each one, and add the pieces together.

As the intervals get shorter, the estimate improves. As they shrink towards nothing, the total settles on one exact value. That value is the integral.

On a graph, the integral can be seen as the area under a curve. The curve shows a rate. The area shows the amount that has built up.

Before Newton and Leibniz

Calculus did not appear suddenly in the seventeenth century.

Archimedes used methods much like integration when he studied areas, volumes and curved shapes. His method of exhaustion, which squeezes a hard shape between simpler ones, was an early form of this idea.

The Kerala school found infinite series for π and for the sine and cosine more than two centuries before Newton and Leibniz.

These were not the complete modern calculus, but they prepared key ideas: approximation, endless processes, small steps and the approach to a limit.

Newton and Leibniz

The English mathematician and physicist Isaac Newton (1643–1727) developed his calculus from his interest in motion, gravity and changing quantities. He wanted mathematics to follow a moving quantity through time.

Gottfried Wilhelm Leibniz (1646–1716), the German mathematician and philosopher, developed his own version independently.

Newton often thought in terms of motion. Leibniz built a more symbolic and systematic language, and his notation has lasted. The elongated S sign (∫) for the integral is still used today.

The two later quarrelled bitterly over who came first, and national pride, accusations of copying and the power of institutions all entered the dispute. Newton appears to have reached his ideas earlier, while Leibniz published his methods earlier. Historians generally agree that both worked independently, that both deserve foundational credit, and that neither created the whole subject without predecessors.

Putting calculus on firm ground

The early calculus of Newton and Leibniz worked extremely well, but its foundations were not always stated precisely. Mathematicians used “infinitesimals”, quantities said to be smaller than any ordinary number but not zero, while disagreeing about what exactly they were.

In the nineteenth century, the French mathematician and engineer Augustin-Louis Cauchy (1789–1857) and others made the idea of a limit, the value a process comes closer and closer to, exact. They put calculus on firmer ground.

This did not reject Newton and Leibniz. It continued their work. The pioneers had built a bridge across a river, and later mathematicians checked its foundations and showed that it could carry far more weight than the first builders had imagined.

With calculus, mathematicians could model the motion of planets, the flow of fluids, the growth of populations, heat, electricity, sound and countless other processes. But not every future can be known with certainty. Some events stay uncertain, and some things can be understood only through likelihoods. That leads to the next branch of the tree.


Part IV: Living with uncertainty

Probability and statistics: The mathematics of uncertainty

Calculus taught mathematics to describe change. Probability asks a more unsettling question: what can mathematics say when the future is not fully known?

A stone dropped from a height will fall, and its motion can be worked out with calculus. But whether a patient will recover, whether a storm will arrive tomorrow or whether a tossed coin will land heads involves uncertainty.

The unknown is no longer a number waiting to be found. It is an event that may or may not happen.

Probability gives uncertainty a scale: a number from 0 (impossible) to 1 (certain) that says how likely something is. Statistics gives evidence a method: ways of collecting data and judging what it shows. Together they let people reason when information is incomplete and outcomes vary.

From games to mathematics

The modern mathematical study of probability is often traced to letters exchanged in 1654 between the French mathematician Blaise Pascal (1623–1662) and Pierre de Fermat, whom we met in Part II. Earlier thinkers, such as the Italian Gerolamo Cardano, had also written about games of chance.

Pascal and Fermat were asked about a puzzle. Two players had put money on a contest, but the game stopped before either had won. How should the money be shared fairly?

Pascal’s triangle, the first six rows.

The question was not really about gambling. It was about possible futures. They considered the ways the game might have gone on, and divided the stakes according to each player’s chance of winning had the game continued. Chance was no longer merely something that happened to people. It could be analysed.

Pascal also studied a triangle of numbers in which each number is the sum of the two above it. It can be used to count the ways a game can turn out.

It is named after him, but it was known earlier elsewhere. In India it appears in commentaries on Pingala’s verse patterns, under the name Meru Prastara, the “staircase of Mount Meru”. In Persia, al-Karaji wrote about it around the year 1000. In China, Jia Xian and later Yang Hui studied it, and it is still called Yang Hui’s triangle there.

The law hidden in large numbers
The share of heads settles down as the tosses pile up.

Toss a coin once and we cannot know the result beforehand. Toss it ten times and chance still rules. Toss it many thousands of times, and a pattern appears: the share of heads comes close to one half, provided the coin is fair and each toss is independent of the others.

This is the idea behind the law of large numbers, first proved by the Swiss mathematician Jacob Bernoulli (1654–1705). Probability does not predict a single event. It describes the long-run pattern of many events.

An insurance company cannot know which particular house will burn down. It can estimate how many claims to expect across thousands of houses. The single event stays uncertain, but the overall pattern can be measured.

Bayes and evidence

Probability can also help us change our minds. Take a rare disease and a test for it. If someone tests positive, how likely is it that they are really sick? The answer depends not only on how accurate the test is, but also on how common the disease was to begin with.

This kind of reasoning is linked with Thomas Bayes (c. 1701–1761), an English minister and mathematician, whose essay on probability was published after his death, in 1763, by his friend Richard Price. His idea was to begin with what we expect, look at the new evidence, and revise our belief according to how likely that evidence would be under each explanation.

Richard Price, who published Bayes’s essay, gave an example of his own. Imagine someone who has just come into the world and sees the sun rise for the first time. After sunset, the person cannot know whether it will ever rise again. After the second sunrise, hope grows a little. After a hundred, the person is nearly sure. Each new sunrise strengthens the belief. A belief begins with what we know, and is strengthened or weakened by what we then see.

The same idea applies to a medical test for a rare disease. A positive result has to be weighed against how common the disease is. Healthy people greatly outnumber the sick, so many positive results are false alarms. The test is useful, but a single positive result is rarely the last word.

Florence Nightingale and statistics with a purpose

Florence Nightingale (1820–1910) is remembered as the nurse of the Crimean War (1853–56), fought around the Black Sea. Less well known is that she was also one of the best statisticians of her time.

She reached the army hospital at Scutari, near Istanbul, in the winter of 1854. Soldiers were dying there in large numbers, and many were dying not of their wounds but of disease. Nightingale kept careful records. When she compared the figures, they showed what the wards alone could not: dirt, overcrowding and bad drains were killing more men than the fighting. After sanitary reforms, the deaths fell sharply.

Back in England, she turned her records into reports and charts, made plain enough for politicians and civil servants to read at a glance. Her aim was practical. She wanted hospitals and army barracks cleaned up, and numbers were how she made the case. In 1858 she became the first woman elected to the Statistical Society of London, now the Royal Statistical Society.

Her work also reminds us that numbers do not speak for themselves. Someone chooses what to count and how to group it. An average can hide the people doing worst, and a tidy percentage can hide what it means for those who live it. A precise figure can still be the answer to a badly asked question.

Probability and statistics help us live with what we cannot know. But mathematics was about to ask something stranger: can reasoning itself be written down as rules, and could a machine follow them?


Part V: When mathematics questioned itself

Logic: Can reasoning be turned into rules?

Probability helps us reason when the future is uncertain. Logic asks something more basic: when does a conclusion really follow from what has already been said?

Consider:

All humans are mortal.
Socrates is human.
Therefore, Socrates is mortal.

If the first two statements are accepted and the reasoning is valid, the conclusion has to follow.

The study of such patterns of argument is often traced to Aristotle (384–322 BCE), the Greek philosopher, whose analysis of the syllogism, an argument like the one above, shaped logic in the West for centuries. Other cultures built their own traditions. In India, the Nyāya school developed rules for inference and debate. In China, the Mohist thinkers studied argument as well.

They shared one concern: how can the mind tell a sound argument from one that is merely persuasive?

When algebra began to speak logic

We saw earlier that al-Khwarizmi helped make algebra a language for working with numbers and unknowns. More than a thousand years later, George Boole (1815–1864), an English mathematician and philosopher, showed that the same idea, symbols and rules, could be used for reasoning itself.

In ordinary algebra, a symbol stands for a number. In Boole’s system, a symbol could stand for a statement, a condition or a group of things, and words like “and”, “or” and “not” could be handled by fixed rules.

Boole’s “and” and “or”, built from switches.

Al-Khwarizmi’s algebra asked what number was hidden. Boole’s asked what follows when statements are put together in certain ways. A thought could now be written down as a calculation.

In 1937, the American engineer and mathematician Claude Shannon (1916–2001) noticed that Boole’s rules match the way electrical switches behave. Two switches in a row let current through only if both are on: that is “and”. Two switches side by side let current through if either is on: that is “or”.

A modern computer does not understand a sentence the way we do. At its most basic level it moves signals through switches according to rules, and Boole’s logic is the mathematics of those rules. When we type two words into a search engine and get pages that contain both, we are using Boole’s “and”.

Babbage, Lovelace and the machine that was never built

Charles Babbage (1791–1871), an English mathematician and inventor, wanted to take the drudgery out of calculation. Printed tables of numbers, used in navigation and engineering, were full of mistakes made by hand. He designed the Difference Engine, a machine to work out such tables automatically, and then something far more ambitious: the Analytical Engine, a proposed mechanical machine that could carry out any sequence of operations it was given.

The Analytical Engine was never finished. But its design held ideas we now associate with general-purpose computers. In 1991, the Science Museum in London completed a Difference Engine built from Babbage’s later plans, and it worked.

Ada Lovelace (1815–1852), an English mathematician and writer, was the daughter of the poet Lord Byron. She had loved mathematics from childhood, and she came to know Babbage and his work.

In 1843 she published her English translation of an article about the Analytical Engine by the Italian mathematician Luigi Menabrea, together with notes of her own that were about three times as long as the article. One of the notes sets out a step-by-step method for calculating a series of numbers called the Bernoulli numbers. It is widely regarded as the first published computer program.

But her deeper insight went beyond that calculation. She saw that a machine might work on symbols according to rules, and not only on numbers. If musical notes, letters or other things could be represented by numbers, the machine could work on those as well. It could be a general-purpose machine for handling symbols, and not just a fast calculator.

Gödel and the limits of proof

By the early twentieth century, many mathematicians hoped that all of mathematics could be built on a secure base of clearly stated rules. The best-known voice was the German mathematician David Hilbert. The hope was that, with enough rules followed carefully enough, every mathematical truth could in principle be proved.

Kurt Gödel (1906–1978), a logician born in Brno, then in Austria-Hungary and now in the Czech Republic, showed in 1931 that this hope cannot be met. In any consistent system of clearly listed rules powerful enough to do ordinary arithmetic, there are statements that can be neither proved nor disproved using those rules alone.

He found a way to build, inside such a system, a statement that says in effect: “This statement cannot be proved in this system.” If the system could prove it, it would be proving something false. So it cannot, and the statement is therefore true. There is a truth that the rules cannot reach.

This does not mean that mathematics is unreliable. Gödel’s result is itself a precise mathematical theorem, about the limits of proof. Mathematics had found a boundary inside its own foundations.

Turing and the limits of computation

Alan Turing (1912–1954), an English mathematician and one of the founders of computer science, took a different route. In 1936 he imagined an extremely simple machine: a long tape of squares, a head that reads and writes a symbol on one square at a time, and a short list of rules that tell it what to do next.

Turing’s imagined machine: a tape, a head and a few rules.

The machine is simple on purpose. Yet Turing argued that any step-by-step procedure that can be carried out at all can be carried out by a machine of this kind.

With this idea he could ask a precise question: is there a general method that can decide, for any program, whether it will eventually finish or run for ever? He showed that there is not. No universal method can answer this for every possible program.

The result matters far beyond the imaginary machine. It tells us that computation has limits that no faster machine can remove. Mathematicians built systems of symbols to automate reasoning, and those systems then showed that automation has limits.

Turing is also remembered for his wartime work at Bletchley Park, in England, where he helped break the German Enigma cipher during the Second World War. The simple machine he imagined in 1936 is the model on which the theory of every modern computer rests.

From rules to structure

Logic taught mathematicians to strip an argument down to its essential rules, and computation taught them to strip a procedure down to its essential steps.

Geometry was about to ask a similar question: what remains of a shape when we strip it down to its essential relationships?

That takes us beyond Euclid.


Part VI: Beyond Euclid

The parallel postulate

For more than two thousand years, Euclid’s geometry seemed to describe the space we live in. Lines behaved as expected, and the angles of a triangle added up to 180 degrees.

But one of Euclid’s starting assumptions caused trouble. It is called the parallel postulate. Picture a long straight road, and a point beside it. We can draw one straight line through that point that runs alongside the road for ever and never meets it. Such a line is called parallel to the road. Any other straight line through the point will cross the road somewhere.

Euclid’s other assumptions are simple, such as “a straight line can be drawn between any two points”. This one is different, because it speaks about what happens to lines extended for ever, which nobody can check. Many later mathematicians felt it was less obvious than the rest.

For centuries they tried to prove it from the others. Omar Khayyam and Nasir al-Din al-Tusi, whom we met earlier, were among those who tried. All failed.

The failure turned out to be a discovery. Perhaps the postulate could not be proved because it was not necessary. Perhaps other geometries could be built by changing it.

Euclid’s geometry has one parallel through P. A curved space can have many.

Gauss is thought to have reached similar ideas privately, but he did not publish them. Around 1830, the Russian mathematician Nikolai Lobachevsky (1792–1856) and the Hungarian mathematician János Bolyai (1802–1860), working independently, published geometries in which Euclid’s assumption does not hold. In their geometries, more than one line through the point can stay parallel to the road.

The picture on the right is a flat drawing of such a space, so its straight lines look like arcs, just as a flat map bends the routes of aeroplanes. Inside the space itself, those arcs are the straightest paths there are.

Euclid’s geometry was not destroyed. It turned out to be one of a larger family. The question changed from “Which geometry is the true one?” to “What follows from each of them, and which one describes our world?

Riemann and the shape of space

Bernhard Riemann (1826–1866), a German mathematician, took the idea further. In a famous lecture in 1854 he proposed studying spaces of any number of dimensions and any shape. (A line has one dimension, a surface two, the space around us three.)

A space can look ordinary close up and be curved on a large scale. Stand in a field and the ground looks flat. Travel far enough and the curve of the Earth cannot be ignored.

A triangle on a globe, with three right angles.

On a curved surface, the rules change. Let us take a globe, start at the North Pole and travel down to the equator along one line of longitude, then a quarter of the way round the equator, then back up to the pole along another. We have drawn a triangle with three right angles. Its angles add up to 270 degrees, not 180.

Riemann gave mathematics a way to describe curvature from the inside: what can a creature living in a space find out by measuring within it?

Decades later, Albert Einstein used this kind of geometry in his general theory of relativity (1915), which describes gravity as the curving of space and time. This is not only theory. The satellites of the GPS system must correct their clocks for effects that relativity predicts, or the positions on our phones would drift by kilometres every day.

Topology: Shape without measurement

What if we stopped caring about exact measurements altogether?

Imagine a shape made of rubber. We can stretch it, squash it and bend it, but we may not tear it or glue parts together. A circle can become an oval, and a square a rounded shape, but some things do not change.

Topology studies features of this kind. A coffee cup and a doughnut make a playful example: each has one hole, so one can be reshaped into the other without tearing. Their exact shapes matter less than what survives the stretching.

Leonhard Euler, whom we met in Part II, gave an early example in 1736 with a puzzle about the seven bridges of Königsberg (now Kaliningrad, in Russia). Could a walker cross each of the city’s seven bridges exactly once?

Euler showed that the answer depended not on distances but on how the places were connected. He replaced the city by a network: the land became points, the bridges became links, and everything else was dropped.

Königsberg’s bridges, as a map and as a network.

A route that crosses every bridge exactly once is possible only if at most two places have an odd number of bridges. Königsberg had four such places, so no such walk exists.

This was the beginning of graph theory, the mathematics of networks. Today every route-finding app treats roads as points and links in just this way.

Henri Poincaré (1854–1912), a French mathematician and physicist, later helped make topology a subject in its own right. He found ways to record the essential features of a space in numbers and algebra, so that shapes too complicated to picture could still be studied.

Mathematics was learning to ask what stays the same when everything else changes. That question leads to the next branch of the tree: structure.


Part VII: The mathematics of structure

From objects to relationships

Look back over the last few parts and a pattern appears.

Numbers stopped being only quantities and became things with rules. Geometry stopped being only the measurement of shapes. Logic stopped being only a description of arguments. Again and again, mathematicians set aside the surface details and looked at what remained.

The word for what remains is structure.

Three different networks with one structure.

This is why distant branches of mathematics can speak to one another. A network can be studied without knowing whether its points are islands, computers or friends. A symmetry can be studied without caring whether the thing being transformed is a shape, a physical system or an equation. The details change but the relationships survive.

Emmy Noether and symmetry

Emmy Noether (1882–1935), a German mathematician, became one of the great figures in this movement towards structure. Her work changed abstract algebra and, through a theorem published in 1918, physics as well.

Algebra, as we saw, began with finding the unknown. By Noether’s time it had grown into the study of abstract structures: systems in which things of any kind can be combined by rules. They have names such as groups, rings and fields. We met the idea of a group with Galois.

Noether helped mathematicians see such systems through the rules they share, not through the particular objects inside them. Study the rules and we understand every example at once. The codes that let a scratched CD or a smudged QR code still be read rely on algebra of this abstract kind.

In physics, she proved a result now called Noether’s theorem. A conservation law says that, as a physical system changes, some quantity stays the same. Energy, momentum and angular momentum are familiar examples.

Noether showed that each of these comes from a symmetry. Suppose the laws of physics do not change just because an experiment is done today rather than tomorrow. That is a symmetry in time, and the theorem says it guarantees that energy is conserved. In the same way, laws that stay the same wherever an experiment is done give conservation of momentum, and laws that stay the same however the experiment is turned give conservation of angular momentum.

So symmetry, an idea that sounds abstract, could tell us something definite about the physical world.

Her own position was never secure. She was a woman in a male-dominated academic world. For years at the University of Göttingen she lectured without pay, and for a time under a male colleague’s name. In 1933, as a Jewish mathematician, she was dismissed after the Nazis came to power, and she moved to the United States, where she worked at Bryn Mawr College in Pennsylvania. She died there in 1935, aged 53.

Her theorem is indispensable to modern physics. Yet she herself was repeatedly treated as though her place at the university were negotiable.

Why structure matters

Consider a map of a city’s roads. The actual roads have different lengths, surfaces and buildings along them. But if the question is whether we can travel from one neighbourhood to another, much of that information is irrelevant. The city can be reduced to a network.

Or consider a family tree, where the names may change but the relationships do not. Mathematics often works in the same way. It asks what can safely be ignored.

A good abstraction does not keep everything. It keeps what matters for the problem. Topology ignores exact distances. Graph theory ignores much of the physical appearance of a network. Algebra can ignore the nature of the objects being combined and study the rules of combination. Noether’s theorem shows that even in physics, symmetry can reveal a deep structural relationship.

The tree of mathematics was becoming less like a collection of separate subjects and more like a network of ideas.


Part VIII: The people who carried the tree

The overlooked minds

The history of mathematics records discoveries, and it also records who was allowed to take part.

Who was allowed to study? Who could enter a university? Who could publish under their own name? Whose work was translated, preserved and taught? Whose contribution was credited to a more powerful colleague?

Mathematics is often told as though credit were automatic: a theorem appears, the right person is named, and history moves on. It rarely happens so neatly.

Ideas are developed in classrooms, letters, observatories, workshops and private rooms. They are carried across languages by translators, explained by commentators, tested by students and sometimes published under the name of someone with more standing. A mathematical result may be exact. The record of who deserves the credit may not be.

Hypatia of Alexandria

Hypatia (born c. 350–370, died March 415 CE) lived in Alexandria, in Egypt, then part of the Roman Empire. She was the daughter of the mathematician Theon, and she was a mathematician, astronomer and philosopher. She is among the earliest women mathematicians whose life is known in reasonable detail.

No famous theorem bears her name. Much of her work seems to have been teaching, commentary and the explaining of earlier scientific works. Later writers say she wrote commentaries on Diophantus and on Apollonius, but none has survived under her name.

That does not make her secondary. A teacher can shape the future without leaving a monument, and a commentator can keep a whole tradition alive for students who would otherwise lose it.

In an age when women were largely shut out of formal intellectual authority, she held a remarkably public position. She was drawn into the political and religious tensions of Alexandria, and in 415 she was murdered by a mob.

Later retellings have often made her death a story of “science against religion”. The real situation was more tangled, with city politics, rival factions and religious conflict all involved. We can remember the tragedy without reducing her to a martyr.

She matters because she taught, explained and took part in mathematics and astronomy at a high level, in a society that gave women very little freedom to do so. Her story also raises a question. How many other women were capable of mathematical work but left no record, because they were never allowed to be seen?

Sophie Germain

Sophie Germain (1776–1831) had no formal university education. In revolutionary France, a woman’s wish to study mathematics was thought improper. She taught herself from books and, at times, wrote to leading mathematicians under the male name “Monsieur Le Blanc”, so that she would be taken seriously.

Gauss, one of those she wrote to, learned who she really was only after she intervened on his behalf when French troops occupied his town in 1807. He answered with great respect.

Her work reached into number theory, sound and elasticity. She made important contributions to the study of Fermat’s Last Theorem, which we met in Part II. She also worked on how thin elastic surfaces vibrate, a problem of real use to engineers, and in 1816 won a prize from the French Academy of Sciences for it.

Germain had the mind for mathematics. What she lacked was a name that would be listened to. It would be wrong to say that adversity made her brilliant. She was brilliant in spite of an environment that made her work harder than it needed to be.

Katherine Johnson

Katherine Johnson (1918–2020) was one of the African American mathematicians who worked as “human computers” for the National Advisory Committee for Aeronautics, which later became NASA. She worked at Langley, in Virginia.

Her calculations helped fix the paths of early American space flights. She worked out the trajectory for Alan Shepard’s flight in 1961, and before John Glenn’s 1962 orbital mission he asked her to check the electronic computer’s figures. Her work also contributed to later flights, including Apollo 11. In 2015 she received the Presidential Medal of Freedom.

Orbital mathematics leaves no room for slack, because a small error in a path can grow into a disaster in space. The calculations had to account for motion, timing, distance and the pull of gravity between Earth and the spacecraft.

Yet she did this work in a system shaped by racial segregation and discrimination against women. The computer had produced an answer. Glenn wanted her to confirm that it made sense.

Her story brings mathematics back to its practical roots. The numbers were not floating symbols. They were helping a person leave the Earth and return safely.

Maryam Mirzakhani

Maryam Mirzakhani (1977–2017), born in Tehran, Iran, became the first woman and the first Iranian to win the Fields Medal, the highest honour in mathematics, which she received in 2014. It was awarded for her work on the geometry of curved surfaces and the spaces of all their possible shapes. She taught at Stanford University in the United States and died of cancer at forty.

Her mathematics was advanced, but her way of working was visual. She drew diagrams, covered pages with sketches and treated hard abstract problems as landscapes to be explored. The spaces she studied cannot be pictured easily in ordinary three-dimensional experience, yet she approached them through curves, surfaces and patterns.

Her work corrects the idea that mathematics is only calculation. For Mirzakhani it was also exploration. A proof might come through drawings, failed attempts, surprising links and plain persistence.

Beyond the famous names

These portraits could be extended through many other lives. Among them:

Maria Agnesi (1718–1799), an Italian mathematician who wrote a widely used textbook on calculus.
Sofia Kovalevskaya (1850–1891), a Russian mathematician who became a professor in Stockholm and won a major prize for her work on the motion of a spinning body.
Euphemia Lofton Haynes (1890–1980), an American mathematician and teacher, the first African American woman to earn a doctorate in mathematics.

There are also the teachers and translators, the commentators whose names disappeared behind the texts they preserved, the collaborators whose calculations entered the work of a more famous colleague, and the anonymous practitioners whose methods survive while their names do not.

The aim is not to swap one list of heroes for another. It is to give a truer picture. A history made only of the names that were recorded can give the false impression that mathematical ability was found mainly in one gender, one continent, one language or one social class. In fact the record reflects who was allowed to take part and whose work was kept.

Who is remembered depends on who ran the universities, who got published, which books were translated and what later writers chose to keep. Putting an overlooked mathematician back into the story simply makes the record correct.


Part IX: Prediction and the limits of certainty

By now, mathematics has taken us a long way from the first marks of counting. It can describe abstract spaces, guide machines and estimate risk. Above all, it has widened our power to predict.

An astronomer can work out an eclipse before it happens. An engineer can estimate how a bridge will behave. A doctor can compare treatments. A weather service can forecast tomorrow’s rain, and a navigation app can tell us when we will arrive.

But prediction has limits. A model may be flawless in its logic and still depend on imperfect measurements. A system may follow exact laws and still be unpredictable in practice.

Mathematics does not give us possession of the future. It gives us a disciplined way to approach it.

When the sky became predictable

When Newton’s laws were applied to the planets and comets, the heavens became calculable. Until then a comet could be taken as an omen and an eclipse as a sign.

The English astronomer Edmond Halley (1656–1742) used Newton’s laws to work out that the comet seen in 1682 had been seen before, and that it would return around 1758. It did, after Halley’s death, and it now carries his name.

This did not end the wonder. It gave it a new kind. To predict an eclipse is to see that the heavens follow rules. But a prediction can only use what it is given, so the better the measurements, the better the forecast.

Models are not the world

A mathematical model is a simplified description of part of the world. It may describe the spread of an infection, the movement of air, the growth of a population, the path of a spacecraft or the changing temperature of the planet.

A model is useful because it leaves things out. A full description of reality would hold too much to be used, so the modeller picks what matters and simplifies the rest.

Ignore air resistance and a model of a falling stone works well. Use the same model for a feather drifting through the air and it misleads. A model is not wrong because it is simple. It becomes a problem only when we forget that it is simple.

Its answers can be uncertain because the data is incomplete, because the numbers fed into it are estimates, or because the model is a poor fit for the problem. So a number from a model should never be treated as an oracle. It is the answer to a carefully framed question, under stated conditions.

The butterfly effect

One of the most surprising discoveries of modern mathematics is that a system can follow exact rules and still be hard to predict.

Edward Lorenz (1917–2008), an American mathematician and meteorologist at the Massachusetts Institute of Technology, found this in 1961 while running a simplified model of the weather on an early computer. To save time, he restarted a run from the middle, typing in a number rounded from 0.506127 to 0.506. The difference was about one part in a thousand.

The same rules, two starts that differ by one part in a thousand.

He expected nearly the same weather. Instead the new run drifted away from the old one and, after a while, looked nothing like it. The rules had not changed. A tiny difference at the start had grown.

This is called sensitive dependence on initial conditions, or the butterfly effect, a name that comes from the title of a 1972 talk of Lorenz’s: could the flap of a butterfly’s wings in Brazil set off a tornado in Texas?

Real weather behaves in the same way. Two forecasts that begin with almost the same temperature, pressure and wind will agree at first. Then the small gap grows, until they describe different weather. No real measurement of the atmosphere can be perfect, which is why forecasts become unreliable beyond a week or two.

Unpredictable does not mean lawless. A chaotic system may follow exact rules. Its long-term behaviour is unpredictable because tiny uncertainties in the present grow into large differences in the future.

The limits of reasoning

The limits are not only about weather. In Part V we saw that Gödel showed no consistent system of rules rich enough to cover arithmetic can prove every mathematical truth, and that Turing showed no general method can decide whether every computer program will eventually stop.

Some limits are built into the problems themselves.

Prediction and humility

It is tempting to sort the world into things that can be predicted and things that cannot. The truth is more varied.

Some events can be predicted with great precision. The positions of the planets can be calculated centuries ahead. Some can be predicted only as probabilities: a medical treatment may raise the chance of recovery without guaranteeing it. Some can be predicted for a short time but not a long one, like the weather. And sometimes mathematics can prove that no method of a certain kind can exist.

Mathematics helps tell these cases apart.

That matters in real life. A forecast can decide whether people leave a city, receive a treatment, insure a home or invest their savings. A number given with false confidence can do harm. So good mathematical communication says how the result was reached, what was assumed, how sensitive it is to the inputs and where the model may fail.

Uncertainty is not something to hide. It is part of the answer.

The future remains open

Across its history, mathematics widened what we can foresee. It measured fields, calculated shadows, described the motion of planets, estimated risk and modelled disease. Each success raised the hope that enough mathematics might one day make the future transparent.

But mathematics also taught care. The universe may follow laws and still be hard to predict. Data may be plentiful and still incomplete. A model may be useful and still be a simplification.

These are not defeats. They tell us what knowledge can and cannot do.

Mathematics does not promise that everything can be foreseen. It tells us which futures can be calculated, which can only be estimated, which must be approached through probability and which lie beyond a given method. Knowing which is which is worth more than a confident guess.


The tree at a glance

A summary of the branches we have walked along, and what each gave the world.

BranchBegan withGives us today
Counting and zeroTrade and accountsNumbers, money, measurement
GeometryLand and buildingDesign, maps, graphics
TrigonometryWatching the skyNavigation, signals
AlgebraSolving unknownsEngineering, software
Number theoryCuriosity about whole numbersSecure payments
CalculusMotion and changeForecasts, space travel
Probability and statisticsGames of chance, hospital recordsInsurance, medicine, opinion polls
LogicRules of argumentComputers
Curved-space geometryA puzzle about parallel linesTheory of gravity, GPS
Graph theory and topologyA bridge puzzleNetworks, routes
Abstract algebra and symmetryRules shared by many systemsLaws of physics, error-correcting codes
Chaos and modellingThe weatherHonest forecasts, knowing a model’s limits

Part X: The tree still grows

Tomorrow morning, we will probably look at the time before we are properly awake. We may check the weather, look at a map, send a message, make a payment or follow a route our phone suggests

None of this will feel like mathematics. And yet mathematics will be there: in the clock, the map and the signal, in the calculation behind the journey and in the programs working quietly behind the screen. We rarely notice it.

But people often pursued mathematics before anyone knew what it would be useful for.

Someone wondered about zero. Someone wondered about infinity. Someone tried to understand motion. Someone became fascinated by a strange shape, or asked whether a problem could be solved at all, or what a machine could calculate. And years or centuries later, someone else found that one of those questions had become unexpectedly useful. People studied prime numbers for more than two thousand years before they came to protect payments on the internet.

This is why the history of mathematics cannot be told as a procession of great names. Behind every celebrated mathematician were teachers, students, translators, collaborators, scribes, institutions and traditions that carried ideas forward. Some contributions became famous. Others disappeared into the mathematics itself, and the people behind them were forgotten.

The tree remembers the fruit. It does not always remember the hands that tended it.

And the tree is still growing. We do not know which branch being explored today will matter tomorrow. An idea that seems useless may become indispensable, and a theorem may wait decades for an application. A question that seems impossibly abstract may one day describe something in nature, or make something possible that does not yet exist. Mathematics lets us see farther, but not everything.

Mathematics began with curiosity. People asked what something was, why it worked, whether it could be otherwise and what would happen if they went further. Those questions have carried people from counting objects to describing galaxies, from measuring land to navigating spacecraft, from keeping accounts to communicating across a planet.

We inherited the mathematics of people who lived thousands of years before us, and we use it without knowing their names. Somewhere today, someone is asking a question whose consequences none of us can yet imagine.

Sources and further reading

The sources are grouped under the branches of the story. Primary texts are given where practical, alongside reliable historical and scholarly works. Where the evidence is uncertain, the essay says so.

Early mathematics: numbers, geometry and the first methods

  • Eleanor Robson — Mathematics in Ancient Iraq: A Social History (Princeton University Press, 2008).
  • Eleanor Robson — “Neither Sherlock Holmes nor Babylon: A Reassessment of Plimpton 322”, Historia Mathematica (2001).
  • Yale Babylonian Collection — YBC 7289 and related Babylonian mathematical tablets.
  • Gay Robins and Charles Shute — The Rhind Mathematical Papyrus: An Ancient Egyptian Text (British Museum, 1987).
  • Euclid — Elements, traditionally associated with Euclid of Alexandria.
  • Carl B. Boyer and Uta C. Merzbach — A History of Mathematics.
  • MacTutor History of Mathematics, University of St Andrews — surveys of Babylonian, Egyptian, Greek and Indian mathematics.

Zero and Indian mathematics

  • Brahmagupta — Brāhmasphuṭasiddhānta (628 CE), especially the rules concerning zero and positive and negative quantities.
  • Kim Plofker — Mathematics in India (Princeton University Press, 2009).
  • George Gheverghese Joseph — The Crest of the Peacock: Non-European Roots of Mathematics (Princeton University Press).
  • MacTutor History of Mathematics — surveys of zero and Indian mathematics.
  • On Wellsprings: How ‘shunya’ shaped the modern world.

Geometry, approximation and trigonometry

  • Archimedes — works on the circle, measurement, areas and volumes, including the method of exhaustion.
  • Liu Hui — commentary on The Nine Chapters on the Mathematical Art. See Shen Kangshen, John Crossley and Anthony Lun, The Nine Chapters on the Mathematical Art: Companion and Commentary (Oxford University Press, 1999).
  • Aryabhata — Āryabhaṭīya, composed around 499 CE.
  • MacTutor History of Mathematics — surveys of Archimedes, Liu Hui, Aryabhata and the history of trigonometry.

Algebra and the language of the unknown

  • Muhammad ibn Musa al-Khwarizmi — Kitāb al-jabr wa’l-muqābala.
  • Omar Khayyam — writings on algebra and cubic equations, including the geometrical treatment of cubics.
  • François Viète — In artem analyticem isagoge (1591).
  • Évariste Galois — writings on equations and algebraic structure, much of which was published after his death.
  • MacTutor History of Mathematics — biographies and surveys of algebra.

Number theory

  • Euclid — Elements, Book IX, Proposition 20, the classical proof that there are infinitely many primes.
  • Pingala — Chandaḥśāstra. See Parmanand Singh, “The so-called Fibonacci numbers in ancient and medieval India”, Historia Mathematica (1985).
  • Leonardo of Pisa (Fibonacci) — Liber Abaci (1202), in L. E. Sigler’s English translation (Springer, 2002).
  • Sunzi Suanjing and Qin Jiushao — Shushu Jiuzhang (1247), on the Chinese Remainder problem. See Ulrich Libbrecht, Chinese Mathematics in the Thirteenth Century (1973).
  • Pierre de Fermat — correspondence and notes, including the marginal note associated with Fermat’s Last Theorem.
  • Leonhard Euler — works on number theory and analysis.
  • Carl Friedrich Gauss — Disquisitiones Arithmeticae (1801).
  • Srinivasa Ramanujan — notebooks, correspondence and published papers, including work with G. H. Hardy.
  • Andrew Wiles — the proof of Fermat’s Last Theorem (1994–95).

Infinity and the Kerala school

  • Jyeṣṭhadeva — Yuktibhāṣā, a later Kerala-school text that explains the reasoning behind earlier results.
  • K. V. Sarma — A History of the Kerala School of Hindu Astronomy (Hoshiarpur, 1972).
  • George Gheverghese Joseph — The Crest of the Peacock; Kim Plofker — Mathematics in India, both of which discuss the question of transmission to Europe.
  • MacTutor History of Mathematics — biography of Madhava of Sangamagrama.

Calculus and the mathematics of change

  • Isaac Newton — Philosophiae Naturalis Principia Mathematica and related writings on fluxions.
  • Gottfried Wilhelm Leibniz — papers on differential and integral calculus.
  • Augustin-Louis Cauchy — works on analysis, limits and continuity.
  • Boyer and Merzbach — A History of Mathematics, for the wider development of calculus.

Probability, statistics and evidence

  • Blaise Pascal and Pierre de Fermat — correspondence on problems of chance (1654).
  • Gerolamo Cardano — Liber de Ludo Aleae, on games of chance.
  • Jacob Bernoulli — Ars Conjectandi (1713), including the law of large numbers.
  • A. W. F. Edwards — Pascal’s Arithmetical Triangle, on the history of the triangle in India, Persia and China.
  • Thomas Bayes — “An Essay towards solving a Problem in the Doctrine of Chances” (1763).
  • Florence Nightingale — Notes on Matters Affecting the Health, Efficiency, and Hospital Administration of the British Army (1858).
  • Stanford Encyclopedia of Philosophy — entries on probability and statistics.

Logic, computation and the limits of proof

  • Aristotle — Prior Analytics, for the classical treatment of the syllogism.
  • George Boole — An Investigation of the Laws of Thought (1854).
  • Claude Shannon — “A Symbolic Analysis of Relay and Switching Circuits” (1937 thesis, published 1938).
  • Charles Babbage — writings and designs for the Difference Engine and the Analytical Engine.
  • Ada Lovelace — notes to her 1843 translation of Luigi Menabrea’s article on the Analytical Engine, including the Bernoulli-number sequence of operations.
  • Kurt Gödel — “Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme I” (1931).
  • Alan Turing — “On Computable Numbers, with an Application to the Entscheidungsproblem” (1936).
  • Stanford Encyclopedia of Philosophy — entries on Gödel’s incompleteness theorems, computability and Turing machines.

Geometry beyond Euclid

  • Nikolai Lobachevsky and János Bolyai — foundational works on non-Euclidean geometry.
  • Bernhard Riemann — “Über die Hypothesen, welche der Geometrie zu Grunde liegen” (1854).
  • Albert Einstein — papers of 1915 on general relativity, which use Riemannian geometry.
  • Leonhard Euler — “Solutio problematis ad geometriam situs pertinentis”, on the Königsberg bridge problem.
  • Henri Poincaré — works on analysis, geometry and topology.

Symmetry and structure

  • Emmy Noether — “Invariante Variationsprobleme” (1918), containing her theorems on symmetry and conservation laws.
  • Auguste Dick — Emmy Noether 1882–1935 (Birkhäuser, 1981).
  • American Physical Society — explanatory material on Noether’s theorem.

People who carried the tree

  • Maria Dzielska — Hypatia of Alexandria (Harvard University Press, 1995). The surviving evidence concerns her teaching, commentary and intellectual role, not a surviving treatise by her.
  • Dora Musielak — Sophie Germain: Revolutionary Mathematician (Springer, 2020); MacTutor biography of Sophie Germain.
  • NASA — biography and historical material on Katherine G. Johnson, documenting her work for Alan Shepard’s flight, her checking of John Glenn’s orbital calculations and her work on Apollo 11. See also Margot Lee Shetterly — Hidden Figures (2016).
  • International Mathematical Union — Maryam Mirzakhani and the 2014 Fields Medal citation.
  • MacTutor History of Mathematics — biographies of Maria Agnesi and Sofia Kovalevskaya.

Prediction, models and chaos

  • Edmond Halley — Synopsis Astronomiae Cometicae (1705), on the return of the comet that now bears his name.
  • Edward Lorenz — “Deterministic Nonperiodic Flow”, Journal of the Atmospheric Sciences (1963).
  • Edward Lorenz — “Predictability: Does the Flap of a Butterfly’s Wings in Brazil Set Off a Tornado in Texas?” (1972 talk).
  • Standard texts on mathematical modelling and dynamical systems, for the distinction between exact laws and practical predictability.

Further reading

  • Carl B. Boyer and Uta C. Merzbach — A History of Mathematics.
  • George Gheverghese Joseph — The Crest of the Peacock.
  • Kim Plofker — Mathematics in India.
  • MacTutor History of Mathematics, University of St Andrews.
  • Stanford Encyclopedia of Philosophy — entries on logic, computation, symmetry and the philosophy of mathematics.

A note on dates and names

For some ancient mathematicians, dates, places of birth and details of their lives are uncertain or have been reconstructed from later evidence. Where this is so, approximate dates have been used, and uncertain details have not been presented as established fact.