Worked solution from the Continuous random variables Paper 6 Probability & Statistics 2 booklet, Part 2 of 2.
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]
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]
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]
▶ 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.