A-Level Maths: Paper 6 Continuous Random Variables with Density Functions, Mean, Variance and Percentiles (Tutor Guide)
- 2026-11-29
Continuous random variables are easily reduced to integration practice, but Paper 6 asks three questions: what the height of a density function means, why a single point has probability zero, and how the mean and variance come out of the same curve.
01 Prerequisites (3-minute check)
If any of these fails, fix it before the lesson starts.
| Skill | Quick check | Pass mark |
|---|---|---|
| Basic definite integration | Evaluate the integral of x squared from 0 to 3 | x cubed over 3, giving 9 at the upper limit |
| Total area and probability | What must the total area under a density function be | Equal to 1, not 100 and not the height of the curve |
| Definition of the median | How do you locate the median of a continuous distribution | Find the point with exactly half the area to its left |
| Integration to infinity | Evaluate the integral of x to the power minus 2 from 1 to infinity | The primitive is minus x to the power minus 1, so the limit converges to 1 |
02 Lesson flow (60 minutes)
| Time | Stage | Tutor does | Student does |
|---|---|---|---|
| 0–6 min | Opening check | Ask one integral, one total-area and one median question | Answer 9, 1 and half the area |
| 6–22 min | Scene 1: density functions and single points | State both conditions, verify area, show 0.2963 | Obtain 0.2963 and 0.2593 |
| 22–36 min | Scene 2: mean and variance | Write both integrals, show 2.25 and 0.3375 | Obtain 5.4 and subtract to get the variance |
| 36–50 min | Scene 3: percentiles and the infinite domain | Solve for the median, then use 3 over x to the fourth | Obtain 2.3811 and 0.875 |
| 50–56 min | Question routines | Five routines with the expected written form | Write one full answer following the routine |
| 56–60 min | Exit check | Three quick questions, set the homework | Independent, notes closed |
03 Teaching script (read it out)
Scene 1: Density functions and single points — pin down area first
Then the main example: f(x) equals x squared over 9 for 0 to 3, and zero outside. Ask students to verify the total area first: the primitive is x cubed over 27, which gives 1 at x equals 3 and 0 at x equals 0. This step must not be skipped, because every later probability is scaled by it.
Next compute two intervals: P(X at most 2) equals 8 over 27, which is 0.2963, and P(1 to 2) equals 7 over 27, which is 0.2593. Point out that these two do not add to 1 because they overlap.
Finally the single point: P(X equals 2) is 0, because a line has no area. So at most and less than give the same answer for a continuous variable, the exact opposite of the discrete distributions met in Paper 5. Ask students to state that contrast.
Student task: find P(X at most 1) and P(2 to 3), and explain why the two together equal 1 minus the middle part.
A line you can read aloud: The curve is a height, not a probability. Probability is area, and a single point has no area, so its probability is zero.
Scene 2: Mean and variance — both come out of the same curve
Main example: the mean is one ninth of the integral of x cubed from 0 to 3, which is one ninth of 81 over 4, giving 2.25. The second moment is one ninth of the integral of x to the fourth, which is one ninth of 243 over 5, giving 5.4. The variance is 5.4 minus 5.0625, which is 0.3375, and the standard deviation is 0.5809.
Three points to stress: the variance is the second moment minus the square of the mean, so quoting 5.4 as the variance is the commonest error; subtracting before squaring gives zero; and the variance carries squared units while the standard deviation carries the same units as X, so interpret spreads with the standard deviation.
Sanity check: a mean of 2.25 sits right of centre, which is right because the square weighting pushes mass towards larger values. A student who gets 1.5 has used the midpoint and dropped the weighting.
Student task: for f(x) equals one fifth on 0 to 5, find the mean and variance and explain the values 2.5 and 2.0833.
A line you can read aloud: Integrate x times f, then x squared times f, then subtract the square of the mean. The order is not optional.
Scene 3: Median, quartiles and an infinite domain
Quartiles work the same way: the lower quartile has area 0.25, so q cubed is 6.75 and q is 1.8899; the upper quartile has area 0.75, so q cubed is 20.25 and q is 2.7257; the interquartile range is 0.8358. Make students say that percentiles come from area, not from height.
Finally an infinite domain: f(x) equals 3 over x to the fourth for x at least 1. Verify the total area first: the primitive is minus x to the power minus 3, which tends to 0 at infinity and equals minus 1 at x equals 1, so the area is 1. Then P(X at most 2) equals 1 minus one eighth, which is 0.875, and P(X above 3) equals one twenty-seventh, which is 0.0370. The mean is 1.5, the second moment is 3, the variance is 0.75 and the standard deviation is 0.8660. The median solves 1 minus one over m cubed equals 0.5, so m cubed is 2 and m is 1.2599.
Student task: for the same density, find P(2 to 4) and the upper quartile, and explain why the upper quartile exceeds the median.
A line you can read aloud: The median comes from area, not height. The point that leaves half the area behind it is the median, and the mean is a separate question.
04 Question types and worked steps
| Type | Example | Steps | Answer |
|---|---|---|---|
| Find the constant | f(x) equals k times x squared on 0 to 3 | 1 set the total area equal to 1; 2 integrate to 9k; 3 solve for k | k equals one ninth |
| Interval probability | P(1 to 2) | 1 find the primitive; 2 substitute the limits and subtract; 3 keep four decimals | 7 over 27, which is 0.2593 |
| Mean and variance | f(x) equals x squared over 9 | 1 integrate x times f for the mean; 2 integrate x squared times f; 3 subtract the square of the mean | 2.25, 5.4, variance 0.3375, standard deviation 0.5809 |
| Median and percentiles | Locate m from half the area | 1 set the integral from the lower limit to m equal to the target area; 2 solve; 3 check m lies in the domain | median 2.3811, lower quartile 1.8899 |
| Infinite domain | f(x) equals 3 over x to the fourth for x at least 1 | 1 verify the total area with a limit; 2 compute interval probabilities; 3 integrate as usual for the mean | 0.875, mean 1.5, variance 0.75, median 1.2599 |
05 Independent practice (3 questions)
| Question | Answer | What to watch |
|---|---|---|
| f(x) equals 3 x squared over 8 on 0 to 2. Find P(X at most 1) and P(1 to 1.5). | P(X at most 1) equals one eighth, which is 0.125; P(1 to 1.5) equals 2.375 over 8, which is 0.2969 | The density near 2 is high yet the lower interval is only 0.125, which shows that height is not probability |
| f(x) equals x squared over 9 on 0 to 3. Find the mean, variance and standard deviation. | Mean 2.25, second moment 5.4, variance 0.3375, standard deviation 0.5809 | Insist on both integrals before subtracting; quoting 5.4 as the variance is the main error here |
| f(x) equals 3 over x to the fourth for x at least 1. Find P(X above 2) and the median. | P(X above 2) equals one eighth, which is 0.125; the median is 1.2599 | Write the limit for the infinite upper bound; the median solves 1 minus one over m cubed equals 0.5 |
06 Common mistakes and what to say
| Mistake | Student writes | Say this |
|---|---|---|
| Treating a density as a probability | P(X equals 2) equals f(2), which is 0.4444 | The height at 2 is a density, not a probability; a single point has zero area and therefore zero probability. |
| Skipping the total-area check | Integrating x squared to 9 and calling the total area 9 | The total area must be 1, so the constant is one ninth; without that check every probability is nine times too big. |
| Using the wrong variance formula | Quoting the second moment 5.4 as the variance | The variance is the second moment minus the square of the mean, so 5.4 minus 5.0625 gives 0.3375. |
| Confusing the median with the mean | Answering that the median is 2.25 | Only 0.4219 of the area lies left of 2.25, which is not half; the median comes from half the area and is 2.3811. |
07 Homework (paper, section and question numbers)
- A-Level Maths chapter index — Every chapter in the subject; this one is Paper 6 and the next is sampling and estimation
- Integration: area and volume — The feel for definite integrals as areas comes from here, so redo three questions first
- Normal distribution and standardisation — The area idea for continuous variables carries straight over to the normal distribution
08 Exit check (last 5 minutes)
| Question | Answer | Decision |
|---|---|---|
| What are the two conditions for a density function | Not negative, and total area equal to 1 | Saying the area is 100 per cent is fine; saying f(x) never exceeds 1 is wrong |
| What is P(X equals 2) | Zero, because a single point has no area | Answering 0.4444 shows the density is still being read as a probability |
| What is the median of x squared over 9 on 0 to 3 | 2.3811, and it exceeds the mean of 2.25 | Answering 2.25 means mean and median are confused, so replay Scene 3 |
09 Tutor FAQ
Why is the probability at a single point zero when the event can clearly happen?
Probability is area, and a single point has no area. That does not make the event impossible; it means the continuous model assigns it probability zero. So P(X equals 2) is 0 while P(1.99 to 2.01) is a small positive number. When a question says equals, the answer is 0; intervals are the ones that need integration.
Why does the syllabus exclude the cumulative distribution function?
Section 6.3 only asks for a density function on a single interval, with areas found by direct integration. The cumulative function is taught formally later, so this chapter always writes the integral from the lower limit to a chosen point and never introduces its symbol. Students who have read ahead may use it, but the paper does not require it. Medians and quartiles take the same route: set the area equal to the target and solve.
Do infinite domains really need a limit?
Write the limit, but only two convergence results are needed: x to the power minus 2 from 1 to infinity gives 1, and x to the power minus 3 gives one half. This chapter uses 3 over x to the fourth, whose primitive is minus x to the power minus 3, giving 0 at infinity and minus 1 at x equals 1, so the area is 1. The sentence that the term tends to zero as x tends to infinity is enough for full marks.
Find a tutor — freeTutor Registration →
A TutorZone lesson-prep guide. Written by the TutorZone team; questions and lesson flow are original and are not taken from any school or publisher material.



