Discrete Uniform Distribution — Definition, Formula & Examples
A discrete uniform distribution is a probability distribution where a finite number of distinct outcomes each have the same probability of occurring. Rolling a fair die is a classic example — each face has a probability of 1/6.
A discrete random variable follows a discrete uniform distribution on integers if for every integer with , and otherwise.
Key Formula
Where:
- = Total number of equally likely outcomes, equal to $b - a + 1$
- = Smallest possible value of $X$
- = Largest possible value of $X$
- = Mean (expected value) of the distribution
- = Variance of the distribution
Worked Example
Problem: A fair die is rolled once. Find the mean and variance of the outcome.
Identify parameters: The outcomes are 1 through 6, so , , and .
Compute the mean: Use the mean formula for the discrete uniform distribution.
Compute the variance: Use the variance formula with .
Answer: The mean is and the variance is .
Visualization
Why It Matters
The discrete uniform distribution serves as a baseline model whenever outcomes are equally likely, from lottery drawings to random number generators. It also appears as a building block in simulation and Monte Carlo methods, where uniformly distributed integers are transformed into samples from more complex distributions.
Common Mistakes
Mistake: Confusing the discrete uniform distribution with the continuous uniform distribution.
Correction: The discrete version assigns probability to individual integers, while the continuous version assigns probability density over a real-valued interval. Their variance formulas differ: vs. .
