Cambridge A2 Level Mathematics 9709 · 30.2 Mean, variance, median and percentiles

Q34 · 9709/62/M/J/24 Q7

Worked solution from the Continuous random variables Paper 6 Probability & Statistics 2 booklet, Part 2 of 2.

Q349709/62/M/J/24original Q7Structured · 10 marks
Question 7 from 9709/62/M/J/24

Worked solution

(a)

The area under the pdf is 1, so integrate f(x) from 0 to π and set it equal to 1.

k∫0π (1 + cos x) dx = 1 [1]

k[x + sin x]0π = 1 [1]

k(π + sin π − 0) = 1, so kπ = 1 and k = 1π [1]

(b)

The median m satisfies P(X ≤ m) = 12. Find the area up to 0.83 and up to 0.84 and check that 12 lies between them.

P(X ≤ m) = 1π[x + sin x]0m. At 0.83: 1π(0.83 + sin 0.83) [1]

= 0.499 (3 significant figures); at 0.84: 1π(0.84 + sin 0.84) = 0.504 [1]

0.499 < 0.5 < 0.504, so the median is between 0.83 and 0.84. [1]

(c)

Use E(X) = ∫ x f(x) dx.

E(X) = 1π∫0π (x + x cos x) dx [1]

Integrate x cos x by parts: ∫ x cos x dx = x sin x − ∫ sin x dx = x sin x + cos x [1]

So E(X) = 1π[x22 + x sin x + cos x]0π, which is a fully correct integration [1]

= 1π(π22 + 0 − 1 − (0 + 0 + 1)) = 1π(π22 − 2) = π2 − 2π [1]

KEY IDEASet the total area to 1 to find the constant. For the median, the area up to it is 12, so test values either side. Use integration by parts when x multiplies cos x.
TOTAL 10 marks

Official mark scheme

Mark scheme for 9709/62/M/J/24 question 7
VIDEO
▶ Starts at Q7 (46:04)

Starts at Q7 (46:04) · by Ci Xiang Ng. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.