We will first look at an integral in one dimension to learn about the Monte Carlo Method. Of course the method is normally used to evaluate multi-dimensional integrals.
Consider an integral over in a domain [0,1].
The uncertainty
associated with this evaluation of the integral is given by
the variance in calculating the average of , namely
The calculation of reveals
two important aspects of the Monte Carlo Integration. First, the
uncertainty in the estimate of the integral decreases as
. If more
points are used to calculate
, better the answer will be. But this
is by far a slower convergence than the traditional Trapezoidal or Simpson Rules
that go as
or
.
The second aspect that reveals is that the
error in calculating the integral depends on the fluctuations in
. For
constant, a small number of
(1 value) would be enough to
calculate the average accurately. On the other hand, a very peaked
would be poorly represented by sampling with equally distributed
random numbers and would therefore produce a very poor value of the
integral.
Michel Vallieres 2014-04-01