MathOverflow is a question and answer site for professional mathematicians. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What are some fiction books about mathematicians?

It seems to me rather difficult for writers to create good books on this subject. Some years ago I thought there were no such books at all. There are many reasons: it is difficult to describe the process of discovery and describe it in the exciting way. The subject has narrow audience and not the way to make best-seller...

Comments on how authors try to avoid these problems are also welcome. The movie "A Beautiful Mind" is a (beautiful for me) example, where the story of mathematician was mixed with love and spy stories to make it interesting for general audience, well not so much preserved from mathematician's story, but nevertheless I am quite positive about it.

Here is a related MO question:

Movies about mathematics mathematicians

share|cite|improve this question

closed as no longer relevant by Felipe Voloch, Mark Meckes, j.c., Mark Sapir, quid Feb 20 '13 at 14:08

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I think 'other scientists' should be removed; or at least it should be narrowed down to 'scientists in closely related fields'. To collect books featuring, say, a microbiologist seems totally off-topic for MO to me. – user9072 Jul 8 '12 at 11:43
I'm going to take the liberty of removing "scientists" from the question since there are way too many books about scientists to ask for a list, and it makes more sense to ask about books featuring mathematicians on MO. – Douglas Zare Jul 8 '12 at 20:59
It is perhaps worth pointing out that while the movie "A Beautiful Mind" was fictionalized in many ways, the book it is based on is non-fiction. It is an (as far as I could tell) well-researched biography of the very real John Nash. – Noah Stein Jul 9 '12 at 14:38
Mathematicians should not do, and certainly not enjoy, anything other than mathematical research, lest they give themselves away as human beings with a variety of interests and not a 100% devotion to just the one. – Sridhar Ramesh Jul 10 '12 at 16:43
"Time spent reading is time not not used for doing research." @Harry: are you an intuitionist? – Margaret Friedland Jul 10 '12 at 17:52

65 Answers 65

Written about mathematicians, by mathematicians, and certainly for mathematicians, the self-published "choose your own adventure," Mathematics Odyssey, certainly deserves mention.

share|cite|improve this answer
Does anyone know if this book is available anywhere? I can't find the author "Kent Windermere" on the internet; it is probably a pseudonym. – M T Oct 3 '12 at 8:34
Sadly, the authors received a cease-and-desist letter from the Choose Your Own Adventure people. It's a shame, the book is a real treat. Drop me a line if you are in Vancouver, and I will show you my copy. – David Steinberg Oct 4 '12 at 20:49
@David that's a shame. Thanks for the offer - if I ever make it to Vancouver I will take you up on that. – M T Oct 25 '12 at 7:45

"The Housekeeper and the Professor" gives an intersting insight into the though processes of a Mathematician, written from the perspective of a non-Mathematician. The author sem to me to have a good understanding of the former.

share|cite|improve this answer

There is Dis-mois qui tu aimes (je te dirai qui tu hais), which is a murder mystery set in a thinly veiled 1980's version of the IHES mathematical community. The link is to a current discussion of how to get a copy (it has been reprinted under a different title, but under either title is currently out of print).

share|cite|improve this answer
Thanks for the hint - the first chapter: – Thomas Riepe Jul 8 '12 at 14:28
Dennis Serre's answer below is the same book, which I didn't recognize because I had not previously known it gained an alternate title. – Lee Mosher Jul 8 '12 at 17:49
Seems still available at under the title "Maths a mort". – François Brunault Jul 8 '12 at 18:38

Clifton Fadiman assembled a couple of anthologies of stories featuring mathematics and/or mathematicians as main characters.

Fantasia Mathematica

The Mathematical Magpie

Some are good, some are not so good.

share|cite|improve this answer

The book "De wilde getallen" by Philibert Schogt ("The wild numbers") is a great story about a young mathematician and his struggle with an (imaginary) theorem in number theory. It illustrates the emotional rollercoaster one sometimes goes through while trying to prove theorems.

share|cite|improve this answer

Whom the Gods Love. The Story of Evariste Galois, 1950. Wydanie polskie Wybrańcy bogów. Powieść o życiu Ewarysta Galois.

I read the Polish version in grade school. It is more of a novel than a biography.

The author: Leopold Infeld, a physicist and collaborator of Einstein

share|cite|improve this answer

The above mentioned "The Oxford Murders" and "Measuring the World" are two books people must be warned of. The first is the worst detective story that can be possibly written, the second was slated for very good reason in the Notices (

Joel Adler

share|cite|improve this answer
One can do much worse with a detective story; I've read some examples. The objection to Guillermo Martinez's book is not that it is bad, but rather, that it is, shall I say, derivative. As for Daniel Kehlmann's book, I share many of the objections raised in the Notices review (and can point out some more improbabilities), but the question is about "fiction books about mathematicians", not "historically accurate fiction" (a contradiction perhaps?) or "enjoyable fiction". – Margaret Friedland Jul 11 '12 at 17:44

Anathem, by Neal Stephenson.

The book is set in an alternate timeline, where a tradition has taken root (over thousands of years) for academics to isolate themselves from society for long periods of time. There are those who are in for a year, and aren't allowed to mingle/communicate with those who are in for 5 years, or 10, or 100. There are some actual proofs in the text that are crucial to the plot. The book contains a serious discussion (which I wouldn't have thought possible, much less interesting) of whether mathematics is discovered or invented, and what would the nature of an experiment that could distinguish these possibilities be like.

I liked the book when I read it. It has really "stuck to my ribs", however, and I now love the book.

share|cite|improve this answer

See also Complots mathématiques à Princeton, by Claudine Monteil.

share|cite|improve this answer

Few days ago I bought and already read this book, which I found quite nice (sorry it is in Russian):

Тельняшка математика ( Mathematician's (sailor's) striped vest)

Author: Игорь Дуэль (Igor Duel )

This fiction story is about young gifted mathematician. To make the story interesting for (general) audience the authors uses the following tricks:

1) the results obtained by main hero were attempted to be stolen by his boss, high-ranked administrative official, who is very weak in math, but build his career on the works of others. So this increases the temperature of the exposition and hopefully everyone will sympathy the main hero.

2) Main hero having this problem in his career makes a change in his life and goes to work as a sailor on a ship for many months. (That is why the title is so). So the exposition organized in the following way: chapter about math-life, chapter about sailor's life. During his sailor's life he has many of adventures, and meet many different people.

3) The part of process of making discoveries is also described in way that everyone can try to understand - by the analogy with military compaign: the author's results stands on results of his older colleague (springboard for attack), he try and fail the "front-wide" "Blitzkrieg", and after that he creates his new paths to unknown (enemy's) territory, in several directions: in forests, in bogs -- in order to find the general picture from pieces.

4) Of course, there is line about love story of the main hero.

share|cite|improve this answer

The Oxford Murders is a nice novel about a graduate student in Oxford, which specializes in logics (it seems that the author has a PhD in logics). The book is kind of nice, and it was adapted to a film a few years ago.

share|cite|improve this answer
The film was pretty terrible. – Jeremy Lane Jul 9 '12 at 18:36
The book follows closely the blueprint of Agatha Christie's "The ABC murders" (which does not feature any mathematician). – Margaret Friedland Jul 10 '12 at 16:46

John Wallis is one of many 17th century mathematicians and scientists who appear as significant characters in Iain Pears's novel An Instance of the Fingerpost --- a book I highly recommend. (Warning: Do not read the Amazon customer reviews. They're full of major spoilers.)

share|cite|improve this answer
A great book, although it does not make Wallis look particularly likable. – Margaret Friedland Jul 10 '12 at 16:41
Thanks for the hint! I read it and foud it very good. Very, very good too is Pearl's other book (ca. "Scipio's dream"), which tells three interweaved stories from late antiquity to WW2 on the struggle between civilizing forces including science in their battle agains decivilizing trends. – Thomas Riepe Oct 4 '12 at 7:16

Mathematicians in Love is a book by Rudy Rucker. The protagonist is a graduate student in mathematics, as is his rival. The ideas he is trying to put into his thesis turn out to be the keys to altering reality.

Rudy Rucker has written nonfiction about mathematics, so I expect that many of his other fictional works are influenced by mathematics.

share|cite|improve this answer

The Broken God by David Zindell is a sci-fi novel about a universe in which the top ruling class is called "The Order of Mystic Mathematicians and Other Seekers of the Ineffable Flame". They have to go through extreme training in advanced math because they use topology to navigate through the universe using something called the Vild. To my knowledge it is the only work of fiction that uses the term "topology" in its mathematical sense in the first few pages.

share|cite|improve this answer

After Math by Miriam Webster is a kind of mystery novel set in a department of mathematics. The main characters are mathematicians and there is a considerable amount of mathematics in the book; I believe that the author (whose real name is Amy Babich) has a Ph.D. in mathematics.

share|cite|improve this answer

Godel, Escher and Bach: An eternal golden braid?

share|cite|improve this answer
This is a non-fiction book, except for the dialogues, which aren't really "about mathematicians". – Timothy Chow Jul 10 '12 at 17:11
O_o Epitome of fiction: Alice in wonderland. GEB, described by his publishing company as "a metaphorical fugue on minds and machines in the spirit of Lewis Carroll". I always thought Godel was a mathematician. I think what you mean to say is that it is not a novel. – Mlazhinka Shung Gronzalez LeWy Jul 12 '12 at 21:36

One might argue whether the main character D-503 of Yevgeny Zamyatin's We counts as a mathematician. It is a classical dystopian novel, similar in spirit to Brave New World or Nineteen Eighty-Four (but older and arguably better). D-503 is rather an engineer than a mathematician in our sense, but in the novel's setting, due to the almost complete mechanization of human life, this is as close as one can get to being a mathematician. In any case, mathematical concepts play a decent rôle, in particular - as strange as this may sound - the purported challenge to imagination posed by imaginary numbers.

share|cite|improve this answer

Alex`s Adventures in numberland ny Alex Bellos. Here is a link to his website and an interview:

share|cite|improve this answer

You could try "Solar" by Ian McEwan. It's about a senior researcher that hasn't done good work in years but gets a break one day.

Somewhat less seriously, there's also the delightfully named "Advanced calculus of murder" by Eric Rosenthal.

share|cite|improve this answer
Actually, Advanced Calculus of Murder is the sequel. The first book was Calculus of Murder, as one could probably guess. Presumably the next one will be Linear Algebra of Murder. – Joe Silverman Jul 9 '12 at 3:22
@Joe Not "Analysis of murder"? – Ryan Reich Jul 9 '12 at 3:48
@Joe I know, I just prefer the sequel's title. :) – Gunnar Þór Magnússon Jul 9 '12 at 6:48

Rymdväktaren and Nyaga are (admittedly Swedish language) sci-fi books that feature 5-6 mathematicians in the main cast as well as one supercomputer.

share|cite|improve this answer

La conjecture de Syracuse, by Antoine Billot (in French).

This novel is about a fictional mathematician having solved the Collatz conjecture in his youth and whose career will be put at risk by a young student competing with him.

share|cite|improve this answer

The protagonist of Euclid's Alone by William Orr, and that of Four Brands of Impossible by Norman Kagan. (both short stories can be found in the collection "Mathenauts" )

share|cite|improve this answer

Not a book, but a play: "Descartes and Pascal", about a historical encounter of these two mathematicians. It was in part translated into Polish and I remember reading it in this version. I could not recall the name of the author. Googling gives Jean De Clouse, by a reference to a stage version in Marathi:

Written by Jean De Clouse and translated into Marathi by Madhuri Purandare, the play's subject derives from a historical meeting between philosopher-mathematician Rene Descartes and Blaise Pascal, a mathematician, physicist and philosopher himself. This meeting took place on 23rd September 1646.

If someone could confirm or correct the authorship or/and the title, he/she is welcome. There are other references to the meeting on the web, but not to the play:

share|cite|improve this answer

Nobody has yet mentioned "The French Mathematician" by Tom Petsinis ( a novelized telling of the life of Galois. As well as being a good read, it's meticulously researched (the author, as well as being an award winning novelist, playwright and poet, is an accomplished mathematics educator.) I recommend it to you all.

share|cite|improve this answer

"Bimbos of the Death Sun" and "Zombies of the Gene Pool" by Sharyn McCrumb feature an engineering professor who writes science fiction and solves murders. Two of the funniest books I've read.

share|cite|improve this answer

According to Wikipedia,, Giordano Bruno was a mathematician, among other things, and S J Parris has written three excellent novels (and counting ..) that feature Bruno as the main character as a detective and secret agent combined:

share|cite|improve this answer

This might qualify as experimental mathematics fiction.

The Nine Billion Names of God by Arthur C. Clarke.

monks created an alphabet in which they calculated they could encode all the possible names of god, numbering about 9,000,000,000 ("nine billion") and each having no more than nine characters. Writing the names out by hand, as they had been doing, even after eliminating various nonsense combinations, would take another 15,000 years; the monks wish to use modern technology in order to finish this task more quickly.

share|cite|improve this answer
Unfortunately, no mention is made of exactly who did the modelling or the estimation, and except for a couple details, the model itself is not specified. It could be an interesting problem to come up with a model that has a good fit to the parameters given in the story. Gerhard "Not So Interesting To Me" Paseman, 2012.07.26 – Gerhard Paseman Jul 26 '12 at 17:02

I recently read a short story called "Space" by John Buchan (author of The Thirty-Nine Steps) which is about a mathematician who discovers a gateway to the fourth dimension or something. It's quite good.

Also, Charles Kingsley wrote a novel about Hypatia of Alexandria back in the mid-nineteenth century. I haven't read it yet, but I found two copies in a secondhand bookshop the other day. I would be surprised if it didn't have some mathematics in it.

Edit: I just finished reading "Hypatia". Surprisingly, it didn't have any mathematics in it. It did contain this nice quote, however:

In the hour of that unrighteous victory, the Church of Alexandria received a deadly wound. It had admitted and sanctioned those habits of doing evil that good may come, of pious intrigue, and at last of open persecution, which are certain to creep in wheresoever men attempt to set up a merely religious empire, independent of human relationships and civil laws; to 'establish,' in short, a 'theocracy,' and by that very act confess their secret disbelief that God is ruling already.

share|cite|improve this answer

Limiting myself to books not yet mentioned:

Einstein's Dreams by Alan Lightman is notable for luminous prose. It does pertain nominally to physics, not pure math, but only (at the time) of the most theoretical kind, far closer to math than most physics of the day.

As to the Foundation series, which has been mentioned here before since Hari Seldon is a mathematician, it is worth noting that in the later novels of the first trilogy key roles are played by a community of mathematicians whose mathematical research is critical to the advancement of the plot.

The French Mathematician by Tom Petsinis is a fictionalized account of Galois; I enjoyed it.

Also, Engima by Robert Harris is loosely based on Turing's work in the war. It is not entirely without points of interest. Harris is a pretty good writer, although the story is perhaps not his best.

share|cite|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.