Skip to content

Mathematics · Ch 11 — Probability Distributions

Mean

11.5.1

Mean

Definition 11.8 (Mean). For a random variable XX with pmf/pdf f(x)f(x), the expected value (mean), written E(X)E(X) or μ\mu, is

E(X)={∑xx f(x)if X is discrete∫−∞∞x f(x) dxif X is continuous.E(X)=\begin{cases}\displaystyle\sum_x x\,f(x) & \text{if }X\text{ is discrete}\\[4pt] \displaystyle\int_{-\infty}^{\infty} x\,f(x)\,dx & \text{if }X\text{ is continuous.}\end{cases}

E(X)E(X) need not itself be a value XX can take (e.g. the mean number of heads in 22 tosses is 11, but the mean of 33 coins' tails-count can be a fraction). It is best interpreted as the long-run average value of XX over many independent repetitions of the underlying experiment.

Theorem 11.3 (expectation of a function of XX, without proof). For any function g(X)g(X) of the random variable XX,

E(g(X))={∑xg(x) f(x)X discrete∫−∞∞g(x) f(x) dxX continuous.E(g(X))=\begin{cases}\displaystyle\sum_x g(x)\,f(x) & X\text{ discrete}\\[4pt] \displaystyle\int_{-\infty}^{\infty} g(x)\,f(x)\,dx & X\text{ continuous.}\end{cases} …