Janitor’s Late Arrival Leads to Solving Unsolvable Math Problems

George Dantzig showed up late, thought the impossible was homework, and solved what nobody else could.

Walking into class late and mistaking two of the world’s most difficult math problems for homework sounds like a movie scene, because it became one.

That’s exactly what happened to George Dantzig in 1939, a graduate student at UC Berkeley. He rushed into Professor Jerzy Neyman’s statistics lecture and saw two problems written on the blackboard. Assuming they were part of the day’s assignment, he jotted them down.

He worked through the problems at home, submitted them late, and apologized for the delay. A few weeks later, his professor knocked on his door stunned. Dantzig hadn’t just completed an assignment. He had solved two unsolved problems in statistics that had stumped top mathematicians for years.

The solutions were so significant they later became part of Dantzig’s doctoral thesis. His brilliance didn’t stop there. He went on to help develop the Simplex algorithm, a cornerstone of operations research that’s still used in fields like logistics, finance, and engineering.

Years later, this real-life moment became the inspiration for the iconic janitor scene in Good Will Hunting. In the film, Matt Damon’s character casually solves a complex math problem on a hallway blackboard, stunning MIT professors.

What most fans don’t know is that the film’s moment of genius was drawn from Dantzig’s real-world brilliance.

His accidental legend is now used in motivational speeches and self-help books to prove that sometimes, not knowing the limits is what breaks them.