All revision notes topics

Mean, variance, mode, median and quartilesEdexcel International A Level Further Maths: Revision notes

Section 1

Mean and variance

For a continuous random variable with pdf f(x)f(x), the mean is an integral over the whole range: E(X)=∫−∞∞xf(x) dx,E(X2)=∫−∞∞x2f(x) dx.E(X)=\int_{-\infty}^{\infty}xf(x)\,dx,\qquad E(X^2)=\int_{-\infty}^{\infty}x^2f(x)\,dx. In practice, integrate only over the interval where ff is not 0. The variance is Var(X)=E(X2)−[E(X)]2.\text{Var}(X)=E(X^2)-[E(X)]^2. Example: f(x)=3x28f(x)=\frac{3x^2}{8} on [0,2][0,2]. E(X)=38∫02x3 dx=32E(X)=\frac{3}{8}\int_0^2x^3\,dx=\frac32, E(X2)=38∫02x4 dx=125E(X^2)=\frac38\int_0^2x^4\,dx=\frac{12}{5}, so Var(X)=125−94=320\text{Var}(X)=\frac{12}{5}-\frac94=\frac3{20}.

Key termsmeanvariance
Common mistake

Forgetting to subtract [E(X)]2[E(X)]^2, and quoting E(X2)E(X^2) as the variance.

Exam tip

Find E(X)E(X) and E(X2)E(X^2) in separate lines so each earns its own mark.

Section 2

The mode

The mode is the value of xx at which f(x)f(x) is greatest. Look for a maximum of ff:

  • If ff has a turning point inside the interval, solve f′(x)=0f'(x)=0 and check it is a maximum.
  • If ff is increasing (or decreasing) throughout, the mode is at an end of the interval. Example: f(x)=12x2(1−x)f(x)=12x^2(1-x) on [0,1][0,1] has f′(x)=12x(2−3x)=0f'(x)=12x(2-3x)=0 at x=0x=0 and x=23x=\frac23. At x=0x=0, ff is 0, so the mode is 23\frac23.
Key termsmode
Common mistake

Using F(x)F(x) instead of f(x)f(x) to find the mode. The mode is the peak of the density.

Section 3

The median

The median mm splits the probability in half: F(m)=12,equivalently∫−∞mf(x) dx=12.F(m)=\frac12,\qquad\text{equivalently}\qquad\int_{-\infty}^mf(x)\,dx=\frac12. Find F(x)F(x) first, then solve F(m)=12F(m)=\frac12 for mm. Example: f(y)=y2f(y)=\frac y2 on [0,2][0,2] gives F(y)=y24F(y)=\frac{y^2}{4}, so m24=12\frac{m^2}{4}=\frac12 and m=2m=\sqrt2.

Key termsmedian

Section 4

Quartiles and the interquartile range

The lower quartile Q1Q_1 and upper quartile Q3Q_3 satisfy F(Q1)=14,F(Q3)=34.F(Q_1)=\frac14,\qquad F(Q_3)=\frac34. The interquartile range is Q3−Q1Q_3-Q_1. For F(y)=y24F(y)=\frac{y^2}{4}: Q1=1Q_1=1, Q3=3Q_3=\sqrt3, and the interquartile range is 3−1\sqrt3-1. Compare the mean and the median to describe skew. For f(t)=3t264f(t)=\frac{3t^2}{64} on [0,4][0,4] the mean is 33 and the median is 3.173.17. The median is above the mean, which shows negative skew (a longer tail on the left).

Key termslower quartileupper quartileinterquartile range
Exam tip

Give exact values when they are simple (2\sqrt2) and otherwise 3 significant figures.

Common mistake

Solving F(x)=12F(x)=\frac12 for the lower quartile. The lower quartile uses 14\frac14 and the upper quartile 34\frac34.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Mean, variance, mode, median and quartiles

  1. The continuous random variable XX has probability density function f(x)=3x28f(x)=\frac{3x^2}{8} for 0≤x≤20\le x\le2, and f(x)=0f(x)=0 otherwise.
    Find the probability that XX is greater than its mean.2 marks
  2. The continuous random variable YY has probability density function f(y)=y2f(y)=\frac y2 for 0≤y≤20\le y\le2, and f(y)=0f(y)=0 otherwise.
    Write down the mode of YY, giving a reason.2 marks
  3. The continuous random variable XX has probability density function f(x)=12x2(1−x)f(x)=12x^2(1-x) for 0≤x≤10\le x\le1, and f(x)=0f(x)=0 otherwise.
    Find the mode of XX.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).