Skip to content

Mathematics · Ch 11 — Probability Distributions

Probability density function

11.4.2

Probability density function

Definition 11.6 (Probability density function). A non-negative real-valued function f(x)f(x) is a probability density function (pdf) of a continuous random variable XX if, for every a≤ba\le b in the range of XX,

P(a≤X≤b)=∫abf(x) dxP(a\le X\le b)=\int_a^b f(x)\,dx

— i.e. probability over an interval is the area under the curve y=f(x)y=f(x) between x=ax=a and x=bx=b.

Theorem 11.2 (characterisation, without proof). f(⋅)f(\cdot) is a pdf for some continuous random variable XX if and only if (i) f(x)≥0f(x)\ge0 for every xx, and (ii) ∫−∞∞f(x) dx=1\displaystyle\int_{-\infty}^{\infty}f(x)\,dx=1 (total area under the curve is exactly 11, the discrete "∑f(xk)=1\sum f(x_k)=1" condition translated into area form).

Note

Taking a=ba=b in the defining formula gives P(X=a)=∫aaf(x) dx=0P(X=a)=\int_a^a f(x)\,dx=0 — recovering Definition 11.5 directly: the probability that a continuous XX equals any one particular value is always zero, however large f(a)f(a) itself may be. f(a)f(a) is a density, not a probability. …