← 🔔 Standard Distributions
Subtopic 1 of 6

4.1Uniform distribution

The idea

In a uniform distribution every value (or every sub-interval of the same length) is equally likely. Probabilities are ratios of lengths.

Think of it like this: Throwing a dart at a ruler, completely blindly: any 1 cm stretch gets the same chance.

Why it exists

Uniform random choices are everywhere: a random pivot, a random break point, a random number in an interval.

How it works

  1. Discrete uniform on 1..n: P(k) = 1/n, mean (n + 1)/2, variance (n² − 1)/12.
  2. Continuous uniform on [a, b]: density 1/(b − a).
  3. P(c ≤ X ≤ d) = (d − c)/(b − a), the length ratio.
  4. Mean (a + b)/2 and variance (b − a)²/12.
  5. Break a unit stick: the break point is uniform on (0, 1).

Worked example: GATE 2019: Y uniform on (1, 6); polynomial 3x² + 6xY + 3Y + 6 has real roots

The discriminant 36Y² − 36Y − 72 ≥ 0 gives Y ≥ 2. So P = (6 − 2)/(6 − 1) = 0.8. In the lab, set a = 1 and b = 6 and ask for the range 2 to 6.

Now play with it

  • →Set the uniform on [1, 6] and type the range 2 to 6: read 0.8.
  • →Switch the distribution to the discrete uniform with n = 6 and read the mean 3.5.
070.22

Dashed line = mean. Shaded/green part = the range below.

mean E[X]3.5
variance2.0833
standard deviation1.4434
P(2 ≤ X ≤ 5)0.6

Density is the constant 1/(b − a). P(c ≤ X ≤ d) is just the length (d − c)/(b − a).

DistributionModelsMeanVariance
Uniform discrete 1..na fair die(n + 1)/2(n² − 1)/12
Uniform continuous [a, b]a random point(a + b)/2(b − a)²/12
Binomial(n, p)successes in n trialsnpnp(1 − p)
Geometric(p)trials to first success1/p(1 − p)/p²
Poisson(λ)rare events per intervalλλ
Exponential(λ)waiting time1/λ1/λ²
Normal(μ, σ²)sums, measurement noiseμσ²

Memorise this table: most distribution questions are one line once you recognise which row you are in.

Check yourself

X is uniform on [0, 10]. What is P(3 ≤ X ≤ 8)?

Remember: Uniform: probability = length ratio; mean (a + b)/2, variance (b − a)²/12.
Exam notes (the dense version)

Discrete uniform on {1..n}: every value 1/n, mean (n + 1)/2, variance (n² − 1)/12. Continuous uniform on [a, b]: density 1/(b − a), mean (a + b)/2, variance (b − a)²/12. P(c ≤ X ≤ d) = (d − c)/(b − a): just a ratio of lengths.

Previous year questions: Standard Distributions (8)

PYQs are grouped by topic, so this is the full set for Standard Distributions; try the ones that match this subtopic. Open all 8 on the topic page.