Expected Value Notes

Published on: November 26, 2026

These Expected Value Notes explain how to find the long-run average of a random variable from its values and their probabilities, with the working shown line by line. The method first checks that the probabilities add up to 1, then multiplies each value by its probability and adds the results. The answer does not have to be one of the values. It is what the average would settle on after many repeats, and the same pattern is used to judge games, bets and insurance.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Check that the probabilities add up to 1.
  4. Multiply each value by its probability.
  5. Add the products to get the expected value.
  6. Show the expected value on a bar chart of the probabilities.

Formula: Expected Value Formula

This formula gives the long-run average of X. Multiply each value by its probability, then add the products.

\(E(X) = \Sigma x P(x)\)

Useful Tips to Remember

The expected value is \(E(X) = \Sigma x P(x)\), so multiply each outcome by its probability and add the results. The probabilities must add up to exactly 1. The expected value is a long-run average, so it does not have to be one of the possible outcomes. A negative expected value in a game or bet means a loss on average.

Required knowledge

Where Is Expected Value Used?

Expected value is the long-run average result of a random event, found by multiplying each outcome by its probability and adding, \(E(X) = \Sigma x P(x)\). It shows whether a game, bet or decision pays off on average, which is why casinos always set games with an expected value in their favour. Insurance companies use it to set premiums, businesses use it to compare risky projects, and investors use it to weigh possible returns. It turns uncertain outcomes into one number that can guide a decision.

  • Checking whether a game or lottery ticket is worth playing
  • Setting insurance premiums from the expected cost of claims
  • Comparing risky business projects or investments
  • Deciding on strategies in sports and games
  • Estimating average waiting times or demand

Expected Value Practice Problems

Example 1 uses a simple three-outcome table, and Example 2 finds the expected score of a fair dice. Examples 3 and 4 give you two more problems of the same kind to try. Try multiplying and adding yourself before checking.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(\begin{array}{c|c} x & P(x) \\ \hline 0 & 0.25 \\ 1 & 0.5 \\ 2 & 0.25 \end{array}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Check that the probabilities add up to 1.
  4. Multiply each value by its probability.
  5. Add the products to get the expected value.
  6. Show the expected value on a bar chart of the probabilities.

Formula

Formula: Expected Value Formula

This formula gives the long-run average of X. Multiply each value by its probability, then add the products.

\(E(X) = \Sigma x P(x)\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the long-run average of X, where each value comes up with the probability next to it.

\(\begin{array}{c|c} x & P(x) \\ \hline 0 & 0.25 \\ 1 & 0.5 \\ 2 & 0.25 \end{array}\)

Step 2

Step 2 - Write the formula.

In this problem: The expected value multiplies each value by its probability and adds the results.

\(E(X) = \Sigma x P(x)\)

Step 3

Step 3 - Check that the probabilities add up to 1.

In this problem: The probabilities of every value together must make 1, and \(0.25 + 0.5 + 0.25 = 1\).

\(\Sigma P(x) = 0.25 + 0.5 + 0.25 = 1\)

Step 4

Step 4 - Multiply each value by its probability.

In this problem: Multiplying each row gives \(0 \times 0.25 = 0\), \(1 \times 0.5 = 0.5\), \(2 \times 0.25 = 0.5\).

\(\begin{array}{c|c|c} x & P(x) & xP(x) \\ \hline 0 & 0.25 & 0 \\ 1 & 0.5 & 0.5 \\ 2 & 0.25 & 0.5 \end{array}\)

Step 5

Step 5 - Add the products to get the expected value.

In this problem: Adding the products gives \(0 + 0.5 + 0.5 = 1\).

\(E(X) = 0 + 0.5 + 0.5 = 1\)

Step 6

Step 6 - Show the expected value on a bar chart of the probabilities.

In this problem: Each bar is a value and its height is the probability. The dashed line is the expected value.

Bar chart of the probabilities with the expected value

Final Answer

\(E(X) = 1\)
See Example 2 Hide Example 2

Problem

\(\begin{array}{c|c} x & P(x) \\ \hline 1 & \frac{1}{6} \\ 2 & \frac{1}{6} \\ 3 & \frac{1}{6} \\ 4 & \frac{1}{6} \\ 5 & \frac{1}{6} \\ 6 & \frac{1}{6} \end{array}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Check that the probabilities add up to 1.
  4. Multiply each value by its probability.
  5. Add the products to get the expected value.
  6. Show the expected value on a bar chart of the probabilities.

Formula

Formula: Expected Value Formula

This formula gives the long-run average of X. Multiply each value by its probability, then add the products.

\(E(X) = \Sigma x P(x)\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the long-run average of X, where each value comes up with the probability next to it.

\(\begin{array}{c|c} x & P(x) \\ \hline 1 & \frac{1}{6} \\ 2 & \frac{1}{6} \\ 3 & \frac{1}{6} \\ 4 & \frac{1}{6} \\ 5 & \frac{1}{6} \\ 6 & \frac{1}{6} \end{array}\)

Step 2

Step 2 - Write the formula.

In this problem: The expected value multiplies each value by its probability and adds the results.

\(E(X) = \Sigma x P(x)\)

Step 3

Step 3 - Check that the probabilities add up to 1.

In this problem: The probabilities of every value together must make 1, and \(\frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} = 1\).

\(\Sigma P(x) = \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} = 1\)

Step 4

Step 4 - Multiply each value by its probability.

In this problem: Multiplying each row gives \(1 \times \frac{1}{6} = \frac{1}{6}\), \(2 \times \frac{1}{6} = \frac{1}{3}\), \(3 \times \frac{1}{6} = \frac{1}{2}\), \(4 \times \frac{1}{6} = \frac{2}{3}\), \(5 \times \frac{1}{6} = \frac{5}{6}\), \(6 \times \frac{1}{6} = 1\).

\(\begin{array}{c|c|c} x & P(x) & xP(x) \\ \hline 1 & \frac{1}{6} & \frac{1}{6} \\ 2 & \frac{1}{6} & \frac{1}{3} \\ 3 & \frac{1}{6} & \frac{1}{2} \\ 4 & \frac{1}{6} & \frac{2}{3} \\ 5 & \frac{1}{6} & \frac{5}{6} \\ 6 & \frac{1}{6} & 1 \end{array}\)

Step 5

Step 5 - Add the products to get the expected value.

In this problem: Adding the products gives \(\frac{1}{6} + \frac{1}{3} + \frac{1}{2} + \frac{2}{3} + \frac{5}{6} + 1 = 3.5\).

\(E(X) = \frac{1}{6} + \frac{1}{3} + \frac{1}{2} + \frac{2}{3} + \frac{5}{6} + 1 = 3.5\)

Step 6

Step 6 - Show the expected value on a bar chart of the probabilities.

In this problem: Each bar is a value and its height is the probability. The dashed line is the expected value.

Bar chart of the probabilities with the expected value

Final Answer

\(E(X) = 3.5\)
See Example 3 Hide Example 3

Problem

\(\begin{array}{c|c} x & P(x) \\ \hline -5 & 0.7 \\ 10 & 0.3 \end{array}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Check that the probabilities add up to 1.
  4. Multiply each value by its probability.
  5. Add the products to get the expected value.
  6. Show the expected value on a bar chart of the probabilities.

Formula

Formula: Expected Value Formula

This formula gives the long-run average of X. Multiply each value by its probability, then add the products.

\(E(X) = \Sigma x P(x)\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the long-run average of X, where each value comes up with the probability next to it.

\(\begin{array}{c|c} x & P(x) \\ \hline -5 & 0.7 \\ 10 & 0.3 \end{array}\)

Step 2

Step 2 - Write the formula.

In this problem: The expected value multiplies each value by its probability and adds the results.

\(E(X) = \Sigma x P(x)\)

Step 3

Step 3 - Check that the probabilities add up to 1.

In this problem: The probabilities of every value together must make 1, and \(0.7 + 0.3 = 1\).

\(\Sigma P(x) = 0.7 + 0.3 = 1\)

Step 4

Step 4 - Multiply each value by its probability.

In this problem: Multiplying each row gives \(\left(-5\right) \times 0.7 = -3.5\), \(10 \times 0.3 = 3\).

\(\begin{array}{c|c|c} x & P(x) & xP(x) \\ \hline -5 & 0.7 & -3.5 \\ 10 & 0.3 & 3 \end{array}\)

Step 5

Step 5 - Add the products to get the expected value.

In this problem: Adding the products gives \(-3.5 + 3 = -0.5\).

\(E(X) = -3.5 + 3 = -0.5\)

Step 6

Step 6 - Show the expected value on a bar chart of the probabilities.

In this problem: Each bar is a value and its height is the probability. The dashed line is the expected value.

Bar chart of the probabilities with the expected value

Final Answer

\(E(X) = -0.5\)
See Example 4 Hide Example 4

Problem

\(\begin{array}{c|c} x & P(x) \\ \hline 0 & 0.1 \\ 1 & 0.3 \\ 2 & 0.4 \\ 3 & 0.2 \end{array}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Check that the probabilities add up to 1.
  4. Multiply each value by its probability.
  5. Add the products to get the expected value.
  6. Show the expected value on a bar chart of the probabilities.

Formula

Formula: Expected Value Formula

This formula gives the long-run average of X. Multiply each value by its probability, then add the products.

\(E(X) = \Sigma x P(x)\)

Step 1

Step 1 - Set up the problem.

In this problem: We are finding the long-run average of X, where each value comes up with the probability next to it.

\(\begin{array}{c|c} x & P(x) \\ \hline 0 & 0.1 \\ 1 & 0.3 \\ 2 & 0.4 \\ 3 & 0.2 \end{array}\)

Step 2

Step 2 - Write the formula.

In this problem: The expected value multiplies each value by its probability and adds the results.

\(E(X) = \Sigma x P(x)\)

Step 3

Step 3 - Check that the probabilities add up to 1.

In this problem: The probabilities of every value together must make 1, and \(0.1 + 0.3 + 0.4 + 0.2 = 1\).

\(\Sigma P(x) = 0.1 + 0.3 + 0.4 + 0.2 = 1\)

Step 4

Step 4 - Multiply each value by its probability.

In this problem: Multiplying each row gives \(0 \times 0.1 = 0\), \(1 \times 0.3 = 0.3\), \(2 \times 0.4 = 0.8\), \(3 \times 0.2 = 0.6\).

\(\begin{array}{c|c|c} x & P(x) & xP(x) \\ \hline 0 & 0.1 & 0 \\ 1 & 0.3 & 0.3 \\ 2 & 0.4 & 0.8 \\ 3 & 0.2 & 0.6 \end{array}\)

Step 5

Step 5 - Add the products to get the expected value.

In this problem: Adding the products gives \(0 + 0.3 + 0.8 + 0.6 = 1.7\).

\(E(X) = 0 + 0.3 + 0.8 + 0.6 = 1.7\)

Step 6

Step 6 - Show the expected value on a bar chart of the probabilities.

In this problem: Each bar is a value and its height is the probability. The dashed line is the expected value.

Bar chart of the probabilities with the expected value

Final Answer

\(E(X) = 1.7\)

Calculator and Practice Mode