All revision notes topics

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

Section 1

The continuous uniform (rectangular) distribution

A continuous random variable XX has a continuous uniform distribution on [a,b][a,b], written X∼U[a,b]X\sim U[a,b], when every value in the interval is equally likely. Its probability density function is constant: f(x)={1b−a,a≤x≤b,0,otherwise.f(x)=\begin{cases}\dfrac{1}{b-a}, & a\le x\le b,\\[4pt] 0, & \text{otherwise.}\end{cases} The graph of ff is a rectangle of width b−ab-a and height 1b−a\frac{1}{b-a}, which is why it is also called the rectangular distribution; the total area is 1. Typical models are waiting times for a regular service and rounding errors.

Key termscontinuous uniform distributionrectangular distribution
Common mistake

Quoting the density as 1b\frac{1}{b} or 1a+b\frac{1}{a+b}. The height is 1b−a\frac{1}{b-a}, the reciprocal of the width.

Section 2

Mean and variance, with derivation

The mean is E(X)=∫abxb−a dx=[x22(b−a)]ab=b2−a22(b−a)=a+b2,\mathrm{E}(X)=\int_a^b\frac{x}{b-a}\,dx=\left[\frac{x^2}{2(b-a)}\right]_a^b=\frac{b^2-a^2}{2(b-a)}=\frac{a+b}{2}, the midpoint of the interval. For the variance, first E(X2)=∫abx2b−a dx=b3−a33(b−a)=a2+ab+b23,\mathrm{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}, so Var(X)=a2+ab+b23−(a+b)24=(b−a)212.\mathrm{Var}(X)=\frac{a^2+ab+b^2}{3}-\frac{(a+b)^2}{4}=\frac{(b-a)^2}{12}. The median equals the mean, because the distribution is symmetrical.

Key termsmeanvariance
Common mistake

Writing b−a12\frac{b-a}{12} and forgetting to square the width.

Section 3

The cumulative distribution function

For x<ax<a no probability lies below xx; for x>bx>b all of it does. For a≤x≤ba\le x\le b, F(x)=∫ax1b−a dt=x−ab−a.F(x)=\int_a^x\frac{1}{b-a}\,dt=\frac{x-a}{b-a}. So F(x)={0,x<a,x−ab−a,a≤x≤b,1,x>b.F(x)=\begin{cases}0,&x<a,\\[2pt]\dfrac{x-a}{b-a},&a\le x\le b,\\[6pt]1,&x>b.\end{cases} This is a straight line from (a,0)(a,0) to (b,1)(b,1). Percentiles follow directly: the ppth percentile is a+p100(b−a)a+\frac{p}{100}(b-a).

Key termscumulative distribution function
Exam tip

State all three pieces of F(x)F(x) (below aa, between, above bb) when asked to derive it.

Section 4

Calculating probabilities

Probabilities are rectangle areas, so for a≤c≤d≤ba\le c\le d\le b: P(c<X<d)=d−cb−a.\mathrm{P}(c<X<d)=\frac{d-c}{b-a}. Example: X∼U[2,10]X\sim U[2,10]. Then P(X>7)=10−78=38\mathrm{P}(X>7)=\frac{10-7}{8}=\frac38. Because the distribution is continuous, P(X=c)=0\mathrm{P}(X=c)=0 and << and ≤\le make no difference. If the interval you want runs outside [a,b][a,b], cut it back to the part inside [a,b][a,b] first.

Key termsprobability as area
Exam tip

Sketch the rectangle and shade the required width: probability is shaded width ×\times height.

Section 5

Finding the parameters and modelling

If the mean and variance (or a probability) are given, form equations in aa and bb. Example: E(Y)=9\mathrm{E}(Y)=9 and Var(Y)=12\mathrm{Var}(Y)=12 give a+b=18a+b=18 and (b−a)2=144(b-a)^2=144. Since b>ab>a, b−a=12b-a=12, so a=3a=3 and b=15b=15. In context, state the assumption behind the model: every value in the interval is equally likely, and no value outside it can occur. Uniform models suit rounding errors (a measurement recorded to the nearest 0.10.1 has error uniform on [−0.05,0.05][-0.05,0.05]) and waiting times at regular intervals.

Key termsrounding errormodel assumption
Common mistake

Taking b−a=±12b-a=\pm12. Because b>ab>a, only the positive root is valid.

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,10][2,10].
    Given that P(X<c)=0.35\mathrm{P}(X<c)=0.35, find the value of cc.2 marks
  2. The continuous random variable YY is uniformly distributed over the interval [a,b][a,b]. The mean of YY is 99 and the variance of YY is 1212.
    Find P(Y>11)\mathrm{P}(Y>11).2 marks
  3. The continuous random variable XX has a continuous uniform distribution over the interval [a,b][a,b], where a<ba<b.
    Show by integration that E(X)=a+b2\mathrm{E}(X)=\frac{a+b}{2}.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).