MPE StudioMath of Planet Earth
Statistical Toolkit · 08

The Monte Carlo Method: Mathematical Definition

Approximating unknown quantities from sample averages

If a random variable has expectation r, the average of independent copies converges to r. This turns probability into a general numerical method.

watchone idea
→
manipulateone example
→
leave withone intuition

The essential idea: rewrite the desired quantity as an expectation, sample repeatedly, and average.

Watch the concept

One Concept · One Example

The Monte Carlo Method: Mathematical Definition video thumbnail▶

The Monte Carlo Method: Mathematical Definition

Presented by Charlotte Moser

Watch on YouTube ↗

What to notice

The idea in 30 seconds

One equation, a broad computational method

Monte Carlo estimator

Independent and identically distributed samples contribute equally to the empirical average.

r^N=1N∑i=1NXi

Accuracy

The standard error shrinks slowly: ten times less uncertainty usually costs one hundred times more samples.

STD(r^N−r)=σN
Explore

Estimate π with random points

Scatter points uniformly in a square. The fraction landing inside the unit circle estimates its area and therefore π.

Blue points fall inside the circle; pale red points fall outside. At large N, a representative subset remains visible while the estimate uses all samples.

KEY TAKEAWAY

Monte Carlo converts deterministic quantities into expectations, then approximates them with random numerical samples.