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

Learn variance and standard deviation for discrete random variables in NSW Year 12 Mathematics Advanced (NESA outcome MAV-12-07). Two distributions can share the same mean yet differ in spread, and these measures show how far outcomes typically fall from the centre.

You will learn to calculate variance from a probability table using \(E(X^2)\) minus the square of the mean, take its square root for the standard deviation, and compare the spread of different distributions — useful for weighing up risk.

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.