What you actually need to integrate
Continuous probability is integration. A density satisfies and ; probabilities are and expectations are . The integrands that appear are almost always polynomials, exponentials, Gaussians and their products, so a few techniques and three named integrals do most of the work.
Substitution
with . Look for a function whose derivative is also present. For the standard normal density , the substitution , gives
That number is behind the trader's rule that an at-the-money call is worth about : with , , and zero rates, roughly $8.
Integration by parts
. Choose to be the factor that gets simpler when differentiated (a polynomial) and the factor you can integrate (an exponential). For :
Repeating it times gives the most useful formula in this lesson:
Completing the square
For Gaussian integrands with a linear term in the exponent, complete the square: , so
The named integrals
| Name | Integral | Value |
|---|---|---|
| Gamma | , , | |
| Beta | ; for integers | |
| Gaussian |
With these, you recognise an integral instead of computing it: if the integrand looks like a known density up to a constant, the integral is the reciprocal of that density's normalising constant.
Expectation from the tail
For , . This is often easier than finding the density, especially for minima and maxima. For the minimum of three independent uniforms on , , so .
Worked example
normalise, then take moments
(a) Find so that is a density on , and compute its mean and variance.
(b) Find so that is a density on , and compute its mean and variance.
Show solutionHide solution
(a) , so . By symmetry about , . Next,
so . This is the Beta(2, 2) density, and .
(b) , so . Moments are just shifted Gamma integrals:
This is a Gamma(3, 1) variable, the sum of three independent Exp(1) waiting times, which is why the mean and the variance are both 3.
Worked example
a payoff and a Beta integral
(a) is exponential with mean 1. Compute for .
(b) is uniform on . Compute .
Show solutionHide solution
(a) The payoff is zero below , so
Substitute : . (Equivalently, the exponential is memoryless: given , the excess is again Exp(1) with mean 1, and .) At this is .
(b) The density of is 1 on , so this is . Expanding and integrating term by term gives the same answer much more slowly.
Knowledge check
For which is a density on ?
Knowledge check
What is ?
Knowledge check
For a standard normal , what is , to two decimal places?
Knowledge check
What is ?
Key takeaways
- Substitution when a function and its derivative both appear; parts when a polynomial multiplies an exponential.
- , , .
- Normalise first, then read moments off the same named integral with shifted parameters.
- Complete the square for Gaussians: .
- For non-negative , is often the quickest route.
- , the source of the at-the-money option rule of thumb.
Practice problems
Finished reading?
Answer the 4 knowledge checks to complete this lesson (0 done).