5.6 Mean-value theorem and high-D Monte Carlo
Source: Ideas from Computational Physics (Landau, Páez, Bordeianu), §5.6. Rewritten in original wording. Continues 5.5 Monte Carlo integration. Labs: 5.6b Mean-value and high-D labs.
Mean-value form
For a continuous on there is some with . Monte Carlo replaces the unknown by a sample mean. Walk the mean-value identity, the estimator , equal weights , , and the 2D volume form — pick the matching equation at each step.
Doubling accuracy costs about more samples — slow but predictable.
Why high dimensions favor Monte Carlo
A conventional product grid with points per axis in would need evaluations — not a serious plan. Monte Carlo still needs only integrand calls, and the leading error remains independent of (for plain independent sampling). Rough crossover lore: around –, Monte Carlo starts competing with simple deterministic rules; for larger it usually wins on cost-per-digit.
A 10-dimensional check
A textbook calibration (smooth, known exact value) is
One Monte Carlo trial: draw points in the unit hypercube, average . Averaging several independent seeds reduces run-to-run jitter. Relative error should shrink like as you raise or average trials.
Two-dimensional generalization
On a rectangle (or hyper-rectangle of volume ), the same pattern is — the guide’s last step. Averaging several independent seeds reduces run-to-run jitter. Relative error should shrink like as you raise or average trials.
Mean value and high-D
1 / 3Mean-value MC writes I ≈ …
Pick an answer to see if you are right.