# Monte Carlo method

**Topic:** Maths · Applied mathematics  
**Page:** https://curium.ctopass.com/en/c/methode-de-monte-carlo  
**Updated:** 2026-09-28

## The three levels

### Beginner — How does the Monte Carlo method calculate pi with randomness?

Draw a quarter circle in a square, then throw random points at it. The proportion of those landing inside the quarter circle approaches pi divided by four. A few thousand points give two decimal places; getting more requires unreasonable patience.

### Intermediate — Why is the Monte Carlo method named after a casino?

Born at Los Alamos in the 1940s to track neutron paths, the method needed a code name. Nicholas Metropolis suggested Monte Carlo, thinking of Monaco's casino frequented by Stanislaw Ulam's uncle. Ulam himself had the idea while trying to evaluate the odds of winning a game of solitaire.

### Expert — Why does Monte Carlo's error ignore the number of dimensions?

The error decreases as the inverse of the square root of the number of samples, and this rate does not depend on dimension. Classical quadrature methods, by contrast, require a mesh whose size explodes with each added variable. In thirty dimensions, randomness clearly wins.

## Explore next

- [Graph theory](https://curium.ctopass.com/en/c/theorie-des-graphes.md)
- [Buffon's needle](https://curium.ctopass.com/en/c/aiguille-de-buffon.md)
- [Proportionality](https://curium.ctopass.com/en/c/proportionnalite.md)
- [Prisoner's dilemma](https://curium.ctopass.com/en/c/dilemme-du-prisonnier.md)
- [Algorithm](https://curium.ctopass.com/en/c/l-algorithme.md)
- [Percentage](https://curium.ctopass.com/en/c/pourcentage.md)
- [Travelling salesman problem](https://curium.ctopass.com/en/c/probleme-du-voyageur-de-commerce.md)
- [Linear programming](https://curium.ctopass.com/en/c/programmation-lineaire.md)
- [Perfect number](https://curium.ctopass.com/en/c/nombre-parfait.md)
- [Pi](https://curium.ctopass.com/en/c/nombre-pi.md)

---

Curium — Knowledge, one question at a time.

App Store: https://apps.apple.com/fr/app/curium/id6793886587
Google Play: https://play.google.com/store/apps/details?id=com.ctopass.curium
