The Continuous Uniform Distribution
What you'll learn: How to model scenarios where all outcomes in a continuous range are equally likely.
What Is the Continuous Uniform Distribution?
The continuous uniform distribution describes situations where every value within a specific interval has the exact same probability density. Unlike discrete distributions where individual outcomes have probabilities, continuous distributions spread probability across ranges—and the uniform distribution spreads it evenly.
Think of a perfectly balanced spinner that can land on any angle between 0° and 360°. Every angle is equally likely. Or imagine a bus that arrives randomly between 2:00 PM and 2:15 PM—any moment in that 15-minute window is just as probable as any other.
The Probability Density Function (PDF)
For a uniform distribution over the interval [a, b], the PDF is remarkably simple:
- Inside the interval [a, b]: f(x) = 1/(b - a)
- Outside [a, b]: f(x) = 0
The density is constant (flat) within the range and zero everywhere else. This constant height ensures the total area under the curve equals 1, satisfying the fundamental property of PDFs.
Key Properties
- Mean (Expected Value): (a + b)/2 — exactly the midpoint
- Variance: (b - a)²/12
- CDF: For x in [a, b], F(x) = (x - a)/(b - a) — a straight line from 0 to 1
Since every subinterval of equal length has equal probability, calculating probabilities is straightforward: the probability equals the width of the interval divided by the total range (b - a).
Key Takeaway: The continuous uniform distribution models "perfect randomness" over an interval, where every point is equally likely, resulting in a flat, constant probability density across [a, b].