Did you know? · Science & Medicine

Von Neumann helped create the Monte Carlo method

With Stanislaw Ulam, John von Neumann helped develop the Monte Carlo method, using random numbers on computers to solve problems too complex for direct calculation.

John von Neumann
John von Neumann · 1903–1957
Person
John von Neumann
Lived
1903–1957
Field
Mathematics & computing
From
Hungarian-American

The story

Some problems in physics are far too complicated to solve with equations alone, such as tracking huge numbers of neutrons bouncing through a material. In 1946 physicists at Los Alamos were studying how neutrons travel through the core of a nuclear weapon. They had most of the necessary data but could not solve the problem by conventional methods.

The mathematician Stanislaw Ulam found inspiration while recovering from an illness and playing solitaire. Rather than calculate the odds of winning a hand by pure reasoning, he realised it would be more practical to play many times and count the successes, and that the new fast computers could do this for physics problems. Later in 1946 he described the idea to his close friend John von Neumann, and the two began to plan actual calculations.

Instead of solving the equations exactly, they used random numbers to simulate many possible histories of a system, then averaged the results to approximate the answer. Because the work was secret it needed a code name, and their colleague Nicholas Metropolis suggested Monte Carlo, after the casino in Monaco. In the spring of 1948 von Neumann, Metropolis and others programmed the ENIAC to perform the first fully automated Monte Carlo calculations. Von Neumann also devised clever tricks for producing usable random numbers, including the middle-square method and a way to simulate a fair coin using a biased one, still used in some hardware random number generators.

In the 1950s the method spread into physics, physical chemistry and operations research, helped by funding and publications from the RAND Corporation and the US Air Force.

Monte Carlo simulation has since spread far beyond its origins. It is used to calculate radiation doses, design heat shields and aerodynamic shapes, analyse the reliability of engineering systems, plan wireless networks, guide robots, assess climate data for the Intergovernmental Panel on Climate Change, model financial risk and power game-playing artificial intelligence.

Why it matters

Monte Carlo methods are among the most widely used computational tools in science, medicine, engineering and finance.

About John von Neumann

Budapest-born mathematician whose 1945 EDVAC report set out the stored-program design behind almost every computer, and who helped found game theory and modern quantum mechanics.

Read the full profile
John von Neumann
1903–1957 · Mathematics & computing
View profile →

More about John von Neumann

Sources

Another act of tikkun olam. This is part of tikkun olam, the Jewish idea of repairing the world, and every one of us can add to it.

More in Science & Medicine

On kindness & the treatment of others
“A friend is devoted at all times; a brother is born to share adversity.”
Proverbs 17:17