ASCENTLEARNING
Join a weekly class
Skip to learning content
YEAR 12 · CONTINUOUS PROBABILITY AND NORMAL DISTRIBUTIONS · 22 MIN

Mean, variance and standard deviation for continuous models

Calculate the mean, second moment and spread of a continuous model.

In this lesson

Before you start
  • Integrating powers
  • Probability densities
01 / LEARN

Understand the idea.

A probability-weighted balance point

For a continuous density, E⁢(X)=∫x⁢f⁡(x)d⁢x 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 E⁢(X2)=∫x2f⁡(x)d⁢x separately. Then use Var⁢(X)=E⁢(X2)−[E⁢(X)]2. The second moment combines centre and spread, so it is generally larger than variance.

E⁢(X)=∫x⁢f⁡(x)d⁢xVar⁢(X)=∫x2f⁡(x)d⁢x−[E⁢(X)]2

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 Y=a⁢X+b, use E⁢(Y)=a⁢E⁢(X)+b, Var⁢(Y)=a2Var⁢(X) and SD⁢(Y)=∣⁢a⁢∣⁢SD⁢(X). A shift moves the centre without changing spread. These transformation rules do not require the density to be normal.

E⁢(a⁢X+b)=a⁢E⁢(X)+bVar⁢(a⁢X+b)=a2Var⁢(X)
02 / WORKED EXAMPLES

See the method in action.

EXAMPLE 01

Moments of a sloping density

For f⁡(x)=2⁢x on [0,1], find the mean and variance.

Worked solution

  1. 1

    Integrate the weighted values.

    E⁢(X)=∫01x⁢(2⁢x)d⁢x=[2x33]01=23

    The extra factor of the value is required when computing a mean.

  2. 2

    Integrate the weighted squared values.

    E⁢(X2)=∫01x2(2⁢x)d⁢x=[x42]01=12

    This integral finds the second moment, rather than the variance directly.

  3. 3

    Subtract the squared mean.

    Var⁢(X)=12−(23)2=918−818=118

    Exact fractions preserve the small difference between the two moments.

Answer

Mean 2⁢/3; variance 1⁢/18.

EXAMPLE 02

Uniform measurement

X is uniform on [2,8]. Find its mean, variance and standard deviation.

Worked solution

  1. 1

    Find the mean from uniform symmetry.

    E⁢(X)=2+82=5

    A constant density on the interval balances at its midpoint.

  2. 2

    Calculate the second moment using the density.

    E⁢(X2)=∫28x26d⁢x=[x318]28=512−818=28

    The support width is six, so its uniform density is one sixth.

  3. 3

    Find the variance.

    Var⁢(X)=28−52=3

    This also agrees with the uniform formula (8−2)2/12.

  4. 4

    Find the standard deviation.

    SD⁢(X)=3

    The positive square root reports spread on the original measurement scale.

Answer

Mean 5; variance 3; standard deviation 3.

03 / YOUR TURN

Try it yourself.

Check your understanding

If E(X)=4 and Var(X)=9, find the mean and variance of 2⁢X−3.

Show answer & reasoning

Mean 5; variance 36.

For Y=2⁢X−3, the mean is 2⁢(4)−3=5 and the variance is 22(9)=36. The shift affects only the mean.

Keep practising

6 worksheet questions · 14 marks

Read the questions online
  1. For density 3x2 on [0,1], find E⁢(X).
    2 marks
  2. For density 3x2 on [0,1], find E⁢(X2) and variance.
    3 marks
  3. Find the mean and variance of a uniform variable on [0,6].
    2 marks
  4. For E⁢(X)=23 and Var⁢(X)=118, find the mean and variance of 5−2⁢X.
    2 marks
  5. A length has variance 0.04 square metres. Find its standard deviation.
    2 marks
  6. For density 12 on [−1,1], find mean and variance.
    3 marks
Read the worked solutions

Equivalent correct methods earn the corresponding marks. Include units where asked.

  1. For density 3x2 on [0,1], find E⁢(X).
    2 marks

    ∫013x3d⁢x=34.

    34.
  2. For density 3x2 on [0,1], find E⁢(X2) and variance.
    3 marks

    ∫013x4d⁢x=35.

    35−(34)2=380.

    35 and 380.
  3. Find the mean and variance of a uniform variable on [0,6].
    2 marks

    Use the midpoint and 6212=3.

    Mean 3; variance 3.
  4. For E⁢(X)=23 and Var⁢(X)=118, find the mean and variance of 5−2⁢X.
    2 marks

    5−2⁢(23)=113; (−2)218=29.

    113 and 29.
  5. 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.
  6. For density 12 on [−1,1], find mean and variance.
    3 marks

    Symmetry gives mean zero.

    E⁢(X2)=12∫−11x2d⁢x=13.

    0 and 13.
Checking saved progress…
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 ↗

Save your next step.

Create a free account to save your learning progress. Lessons and downloads stay free, with or without an account.

Create free account