Understand the idea.
A probability-weighted balance point
For a continuous density, averages values using probability weights across the support. The mean is a balance point, while the median splits area in half. Neither must be the midpoint of a nonuniform support.
Compute the second moment separately. Then use . The second moment combines centre and spread, so it is generally larger than variance.
Spread and changes of units
Standard deviation is the nonnegative square root of variance. Its units match the observations; variance has squared units. Preserve full precision in both moments before subtracting, since early rounding can noticeably affect a small variance.
For , use , and . A shift moves the centre without changing spread. These transformation rules do not require the density to be normal.
See the method in action.
Moments of a sloping density
For on [0,1], find the mean and variance.
Worked solution
- 1
Integrate the weighted values.
The extra factor of the value is required when computing a mean.
- 2
Integrate the weighted squared values.
This integral finds the second moment, rather than the variance directly.
- 3
Subtract the squared mean.
Exact fractions preserve the small difference between the two moments.
Mean ; variance .
Uniform measurement
X is uniform on [2,8]. Find its mean, variance and standard deviation.
Worked solution
- 1
Find the mean from uniform symmetry.
A constant density on the interval balances at its midpoint.
- 2
Calculate the second moment using the density.
The support width is six, so its uniform density is one sixth.
- 3
Find the variance.
This also agrees with the uniform formula .
- 4
Find the standard deviation.
The positive square root reports spread on the original measurement scale.
Mean 5; variance 3; standard deviation .
Try it yourself.
Check your understanding
If E(X)=4 and Var(X)=9, find the mean and variance of .
Show answer & reasoning
Mean 5; variance 36.
For , the mean is and the variance is . The shift affects only the mean.
Keep practising
6 worksheet questions · 14 marks
Read the questions online
- For density on , find .2 marks
- For density on , find and variance.3 marks
- Find the mean and variance of a uniform variable on .2 marks
- For and , find the mean and variance of .2 marks
- A length has variance 0.04 square metres. Find its standard deviation.2 marks
- For density on , find mean and variance.3 marks
Read the worked solutions
Equivalent correct methods earn the corresponding marks. Include units where asked.
- For density on , find .2 marks
.
. - For density on , find and variance.3 marks
.
.
and . - Find the mean and variance of a uniform variable on .2 marks
Use the midpoint and .
Mean 3; variance 3. - For and , find the mean and variance of .2 marks
; .
and . - A length has variance 0.04 square metres. Find its standard deviation.2 marks
Take the positive square root and use the original unit.
0.2 m. - For density on , find mean and variance.3 marks
Symmetry gives mean zero.
.
0 and .
Curriculum reference & lesson scope
SACE Board of South Australia
Stage 2 Mathematical Methods: continuous random variables, normal distributions and sampling distributions of sample means. Original lessons and practice.
Official curriculum source ↗