In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, Laplace's method, named after
Pierre-Simon Laplace, is a technique used to approximate
integrals of the form
:
where
is a twice-
differentiable function, ''M'' is a large number, and the endpoints ''a'' and ''b'' could possibly be infinite. This technique was originally presented in .
In
Bayesian statistics,
Laplace's approximation
In mathematics, Laplace's approximation fits an un-normalised Gaussian approximation to a (twice differentiable) un-normalised target density. In Bayesian statistical inference this is useful to simultaneously approximate the posterior and the ...
can refer to either approximating the
posterior normalizing constant with Laplace's method or approximating the posterior distribution with a
Gaussian centered at the
maximum a posteriori estimate
In Bayesian statistics, a maximum a posteriori probability (MAP) estimate is an estimate of an unknown quantity, that equals the mode of the posterior distribution. The MAP can be used to obtain a point estimate of an unobserved quantity on the b ...
. Laplace approximations play a central role in the
integrated nested Laplace approximations
Integrated nested Laplace approximations (INLA) is a method for approximate Bayesian inference based on Laplace's method. It is designed for a class of models called latent Gaussian models (LGMs), for which it can be a fast and accurate alternativ ...
method for fast approximate Bayesian inference.
The idea of Laplace's method

Suppose the function
has a unique
global maximum at ''x''
0. Let
be a constant and consider the following two functions:
:
Note that ''x''
0 will be the global maximum of
and
as well. Now observe:
:
As ''M'' increases, the ratio for
will grow exponentially, while the ratio for
does not change. Thus, significant contributions to the integral of this function will come only from points ''x'' in a
neighbourhood of ''x''
0, which can then be estimated.
General theory of Laplace's method
To state and motivate the method, we need several assumptions. We will assume that ''x''
0 is not an endpoint of the interval of integration, that the values
cannot be very close to
unless ''x'' is close to ''x''
0, and that
We can expand
around ''x''
0 by
Taylor's theorem
In calculus, Taylor's theorem gives an approximation of a ''k''-times differentiable function around a given point by a polynomial of degree ''k'', called the ''k''th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the t ...
,
:
where
(see:
big O notation
Big ''O'' notation is a mathematical notation that describes the limiting behavior of a function when the argument tends towards a particular value or infinity. Big O is a member of a family of notations invented by Paul Bachmann, Edmund Lan ...
).
Since
has a global maximum at ''x''
0, and since ''x''
0 is not an endpoint, it is a
stationary point, so the derivative of
vanishes at ''x''
0. Therefore, the function
may be approximated to quadratic order
:
for ''x'' close to ''x''
0 (recall
). The assumptions ensure the accuracy of the approximation
:
(see the picture on the right). This latter integral is a
Gaussian integral if the limits of integration go from −∞ to +∞ (which can be assumed because the exponential decays very fast away from ''x''
0), and thus it can be calculated. We find
:
A generalization of this method and extension to arbitrary precision is provided by .
Formal statement and proof
Suppose
is a twice continuously differentiable function on
and there exists a unique point
such that:
:
Then:
:
Lower bound: Let
. Since
is continuous there exists
such that if
then
By
Taylor's Theorem
In calculus, Taylor's theorem gives an approximation of a ''k''-times differentiable function around a given point by a polynomial of degree ''k'', called the ''k''th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the t ...
, for any
:
Then we have the following lower bound:
:
where the last equality was obtained by a change of variables
:
Remember
so we can take the square root of its negation.
If we divide both sides of the above inequality by
:
and take the limit we get:
:
since this is true for arbitrary
we get the lower bound:
:
Note that this proof works also when
or
(or both).
Upper bound: The proof is similar to that of the lower bound but there are a few inconveniences. Again we start by picking an
but in order for the proof to work we need
small enough so that
Then, as above, by continuity of
and
Taylor's Theorem
In calculus, Taylor's theorem gives an approximation of a ''k''-times differentiable function around a given point by a polynomial of degree ''k'', called the ''k''th-order Taylor polynomial. For a smooth function, the Taylor polynomial is the t ...
we can find
so that if
, then
:
Lastly, by our assumptions (assuming
are finite) there exists an
such that if
, then
.
Then we can calculate the following upper bound:
:
If we divide both sides of the above inequality by
:
and take the limit we get:
:
Since
is arbitrary we get the upper bound:
:
And combining this with the lower bound gives the result.
Note that the above proof obviously fails when
or
(or both). To deal with these cases, we need some extra assumptions. A sufficient (not necessary) assumption is that for
:
and that the number
as above exists (note that this must be an assumption in the case when the interval