Hardy: “A Mathematician, Like a Painter or a Poet, Is a Maker of Patterns”

Collage of a young G. H. Hardy in the 1890s beside three framed pictures: a palette with a circle, triangle and square, labeled shapes and colours; two lines from Richard II with a quill, labeled words; and Pascal's triangle with its odd entries marked, forming Sierpinski's triangle, labeled ideas, on citron yellow
Photo: 1890s, photographer unknown.
“A mathematician, like a painter or a poet, is a maker of patterns. If his patterns are more permanent than theirs, it is because they are made with ideas.”

G. H. Hardy, 1940

A Mathematician's Apology

The source

The exact words

“A mathematician, like a painter or a poet, is a maker of patterns. If his patterns are more permanent than theirs, it is because they are made with ideas. A painter makes patterns with shapes and colours, a poet with words. … The mathematician's patterns, like the painter's or the poet's, must be beautiful; the ideas, like the colours or the words, must fit together in a harmonious way. Beauty is the first test: there is no permanent place in the world for ugly mathematics.”

A Mathematician's Apology. Section 10. Cambridge University Press, 1940.

The quote is accurate. It opens section 10 of the Apology. The popular version often drops the second “a” (“a painter or poet”) and stops after the first sentence, which loses Hardy's point that the patterns last because they are made of ideas.

The story

Why Hardy said it

Section 10 of A Mathematician's Apology begins with this sentence and spends the rest of its pages defending it. Hardy has just argued, in the section before, that mathematics is the most lasting thing a person can make. Now he says what it is made of. A painter makes patterns with shapes and colours, a poet with words, and a mathematician with ideas, and ideas wear less with time than words.

To make the point he picks two lines from Shakespeare's Richard II, the ones on the collage: “Not all the water in the rough rude sea / Can wash the balm from an anointed King.” Could lines be better, he asks, and could the ideas be at once more trite and more false? In poetry the beauty of the pattern barely depends on the ideas. In mathematics there is nothing but ideas, so the patterns have to be built from them, and that is why they last.

Then comes the most quoted sentence in the book: the mathematician's patterns, like the painter's or the poet's, must be beautiful, and beauty is the first test, because there is no permanent place in the world for ugly mathematics. The pattern on the collage is a small example. Write out Pascal's triangle, mark the odd numbers, and Sierpiński's triangle appears, a pattern nobody put there on purpose.

Hardy had already argued in section 8 that Archimedes will be remembered when Aeschylus is forgotten, and Erdős said much the same thing his own way: if numbers aren't beautiful, nothing is. For the scientist's version, see Poincaré on studying nature because it is beautiful. The whole essay is short; read it on our A Mathematician's Apology page.

Mathematician

Who was G. H. Hardy?

Born
7 February 1877, Cranleigh
Died
1 December 1947, Cambridge
Known for
Analysis, number theory, Ramanujan
Wrote it
A Mathematician's Apology, 1940

Godfrey Harold Hardy was born in Cranleigh, Surrey, the son of two teachers. The photograph on the collage shows him in the 1890s, a scholarship boy from Winchester on his way to Trinity College, Cambridge, where he would spend most of his life.

With J. E. Littlewood he wrote some of the most important papers in analysis and number theory of the century, and in 1913 he recognised the genius of Srinivasa Ramanujan from a letter sent from Madras. He was Savilian Professor at Oxford from 1919 and Sadleirian Professor at Cambridge from 1931. He wrote the Apology in 1940, convinced his best work was behind him, and died in Cambridge in December 1947.

Read next

Cover: A Mathematician's Apology by G. H. Hardy

A Mathematician's Apology

G. H. Hardy · 1940

The book this sentence opens a section of. Sections 10 to 18 are the best short account ever written of what mathematical beauty is, with examples a curious reader can follow: Euclid's proof that the primes never end and Pythagoras' proof that √2 is irrational.

Questions

About this quote

Where did Hardy say “A mathematician, like a painter or a poet, is a maker of patterns”?

It is the first sentence of section 10 of A Mathematician's Apology, published by Cambridge University Press in 1940.

What comes after it?

“If his patterns are more permanent than theirs, it is because they are made with ideas.” A little further on: “Beauty is the first test: there is no permanent place in the world for ugly mathematics.”

Which poem does Hardy quote?

Two lines from Shakespeare's Richard II: “Not all the water in the rough rude sea / Can wash the balm from an anointed King.” He uses them to show that poetry can be beautiful even when its ideas are trite.

What examples of beautiful mathematics does Hardy give?

Euclid's proof that there are infinitely many primes and the proof that the square root of 2 is irrational, which he discusses a few sections later.

More quotes

All quotes