Free Pearson Edexcel International A-level Mathematics · S2

The continuous uniform distribution

What you’ll learn

  • Use a rectangular density to find interval probabilities.
  • Find the mean and variance from the endpoints.
  • Relate uniform moments to integration.

Understand the idea

For X∼U(a,b)X\sim U(a,b) the density is constant between aa and bb and zero elsewhere. Since the rectangle must have area one, its height is 1/(b−a)1/(b-a). Equal-length subintervals inside the support have equal probabilities, regardless of their positions.

Integrating the constant density gives a linear CDF within the support. Integrating xf(x)xf(x) gives the midpoint as the mean, and integration of x2f(x)x^2f(x) leads to variance (b−a)2/12(b-a)^2/12. Wider intervals have greater variance even when the centre is unchanged.

The uniform model is appropriate only when there is a reason to treat all locations in the interval as equally likely. A bounded waiting time is not automatically uniform; a timetable or a non-random arrival process can change its shape.

Key formulae

f(x)=1b−a(a<x<b)f(x)=\frac1{b-a}\quad(a<x<b)

F(x)=x−ab−a(a≤x≤b)F(x)=\frac{x-a}{b-a}\quad(a\leq x\leq b)

E(X)=a+b2E(X)=\frac{a+b}{2}

Var⁡(X)=(b−a)212\operatorname{Var}(X)=\frac{(b-a)^2}{12}

Uniform probabilities are proportional to interval lengths

Conditions. Uniform distribution on[1,5]. Its CDF is 0 below 1, (x−1)/4 between 1 and 5, and 1 above 5.

x / model units; Cumulative probability / dimensionless.

An interval of length 1 inside[1,5] has probability 1/4. At x=3 the CDF is 0.5. The function remains bounded between 0 and 1 rather than extending its middle straight line beyond the support.

Open the interactive lesson to view plotted curves and coordinate tables.

Worked example

A waiting time follows U(4,10)U(4,10) minutes. Find P(6<X<9)P(6<X<9), its mean and its variance.

  1. The whole interval has length 10−4=610-4=6. The target interval has length 9−6=39-6=3.
  2. Its probability is 3/6=1/23/6=1/2.
  3. The mean is (4+10)/2=7(4+10)/2=7 minutes.
  4. The variance is (10−4)2/12=3(10-4)^2/12=3 minutes squared.

Answer: Probability 0.50.5; mean 77 minutes; variance 33 minutes squared.

Open the interactive lesson to try original questions and recall. Build a revision plan.