Mean and variance of a continuous random variable
Probability uses the density alone. The mean and variance use the same density, but weight each possible value by x or by x squared.
Use x f(x) for the mean and x squared f(x) next
Change the weight, not the density
Probability
∫ f(x) dx
total area
Mean
∫ x f(x) dx
weight by x
Second moment
∫ x² f(x) dx
weight by x²
Var(X) = E(X²) − [E(X)]²
Symbols
- = ends of the support (same as X)
- = value multiplied by its density (dimensionless inside the integral)
Worked example
Build both moments from one density
Let for .
Keep exact values through harder integration
Worked example
Current-paper mean with integration by parts
X has PDF for . Show that .
For the integration-by-parts term, let
(9709/61/M/J/25 Q7(b))
Key idea
Use the mean in reverse when a parameter is unknown
Worked example
Current-paper support parameter
The density simplifies to for . Given , find a.
(9709/62/M/J/25 Q7(b))
Examiner note
The PDF is for . Find the mean and variance of X.
Show worked answer
Common mistake
