01 / 20
\( E(X) \)
\( = \sum x \cdot P \)

Expected
Value

Learn to compute the weighted average of a discrete random variable and interpret it as a long-run average outcome.

Math 3

What Is Expected Value?

Imagine rolling a fair die thousands of times and averaging every result. The number you approach is the expected value: the theoretical long-run average of a random process.

We write it as \( E(X) \), where \( X \) is a random variable: a quantity whose value depends on chance.

Key Vocabulary

Random Variable \( X \)
A numerical outcome of a random process (e.g., score on a die roll).
Probability \( P(x) \)
The chance that the random variable takes value \( x \). All probabilities sum to 1.
Discrete Distribution
A table or list pairing every possible value \( x \) with its probability \( P(x) \).

Why Expected Value Matters

Expected value is the backbone of decision-making under uncertainty. Any time you compare options that involve chance, you're really comparing their expected values.

Insurance
Companies set premiums so the expected payout per customer is less than the premium collected.
Games
A game is "fair" if the expected net gain equals \( 0 \). Casinos ensure it's negative for players.
Business
Project managers pick strategies that maximize expected profit across uncertain scenarios.

The Formula

Multiply each possible outcome \( x_i \) by its probability \( P(x_i) \), then add all the products together. The result is the expected value.

Visualizing \( E(X) \) as a Balance Point

1 2 3 4 5 6
\( \frac{1}{6} \)
\( \frac{1}{6} \)
\( \frac{1}{6} \)
\( \frac{1}{6} \)
\( \frac{1}{6} \)
\( \frac{1}{6} \)
\( E(X) = 3.5 \)
Fair Die: Probability Distribution
\( P(x) \)

Expected Value vs. Most Likely Value

Students often confuse these two ideas. They are not the same thing.

Expected Value \( E(X) \) Mode (Most Likely)
Definition Weighted average of all outcomes Outcome with highest probability
Can be non-integer? Yes (e.g., 3.5 for a die) Always a possible outcome
Depends on All values and all probabilities Only the peak probability
Best for Long-run average prediction Single best guess

How to Compute \( E(X) \)

1
List all outcomes. Write down every value \( x_i \) the random variable can take.
2
Assign probabilities. Write \( P(x_i) \) next to each outcome. Verify they sum to 1.
3
Multiply each pair. Compute \( x_i \cdot P(x_i) \) for every row.
4
Sum the products. Add all results: \( E(X) = \sum x_i \cdot P(x_i) \).
5
Interpret. State what the number means: "On average, over many trials, you'd expect..."

Example 1: Coin Flip Game

You flip a fair coin. Heads wins $3, Tails loses $1. What is the expected value of your gain?

Outcome
\( x_i \)
\( P(x_i) \)
Heads +3 0.5 Tails -1 0.5

Example 2: Spinner Prize

A carnival spinner has three regions. Find \( E(X) \), the expected prize amount.

Prize \( x \)
\( P(x) \)
\( x \cdot P(x) \)
$0 0.50 $0.00 $5 0.35 $1.75 $20 0.15 $3.00

Example 3: Should You Buy the Warranty?

A $500 phone has a 10% chance of needing a $300 repair within a year. An extended warranty costs $40. Is the warranty worth it?

1
Expected repair cost without warranty: \( E(\text{cost}) = 300(0.10) + 0(0.90) = \) $30
2
Warranty cost: $40 (certain payment)
3
Compare: \( \$40 > \$30 \), so the expected cost of the warranty exceeds the expected repair cost.

Skewed Distributions Shift \( E(X) \)

$0 $5 $20
\( P = 0.50 \)
\( P = 0.35 \)
\( P = 0.15 \)
\( E(X) = \$4.75 \)
Mode = $0 Spinner Example: Right-Skewed

Properties of \( E(X) \)

1
Linearity: \( E(aX + b) = a \cdot E(X) + b \). Scaling or shifting the variable scales or shifts the expected value.
2
Addition: \( E(X + Y) = E(X) + E(Y) \), even if \( X \) and \( Y \) are not independent.
3
Constant: \( E(c) = c \). A certain outcome has expected value equal to itself.

What Makes a Game Fair?

A game is fair when the expected net gain is exactly zero. Neither player has a long-run advantage.

\( E(X) > 0 \)
Favorable to the player: you gain money over time.
\( E(X) = 0 \)
Fair game: no long-run advantage for either side.
\( E(X) < 0 \)
Unfavorable: you lose money on average. Most casino games fall here.

Common Mistakes

✕ Simple Average
Adding outcomes and dividing by the number of outcomes, ignoring probabilities. This only works if all outcomes are equally likely.
✕ Probabilities Don't Sum to 1
Forgetting to verify that \( \sum P(x_i) = 1 \). If they don't, the distribution is incomplete or has an error.
✕ Expecting \( E(X) \) on One Trial
Thinking the expected value predicts a single outcome. It only describes the long-run average over many repetitions.

Summary Table

Concept Key Idea Formula / Rule
Expected Value Long-run average \( \sum x_i \cdot P(x_i) \)
Fair Game No advantage \( E(\text{net gain}) = 0 \)
Linearity Scale and shift \( E(aX+b) = aE(X)+b \)
Addition Rule Always works \( E(X+Y) = E(X)+E(Y) \)
Interpretation Not a prediction Average over many trials

Question 1 of 5

A random variable \( X \) takes values 1, 2, and 5 with probabilities 0.3, 0.5, and 0.2 respectively. What is \( E(X) \)?

Question 2 of 5

You pay $2 to roll a fair die. You win $5 if you roll a 6, and $0 otherwise. What is the expected net gain?

Question 3 of 5

If \( E(X) = 4 \), what is \( E(3X + 7) \)?

Question 4 of 5

A charity raffle sells 100 tickets at $5 each. One ticket wins a $200 prize. What is the expected net gain for a single ticket buyer?

Question 5 of 5

Which statement best describes what \( E(X) = 3.5 \) means for a fair die?