Learn
Interactive·

Expected Value & Variance

A probability distribution can be summarized by its center and its spread.

Suppose an order produces either 0 or 10 units of extra value. If the larger outcome occurs 40% of the time, the long-run average is 4.

Expected value is not necessarily observed in a single trial. It is the average that emerges across repeated trials.

Key question

Where is the center of a distribution, and how widely do values spread around it?

1

Concept

What does expected value mean?

Expected value is a probability-weighted average

Expected value of a discrete variable

E(X) = Σ x·P(X=x)

Outcome xProbabilityx × probability
00.600.00
100.404.00
Total1.004.00

The expectation need not be a possible outcome

The expected value of a fair die is 3.5 even though no roll can equal 3.5.

2

Why It Matters

Why do we need variance?

Equal means can hide very different uncertainty

Expected value alone does not show whether values cluster tightly or swing between extremes. Variance averages the squared distance from the expectation.

Expected value

The long-run average of the distribution

Variance

How far values spread around the expectation

Standard deviation

The square root of variance, in the original unit

Same expectation

A: always 5

B: 0 half the time and 10 half the time

Both have expected value 5, but B has much larger variance.

3

How It Works

How are variance and standard deviation related?

Variance uses squared units; standard deviation returns to the original unit

Because variance squares distances, its unit is squared. Standard deviation is the square root of variance and is therefore easier to interpret on the original scale.

MeasureUnitAdvantage
Varianceoriginal unit²convenient for mathematical work
Standard deviationoriginal uniteasier to interpret
4

Example

Equal averages can carry different risk

Use expectation and variability together

Two campaigns can have the same average return while one is stable and the other alternates between large gains and large losses.

Decision making

Expected value describes the average outcome; variance and standard deviation describe uncertainty around it.

Linearity

E(aX+b) = aE(X)+b. Expectations transform linearly.

5

Interactive

Change the probability and outcome size

Change the probability and outcome size

Change the probability and size of the high outcome and watch expectation and variance update.

Expected value

4.00

Variance

24.00

Standard deviation

4.90

Key lesson

Expected value summarizes the center; variance summarizes uncertainty around that center.

Key takeaways

  • Expected value is a probability-weighted long-run average.
  • The expectation need not be a possible outcome.
  • Variance measures spread around the expectation.
  • Standard deviation is the square root of variance.
  • Equal expectations can have different variances.
  • Decisions should consider both center and variability.

Go Deeper

Discrete Distributions