You may have watched hundreds of episodes of The Simpsons (and its sister show Futurama) without ever realizing that cleverly embedded in many plots are subtle references to mathematics, ranging from well-known equations to cutting-edge theorems and conjectures. That they exist, Simon Singh reveals, underscores the brilliance of the shows’ writers, many of whom have advanced degrees in mathematics in addition to their unparalleled sense of humor.

While recounting memorable episodes such as “Bart the Genius” and “Homer3,” Singh weaves in mathematical stories that explore everything from p to Mersenne primes, Euler’s equation to the unsolved riddle of P v. NP; from perfect numbers to narcissistic numbers, infinity to even bigger infinities, and much more. Along the way, Singh meets members of The Simpsons’ brilliant writing team—among them David X. Cohen, Al Jean, Jeff Westbrook, and Mike Reiss—whose love of arcane mathematics becomes clear as they reveal the stories behind the episodes.

With wit and clarity, displaying a true fan’s zeal, and replete with images from the shows, photographs of the writers, and diagrams and proofs, The Simpsons and Their Mathematical Secrets offers an entirely new insight into the most successful show in television history.

**Buy the book on amazon**

An astronomer, a physicist, and a mathematician (it is said) were holidaying in Scotland. Glancing from a train window, they observed a black sheep in the middle of a field. “How interesting,” observed the astronomer, “all Scottish sheep are black!” To which the physicist responded, “No, no! Some Scottish sheep are black!” The mathematician gazed heavenward in supplication, and then intoned, “In Scotland there exists at least one field, containing at least one sheep, at least one side of which is black.

Simon Singh, The Simpsons and Their Mathematical Secrets

Simon Singh is a British author who has specialised in writing about mathematical and scientific topics in an accessible manner. His written works include Fermat’s Last Theorem (in the United States titled Fermat’s Enigma: The Epic Quest to Solve the World’s Greatest Mathematical Problem),The Code Book (about cryptography and its history), Big Bang (about the Big Bang theory and the origins of the universe), Trick or Treatment? Alternative Medicine on Trial[6] (about complementary and alternative medicine) and The Simpsons and Their Mathematical Secrets (about mathematical ideas and theorems hidden in episodes of The Simpsons and Futurama).

Singh has also produced documentaries and works for television to accompany his books, is a trustee of NESTA, the National Museum of Science and Industry and co-founded the Undergraduate Ambassadors Scheme.

Subscribe to the Sci Future Channel

As a society, we rightly adore our great musicians and novelists, yet we seldom hear any mention of the humble mathematician. It is clear that mathematics is not considered part of our culture. Instead, mathematics is generally feared and mathematicians are often mocked.

Simon Singh, The Simpsons and Their Mathematical Secrets*Science, Technology & the Future*