Home / A-Level Maths 9709 / Topic 6.3 / Revision notes
Download PDFQuestion bank →Topic 6.3 lessons

Continuous random variables

A-Level Maths 9709 · Topic 6.3 revision notes

Everything from the 1 lessons of this topic on a few pages: the key idea of each lesson, the diagram to remember, the points to learn and the traps examiners set. Read it, cover it, test yourself.

  1. Probability density functions, mean and variance

1Probability density functions, mean and variance

Syllabus 6.3

A probability density function satisfies \(f(x) \ge 0\) and \(\displaystyle\int f(x)\,dx = 1\) over its domain. \(\text{P}(a < X < b) = \displaystyle\int_a^b f(x)\,dx\), \(\text{E}(X) = \displaystyle\int x f(x)\,dx\), \(\text{Var}(X) = \displaystyle\int x^{2} f(x)\,dx - \mu^{2}\), and the median \(m\) has half the area to its left.

12340 0.375 x f(x) 5/32 f(x) = (3/32)x(4 − x) total area = 1 mean = median = 2 by symmetry; variance 0.8
Fig. 1: the density f(x) = (3/32)x(4 − x) for 0 ≤ x ≤ 4, drawn to scale. The total area is 1 and the shaded area is P(X < 1) = 5/32

Worked example: Finding the constant and a probability

\(X\) has density \(f(x) = kx(4 - x)\) for \(0 \le x \le 4\), and 0 otherwise. Find \(k\) and \(\text{P}(X < 1)\).
  1. \(\displaystyle\int_0^4 (4x - x^{2})\,dx = \left[2x^{2} - \tfrac{x^{3}}{3}\right]_0^4 = 32 - \tfrac{64}{3} = \tfrac{32}{3}\).
  2. Total area 1: \(k \times \tfrac{32}{3} = 1\), so \(k = \tfrac{3}{32}\).
  3. \(\text{P}(X < 1) = \tfrac{3}{32}\left[2x^{2} - \tfrac{x^{3}}{3}\right]_0^1 = \tfrac{3}{32} \times \tfrac{5}{3}\).
  4. \(= \tfrac{5}{32} = 0.15625\) (Fig. 1).
Answer: \(k = \tfrac{3}{32}\), \(\text{P}(X < 1) = \tfrac{5}{32} = 0.156\)

Total area 1, then integrate what you need.

  • Unknown constant: set the integral over the whole domain equal to 1.
  • Probability: integrate \(f\) over the interval; end points do not matter.
  • Mean: \(\int x f(x)\,dx\), or use symmetry and say so.
  • Variance: \(\int x^{2} f(x)\,dx - \mu^{2}\).
  • Median or percentile: area to the left equals 0.5 (or the percentage); reject roots outside the domain.
  • Infinite domain: use \(x^{-n} \to 0\) as \(x \to \infty\).

Watch out!

\(f(2) = \tfrac{3}{8}\) is not \(\text{P}(X = 2)\). For a continuous variable that probability is 0; a value of \(f\) only becomes a probability after you integrate it over an interval.

\(\text{Var}(X) = \int x^{2} f(x)\,dx\) is NOT the variance until you subtract \(\mu^{2}\). Leaving the answer as 4.8 above is the most frequent lost mark.

The median is not half-way along the domain. For \(f(x) = \tfrac{x}{8}\) on \([0, 4]\) it is \(2.83\), not \(2\): more of the area sits on the right where the density is higher.

Back to A-Level Maths 9709 contents · (c) 2026 TheLucidSTEM · thelucidstem.com