Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Maths Advanced (2027) Random variables

Variance & Standard Deviation (Discrete)

20 practice questions 0 video lessons Theory + worked examples
NSW · Year 12 Mathematics Advanced · Random variables

Variance and standard deviation measure spread, with \(\operatorname{Var}(X)=E(X^{2})-\big(E(X)\big)^{2}\) and standard deviation \(\sqrt{\operatorname{Var}(X)}\).

Part of the NSW Year 12 Mathematics Advanced course, in the Statistical analysis area of study (Random variables focus area) of the 2024 syllabus. Work through practice questions with fully worked solutions and video lessons, or scroll down for the theory summary and worked examples.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Variance measures spread about the mean; the standard deviation is its square root. This Year 12 Mathematics Advanced topic (MAV-12-07) computes both for a discrete variable.

\(\mathrm{Var}(X)=\sum x^{2}P(x)-\mu^{2}=E(X^{2})-\mu^{2}\), and \(\sigma=\sqrt{\mathrm{Var}(X)}\). Find \(\mu\) first, then \(E(X^{2})=\sum x^{2}P(x)\).

Spread about the meanA distribution whose variance measures its spread about the mean. xy 0 1 2 3
Variance measures how far values spread from the mean.
\[\mathrm{Var}(X)=E(X^{2})-\mu^{2},\qquad \sigma=\sqrt{\mathrm{Var}(X)}\]
variance equals E of X squared minus mu squared; sigma is the square root

Method

  1. Find \(\mu=E(X)\).
  2. Find \(E(X^{2})=\sum x^{2}P(x)\).
  3. Subtract \(\mu^{2}\); square-root for \(\sigma\).
Example 1 — From E(X^2)
\(E(X^{2})=10,\ \mu=3\). Find \(\mathrm{Var}(X)\).
Solution
\(\mathrm{Var}(X)\)\(=\)\(10-9=1\)
Example 2 — Two-point
\(P(0)=0.5,P(1)=0.5\). Find \(\mathrm{Var}(X)\).
Solution
\(\mu\)\(=\)\(0.5\)
\(\mathrm{Var}(X)\)\(=\)\(0.5-0.25=0.25\)
Example 3 — Standard deviation
\(\mathrm{Var}(X)=9\). Find \(\sigma\).
Solution
\(\sigma\)\(=\)\(\sqrt9=3\)
Example 4 — Full table
\(P(0)=0.1,P(1)=0.2,P(2)=0.3,P(3)=0.4\ (\mu=2)\). Find \(\mathrm{Var}(X)\).
Solution
\(E(X^{2})\)\(=\)\(5\)
\(\mathrm{Var}(X)\)\(=\)\(5-4=1\)

Common pitfalls

Subtract \(\mu^{2}\), not \(\mu\).
\(E(X^{2})\) weights \(x^{2}\).
SD is the square root.

Frequently asked questions

How do you find the variance of a discrete random variable?

Compute E of X squared as the sum of x squared times P of x, then subtract the mean squared.

What is the standard deviation?

The square root of the variance; it has the same units as the variable.

Why subtract mu squared?

Because the variance is the mean of the squares minus the square of the mean.

What does a larger standard deviation mean?

The values are more spread out from the mean.