What the CDF is — probability accumulated up to x
F(x) = P(X ≤ x) sweeps up all the probability to the left of x, rising from 0 to 1.
The key idea. The cumulative distribution function answers a single question for every value : how much probability sits at or below ? Formally,
As slides from left to right, sweeps up area under the pdf, so it starts at (no area yet) and climbs to (all the area) once passes the top of the range. Because area can never be negative, never decreases — its graph is the characteristic S-shape below.
Why use a CDF at all? Once you have , most questions become one-liners: probabilities, the median and any percentile are read straight off it with no further integration. The CDF is the "answer machine" you build once and reuse.
Cambridge tip. Always sanity-check a CDF at the ends of the range: a correct must satisfy and . If it does not, your integration or constant is wrong.
- — probability up to .
- is non-decreasing and runs from up to across the range.
- Verify endpoints: , .
See the full worked example for cumulative distribution function →