A Mathematician's Apology is a 1940 essay by British mathematician G. H. Hardy, which offers a defence of the pursuit of mathematics. Central to Hardy's "apology" – in the sense of a formal justification or defence (as in Plato's Apology of Socrates) – is an argument that mathematics has value independent of possible applications. Hardy located this value in the beauty of mathematics, and gave some examples of and criteria for mathematical beauty. The book also includes a brief autobiography, and gives the layman an insight into the mind of a working mathematician. Background Hardy felt the need to justify his life's work in mathematics at this time mainly for two reasons. Firstly, at age 62, Hardy felt the approach of old age (he had survived a heart attack in 1939) and the decline of his mathematical creativity and skills. By devoting time to writing the Apology, Hardy was admitting that his own time as a creative mathematician was finished. In his foreword to the 1967 edition of the book, C. P. Snow describes the Apology as "a passionate lament for creative powers that used to be and that will never come again". In Hardy's words, "Exposition, criticism, appreciation, is work for second-rate minds. [...] It is a melancholy experience for a professional mathematician to find himself writing about mathematics. The function of a mathematician is to do something, to prove new theorems, to add to mathematics, and not to talk about what he or other mathematicians have done." Secondly, at the start of World War II, Hardy, a committed pacifist, wanted to justify his belief that mathematics should be pursued for its own sake rather than for the sake of its applications. He began writing on this subject when he was invited to contribute an article to Eureka, the journal of The Archimedeans (the Cambridge University student mathematical society). One of the topics the editor suggested was "something about mathematics and the war", and the result was the article "Mathematics in war-time". Hardy later incorporated this article into A Mathematician's Apology. He wanted to write a book in which he would explain his mathematical philosophy to the next generation of mathematicians; that would defend mathematics by elaborating on the merits of pure mathematics solely, without having to resort to the attainments of applied mathematics in order to justify the overall importance of mathematics; and that would inspire the upcoming