Skip to content

Moment

Definition

Let XX be a random variable and let r≥1r\ge1 be a natural number. If E∣X∣r<∞\mathbb{E}|X|^r<\infty, the rrth moment (or raw moment, moment about the origin) of XX is

E[Xr].\mathbb{E}[X^r].

Writing μ=EX\mu=\mathbb{E}X for the first moment, the rrth central moment (moment about the mean) is

E[(X−μ)r].\mathbb{E}[(X-\mu)^r].

If E∣X∣r=∞\mathbb{E}|X|^r=\infty, the rrth moment does not exist. Both moments are expectations of a function of XX, so by LOTUS they are computed from the PMF as ∑xxrpX(x)\displaystyle \sum_x x^r p_X(x) or from the PDF as ∫xrfX(x) dx\int x^r f_X(x)\,\mathrm{d}x, and similarly with (x−μ)r(x-\mu)^r.


Interpretation

Moments summarize a distribution through averages of powers. Raw moments are measured from 00; central moments are measured from the mean, so they describe the shape of the distribution around its centre and do not change when XX is shifted. Higher powers give large deviations more weight, so higher moments are increasingly sensitive to the tails.

For XX taking the values 1,2,31,2,3 with probabilities 0.5,0.3,0.20.5,0.3,0.2:

  • raw moments: EX=1.7\mathbb{E}X=1.7, E[X2]=0.5+1.2+1.8=3.5\mathbb{E}[X^2]=0.5+1.2+1.8=3.5 and E[X3]=0.5+2.4+5.4=8.3\mathbb{E}[X^3]=0.5+2.4+5.4=8.3;
  • central moments: the deviations from μ=1.7\mu=1.7 are −0.7,0.3,1.3-0.7,0.3,1.3, so the second central moment is 0.5(0.49)+0.3(0.09)+0.2(1.69)=0.610.5(0.49)+0.3(0.09)+0.2(1.69)=0.61 and the third is 0.5(−0.343)+0.3(0.027)+0.2(2.197)=0.2760.5(-0.343)+0.3(0.027)+0.2(2.197)=0.276.

Probability bars at 1, 2 and 3 with masses 0.5, 0.3 and 0.2, used to compute the first three moments.

The positive third central moment reflects the long right tail: the single large deviation 1.31.3 outweighs the more likely deviation −0.7-0.7 once it is cubed.

Choose the order rr and measure from 00 or from μ\mu. Each lower bar is one contribution xrpX(x)x^r p_X(x) or (x−μ)rpX(x)(x-\mu)^r p_X(x), and the moment is their sum. Shift every value to see that only the raw moments change.

The order of operations matters. The second moment E[X2]\mathbb{E}[X^2] averages the squares, whereas (EX)2(\mathbb{E}X)^2 squares the average; here 3.53.5 against 1.72=2.891.7^2=2.89. Their difference is the second central moment, 3.5−2.89=0.613.5-2.89=0.61.


Key Results

The first moment is the expectation, and the first central moment is always 00. The second central moment is the variance; expanding the power and using linearity of expectation expresses central moments through raw moments:

Var⁡(X)=E[(X−μ)2]=E[X2]−μ2,E[(X−μ)3]=E[X3]−3μ E[X2]+2μ3.\begin{aligned} \operatorname{Var}(X)&=\mathbb{E}[(X-\mu)^2]\\ &=\mathbb{E}[X^2]-\mu^2,\\ \mathbb{E}[(X-\mu)^3]&=\mathbb{E}[X^3]-3\mu\,\mathbb{E}[X^2] +2\mu^3. \end{aligned}

The cross terms do not cancel: the third central moment is not E[X3]−μ3\mathbb{E}[X^3]-\mu^3. When the third moment exists and the standard deviation satisfies σ>0\sigma>0, the third central moment divided by σ3\sigma^3 is the skewness, a measure of asymmetry. This standardized coefficient is undefined for a constant random variable, for which σ=0\sigma=0.

  • Since a variance is never negative, E[X2]≥(EX)2\mathbb{E}[X^2]\ge(\mathbb{E}X)^2, with equality exactly when XX is constant almost surely.
  • For constants a,ba,b, the rrth central moment of a+bXa+bX is brb^r (not ∣b∣r|b|^r) times that of XX. In particular, shifting by aa leaves all central moments unchanged, and the odd central moments change sign when b=−1b=-1. Raw moments are not shift-invariant: E[(a+bX)2]=a2+2ab EX+b2 E[X2]\mathbb{E}[(a+bX)^2]=a^2+2ab\,\mathbb{E}X+b^2\,\mathbb{E}[X^2].
  • If the ssth moment exists, so does every rrth moment with r≤sr\le s, because ∣x∣r≤1+∣x∣s|x|^r\le1+|x|^s. The converse fails: moments can fail to exist for heavy-tailed distributions even when lower moments are finite.
  • If XX is bounded, say ∣X∣≤c|X|\le c, every moment exists and ∣E[Xr]∣≤cr|\mathbb{E}[X^r]|\le c^r.
  • For an indicator random variable IAI_A, IAr=IAI_A^r=I_A, so every moment equals P(A)\mathbb{P}(A).
  • If the moment generating function is finite on an open interval around 00, all moments exist and E[Xn]=MX(n)(0)\mathbb{E}[X^n]=M_X^{(n)}(0) (moments from the MGF).

Examples

  • For a fair die, EX=21/6=3.5\mathbb{E}X=21/6=3.5 and E[X2]=(1+4+9+16+25+36)/6=91/6\mathbb{E}[X^2]=(1+4+9+16+25+36)/6=91/6, so Var⁡(X)=91/6−49/4=35/12\operatorname{Var}(X)=91/6-49/4=35/12.
  • For X∼Bern⁡(p)X\sim\operatorname{Bern}(p) (Bernoulli distribution), Xr=XX^r=X, so E[Xr]=p\mathbb{E}[X^r]=p for every rr and Var⁡(X)=p−p2=p(1−p)\operatorname{Var}(X)=p-p^2=p(1-p).
  • For X∼Unif⁡(0,1)X\sim\operatorname{Unif}(0,1), E[Xr]=∫01xr dx=1/(r+1)\mathbb{E}[X^r]=\int_0^1 x^r\,\mathrm{d}x=1/(r+1), so Var⁡(X)=1/3−1/4=1/12\operatorname{Var}(X)=1/3-1/4=1/12.
  • For X∼Exp⁡(λ)X\sim\operatorname{Exp}(\lambda), E[Xn]=n!/λn\mathbb{E}[X^n]=n!/\lambda^n; the second central moment is 2/λ2−1/λ2=1/λ22/\lambda^2-1/\lambda^2=1/\lambda^2.
  • For the three-point XX above and Y=2X+1Y=2X+1, EY=2(1.7)+1=4.4\mathbb{E}Y=2(1.7)+1=4.4, the second central moment of YY is 22(0.61)=2.442^2(0.61)=2.44 and the third is 23(0.276)=2.2082^3(0.276)=2.208.
  • If XX has a symmetric distribution about its mean, every odd central moment that exists is 00: the deviations X−μX-\mu and μ−X\mu-X have the same distribution.
  • The density f(x)=2x−3f(x)=2x^{-3} for x≥1x\ge1 has finite mean EX=∫1∞2x−2 dx=2\mathbb{E}X=\int_1^\infty 2x^{-2}\,\mathrm{d}x=2, but E[X2]=∫1∞2x−1 dx=∞\mathbb{E}[X^2]=\int_1^\infty 2x^{-1}\,\mathrm{d}x=\infty, so its variance does not exist.

Prerequisites

Sources

Aliases: raw moment, moment about the origin, central moment, moment about the mean Keywords: nth moment, first moment, second moment, nth central moment, E[X^r], existence of moments Symbols: infinity, integral, lambda, mu, sigma, sum

Last updated: 27 October 2026 11:52