Cumulative distribution function (both cases). For any random variable X, the cdf F(x)=P(X≤x) is defined for every real x.
- Discrete (Definition 11.4): F(x)=∑xi≤xf(xi) — a step function, constant between support points and jumping by f(xi) at each xi. Conversion both ways: given the pmf, F is the running (cumulative) sum of f up to x; given F, the pmf is recovered as the jump size f(xi)=F(xi)−F(xi−1) at each point of discontinuity (with F(x0)=0 before the first jump) — the jump of F at a is exactly P(X=a).
- Continuous (Definition 11.7): F(x)=∫−∞xf(u)du — here F is everywhere continuous (no jumps, since no single point carries probability). Conversion both ways: given the pdf, integrate piece by piece to build F; given F, differentiate — f(x)=F′(x) wherever the derivative exists (at the finitely many "corner" points, f may be set to any convenient value, since it never affects an interval probability).
Probability density function (Definition 11.6): a non-negative f(x) is a pdf if P(a≤X≤b)=∫abf(x)dx for every a≤b. By Theorem 11.2, f is a valid pdf exactly when (i) f(x)≥0 everywhere, and (ii) ∫−∞∞f(x)dx=1 (total area =1) — the continuous analogue of Theorem 11.1, used the same way to solve for an unknown normalising constant. Because P(X=a)=∫aaf=0 always, the four inequality forms P(a≤X≤b)=P(a<X≤b)=P(a≤X<b)=P(a<X<b) all coincide for a continuous X.
Standing cdf properties. Both cases share: 0≤F(x)≤1; F non-decreasing; limx→−∞F(x)=0, limx→∞F(x)=1; and the interval formula P(a≤X≤b)=F(b)−F(a) (continuous case) or P(x1<X≤x2)=F(x2)−F(x1) (discrete case) — letting one avoid re-integrating/re-summing for every new interval once F is known.