The table below collects the full anatomy of the continuous uniform distribution into a single reference card — its parameters and support, the PDF and CDF, the mean and variance formulas, mode and median behavior, the quantile function, the standard Uniform(0, 1) case, and a canonical bus-arrival example.
| Aspect |
Formula / statement |
Note / example |
| Parameters |
a, b ∈ ℝ with a < b |
endpoints of the interval; width = b − a |
| Support |
x ∈ [a, b] |
density is zero outside the interval |
| PDF |
f(x) = 1 / (b − a) on [a, b]; 0 elsewhere |
flat rectangle of height 1/(b − a), width b − a; total area = 1 |
| CDF |
F(x) = (x − a) / (b − a) on [a, b]; 0 below a; 1 above b |
linear ramp — probability scales with subinterval length |
| Expected value |
E[X] = (a + b) / 2 |
midpoint of the interval |
| Variance |
Var(X) = (b − a)2 / 12; σ = (b − a) / √12 |
depends only on the interval width, not on location |
| Mode and median |
median = (a + b) / 2; mode is not uniquely defined (every value in [a, b]) |
perfectly symmetric — mean = median = midpoint |
| Quantile function |
xp = a + p (b − a) for 0 < p < 1 |
linear; foundation of the inverse-CDF sampling method |
| Standard case |
Uniform(0, 1) — the standard uniform distribution |
basis of random-number generation; (X − a)/(b − a) ~ U(0, 1) |
| Canonical example |
bus arriving uniformly between 2:00 and 2:30 PM: [0, 30] minutes |
E[X] = 15 min, Var(X) = 75 min2, σ ≈ 8.66 min |