Five Math Movies That Actually Happened
Mathematics & Cinema
Abakcus · Film
These are not the movies where a character scribbles incomprehensible equations on a foggy window and calls it genius. These are the ones where the mathematics is the plot.
There is a peculiar challenge in making mathematics dramatic. Numbers do not explode. Proofs do not bleed. A mathematician sitting alone in a room, filling a notebook, looks identical whether he is solving the problem that will change the world or getting the long division wrong. Cinema has always known this, which is why so many films about mathematics are really films about the people around the mathematics — the marriages that fall apart, the institutions that exclude, the wars that conscript, the desperation that drives someone to stay up until 3 a.m. working on something no one else can see.
The five films below are adapted from real events. Creative liberties were taken in all of them — that is the condition of the medium, not a flaw. What matters is that behind each screenplay there is a documented life, a verifiable result, a thing that actually happened. The mathematics is not decorative. It is the reason these people are worth a film. If you prefer the nonfiction version of these lives, our companion list of beautiful math documentaries chases the same obsession from the other direction.
§
01
A Beautiful Mind
2001
Director Ron HowardSubject John NashField Game Theory
Nash’s 1950 paper introduced equilibrium theory with almost no formal economic training. He had taken exactly one course in economics as an undergraduate at Carnegie Tech.
Sylvia Nasar, A Beautiful Mind (1998)
02
Stand and Deliver
1988
Director Ramón MenéndezSubject Jaime EscalanteField Calculus
Edward James Olmos lost 40 pounds and studied with Escalante for over a year to prepare for the role. The real Escalante appears briefly in the film as a restaurant worker.
Jay Mathews, Escalante: The Best Teacher in America (1988)
03
Hidden Figures
2016
Director Theodore MelfiSubject Johnson, Vaughan, JacksonField Orbital Mechanics
Katherine Johnson received the Presidential Medal of Freedom in 2015. The film was released in 2016. She was 97 years old at the premiere and lived to see it become one of the highest-grossing films of that year.
Margot Lee Shetterly, Hidden Figures (2016)
04
Moneyball
2011
Director Bennett MillerSubject Billy Beane / Paul DePodestaField Sabermetrics, Statistics
Within five years of Moneyball’s publication in 2003, virtually every major league baseball team had hired a full-time statistical analyst. The book changed an industry. The film explains why that is worth a movie.
Michael Lewis, Moneyball (2003)
05
X+Y
2014
Director Morgan MatthewsSubject Daniel LightwingField Mathematical Olympiad
The International Mathematical Olympiad has been held annually since 1959, with a one-year interruption in 1980. More than 100 countries now participate. The problems are designed to be solvable without higher mathematics — only by deep reasoning from first principles.
IMO Official Records, 1959–2023
§
What these five films share is not genre or tone. Some are triumph narratives. One is a caper. What they share is a specific claim: that mathematics, actually practiced by actual people, produces stories worth telling. Not because mathematics is secretly dramatic — it mostly is not — but because the people who do it seriously enough are.
The discipline selects for a particular kind of stubbornness. You cannot bluff your way through a proof. The answer is right or it is not, and if it is not, the page knows before you do. Living that way for long enough does something to a person. These films are, in different registers, about what it does.
Notes
1Good Will Hunting (1997) was deliberately excluded. It is original fiction, not based on documented real events — the theorem on the hallway chalkboard is invented, and the MIT setting is atmosphere, not biography. Trailer · Amazon
2The term “sabermetrics” was coined by Bill James in the 1970s, derived from SABR — the Society for American Baseball Research. DePodesta’s actual methodology was more systematic and less confrontational than the film depicts, which is what makes the real story slightly more interesting than the dramatized one.
3Katherine Johnson’s actual job title at NASA was “research mathematician.” The word “computer” referred to her role, not her nature — before electronic computers were reliable, human mathematicians performed the calculations. The distinction mattered enormously to Glenn.