Worked solution from the Continuous random variables Paper 6 Probability & Statistics 2 booklet, Part 2 of 2.
P(X < 12) is the integral of f(x) from 0 to 12.
P = ∫01/2 (1 + cos πx) dx [1]
= [x + sin πxπ]01/2 [1]
= (12 + sin(π/2)π) − (0 + 0)
= 12 + 1π, since sin(π/2) = 1. This is the required result. [1]
E(X) = ∫ x f(x) dx over 0 to 1. The cos term needs integration by parts.
E(X) = ∫01 (x + x cos πx) dx [1]
Take u = x and dv = cos πx dx, so v = sin πxπ.
∫ x cos πx dx = x × sin πxπ − ∫ sin πxπ dx [1]
= x × sin πxπ + cos πxπ2
So E(X) = [x22 + x × sin πxπ + cos πxπ2]01 [1]
Put in the limits: (12 + sin ππ + cos ππ2) − (0 + 0 + cos 0π2) [1]
sin π = 0, cos π = −1 and cos 0 = 1, so E(X) = 12 − 1π2 − 1π2 = 12 − 2π2. This is the required result. [1]
▶ Starts at Q7 (45:20)
Starts at Q7 (45:20) · 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.