Lesson 5: Variance and standard deviation

Variance and standard deviation of p(x)=38x2p(x) = \frac{3}{8}x^2

SkillVariance and standard deviation

Worked example

  • Complex familiar
  • Technology free

XX has pdf p(x)=38x2p(x) = \frac{3}{8}x^2 for 0≤x≤20 \le x \le 2, and 0 elsewhere, with E⁡(X)=32\E(X) = \frac{3}{2}.

Find Var⁡(X)\Var(X) exactly, and the standard deviation correct to 3 decimal places.

1 of 4 steps
  1. Step 1: Find E(X²)

    E⁡(X2)=∫02x2⋅38x2 dx=38[x55]02=38×325=125\E(X^2) = \int_0^2 x^2 \cdot \frac{3}{8}x^2\,dx = \frac{3}{8}\left[\frac{x^5}{5}\right]_0^2 = \frac{3}{8} \times \frac{32}{5} = \frac{12}{5}

Try a similar one

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

Method

  1. E⁡(X2)=∫x2p(x) dx\E(X^2) = \int x^2 p(x)\,dx.

  2. Var⁡(X)=E⁡(X2)−μ2\Var(X) = \E(X^2) - \mu^2, then σ=Var⁡(X)\sigma = \sqrt{\Var(X)}.

Watch out for

  • Using μ\mu instead of μ2\mu^2: 125−32\frac{12}{5} - \frac{3}{2} is not the variance.

Save your progress with a free account