Abakcus
← Back to home

Mathematics & Cinema

Five Math Movies That Actually Happened

Abakcus  ·  Film

Five Math Movies That Actually Happened — a still from each true-story mathematics 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

John Nash published his doctoral dissertation in 1950. It was 28 pages long. In it, he introduced what is now called the Nash equilibrium — a concept that would eventually reshape economics, political science, evolutionary biology, and the theory of auctions. The Nobel Committee awarded him the Prize in Economics in 1994, forty-four years later.

Ron Howard’s film focuses less on the mathematics and more on Nash’s decades-long struggle with paranoid schizophrenia. This is a fair editorial choice. The equilibrium concept is genuinely difficult to dramatize. What is not difficult to dramatize is a man arguing with people who are not there. The film does both jobs, in that order of priority.

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)

Russell Crowe’s performance received an Academy Award nomination. The film won Best Picture. More importantly, it introduced Nash equilibrium to an audience of millions who have since used it, knowingly or not, in every negotiation they have ever entered.

02

Stand and Deliver

1988
Director Ramón MenéndezSubject Jaime EscalanteField Calculus

In 1982, eighteen students at Garfield High School in East Los Angeles — a school the state had threatened to strip of its accreditation — passed the Advanced Placement Calculus exam. The Educational Testing Service found the scores suspicious and asked the students to retake it. They did. They passed again. The accusation was not based on any specific evidence of cheating. It was based on the assumption that these students, from this neighborhood, could not have done what they demonstrably did.

Jaime Escalante had given up a career as an engineer in Bolivia to become a teacher in the United States. By 1987, his program had grown to 73 AP Calculus students — more than any comparable public school in the country. By 1991, Garfield had become one of the highest AP Calculus testing schools in the nation.

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)

The film is not subtle. It does not pretend to be. It was made to be shown in classrooms, and it has been, for nearly four decades.

03

Hidden Figures

2016
Director Theodore MelfiSubject Johnson, Vaughan, JacksonField Orbital Mechanics

Katherine Johnson calculated the trajectory for Alan Shepard’s 1961 suborbital flight. She calculated the trajectory for John Glenn’s 1962 orbital flight. Glenn himself, before boarding Friendship 7, asked NASA to have “the girl” — meaning Johnson — manually verify the IBM 7090’s calculations before he would agree to launch. The computer had already done the math. Glenn wanted the human to check it. The human was Katherine Johnson.

Dorothy Vaughan became NASA’s first Black supervisor in 1949. Mary Jackson became NASA’s first Black female engineer in 1958. These are not minor footnotes. They are foundational contributions to one of the most documented engineering programs in history, which somehow managed to go largely unacknowledged for fifty years.

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)

The film earned three Academy Award nominations, including Best Picture. More usefully, it restored three names to the historical record they had always belonged in.

04

Moneyball

2011
Director Bennett MillerSubject Billy Beane / Paul DePodestaField Sabermetrics, Statistics

In 2002, the Oakland Athletics had a payroll of $41 million. The New York Yankees had $125 million. Oakland finished with a 103-win season and a 20-game winning streak. They did it by replacing the scouts’ intuition with on-base percentage, slugging percentage, and the insight that baseball had been systematically mispricing certain statistics for a century.

The mathematics here is not glamorous. It is spreadsheet mathematics — regressions, OBP calculations, market inefficiency analysis. Paul DePodesta, whose character is renamed in the film, had a degree in economics from Harvard. He was not making stunning breakthroughs in abstract algebra. He was reading the numbers that everyone else had and reaching different conclusions about what they meant.

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)

Six Academy Award nominations. Brad Pitt has never been better at playing someone who is doing math.

05

X+Y

2014
Director Morgan MatthewsSubject Daniel LightwingField Mathematical Olympiad

Morgan Matthews made a documentary called Beautiful Young Minds in 2007, following the British team preparing for the International Mathematical Olympiad. One of the students in that documentary, Daniel Lightwing, was autistic, exceptionally gifted, and — as the film showed without editorializing — deeply isolated in ways that had nothing to do with his mathematical ability. Matthews later returned to that material and turned it into a fiction film, with Asa Butterfield in the lead role.

The IMO problems shown in the film are real. The training process is accurate. The competitive pressure — 100 countries, six problems over two days, scores that can determine university placement and funding — is not invented for dramatic effect.

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

X+Y is quieter than the others on this list. It does not have an obvious villain, a courtroom scene, or a moment where someone proves something on a blackboard while violins play. It is a film about what it is like to be excellent at the one thing that makes you feel real, in a world that keeps asking you to be better at everything else.

§

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

  1. 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
  2. 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.
  3. 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.