Gallery: The Simpsons Has Been Tricking You Into Learning Math for Decades
01“Treehouse of Horror VI: Homer3” (1995)
It’s no secret that the longest-running American sitcom is also one of the smartest. Academics have pored over *The Simpsons* for its insights into philosophy and psychology, but it took physicist Simon Singh, the author of previous books about cryptography, the Big Bang, and Fermat’s Enigma, to tap a vein of knowledge that runs even deeper in the animated world of Springfield: math. In the engaging (and educational) *The Simpsons and Their Mathematical Secrets*, Singh delves into the academic backgrounds of some of the most poindextrous *Simpsons* writers -- Al Jean, J. Stewart Burns, Jeff Westbrook, and David X. Cohen among them -- who are equipped with advanced degrees in math and science. Naturally, they’ve been using their platform to advance what Cohen calls "a decades-long conspiracy to secretly educate cartoon viewers." Hoyvin-glavin! Click through the gallery above for some key *Simpsons* moments of witty math infusion. Above: "Treehouse of Horror VI: Homer^3^" (1995) ------------------------------------------------ Simon Singh calls this segment "the most intense and elegant integration of mathematics into *The Simpsons* since the series began" – no small praise from someone who combed through the entire run in search of math content. In the very meta storyline, Homer leaves behind 2-D Springfield when he enters a portal to the abstract and mysterious third dimension, which is rendered with then-cutting-edge computer animation. Homer’s stunned family can hear but not see him as he wanders along a z-axis, and eccentric genius Professor Frink is the only one who can explain the concept of depth: "This forms a three-dimensional object known as a cube, or a Frinkahedron in honor of its discoverer."
02“The Wizard of Evergreen Terrace” (1998)
"The Wizard of Evergreen Terrace" (1998) ---------------------------------------- Some of the most elaborate mathematical concepts on *The Simpsons* are distilled into freeze-frame gags, and this one is particularly dense. Among Homer’s scribbles during an inventing fervor, elite math nerds (or those reading [Singh’s explanations](http://www.slate.com/blogs/browbeat/2013/10/29/the_simpsons_and_fermat_s_last_theorem_wizard_of_evergreen_terrace_has_brilliant.html)) will recognize playful equations for very complex mathematical problems: the long-elusive mass of the Higgs boson (which 14 years later is [no longer speculative](http://stag-komodo.wired.com/wiredscience/2013/10/higgs-nobel-physics/)), [Fermat’s last theorem](http://en.wikipedia.org/wiki/Fermat's_Last_Theorem), the density of the universe, and how to transform a doughnut into a sphere according to the rules of [topology](http://mathworld.wolfram.com/Topology.html). Image via *The Simpsons and Their Mathematical Secrets*, Nicole Gastonguay and Na Kim
03"They Saved Lisa’s Brain" (1999)
"They Saved Lisa’s Brain" (1999) -------------------------------- Dr. Stephen Hawking makes a guest appearance in this episode, intervening to save Lisa from an angry mob after Springfield’s power-hungry Mensa chapter runs amok. In the last scene, Hawking offers Homer some seemingly ridiculous praise: “Your theory of a doughnut-shaped universe is intriguing ... I may have to steal it." In fact, that structure has [serious cosmological support](http://www.nytimes.com/2003/03/11/science/universe-as-doughnut-new-data-new-debate.html), though mathematicians prefer to call the three-dimensional shape a torus. Mmm... all-encompassing torus of unfathomable size...
04“Bye Bye Nerdie” (2001)
"Bye Bye Nerdie" (2001) ----------------------- Bumbling Professor Frink struggles to bring order to a raucous crowd of scientists at Springfield’s 12th Annual Big Science Thing, before he shocks the room to silence by yelling, "Pi is exactly three!" The obvious joke is that only such a preposterous inaccuracy could quiet a group of math geeks, but there’s another layer. Writer Al Jean based the line on an actual attempt to legislate an official value for pi, known as the Indiana Pi Bill of 1897, in which an amateur mathematician suggested "squaring the circle" by rounding π to 3.2. The baffled state House of Representatives allowed the measure to pass, but luckily a Purdue University math professor intervened before the Senate ratified the absurdity into law."
05“Marge in Chains” (1993)
"Marge in Chains" (1993) ------------------------ When Marge goes on trial for shoplifting, sketchy lawyer Lionel Hutz tries to discredit the memory of convenience store owner Apu Nahasapeemapetilon in court. Unfortunately, the Kwik-E-Mart proprietor has a savant’s memory: "In fact, I can recite pi to 40,000 places. The last digit is 1." Apu’s claim is a reference to the pi-reciting record holder at the time, mnemonist Hideaki Tomoyori (the current record for reciting the infinite decimal from memory is 67,890 places, set by [Chao Lu](http://www.guinnessworldrecords.com/world-records/1/most-pi-places-memorised) in 2005). However, punctuating the punch line with the actual 40,000th digit of pi was a challenge for the writers, since in 1993, they couldn’t simply Google [the known digits](http://www.piday.org/million/). NASA mathematician David Bailey saved the day by mailing a printed copy of the first 40,000 decimal places of pi to confirm that the last digit is, in fact, 1.
06“Girls Just Want to Have Sums” (2006)
"Girls Just Want to Have Sums" (2006) ------------------------------------- In a nod to the public firestorm provoked by Harvard President Lawrence Summers’ 2005 comments about why women are underrepresented in academia, Principal Skinner triggers a hate campaign when he suggests that girls are inherently inferior to boys in “the real subjects,” math and science. In a questionable effort to fight sexism at Springfield Elementary, an education reformer separates girls to learn a supposedly more feminine form of math. Lisa chafes at the lack of actual problem-solving, and sneaks into the male half of the school to excel in math under cover. The writers found no easy way to resolve the controversy in the episode – just as Lisa is about to offer her opinion about why women continue to be underrepresented in STEM fields in a climactic speech, Martin Prince interrupts with a flute solo.
07“$pringfield (Or, How I Learned to Stop Worrying and Love Legalized Gambling)” (1993)
"$pringfield (Or, How I Learned to Stop Worrying and Love Legalized Gambling)" (1993) ------------------------------------------------------------------------------------- Wearing Henry Kissinger’s glasses (the former secretary of state dropped them in the toilet while touring Springfield’s nuclear power plant) seems to endow Homer with his intellect. So he spouts an impressive-sounding geometric formula – “the sum of the square roots of any two sides of an isosceles triangle is equal to the square root of the remaining side” – that turns out to be totally false. Back to proofs, Simpson. The scene references *The Wizard of Oz*, when the Scarecrow, emboldened by the brains supposedly endowed by his new diploma, spouts the same bastardized version of the Pythagorean theorem.
08“Bart the Genius” (1990)
“Bart the Genius” (1990) ------------------------- In the first regular *Simpsons* episode, math-infused sequences underscore a plot about Bart’s academic frustration. When an aptitude test is foisted on the class, Bart’s visualization of a classic trains-traveling-at-different-speeds problem devolves into a numerical nightmare. Fed up, he swaps his answer sheet with that of the brainy Martin – and finds himself fast-tracked to a school for gifted students.
09“Bart the Genius” (1990)
"Bart the Genius” (1990) ------------------------ At his new school, Bart is out of his depth among brainy students who negotiate lunch exchanges using rarefied units of measurement like gills and picoliters. In this scene, calculus-deficient Bart fails to understand his classmates’ glee when the teacher derives the equation y = (r^3^)/3. The solution (r dr r) is also a punch line (har-de-har-har), but it doesn’t take advanced calculus to understand that a joke’s lulz decelerate the more it’s explained.
The Best Qi2 and MagSafe Wireless Chargers for Your Phone
Top up your Qi2 Android phone or MagSafe iPhone with a magnetic wireless charging stand, pad, car charger, or power bank.
Simon Hill
The Best Automatic Litter Boxes Tested by Our Spoiled Cats
With these high-tech automatic litter boxes, gone are the days of scooping and smells. Welcome to the future.
Molly Higgins
The Best Greens Powders for Drinking Your Veggies
I did the research and taste-testing to find the best greens powders worth your money. Bloom Nutrition’s Superfood Greens Powder is my tried-and-true pick.
Louryn Strampe
20 Best Gifts for Men, Manly Men, and Menly Man Men
When you need something that’s as mannishly masculinized as you can get for the Man™ in your life, we have you covered.
Matthew Korfhage
Give Your Back a Break With Our Favorite Office Chairs
Sitting at a desk for hours? Upgrade your WFH setup and work in style with these comfy WIRED-tested seats.
Julian Chokkattu
The Best Mattresses You Can Buy Online in 2026
WIRED has tested 100-plus bed-in-a-box mattresses for a week each. Our top pick, the Helix Midnight Luxe hybrid, is the best bed you can buy online.
Julia Forbes
The Best Drip Coffee Makers Now Rival Café Pour-Over
The old-fashioned drip coffee maker has come a long way. These impressive machines can turn your barista into a stranger.
Matthew Korfhage
Give Your Back a Break With Our Favorite Office Chairs
Sitting at a desk for hours? Upgrade your WFH setup and work in style with these comfy WIRED-tested seats.
Julian Chokkattu
The Best MagSafe and Qi2 Power Banks for Your Phone
Keep your iPhone or Qi2 Android phone topped up with one of the best portable chargers.
Simon Hill
Give Your Back a Break With Our Favorite Office Chairs
Sitting at a desk for hours? Upgrade your WFH setup and work in style with these comfy WIRED-tested seats.
Julian Chokkattu
The Best Hiking Boots and Shoes for Any Adventure
From strenuous hikes and serious summits to weekend rambles in the park, these boots help you make the most of your time outdoors.
Chris Haslam
The Best Portable Power Stations for Blackouts, Camping, or Van Life
Whether you’re going off-grid or safeguarding against blackouts, these beefy, WIRED-tested batteries can keep the lights on.
Simon Hill