6.3 Continuous random variables
- Syllabus
- 9709–2028–2029
- Topic
- 6.3
- Level
- A2
| Density property on its support I | Meaning |
|---|---|
| f(x)≥0 | area cannot create negative probability |
| ∫If(x)dx=1 | all possible values have total probability 1 |
| P(a<X<b)=∫abf(x)dx | interval probability is area |
| P(X=x)=0 | a single point has zero width |
State the single support interval and take f(x)=0 outside it. The support may be finite or infinite. Endpoint inclusion makes no difference to a continuous probability.
For f(x)=3/x4 on x≥1, ∫1∞3x−4dx=1, so it is a valid density. Also P(X>2)=∫2∞3x−4dx=1/8.
A density can exceed 1 over a narrow interval; only its total area must be 1. Density carries inverse units so that integrated probability is unitless.
f(x) is not P(X=x). Work directly with density areas; explicit cumulative-distribution-function knowledge is not part of this syllabus objective.
| Goal | Direct density calculation |
|---|---|
| unknown constant | set total support area equal to 1 |
| probability | integrate f(x) over the event interval |
| mean | E(X)=∫xf(x)dx |
| variance | E(X2)=∫x2f(x)dx, then Var(X)=E(X2)−[E(X)]2 |
| pth percentile c | set area to the left of c equal to p |
Let f(x)=kx for 0≤x≤2. Normalisation gives 1=∫02kxdx=2k, so k=1/2. Therefore P(X>1)=∫12x/2dx=3/4.
For this density, E(X)=∫02x(x/2)dx=4/3, E(X2)=∫02x2(x/2)dx=2, so Var(X)=2−(4/3)2=2/9.
The median m divides the total area in half: ∫0mx/2dx=1/2. Hence m2/4=1/2 and, since m lies in the support, m=2. Other percentiles use the same direct-area equation.
Normalise before every later calculation. A median is found from accumulated area, not from f(m)=0.5; explicit CDF notation is neither needed nor included.