In simple terms
A friendly intro before the formal notes — no formulas yet.
From Density to Probability
Unlike discrete variables which have specific probabilities, continuous variables use a 'probability density function' (PDF) where probability is the area under the curve. We use integration to find these areas and other key measures like the mean and variance.
Imagine pouring one litre of sand onto a narrow strip of ground. The height of the sand at any point is the 'density' (our PDF). The total amount of sand is fixed at one litre (total probability is 1). To find the amount of sand in a specific section, you'd measure the volume in that section (calculating the area under the curve), not just the height at one single point.
- 1
The PDF, f(x), shows the relative likelihood of a value. It must be non-negative, and the total area under its curve over its entire range must equal 1.
- 2
The CDF, F(x), gives the total probability up to a value x, P(X ≤ x). It's the cumulative area under the PDF. The probability between two points, P(a < X ≤ b), is simply the difference F(b) − F(a).
- 3
The mean E(X) and variance Var(X) are found by integrating over the variable's range. E(X) is the integral of x⋅f(x), and Var(X) is found using the integral of x²⋅f(x).
- 4
A common example is the uniform distribution, where the PDF is a constant height over a fixed interval. Its graph is a rectangle where height times width equals 1.
Explore the concept
Use the live diagram and synced steps — play it or tap a step card to walk through.
Key formulas
Tap any symbol to reveal exactly what it means and its units.
Tap a symbol — great for exam definitions
Tap a symbol — great for exam definitions
Full topic notes
Formal explanation with the rigour you need for the exam.
The Probability Density Function (PDF)
The probability density function, denoted , describes the relative likelihood for a continuous random variable to take on a given value. Unlike for discrete variables, is not a probability itself. Instead, the area under the graph of over an interval corresponds to the probability that the variable falls within that interval.
For to be a valid PDF, it must satisfy two conditions.
Condition 1: for all values of . The graph can never be below the x-axis.
Condition 2: The total area under the curve must be 1. . In practice, we integrate over the interval where is non-zero.
Expectation and Variance
Just as with discrete variables, we can calculate the mean (or expectation) and variance for continuous random variables. The expectation, , is the long-run average value of X, and the variance, , measures the spread of the distribution. Instead of using summation ($Sigma$), we now use integration.
Expectation:
Variance:
Always use the full defined range of for the limits of integration when calculating and . A common error is to use the limits from a probability calculation (e.g., ) instead of the full range (e.g., 0 to 2).
The Cumulative Distribution Function (CDF)
The cumulative distribution function, , gives the probability that the random variable is less than or equal to a particular value . It is the integral of the PDF from the lower bound of the range up to . A key property is that the derivative of the CDF is the PDF: .
(where is the start of the range)
The CDF is a non-decreasing function, starting at 0 and ending at 1.
For a piecewise PDF, the CDF will also be piecewise. You must define it for all real values of .
For below the range of the PDF, . For above the range, .
Worked examples
See the formulas applied — reveal one step at a time, like the exam.
A continuous random variable X has a probability density function given by for , and otherwise.
(i) Show that . (ii) Find .
- 1
(i) For to be a valid PDF, the total area under the curve must be 1. We integrate over its defined range and set the result to 1.
For the random variable X with PDF for , find and .
- 1
First, find the expectation, .
How it all connects
The big idea sits in the middle — tap a linked idea to explore the link.
Tap a linked idea to see how it connects back to the main topic — that connection is what examiners reward.
Glossary
Try to recall each definition before you reveal it.
Quick check
Answer in your head first — then tap to check. No pressure.
Revision flashcards
Flip the card. Test yourself before the exam.
What is a continuous random variable?
A random variable that can take any value within a given range. Examples include height, weight, or time.
Key takeaways
Review these before you close the topic — retrieval beats re-reading.
- ✓
For to be a valid PDF, it must satisfy two conditions.
- ✓
Condition 1: for all values of . The graph can never be below the x-axis.
- ✓
Condition 2: The total area under the curve must be 1. . In practice, we integrate over the interval where is non-zero.
Practice — then mark it
The whole point: a real Cambridge question, marked mark-by-mark.
Practice Continuous Random Variable Problems
Practice Continuous Random Variable Problems
Extra simulations & links
PhET, GeoGebra and other curated tools — open in a new tab.
Frequently asked
Checkpoint
One marked question is worth ten re-reads — close the loop before you move on.
Reading it isn’t knowing it — prove it.
Before you move on: do Practice Continuous Random Variable Problems on paper, snap a photo, and get examiner-style feedback on exactly where you win and lose marks.