A Mathematician 's Apology is an essay about mathematics which was written in 1940 .
A Mathematician 's Apology is a 1940 essay by British mathematician G. H. Hardy .