All revision notes topics

Rectangular distributionAQA A-Level Further Maths: Revision notes

Section 1

The rectangular model

A continuous random variable XX has a rectangular distribution (also called uniform) on [a,b][a,b] when every value in the interval is equally likely, so intervals of equal width have equal probability. The pdf is f(x)=1b−a(a≤x≤b),f(x)=0 otherwise.f(x)=\frac{1}{b-a}\quad(a\le x\le b),\qquad f(x)=0\ \text{otherwise}. The graph is a rectangle of width b−ab-a and height 1b−a\frac{1}{b-a}, so the total area is 11.

Key termsrectangular distributionpdf

Section 2

When to use it as a model

Use a rectangular distribution when:

  • the variable is continuous and takes values only within a fixed interval,
  • there is no reason to favour any part of the interval, so any two sub-intervals of equal width are equally likely. Typical examples are the waiting time for something that arrives at a random moment in a fixed cycle, and rounding errors. It is not suitable if values cluster (for example commuters who time their arrival to the timetable) or if the interval is not fixed.
Key termscontinuousequally likely
Common mistake

Saying the distribution is rectangular because there are 'a lot of values'. The reason is that every part of the interval is equally likely.

Section 3

Calculating probabilities

Probability is area, so for a≤c<d≤ba\le c<d\le b: P(c<X<d)=∫cd1b−a dx=d−cb−a.\mathrm{P}(c<X<d)=\int_c^d\frac{1}{b-a}\,dx=\frac{d-c}{b-a}. Worked example: XX rectangular on [2,10][2,10]. Then f(x)=18f(x)=\frac18 and P(3<X<5.5)=2.58=516\mathrm{P}(3<X<5.5)=\frac{2.5}{8}=\frac{5}{16}. For a probability such as P(∣E∣>0.4)\mathrm{P}(|E|>0.4) on [−0.5,0.5][-0.5,0.5], add the two tails: 0.1+0.1=0.20.1+0.1=0.2.

Exam tip

Limit any bound to the interval first, then divide by b−ab-a. Always divide by the full width, not by bb.

Section 4

Proof of the mean

E(X)=∫abx⋅1b−a dx=[x22(b−a)]ab=b2−a22(b−a)=a+b2.\mathrm{E}(X)=\int_a^b x\cdot\frac{1}{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}. This is the midpoint of the interval, as symmetry suggests. The factorisation b2−a2=(b−a)(b+a)b^2-a^2=(b-a)(b+a) is the key step.

Key termsmean

Section 5

Proof of the variance and standard deviation

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}, using b3−a3=(b−a)(a2+ab+b2)b^3-a^3=(b-a)(a^2+ab+b^2). Then Var(X)=a2+ab+b23−(a+b)24=(b−a)212,σ=b−a12.\mathrm{Var}(X)=\frac{a^2+ab+b^2}{3}-\frac{(a+b)^2}{4}=\frac{(b-a)^2}{12},\qquad \sigma=\frac{b-a}{\sqrt{12}}. Example: trains every 15 minutes gives Var=22512=18.75\mathrm{Var}=\frac{225}{12}=18.75 and σ=4.33\sigma=4.33 minutes.

Key termsvariance
Common mistake

Writing Var(X)=E(X2)−E(X)\mathrm{Var}(X)=\mathrm{E}(X^2)-\mathrm{E}(X). The mean must be squared: E(X2)−[E(X)]2\mathrm{E}(X^2)-[\mathrm{E}(X)]^2.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Rectangular distribution

  1. The time, XX minutes, that a customer waits for a lift is modelled by a continuous rectangular distribution on the interval [2,10][2, 10].
    Find P(3<X<5.5)\mathrm{P}(3<X<5.5), giving your answer as a fraction.2 marks
  2. A length is measured to the nearest centimetre. The rounding error, EE cm, is modelled by a continuous rectangular distribution on the interval [−0.5,0.5][-0.5, 0.5].
    Find the probability that the rounding error is more than 0.40.4 cm in size, that is P(∣E∣>0.4)\mathrm{P}(|E|>0.4).2 marks
  3. The continuous random variable XX has a rectangular distribution on the interval [a,b][a, b], where a<ba<b, so that f(x)=1b−af(x)=\frac{1}{b-a} for a≤x≤ba\le x\le b and f(x)=0f(x)=0 otherwise.
    Prove 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).