Mathwords logoMathwords

Expectation Value — Definition, Formula & Examples

Expectation value is the long-run average outcome of a random variable, calculated by weighting each possible value by its probability. It tells you what result to 'expect' on average over many repetitions of an experiment.

For a discrete random variable XX with possible values x1,x2,,xnx_1, x_2, \ldots, x_n and corresponding probabilities P(xi)P(x_i), the expectation value (or expected value) is defined as E(X)=i=1nxiP(xi)E(X) = \sum_{i=1}^{n} x_i \, P(x_i), provided the sum converges absolutely.

Key Formula

E(X)=i=1nxiP(xi)E(X) = \sum_{i=1}^{n} x_i \, P(x_i)
Where:
  • E(X)E(X) = Expected value of the random variable X
  • xix_i = The i-th possible outcome of X
  • P(xi)P(x_i) = Probability that X equals x_i
  • nn = Number of possible outcomes

How It Works

To compute E(X)E(X), multiply each outcome by its probability, then add all the products together. The result is not necessarily a value that XX can actually take — for example, the expected value of a fair die roll is 3.5, which is not a face on the die. Think of it as the balance point of the probability distribution. When the same experiment is repeated many times, the sample mean converges to E(X)E(X) by the law of large numbers.

Worked Example

Problem: A game pays $0 with probability 0.5, $10 with probability 0.3, and $50 with probability 0.2. What is the expected payout?
Step 1: Multiply each payout by its probability.
0×0.5=0,10×0.3=3,50×0.2=100 \times 0.5 = 0, \quad 10 \times 0.3 = 3, \quad 50 \times 0.2 = 10
Step 2: Sum all the products.
E(X)=0+3+10=13E(X) = 0 + 3 + 10 = 13
Answer: The expected payout is $13 per play of the game.

Why It Matters

Expected value is central to decision-making under uncertainty. Insurance companies use it to set premiums, investors use it to compare portfolios, and it appears throughout courses in probability, statistics, quantum mechanics, and game theory.

Common Mistakes

Mistake: Averaging the outcomes without weighting by probability (e.g., computing (0 + 10 + 50)/3 = 20 instead of 13).
Correction: Each outcome must be multiplied by its own probability before summing. Equal weighting is only correct when all outcomes are equally likely.