Uniform Distribution¶
Definition¶
For real numbers , a random variable has the uniform distribution on , written , if its density is
Including the endpoints in the density interval does not change the distribution.
Interpretation¶
The uniform distribution on models a value that lies between and with no part of that interval favoured: the probability of a subinterval is proportional to its length.
With and the density is flat at height and zero outside the interval, so the rectangle under it has area . The shaded strip from to has length and hence probability ; every other strip of length inside has the same probability, wherever it is placed.
The mean is the midpoint of the interval, and the variance depends only on the length, so shifting the interval moves the mean and leaves the variance unchanged. Height and width trade off: a short interval forces a tall density, and for the height exceeds , which is allowed because heights of a continuous random variable are not probabilities. For the same reason each single value has probability ; "uniform" means equal probability for equal lengths.
is the basic building block. If , then , and by the universality of the uniform a suitable function of , its quantile function, has any prescribed distribution; this is how random numbers with other distributions are simulated. The discrete uniform distribution is the counterpart for finitely many equally likely values.
Key Results¶
- and .
- For , .
Examples¶
- For , .
- For , and .
Prerequisites¶
Related Concepts¶
Sources¶
- Probability Theory for EOR · Week 5
- Nicky van Foreest · Probability Distributions · Week 2
Aliases: continuous uniform distribution, Unif(a,b), rectangular distribution, uniform random variable Keywords: Uniform
Last updated: 20 October 2026 03:02
Uniform DistributionUniversality of the Uniform and CDF RealizabilitySum of Two IID Uniform VariablesUniform Distribution of DeathsCommon-Value AuctionFirst-Price AuctionHarsanyi Purification TheoremMarket for LemonsContinuous Random VariableProbability Density FunctionIntervalRandom IntervalDiscrete Uniform DistributionQuantile FunctionSupport of a Random Variable