All revision notes topics

The continuous uniform distributionEdexcel International A Level Further Maths: Revision notes

Section 1

The continuous uniform distribution

A continuous uniform (rectangular) distribution on [a,b][a,b] gives every sub-interval of the same length the same probability. We write X∼U[a,b]X\sim U[a,b]. The pdf is a constant: f(x)={1b−aa≤x≤b,0otherwise.f(x)=\begin{cases}\dfrac{1}{b-a}&a\le x\le b,\\[4pt]0&\text{otherwise.}\end{cases} The graph is a rectangle of width b−ab-a and height 1b−a\frac{1}{b-a}, so its area is 1. Use it to model a quantity that is equally likely to lie anywhere in a range, such as a rounding error or the waiting time for a service with random arrivals.

Key termscontinuous uniform distributionrectangular
Common mistake

Using 1b\frac1b for the height. The height is 1b−a\frac{1}{b-a}, the reciprocal of the width.

Section 2

The cumulative distribution function

Integrating the constant density from aa to xx: F(x)=∫ax1b−a dt=x−ab−a,a≤x≤b,F(x)=\int_a^x\frac{1}{b-a}\,dt=\frac{x-a}{b-a},\quad a\le x\le b, with F(x)=0F(x)=0 for x<ax<a and F(x)=1F(x)=1 for x>bx>b. This is a straight line from 00 at x=ax=a to 11 at x=bx=b. For any interval, P(c<X<d)=F(d)−F(c)=d−cb−aP(c<X<d)=F(d)-F(c)=\frac{d-c}{b-a}, the fraction of the range covered. Example: X∼U[2,8]X\sim U[2,8], P(X≤3.5)=1.56=14P(X\le3.5)=\frac{1.5}{6}=\frac14.

Key termscumulative distribution function
Exam tip

Probabilities for a uniform variable are just ratios of lengths: length of your intervalb−a\frac{\text{length of your interval}}{b-a}.

Section 3

Mean and variance

By symmetry the mean is the midpoint of the interval. The derivation is a standard integral: E(X)=∫abxb−a dx=b2−a22(b−a)=a+b2.E(X)=\int_a^b\frac{x}{b-a}\,dx=\frac{b^2-a^2}{2(b-a)}=\frac{a+b}{2}. For the variance, find E(X2)E(X^2) and subtract the square of the mean: E(X2)=∫abx2b−a dx=b3−a33(b−a)=a2+ab+b23,E(X^2)=\int_a^b\frac{x^2}{b-a}\,dx=\frac{b^3-a^3}{3(b-a)}=\frac{a^2+ab+b^2}{3}, Var(X)=a2+ab+b23−(a+b)24=(b−a)212.\text{Var}(X)=\frac{a^2+ab+b^2}{3}-\frac{(a+b)^2}{4}=\frac{(b-a)^2}{12}. Check: U[2,8]U[2,8] has mean 5 and variance 3612=3\frac{36}{12}=3.

Key termsmeanvariance
Common mistake

Writing the variance as b−a12\frac{b-a}{12} or (b−a)22\frac{(b-a)^2}{2}. The width is squared and divided by 12.

Exam tip

In 'show that' questions, factorise b2−a2b^2-a^2 and b3−a3b^3-a^3 to cancel (b−a)(b-a).

Section 4

Using the distribution

To find aa and bb from given moments, form two equations: a+b=2E(X)a+b=2E(X), and (b−a)2=12 Var(X)(b-a)^2=12\,\text{Var}(X). Take the positive root for b−ab-a because b>ab>a. Worked example: E(X)=12E(X)=12, Var(X)=12\text{Var}(X)=12. Then a+b=24a+b=24 and (b−a)2=144(b-a)^2=144, so b−a=12b-a=12 and a=6a=6, b=18b=18. Then P(X>15)=18−1512=14P(X>15)=\frac{18-15}{12}=\frac14. State the model assumption when you use it: 'assuming the rod length is equally likely to be anywhere in the interval'.

Exam tip

Draw the interval on a number line and shade the part you want. The probability is the shaded length divided by b−ab-a.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on The continuous uniform distribution

  1. The continuous random variable XX is uniformly distributed over the interval [2,8][2,8].
    Find E(X)E(X) and Var(X)\text{Var}(X).2 marks
  2. The length LL cm of a rod cut by a machine is modelled by a continuous uniform distribution over the interval [49,51][49,51].
    The machine's target length is 50 cm. Find the probability that a rod is within 0.25 cm of the target.2 marks
  3. The continuous random variable XX is uniformly distributed over the interval [a,b][a,b], where b>ab>a.
    Show that the cumulative distribution function is F(x)=x−ab−aF(x)=\frac{x-a}{b-a} for a≤x≤ba\le x\le b.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).