Expectation, Variance and Moments

Hand a physicist a probability distribution and the first question is never "what is the whole density?" but "where does it sit, how wide is it, and what shape does it have?" Those three answers are the expectation, the variance, and the higher moments, and every one of them is the same operation performed on a different power of the variable: integrate a function of XX against its distribution. The mean E[X]\mathbb{E}[X] is the probability-weighted average — the arithmetic mean promoted to a continuum of outcomes. The variance Var(X)\mathrm{Var}(X) is the mean squared deviation about that mean, the canonical measure of spread, and its square root, the standard deviation, carries the physical units of XX itself. Skewness and kurtosis, built from the third and fourth central moments, strip out the units and report pure numbers for asymmetry and tail weight. Two properties make this machinery indispensable. Expectation is linear — E[aX+bY]=aE[X]+bE[Y]\mathbb{E}[aX+bY]=a\mathbb{E}[X]+b\mathbb{E}[Y] holds even for dependent variables and without the joint law — which is why mean energies add in statistical mechanics and why the central limit theorem is provable at all. Variance is not blindly additive: it sees correlations, and Var(X+Y)\mathrm{Var}(X+Y) picks up a covariance term that vanishes only for uncorrelated variables. That single asymmetry organizes error propagation, fluctuation theory, and counting statistics. And two cautions frame the subject: moments need not exist — the Cauchy distribution has no mean at all, and with it the law of large numbers fails — and even when every moment exists, they need not pin the distribution down uniquely. Within those limits, expectation and variance remain the workhorses of physical probability.

Key takeaways
  • The expectation E[X]\mathbb{E}[X] is the probability-weighted average of a random variable — a sum over outcomes or an integral against the density fXf_X.
  • Raw moments E[Xn]\mathbb{E}[X^n] and central moments E[(X−μ)n]\mathbb{E}[(X-\mu)^n] encode location (n=1n=1), spread (n=2n=2), asymmetry (n=3n=3) and tail weight (n=4n=4).
  • The variance Var(X)=E[X2]−E[X]2\mathrm{Var}(X)=\mathbb{E}[X^2]-\mathbb{E}[X]^2 is the second central moment; its root σ\sigma sets the natural scale of fluctuations and shares the units of XX.
  • Expectation is always linear; variances add only for uncorrelated variables, Var(X+Y)=Var(X)+Var(Y)+2 Cov(X,Y)\mathrm{Var}(X+Y)=\mathrm{Var}(X)+\mathrm{Var}(Y)+2\,\mathrm{Cov}(X,Y).
  • Chebyshev's inequality turns the variance into a universal probability bound, P(∣X−μ∣≥kσ)≤1/k2P(|X-\mu|\ge k\sigma)\le 1/k^2, valid for any distribution with finite variance.
  • Moments can fail to exist (the Cauchy mean diverges), and a full moment sequence fixes a law only under extra analytic conditions — the moment problem.
  • Key idea: every descriptor — mean, variance, skewness, kurtosis — is an expectation, an integral of a function of XX against its distribution, E[g(X)]=∫g(x) fX(x) dx\mathbb{E}[g(X)]=\int g(x)\,f_X(x)\,\mathrm{d}x. Master that one operation and the rest is bookkeeping with powers of (X−μ)(X-\mu).

Where this lives today

Expectation and variance are the working currency of every precision measurement now being made. Gravitational-wave detectors like LIGO quote their sensitivity as a noise power spectral density — a variance per unit bandwidth — and their celebrated squeezed-light upgrade is nothing but a redistribution of quantum variance, pushing fluctuations below the shot-noise (Poisson) floor in the quadrature that matters, sensitivity the Fano-factor-one limit forbids for ordinary light. Optical atomic clocks quote the Allan variance, a purpose-built second moment that stays sensible when the ordinary variance of a drifting signal would diverge. In statistical mechanics the fluctuation–dissipation theorem makes the variance of energy literally the heat capacity, Var(E)=kBT2CV\mathrm{Var}(E)=k_BT^2 C_V, so a measured susceptibility is a measured second moment. And at the frontier of complex systems — turbulence, earthquakes, financial returns — the recurring surprise is the failure of the variance: heavy-tailed, Cauchy- or Lévy-like distributions where the second moment is infinite and the central-limit intuition collapses, forcing physicists back to the cautionary limiting case at the bottom of the table above.

The physical picture

The cleanest way to feel what a moment is is to make the distribution literally massive. Lay a weightless rod along the xx-axis and glue a lump of mass at each outcome, the lump's weight equal to that outcome's probability. The total mass is one, because probabilities sum to one. Now every statistical descriptor becomes a mechanical one. The expectation is the point where the rod balances — the centre of mass. The variance is the moment of inertia of the same masses about that balance point. This is not an analogy that merely resembles the truth; it is the truth, because the defining formulas μ=∑ixipi\mu=\sum_i x_i p_i and σ2=∑i(xi−μ)2pi\sigma^2=\sum_i (x_i-\mu)^2 p_i are word-for-word the mechanics formulas for centre of mass and moment of inertia. The first figure builds exactly this rod for a concrete four-outcome distribution, so the mean and the variance can be read off as balance point and spread.

Figure
A probability distribution drawn as point masses on a weightless rod — outcomes x = 1, 2, 3, 4 carry probabilities 0.1, 0.2, 0.4, 0.3. The rod balances at the mean μ = 2.9, and its moment of inertia about that point is the variance σ² = 0.89, so the standard deviation is σ = 0.94
Mean = centre of mass, variance = moment of inertia about it p = 0.1 p = 0.2 p = 0.4 p = 0.3 x = 1 x = 2 x = 3 x = 4 μ = 2.9 (balance point) 2σ spread: σ = 0.94, so σ² = Var = 0.89

Where the mean tells you the balance point, the variance tells you the leverage — how far the mass sits from that point on average, squared. Two distributions can share a mean yet feel utterly different because their masses are packed tight or flung wide, and that difference is entirely the variance. The standard deviation σ\sigma restores the units of XX and answers "how far from the mean is a typical outcome?" in metres, volts, or joules. The higher moments then refine the silhouette: the third moment reports whether the mass leans left or right of the balance point, the fourth whether the distribution hoards its probability in a sharp central peak with heavy tails or spreads it into broad shoulders. The second figure makes the variance tangible in the way physicists most often use it — for a Gaussian, σ\sigma converts directly into a betting statement about where outcomes land.

Figure
The variance made tangible: for a Gaussian the standard deviation σ sets the width, and probability falls in fixed fractions — 68.3% of outcomes within μ ± σ, 95.4% within μ ± 2σ, 99.7% within μ ± 3σ — the 68 to 95 to 99.7 rule that turns σ into odds
The 68 to 95 to 99.7 rule: σ = √Var turns into probability 68.3% 95.4% within μ ± 2σ 99.7% within μ ± 3σ μ μ−σ μ+σ μ−2σ μ+2σ μ−3σ μ+3σ outcome x, measured in standard deviations from the mean

The core equations

Everything begins with a single definition applied to different functions of XX. The expectation is the probability-weighted average of the outcomes — a sum for a discrete variable, an integral against the density for a continuous one.

E[X]=∑ixi pi(discrete),E[X]=∫−∞∞x fX(x) dx(continuous)(1)\mathbb{E}[X]=\sum_i x_i\,p_i \quad\text{(discrete)},\qquad \mathbb{E}[X]=\int_{-\infty}^{\infty} x\,f_X(x)\,\mathrm{d}x \quad\text{(continuous)} \qquad (1)

where: XX — random variable; xi, pix_i,\,p_i — outcome value and its probability mass; fX(x)f_X(x) — probability density function of XX; E[⋅]\mathbb{E}[\cdot] — expectation operator. Reading: weight each outcome by its probability and add — the centre of mass of the probability. The single most useful theorem about expectation says you may push any function inside without first finding its distribution. To get E[g(X)]\mathbb{E}[g(X)] you integrate g(x)g(x) against fXf_X directly — the "law of the unconscious statistician".

E[g(X)]=∫−∞∞g(x) fX(x) dx(2)\mathbb{E}[g(X)]=\int_{-\infty}^{\infty} g(x)\,f_X(x)\,\mathrm{d}x \qquad (2)

where: gg — any measurable function of the variable. Reading: every moment, generating function, and fluctuation is one choice of gg away from this line. Choosing g(x)=xng(x)=x^n and g(x)=(x−μ)ng(x)=(x-\mu)^n generates the two families of moments — raw moments about the origin and central moments about the mean.

μn′=E[Xn],μn=E[(X−μ)n](3)\mu_n'=\mathbb{E}[X^n],\qquad \mu_n=\mathbb{E}[(X-\mu)^n] \qquad (3)

where: μn′\mu_n' — nn-th raw moment about the origin; μn\mu_n — nn-th central moment about the mean μ=μ1′\mu=\mu_1'. Reading: μ1′=μ\mu_1'=\mu is location, μ2\mu_2 is spread, μ3\mu_3 is asymmetry, μ4\mu_4 is tail weight. The variance is the second central moment, and expanding the square gives the computational shortcut every calculation actually uses.

Var(X)=E[(X−μ)2]=E[X2]−E[X]2(4)\mathrm{Var}(X)=\mathbb{E}[(X-\mu)^2]=\mathbb{E}[X^2]-\mathbb{E}[X]^2 \qquad (4)

where: Var(X)\mathrm{Var}(X) — variance, the second central moment μ2\mu_2; σ=Var(X)\sigma=\sqrt{\mathrm{Var}(X)} — standard deviation, same units as XX. Reading: subtract the square of the mean from the mean of the square; the difference can never be negative. Expectation is linear without qualification — the property that carries the most weight in all of physics. Constants pull out, sums split, and no independence is required.

E[aX+bY+c]=a E[X]+b E[Y]+c(5)\mathbb{E}[aX+bY+c]=a\,\mathbb{E}[X]+b\,\mathbb{E}[Y]+c \qquad (5)

where: a,b,ca,b,c — arbitrary constants; X,YX,Y — random variables, possibly dependent. Reading: you may average term by term even when the variables are hopelessly entangled. Variance is quadratic, not linear, so a constant scale multiplies it by the square while a constant shift leaves it untouched; and when two variables are added, their covariance appears.

Var(aX+b)=a2 Var(X),Var(X+Y)=Var(X)+Var(Y)+2 Cov(X,Y)(6)\mathrm{Var}(aX+b)=a^2\,\mathrm{Var}(X),\qquad \mathrm{Var}(X+Y)=\mathrm{Var}(X)+\mathrm{Var}(Y)+2\,\mathrm{Cov}(X,Y) \qquad (6)

where: a,ba,b — constants; Cov(X,Y)=E[XY]−E[X]E[Y]\mathrm{Cov}(X,Y)=\mathbb{E}[XY]-\mathbb{E}[X]\mathbb{E}[Y] — covariance, zero for uncorrelated variables. Reading: shifts do not change spread, scales square it, and correlations add or subtract a cross term. Normalising the third and fourth central moments by the appropriate power of σ\sigma produces the dimensionless shape numbers — skewness and excess kurtosis.

γ1=μ3σ3,γ2=μ4σ4−3(7)\gamma_1=\frac{\mu_3}{\sigma^3},\qquad \gamma_2=\frac{\mu_4}{\sigma^4}-3 \qquad (7)

where: γ1\gamma_1 — skewness, positive for a right-leaning tail; γ2\gamma_2 — excess kurtosis, tail-versus-peak weight relative to a Gaussian, the −3-3 set so the Gaussian scores zero. Reading: pure numbers that compare shapes across distributions of any scale. The moment-generating function packages the entire moment sequence into one object whose derivatives at the origin reproduce the moments.

MX(t)=E[etX],E[Xn]=dndtnMX(t)∣t=0(8)M_X(t)=\mathbb{E}[e^{tX}],\qquad \mathbb{E}[X^n]=\left.\frac{\mathrm{d}^n}{\mathrm{d}t^n}M_X(t)\right|_{t=0} \qquad (8)

where: MX(t)M_X(t) — moment-generating function; tt — auxiliary real parameter. Reading: differentiate nn times, set t=0t=0, and read off the nn-th moment — often the fastest route to it. Finally, the variance alone buys a universal guarantee about how much probability can hide far from the mean — Chebyshev's inequality, true for any distribution with a finite variance, no shape assumed.

P ⁣(∣X−μ∣≥kσ)≤1k2(9)P\!\left(|X-\mu|\ge k\sigma\right)\le \frac{1}{k^2} \qquad (9)

where: k>0k>0 — number of standard deviations; μ,σ\mu,\sigma — mean and standard deviation. Reading: at most a fraction 1/k21/k^2 of the probability can lie beyond kk standard deviations, however weird the distribution.

Derivation AHow variances combine and why covariance appears

The goal is to derive the rule for the variance of a sum and to expose exactly when variances simply add, because this one result underlies all of error propagation. We take two random variables XX and YY with means μX\mu_X and μY\mu_Y, form the sum S=X+YS=X+Y, and apply the definition of variance directly, keeping every cross term explicit so that the covariance emerges rather than being asserted. The lesson is that linearity of expectation gets you the mean of the sum for free, but the variance of the sum carries a memory of how the two variables move together.

Step 1. By linearity of expectation the mean of the sum is E[S]=μX+μY\mathbb{E}[S]=\mu_X+\mu_Y, with no independence needed. Why: equation (5) distributes the expectation over the sum regardless of any dependence between XX and YY.

Step 2. Centre the sum: S−E[S]=(X−μX)+(Y−μY)≡δX+δYS-\mathbb{E}[S]=(X-\mu_X)+(Y-\mu_Y)\equiv\delta_X+\delta_Y, defining the deviations δX\delta_X and δY\delta_Y, each with zero mean. Why: variance is the expectation of the squared deviation, so it is cleanest to work with the centred quantities from the outset.

Step 3. Square and take the expectation, distributing over the three terms: E[(δX+δY)2]=E[δX2]+E[δY2]+2 E[δXδY]\mathbb{E}[(\delta_X+\delta_Y)^2]=\mathbb{E}[\delta_X^2]+\mathbb{E}[\delta_Y^2]+2\,\mathbb{E}[\delta_X\delta_Y]. Why: linearity again splits the expectation of a sum into a sum of expectations, isolating the pure and the mixed pieces.

Step 4. Identify each piece: E[δX2]=Var(X)\mathbb{E}[\delta_X^2]=\mathrm{Var}(X), E[δY2]=Var(Y)\mathbb{E}[\delta_Y^2]=\mathrm{Var}(Y), and the cross term E[δXδY]=Cov(X,Y)\mathbb{E}[\delta_X\delta_Y]=\mathrm{Cov}(X,Y), so Var(X+Y)=Var(X)+Var(Y)+2 Cov(X,Y)\mathrm{Var}(X+Y)=\mathrm{Var}(X)+\mathrm{Var}(Y)+2\,\mathrm{Cov}(X,Y). Why: the mixed expectation is by definition the covariance, and when XX and YY are uncorrelated it vanishes and the variances add — the basis of adding independent errors in quadrature. *As a self-consistency check: setting Y=XY=X gives Cov(X,X)=Var(X)\mathrm{Cov}(X,X)=\mathrm{Var}(X), so Var(2X)=Var(X)+Var(X)+2Var(X)=4 Var(X)\mathrm{Var}(2X)=\mathrm{Var}(X)+\mathrm{Var}(X)+2\mathrm{Var}(X)=4\,\mathrm{Var}(X), in agreement with the scaling rule Var(aX)=a2Var(X)\mathrm{Var}(aX)=a^2\mathrm{Var}(X) at a=2a=2.*

Go deeper · Derivation B · 1 minMean and variance of the Poisson distribution
Derivation BMean and variance of the Poisson distribution

The goal is to compute the mean and variance of a Poisson-distributed variable directly from its mass function and to expose the signature that makes Poisson statistics recognisable in the laboratory — that the mean and the variance are equal. The Poisson mass function is p(k)=e−λλk/k!p(k)=e^{-\lambda}\lambda^k/k! for k=0,1,2,…k=0,1,2,\dots, the law of the number of independent rare events (photon arrivals, radioactive decays, clicks of a counter) in a fixed window when the rate is λ\lambda. We compute the first moment, then a factorial moment as a shortcut to the second, and assemble the variance. The payoff is the Fano-factor-one fingerprint that experiments use to certify pure counting noise.

Step 1. First moment: E[X]=∑k=0∞k e−λλkk!=e−λλ∑k=1∞λk−1(k−1)!\mathbb{E}[X]=\sum_{k=0}^{\infty} k\,\dfrac{e^{-\lambda}\lambda^k}{k!}=e^{-\lambda}\lambda\sum_{k=1}^{\infty}\dfrac{\lambda^{k-1}}{(k-1)!}. Why: the k=0k=0 term is killed by the factor kk, and pulling out one power of λ\lambda then shifting the index turns the sum back into an exponential series.

Step 2. Resum: the remaining sum is ∑j=0∞λj/j!=eλ\sum_{j=0}^{\infty}\lambda^j/j!=e^{\lambda}, so E[X]=e−λλ eλ=λ\mathbb{E}[X]=e^{-\lambda}\lambda\,e^{\lambda}=\lambda. Why: the Taylor series for eλe^{\lambda} cancels the prefactor e−λe^{-\lambda}, leaving the mean equal to the rate parameter.

Step 3. Factorial moment: E[X(X−1)]=∑k=2∞k(k−1)e−λλkk!=λ2∑k=2∞e−λλk−2(k−2)!=λ2\mathbb{E}[X(X-1)]=\sum_{k=2}^{\infty}k(k-1)\dfrac{e^{-\lambda}\lambda^k}{k!}=\lambda^2\sum_{k=2}^{\infty}\dfrac{e^{-\lambda}\lambda^{k-2}}{(k-2)!}=\lambda^2. Why: the factor k(k−1)k(k-1) cancels the two lowest factorial terms, and the same index-shift-and-resum trick pulls out λ2\lambda^2 and leaves e−λeλ=1e^{-\lambda}e^{\lambda}=1.

Step 4. Second moment and variance: since X2=X(X−1)+XX^2=X(X-1)+X, linearity gives E[X2]=λ2+λ\mathbb{E}[X^2]=\lambda^2+\lambda, hence Var(X)=E[X2]−E[X]2=λ2+λ−λ2=λ\mathrm{Var}(X)=\mathbb{E}[X^2]-\mathbb{E}[X]^2=\lambda^2+\lambda-\lambda^2=\lambda. Why: writing X2X^2 through the falling factorial avoids resumming k2k^2 directly, and the λ2\lambda^2 terms cancel to leave variance equal to the mean. *As an independent check, the moment-generating function MX(t)=exp⁡[λ(et−1)]M_X(t)=\exp[\lambda(e^t-1)] confirms these results: its derivatives at t=0t=0 give MX′(0)=λM_X'(0)=\lambda and MX′′(0)=λ2+λM_X''(0)=\lambda^2+\lambda, reproducing E[X]=λ\mathbb{E}[X]=\lambda and Var(X)=λ\mathrm{Var}(X)=\lambda exactly.*

Go deeper · Derivation C · 1 minThe parameter σ squared really is the variance of a Gaussian
Derivation CThe parameter σ squared really is the variance of a Gaussian

The goal is to prove that the width parameter written as σ2\sigma^2 in the normal density is genuinely the second central moment, so the notation is honest rather than merely suggestive. We start from the normal density fX(x)=12π σexp⁡ ⁣[−(x−μ)2/2σ2]f_X(x)=\frac{1}{\sqrt{2\pi}\,\sigma}\exp\!\big[-(x-\mu)^2/2\sigma^2\big], form the variance integral, standardise the variable to pull the scale out front, and evaluate the one dimensionless Gaussian integral that remains — the same technique then delivers the fourth moment and the zero excess kurtosis that is the reference point for every other distribution's tails.

Step 1. Substitute u=(x−μ)/σu=(x-\mu)/\sigma, so dx=σ du\mathrm{d}x=\sigma\,\mathrm{d}u and x−μ=σux-\mu=\sigma u. Why: standardising centres the distribution at the origin and scales it to unit width, separating the σ\sigma dependence from the shape.

Step 2. The variance integral becomes Var(X)=∫−∞∞(x−μ)2fX dx=σ22π∫−∞∞u2e−u2/2 du\mathrm{Var}(X)=\int_{-\infty}^{\infty}(x-\mu)^2 f_X\,\mathrm{d}x=\dfrac{\sigma^2}{\sqrt{2\pi}}\int_{-\infty}^{\infty}u^2 e^{-u^2/2}\,\mathrm{d}u. Why: every factor of σ\sigma collects into a single σ2\sigma^2 out front, leaving a pure number to evaluate.

Step 3. Evaluate the standard moment by parts, writing u2e−u2/2=u⋅(ue−u2/2)u^2 e^{-u^2/2}=u\cdot(u e^{-u^2/2}) and using ∫−∞∞e−u2/2 du=2π\int_{-\infty}^{\infty}e^{-u^2/2}\,\mathrm{d}u=\sqrt{2\pi}: the result is 12π∫−∞∞u2e−u2/2 du=1\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}u^2 e^{-u^2/2}\,\mathrm{d}u=1. Why: integration by parts turns the second moment of the standard normal into its normalisation integral, which is exactly one.

Step 4. Conclude Var(X)=σ2⋅1=σ2\mathrm{Var}(X)=\sigma^2\cdot 1=\sigma^2, so the labelled parameter is the true variance and σ\sigma the true standard deviation. Why: the notation is now earned — the width you write into the density is the spread you measure. *The same substitution extends to the fourth central moment: 12π∫u4e−u2/2du=3\frac{1}{\sqrt{2\pi}}\int u^4 e^{-u^2/2}\mathrm{d}u=3, giving μ4=3σ4\mu_4=3\sigma^4 and hence excess kurtosis γ2=3σ4/σ4−3=0\gamma_2=3\sigma^4/\sigma^4-3=0 — the defining Gaussian benchmark against which all other distributions are compared.*

Limiting cases

Feeding standard distributions through the moment machinery both fixes intuition and marks the exact place where the machinery breaks.

CaseResultMeaning
Gaussianγ1=0, γ2=0\gamma_1=0,\ \gamma_2=0Symmetric (zero skewness) and mesokurtic (zero excess kurtosis); every cumulant beyond the second vanishes, the defining feature of a normal law.
PoissonE[X]=λ, Var(X)=λ\mathbb{E}[X]=\lambda,\ \mathrm{Var}(X)=\lambdaMean equals variance, so the Fano factor Var/E\mathrm{Var}/\mathbb{E} is exactly 11 — the fingerprint tested for in counting experiments.
BernoulliE[X]=p, Var(X)=p(1−p)\mathbb{E}[X]=p,\ \mathrm{Var}(X)=p(1-p)Spread is maximal at p=12p=\tfrac12 (peak uncertainty) and zero at p=0,1p=0,1 (a sure outcome has no spread).
UniformVar=(b−a)2/12, γ2=−1.2\mathrm{Var}=(b-a)^2/12,\ \gamma_2=-1.2Flat-topped and light-tailed: negative excess kurtosis, the opposite extreme from a heavy tail.
Cauchy∫xπ(1+x2) dx\displaystyle\int \frac{x}{\pi(1+x^2)}\,\mathrm{d}x divergesNo moments at all: mean undefined, variance infinite, so the laws of large numbers and the central limit theorem do not apply.

Worked examples

1 · A discrete distribution end to end (confidence builder)

Take the four-outcome distribution of the first figure: values x=1,2,3,4x=1,2,3,4 with probabilities 0.1,0.2,0.4,0.30.1,0.2,0.4,0.3. Find the mean, variance, standard deviation, and skewness.

Step 1. Mean from equation (1): μ=∑xipi=1(0.1)+2(0.2)+3(0.4)+4(0.3)=0.1+0.4+1.2+1.2=2.9\mu=\sum x_i p_i = 1(0.1)+2(0.2)+3(0.4)+4(0.3)=0.1+0.4+1.2+1.2=\mathbf{2.9}. This is the balance point of the rod.

Step 2. Second raw moment and variance: E[X2]=1(0.1)+4(0.2)+9(0.4)+16(0.3)=9.3\mathbb{E}[X^2]=1(0.1)+4(0.2)+9(0.4)+16(0.3)=9.3, so by the shortcut (4), Var(X)=9.3−2.92=9.3−8.41=0.89\mathrm{Var}(X)=9.3-2.9^2=9.3-8.41=\mathbf{0.89} and σ=0.89=0.943\sigma=\sqrt{0.89}=\mathbf{0.943}. Direct check as a moment of inertia: ∑pi(xi−μ)2=0.361+0.162+0.004+0.363=0.890\sum p_i(x_i-\mu)^2 = 0.361+0.162+0.004+0.363=0.890 — the two routes agree.

Step 3. Third central moment and skewness: μ3=∑pi(xi−μ)3=0.1(−1.9)3+0.2(−0.9)3+0.4(0.1)3+0.3(1.1)3=−0.6859−0.1458+0.0004+0.3993=−0.432\mu_3=\sum p_i(x_i-\mu)^3 = 0.1(-1.9)^3+0.2(-0.9)^3+0.4(0.1)^3+0.3(1.1)^3 = -0.6859-0.1458+0.0004+0.3993=-0.432. Then γ1=μ3/σ3=−0.432/(0.943)3=−0.432/0.8385=−0.52\gamma_1=\mu_3/\sigma^3=-0.432/(0.943)^3=-0.432/0.8385=\mathbf{-0.52}. The negative sign says the distribution leans left — a longer tail toward the small values — matching the eye: the heaviest lump sits at x=3x=3, above the mean, with the thin tail reaching down to x=1x=1. μ = 2.9, σ = 0.94, γ₁ = −0.52 (left-skewed).

2 · Photon counting and the square-root law

A photodetector collects light obeying Poisson statistics. In a fixed exposure it registers on average Nˉ=10 000\bar N = 10\,000 photons. What is the noise, the signal-to-noise ratio, and the fractional uncertainty? How do these change if the exposure is lengthened until Nˉ=1,000,000\bar N = 1{,}000{,}000?

Step 1. For Poisson statistics the variance equals the mean, so the noise is σN=Nˉ=10 000=100\sigma_N=\sqrt{\bar N}=\sqrt{10\,000}=\mathbf{100} photons. The spread grows, but only as the square root of the count.

Step 2. Signal-to-noise ratio: SNR=Nˉ/σN=Nˉ/Nˉ=Nˉ=10 000=100\mathrm{SNR}=\bar N/\sigma_N=\bar N/\sqrt{\bar N}=\sqrt{\bar N}=\sqrt{10\,000}=\mathbf{100}, i.e. a fractional uncertainty of σN/Nˉ=1/Nˉ=1%\sigma_N/\bar N=1/\sqrt{\bar N}=\mathbf{1\%}.

Step 3. At Nˉ=106\bar N=10^6: σN=106=1000\sigma_N=\sqrt{10^6}=1000, SNR=106=1000\mathrm{SNR}=\sqrt{10^6}=\mathbf{1000}, fractional uncertainty =0.1%=\mathbf{0.1\%}. Collecting 100×100\times more light improved precision only 10×10\times — the universal square-root penalty of shot noise, and the reason astronomers integrate for hours. σ = √N‾ ; ten-thousand photons give 1% noise, a million give 0.1%.

3 · What Chebyshev guarantees without knowing the shape

A quantity has mean μ\mu and standard deviation σ\sigma, but its distribution is completely unknown. Bound the probability that a single measurement lands more than two standard deviations from the mean. Compare with the Gaussian value.

Step 1. Apply Chebyshev's inequality (9) with k=2k=2: P(∣X−μ∣≥2σ)≤1/k2=1/4=25%P(|X-\mu|\ge 2\sigma)\le 1/k^2 = 1/4 = \mathbf{25\%}. This holds for every distribution with a finite variance — skewed, bimodal, discrete, whatever.

Step 2. For the special case of a Gaussian the true tail probability is far smaller: P(∣X−μ∣≥2σ)=1−0.954=4.6%P(|X-\mu|\ge 2\sigma)=1-0.954=\mathbf{4.6\%}, straight from the 68–95–99.7 rule of the second figure. Chebyshev is loose here because it must survive the worst-case distribution, which piles its mass exactly at ±kσ\pm k\sigma.

Step 3. The value of the bound is that it needs no shape assumption: from a mean and a variance alone it certifies that at most 1/k21/k^2 of outcomes can be extreme — the rigorous backbone of the weak law of large numbers. Chebyshev caps the two-sigma tail at 25%; a Gaussian actually delivers 4.6%.

Physics of the portrait

The words in this article were forged over three centuries, from Huygens's first reckoning of a fair wager to Pearson's borrowing of "moment" from mechanics. But the figure who turned expectation and variance into rigorous, universal tools of analysis — rather than descriptive summaries — is Pafnuty Chebyshev.

Origins · 1 minPafnuty Chebyshev and how this was discovered
PC
Pafnuty Chebyshev
1821–1894 · probability, the method of moments, and the inequality bounding deviations by the variance

Pafnuty Lvovich Chebyshev, working in St Petersburg, dragged probability theory from a collection of clever tricks about games of chance into a rigorous branch of analysis. His 1867 paper on mean values proved what is now called Chebyshev's inequality — that no more than a fraction 1/k21/k^2 of any distribution's probability can lie beyond kk standard deviations of its mean — a bound so austere it assumes nothing about the shape of the distribution, only that its variance is finite. With it he gave the first fully rigorous proof of the (weak) law of large numbers, showing that a sample mean converges to the true expectation because its variance shrinks like 1/n1/n. Chebyshev also pioneered the "method of moments", the idea that a sequence of expectations E[Xn]\mathbb{E}[X^n] can characterise and constrain a distribution, and he pushed it toward the central limit theorem — a program his students Andrey Markov and Aleksandr Lyapunov completed, turning moment estimates into the modern CLT. The through-line of his work is exactly the subject of this article: that a handful of expectations, above all the mean and the variance, control the behaviour of random quantities with a rigour that needs no knowledge of the full distribution. The vocabulary was later systematised by Karl Pearson, who around 1893 imported "moment" and "standard deviation" straight from the mechanics of mass distributions — the very rod-and-fulcrum picture this article opens with.

History
1657
— Huygens defines expected value in the first printed probability treatise
1713
— Bernoulli's Ars Conjectandi proves the weak law of large numbers
1853
— Bienaymé states the inequality later carried by Chebyshev
1867
— Chebyshev proves the variance inequality and advances the method of moments
1893
— Pearson imports moment and standard deviation from mechanics

Going further

Texts. Stone & Goldbart, Mathematics for Physics, chapter on probability and statistics · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., Ch. 23 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, 3rd ed., Ch. 30 · Feller, An Introduction to Probability Theory and Its Applications, Vol. 1 · Byron & Fuller, Mathematics of Classical and Quantum Physics, Ch. on probability. Key numerical results collected for reference: variance shortcut E[X2]−E[X]2\mathbb{E}[X^2]-\mathbb{E}[X]^2; discrete example μ=2.9\mu=2.9, σ2=0.89\sigma^2=0.89, σ=0.943\sigma=0.943, γ1=−0.52\gamma_1=-0.52; Poisson E[X]=Var(X)=λ\mathbb{E}[X]=\mathrm{Var}(X)=\lambda, confirmed via MX(t)=exp⁡[λ(et−1)]M_X(t)=\exp[\lambda(e^t-1)]; Gaussian variance integral ⟨u2⟩=1\langle u^2\rangle=1 and fourth-moment result μ4=3σ4\mu_4=3\sigma^4 giving γ2=0\gamma_2=0; Bernoulli mean pp and variance p(1−p)p(1-p); uniform variance (b−a)2/12(b-a)^2/12; Chebyshev's bound 1/k21/k^2 at k=2k=2 giving 25%25\% versus the Gaussian 4.6%4.6\%; and the divergence of the Cauchy first moment.

Prerequisites. Random Variables and Probability Distributions · Axioms of Probability · Cumulative Distribution Functions and Change of Variables. Leads to. Moment-Generating and Characteristic Functions · Central Limit Theorem · Laws of Large Numbers and Convergence of Random Variables · Gaussian (Normal) Distribution.

Ask the tutor: Ask me to work any distribution — binomial, exponential, chi-squared — from its density all the way to its skewness and kurtosis, showing where each moment comes from.

Why is the variance defined with a square rather than the average absolute deviation?

The mean absolute deviation E[∣X−μ∣]\mathbb{E}[|X-\mu|] is a perfectly sensible measure of spread, but the squared deviation wins on three counts. It is analytically smooth — differentiable everywhere, unlike the absolute value with its kink at zero. It makes variances add for independent variables, the property that powers error propagation and the central limit theorem; absolute deviations enjoy no such clean additivity. And it matches the mechanical moment of inertia exactly, so the rod-and-fulcrum intuition carries over. The price is sensitivity to outliers, since a distant point contributes its distance squared — which is why heavy-tailed distributions can have an infinite variance while their absolute deviation stays finite.

If expectation is always linear, why isn't variance?

Because expectation acts on the variable once, but variance acts on it twice. Linearity means E[aX+bY]=aE[X]+bE[Y]\mathbb{E}[aX+bY]=a\mathbb{E}[X]+b\mathbb{E}[Y] no matter how XX and YY are related, because averaging simply commutes with adding. Variance, though, is the expectation of a square, and squaring a sum produces a cross term 2δXδY2\delta_X\delta_Y whose average is the covariance. That cross term encodes how the two variables move together, information a single linear pass can never see. So variance is quadratic and inherits their correlations, whereas expectation is blind to them — the difference that makes the mean easy and the fluctuations subtle.

What does it actually mean for a distribution to have no mean?

It means the integral defining the expectation fails to converge — not that the answer is a large number, but that there is no answer. The Cauchy distribution, with density proportional to 1/(1+x2)1/(1+x^2), is the standard example: its tails decay so slowly that the integrand x/(1+x2)x/(1+x^2) for the mean behaves like 1/x1/x at large xx, whose integral diverges. Physically this is no curiosity — it says the sample average of Cauchy data never settles down. Take a million measurements and their mean is just as scattered as a single one, still Cauchy-distributed. The law of large numbers, which quietly assumes a finite mean, has nothing to converge to, and averaging buys no precision at all.

How are moments related to the moment-generating and characteristic functions?

They are the coefficients of a Taylor expansion. Writing MX(t)=E[etX]=∑nE[Xn] tn/n!M_X(t)=\mathbb{E}[e^{tX}]=\sum_n \mathbb{E}[X^n]\,t^n/n!, each moment appears as a derivative at the origin, E[Xn]=MX(n)(0)\mathbb{E}[X^n]=M_X^{(n)}(0) — hence the name. The characteristic function φX(t)=E[eitX]\varphi_X(t)=\mathbb{E}[e^{itX}] does the same job with an imaginary argument and always exists, even when MXM_X does not, which is why proofs of the central limit theorem use it. Taking the logarithm gives the cumulant-generating function, whose derivatives are the cumulants: the first is the mean, the second the variance, and the higher ones measure departures from a Gaussian. For a normal distribution every cumulant past the second vanishes, which is the cleanest possible statement of what "Gaussian" means.

Does knowing all the moments determine the distribution?

Not always — this is the classical moment problem. If two distributions share every moment E[Xn]\mathbb{E}[X^n] they are often, but not necessarily, the same. The famous counterexample is the log-normal distribution, which shares its infinite moment sequence with certain other distributions, so its moments do not pin it down. A sufficient condition for uniqueness is Carleman's — essentially that the moments do not grow too fast — met by any distribution with a convergent moment-generating function near zero, such as the Gaussian or any bounded variable. For most physics, where variables are bounded or light-tailed, the moments do determine the law; the caution matters only when tails are heavy.

Why does the standard deviation, not the variance, get quoted as the uncertainty?

Because the standard deviation carries the physical units of the quantity itself, while the variance carries their square. Measure a length in metres and σ\sigma is in metres, writable as L±σL\pm\sigma on the same axis as the measurement; the variance is in square metres and cannot be. The standard deviation is also the natural scale in the 68–95–99.7 rule, so quoting σ\sigma immediately says how likely a result is to fall within a band. The variance remains the object you compute with — it adds for independent errors and appears in Chebyshev's inequality — but the number reported to a reader is almost always its square root, precisely because it lives in the right units.

Before this

Where this leads