Continuous Random Variables
MathematicsΒ· 9709 S1 Chapter 6, S2 Chapter 3Β· 12 min read
1. Core Properties of Probability Density Functions (PDF)β β ββββ± 15 min
Unlike discrete random variables, continuous random variables cannot have their probability represented at single points, as the total number of possible outcomes is uncountably infinite. The probability density function f(x) must satisfy two non-negotiable conditions for all values of x in its domain.
Valid Probability Density Function
A function that is non-negative across its entire domain, and the total area under the curve over the full range of the random variable equals exactly 1
Verify that the function f(x) = k(4 - x^2) defined for 0 β€ x β€ 2, and 0 otherwise, is a valid PDF, and find the value of constant k
- 1
First confirm f(x) is non-negative over 0 β€ x β€ 2: 4 - xΒ² ranges from 4 to 0, so f(x) β₯ 0 for all x in the domain
- 2
Set the total definite integral over the domain equal to 1 to solve for k:
- 3
Evaluate the integral:
- 4
Rearrange to find k:
Test your understanding of PDF validity rules:
Which of the following functions meets the basic requirements for a valid PDF over 1 β€ x β€ 3?
f(x) = -0.5x + 2
f(x) = 0.5x - 1
f(x) = 2x - 1
f(x) = xΒ²
Reveal answer
f(x) = -0.5x + 2 βThis function is non-negative across 1 β€ x β€3, and the total integral equals 1
2. Cumulative Distribution Functions (CDF)β β β βββ± 18 min
The cumulative distribution function F(x) gives the probability that the random variable X takes a value less than or equal to x, calculated as the definite integral of the PDF from the lower bound of the domain up to x. For piecewise PDFs, you will derive piecewise CDFs for each interval.
Derive CDF from the PDF f(x) = 3/16 (4 - xΒ²) for 0 β€ x β€ 2
- 1
Integrate the PDF from 0 to x:
- 2
Evaluate the antiderivative:
- 3
Add boundary conditions: F(x) = 0 for x < 0, F(x) = 1 for x > 2
The full CDF is a piecewise function that increases monotonically from 0 to 1 across the domain
Given F(x) = \frac{x^2}{9} for 0 β€ x β€ 3, find P(1 β€ X β€ 2)
- 1
Recall that for continuous variables, P(a β€ X β€ b) = F(b) - F(a)
- 2
Substitute b=2 and a=1:
3. Expectation and Variance for Continuous Random Variablesβ β β βββ± 15 min
The expected value E[X] (mean) of a continuous random variable is calculated by integrating x multiplied by the PDF across the full domain. Variance is calculated as E[XΒ²] - (E[X])Β², the same identity used for discrete variables.
Calculate E[X] and Var(X) for the PDF f(x) = 3/16 (4 - xΒ²) defined over 0 β€ x β€ 2
- 1
Compute E[X] first:
- 2
Evaluate the integral:
- 3
Compute E[XΒ²] for variance:
- 4
Simplify to find variance:
- 5
Apply the variance identity:
4. Median, Mode and Percentilesβ β β β ββ± 12 min
The median m of a continuous distribution is the value where F(m) = 0.5, the point where half the total area under the PDF lies to the left. The mode is the value of x where f(x) reaches its maximum, found via differentiation for differentiable functions.
Find the median of the distribution with CDF F(x) = (12x - xΒ³)/16 for 0 β€ x β€ 2
- 1
Set F(m) = 0.5:
- 2
Rearrange to form a cubic equation:
- 3
Solve the cubic numerically (as expected in CIE exams) to find m β 0.694, which lies inside the domain 0 β€ m β€ 2
5. Common Pitfalls
Wrong move:
Treating P(X = a) as a non-zero value for continuous variables
Why:
Single points have zero width under the PDF curve, so their probability is always 0
Correct move:
Always calculate probability over an interval [a, b] instead of a single point
Wrong move:
Forgetting to add boundary conditions when deriving CDF
Why:
CIE exam markers deduct 1 mark for missing F(x)=0 for x < lower bound and F(x)=1 for x > upper bound
Correct move:
Explicitly state all piecewise intervals for the full CDF in your solution
Wrong move:
Calculating variance as E[XΒ²] without subtracting (E[X])Β²
Why:
This gives you the second moment, not the variance, leading to an incorrect value
Correct move:
Write the variance identity at the top of your working before you start calculations
Wrong move:
Finding the median by locating the maximum of the PDF
Why:
That gives you the mode, not the median, which is based on cumulative probability
Correct move:
Set the CDF equal to 0.5 and solve for the median value
Wrong move:
Integrating the PDF over the entire real line for piecewise functions
Why:
This wastes time and can lead to arithmetic errors for functions zero outside a narrow interval
Correct move:
Only integrate over the non-zero domain of the PDF
6. Quick Reference Cheatsheet
Measure | Formula for continuous X |
|---|---|
PDF Validity | , |
CDF | |
Expectation | |
Variance | |
Median | |
Mode | Value of that maximises |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2023 Β· 72
PDF validity and expectation calculation
- 2022 Β· 73
Derive CDF from piecewise PDF
- 2021 Β· 71
Find median and interquartile range
- 2020 Β· 62
Combined probability with continuous variables
What's Next
Mastering continuous random variables is the critical foundation for all subsequent continuous distribution topics in your CIE 9709 exam, including the normal distribution, uniform distribution, and continuous sampling concepts. You will regularly combine these core PDF and CDF skills with integration techniques you learned in Pure Mathematics to solve 8-12 mark extended response questions that appear on almost every Statistics paper. These problems are high yield, as they often allow partial marks even if you make an error solving for the initial constant k, as long as your subsequent working follows correct rules. Move on to practice targeted problem sets to reinforce your understanding, then progress to the next related sub-topics to build your full statistics toolkit.
