Lesson 5: Variance and standard deviation

Spread of p(x)=k(1−x2)p(x) = k(1 - x^2) on [−1,1][-1, 1]

SkillsValid probability density functionsExpected valueVariance and standard deviation

Worked example

  • Complex familiar

The error XX mm in the position of a drilled hole is modelled by p(x)=k(1−x2)p(x) = k(1 - x^2) for −1≤x≤1-1 \le x \le 1, and 0 elsewhere.

(a) Find kk.

(b) Write down E⁡(X)\E(X), giving a reason.

(c) Find the standard deviation of XX, correct to 3 decimal places.

(d) Find the probability that XX is within one standard deviation of the mean, correct to 3 decimal places.

1 of 5 steps
  1. Step 1: Total area 1 for (a)

    k∫−11(1−x2) dx=k[x−x33]−11=k(23+23)=4k3=1k\int_{-1}^{1} (1 - x^2)\,dx = k\left[x - \frac{x^3}{3}\right]_{-1}^{1} = k\left(\frac{2}{3} + \frac{2}{3}\right) = \frac{4k}{3} = 1, so k=34k = \frac{3}{4}.

    k=34k = \tfrac{3}{4}

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Find kk from total area 1.

  2. Use symmetry for the mean where you can.

  3. Var⁡(X)=E⁡(X2)−μ2\Var(X) = \E(X^2) - \mu^2; when μ=0\mu = 0 this is just E⁡(X2)\E(X^2).

Watch out for

  • Losing the negative limit: [x−x33]−11\left[x - \frac{x^3}{3}\right]_{-1}^{1} is 23−(−23)\frac{2}{3} - \left(-\frac{2}{3}\right).

Save your progress with a free account