All revision notes topics

Mean and variance of continuous random variablesEdexcel A-Level Further Maths: Revision notes

Section 1

Expected value, variance and standard deviation

For a continuous random variable XX with probability density function f(x)f(x), the expected value (mean) is E(X)=∫−∞∞x f(x) dx,\mathrm{E}(X)=\int_{-\infty}^{\infty}x\,f(x)\,dx, integrating only over the range where f(x)≠0f(x)\ne0. The variance is Var(X)=E(X2)−[E(X)]2,where E(X2)=∫x2f(x) dx.\mathrm{Var}(X)=\mathrm{E}(X^2)-[\mathrm{E}(X)]^2,\quad\text{where }\mathrm{E}(X^2)=\int x^2f(x)\,dx. The standard deviation is Var(X)\sqrt{\mathrm{Var}(X)}. Example: f(x)=38x2f(x)=\frac38x^2 on 0≤x≤20\le x\le2. E(X)=38∫02x3 dx=32\mathrm{E}(X)=\frac38\int_0^2x^3\,dx=\frac32, E(X2)=38∫02x4 dx=125\mathrm{E}(X^2)=\frac38\int_0^2x^4\,dx=\frac{12}{5}, so Var(X)=125−94=320\mathrm{Var}(X)=\frac{12}{5}-\frac94=\frac3{20}.

Key termsexpected valuevariancestandard deviation
Common mistake

Forgetting to subtract [E(X)]2[\mathrm{E}(X)]^2, so that E(X2)\mathrm{E}(X^2) is quoted as the variance.

Section 2

The expected value of a function, E(g(X))

To find the mean of any function of XX, integrate the function against the density: E(g(X))=∫g(x) f(x) dx.\mathrm{E}(g(X))=\int g(x)\,f(x)\,dx. This covers E(X2)\mathrm{E}(X^2), E(1X)\mathrm{E}\left(\frac1X\right), E(X)\mathrm{E}(\sqrt X) and so on. For a linear function, E(aX+b)=aE(X)+b\mathrm{E}(aX+b)=a\mathrm{E}(X)+b and Var(aX+b)=a2Var(X)\mathrm{Var}(aX+b)=a^2\mathrm{Var}(X). Example: with f(x)=38x2f(x)=\frac38x^2 on [0,2][0,2], E(1X)=∫021x⋅38x2 dx=38[x22]02=34\mathrm{E}\left(\frac1X\right)=\int_0^2\frac1x\cdot\frac38x^2\,dx=\frac38\left[\frac{x^2}{2}\right]_0^2=\frac34.

Key termsE(g(X))
Common mistake

Writing E(1X)=1E(X)\mathrm{E}\left(\frac1X\right)=\frac{1}{\mathrm{E}(X)}. In general E(g(X))≠g(E(X))\mathrm{E}(g(X))\ne g(\mathrm{E}(X)) (here 34\frac34, not 23\frac23).

Section 3

Mode, median and percentiles

The mode is the value of xx where f(x)f(x) is greatest. Differentiate ff and solve f′(x)=0f'(x)=0, but also check the end points of the range: for an increasing density such as f(y)=y2f(y)=\frac y2 on [0,2][0,2] the mode is the end point y=2y=2. The cumulative distribution function is F(x)=∫−∞xf(t) dtF(x)=\int_{-\infty}^xf(t)\,dt. The median mm satisfies F(m)=0.5F(m)=0.5, and the ppth percentile qq satisfies F(q)=p100F(q)=\frac{p}{100}. The lower and upper quartiles are the 25th and 75th percentiles. Example: f(x)=3x−4f(x)=3x^{-4} for x≥1x\ge1 gives F(x)=1−x−3F(x)=1-x^{-3}, so the 90th percentile solves x−3=0.1x^{-3}=0.1, giving x=101/3=2.15x=10^{1/3}=2.15.

Key termsmodemedianpercentilecumulative distribution function
Exam tip

Integrate from the lower end of the range of XX to build F(x)F(x), and reject any root that lies outside the range.

Section 4

Skewness

Skewness describes the asymmetry of a distribution. Compare the mean, median and mode:

  • Positive skew: mean >> median >> mode (a long tail to the right).
  • Negative skew: mean << median << mode (a long tail to the left).
  • Zero skew: mean == median == mode, as for a symmetrical density. Always justify the description with the values. Example: f(y)=y2f(y)=\frac y2 on [0,2][0,2] has mean 43\frac43, median 2\sqrt2 and mode 22, so 43<2<2\frac43<\sqrt2<2 and the skew is negative.
Key termspositive skewnegative skewzero skew
Common mistake

Stating the type of skew without the numerical comparison that justifies it.

Section 5

Assessing the suitability of a model

A density ff can be used to model a real quantity. To assess it, compare the model's mean, variance, median and percentiles with the data's, and check the range. A good model agrees closely with the sample mean and variance and does not rule out values that actually occur. Example: if a model gives mean 3.333.33 and variance 5.565.56 and a sample has mean 3.43.4 and variance 5.85.8, the model fits the average behaviour. If f(d)=0f(d)=0 for d>10d>10 but a value of 12.512.5 is observed, the model is unsuitable for the upper tail. Always finish with a judgement in context.

Key termsmodelsuitability
Exam tip

Make two comparisons (a measure of location and a measure of spread or range), then state clearly whether the model is suitable and why.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Mean and variance of continuous random variables

  1. The continuous random variable XX has probability density function f(x)=38x2f(x)=\frac{3}{8}x^2 for 0≤x≤20\le x\le 2, and f(x)=0f(x)=0 otherwise.
    Find E ⁣(1X)\mathrm{E}\!\left(\frac{1}{X}\right).2 marks
  2. The continuous random variable YY has probability density function f(y)=y2f(y)=\frac{y}{2} for 0≤y≤20\le y\le 2, and f(y)=0f(y)=0 otherwise.
    Calculate E(Y)\mathrm{E}(Y). Using this value, together with the mode and median of YY, describe the skewness of the distribution, justifying your answer.2 marks
  3. The continuous random variable XX has probability density function f(x)=3x4f(x)=\frac{3}{x^4} for x≥1x\ge 1, and f(x)=0f(x)=0 otherwise.
    Find the 90th percentile 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).