Importance sampling is a variance reduction technique that can be used in the Monte Carlo method.
The Monte Carlo method is used to approximate the integral of a function as the average of the function evaluated at a set of points .
If we have additional knowledge about what f looks like and can find a function g similar to f, we can rewrite the integral as
where the now follow a distribution.
If has a smaller variance than , the new sequence will converge faster.