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

Expected Value of a Discrete Random Variable

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

The expected value is the long-run average of a discrete random variable, \(E(X)=\sum x\,P(X=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

The expected value \(E(X)\) is the long-run average, weighting each value by its probability. This Year 12 Mathematics Advanced topic (MAV-12-07) computes \(E(X)\).

\(E(X)=\mu=\sum x\,P(x)\): multiply each value by its probability and add. It is the mean, a measure of centre, and need not be an attainable value (a die averages \(3.5\)).

A distributionA probability distribution whose expected value is a weighted average. xy 0 1 2 3
\(E(X)\) weights each value by its probability.
\[E(X)=\mu=\sum xP(x)\]
expected value equals the sum of x times P of x

Method

  1. Multiply each value by its probability.
  2. Add the products.
  3. Find a missing probability first if needed.
Example 1 — From a table
\(P(0)=0.5,P(1)=0.3,P(2)=0.2\). Find \(E(X)\).
Solution
\(E(X)\)\(=\)\(0.3+0.4=0.7\)
Example 2 — Fair die
Find \(E(X)\) for a fair six-sided die.
Solution
\(E(X)\)\(=\)\(\dfrac{21}{6}=3.5\)
Example 3 — A game
Win \(\$5\) with probability \(0.2\), else \(\$0\). Expected winnings?
Solution
\(E(X)\)\(=\)\(5(0.2)=\$1\)
Example 4 — Larger table
\(P(0)=0.1,P(1)=0.2,P(2)=0.3,P(3)=0.4\). Find \(E(X)\).
Solution
\(E(X)\)\(=\)\(0.2+0.6+1.2=2\)

Common pitfalls

Weight by probability.
\(E(X)\) can be non-integer.
Find a missing probability first if the table is incomplete.

Frequently asked questions

What is expected value?

It is the long-run average of a random variable, found by adding each value times its probability.

How do you calculate E(X)?

Multiply each value by its probability and add the results.

Can the expected value be a value X cannot take?

Yes. A fair die has expected value 3.5, which is never rolled.

What does E(X) represent?

The mean of the distribution, a measure of its centre.