How to Find the Mean and Variance of an Exponential Distribution
At a glance
- 1. Identify the parameter
Check whether the distribution is written using a rate or a scale; the formulas differ in appearance.
- 2. Write the density
For rate λ, the density is λe^(−λx) for x ≥ 0.
- 3. Calculate two moments
Find E[X] and E[X²] by integrating against the density.
- 4. Apply the variance formula
Subtract the square of the mean from the second moment.
The mean and variance of an exponential distribution depend on how its parameter is defined. The most common convention uses a rate parameter, usually written as . Under that convention, the mean is and the variance is . The derivation below starts from the probability density function, then works through a numerical example and explains the alternative scale convention.
Exponential distribution using the rate parameter
A continuous random variable has an exponential distribution with rate if its density is
and for . The rate describes how quickly events occur, so its units are the inverse of the units used for . For example, if is measured in minutes, is measured in events per minute (or, more precisely, inverse minutes).
For a continuous random variable, the expectation is the integral of the value times its density:
The second moment is calculated similarly, replacing with :
Once these two moments are known, use .
Deriving the mean
Substitute the exponential density into the expectation integral:
The second line follows from integration by parts. The boundary term is zero: at it is zero, and as tends to infinity, tends to zero. The remaining integral evaluates to .
Deriving the variance
First compute the second moment:
The second line is another integration by parts; the boundary term vanishes, just as in the mean calculation. Now subtract the square of the mean:
Therefore, for the rate parameterization,
The standard deviation is the square root of the variance, so it is also . The mean and standard deviation have the same units as , while the variance has squared units.
Worked example
Suppose a waiting time , measured in minutes, follows an exponential distribution with rate per minute. Then
The standard deviation is minutes. As a related check, the probability of waiting longer than five minutes is
This uses the exponential survival function, for . It also illustrates why the rate’s units matter: multiplying a rate in inverse minutes by a time in minutes gives a unitless exponent.
If the parameter is a scale instead
Some texts define the exponential distribution with a scale parameter and write its density as
Since , the same results become
Check the density or the author’s parameter definition before using a formula. A parameter named is not automatically a scale: notation varies, and the defining density is what settles the convention.
Common mistakes
- Mixing up rate and scale. With a rate , the mean is its reciprocal. With a scale , the mean equals the scale.
- Calling the standard deviation the variance. The variance is ; the standard deviation is .
- Dropping the squared units. If time is measured in minutes, variance is in minutes squared, not minutes.
- Using the formula outside the exponential model. These results require a nonnegative continuous variable with the stated exponential density; other distributions can have different moments.
References
- A First Course in Probability, Sheldon Ross
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.