It is a weighted average
Each value weighted by its probability. For equally likely outcomes it is the ordinary mean.
E[X] = Σ k·P(X = k). It is the long-run average, it need not be a possible value, and it is not the most likely outcome. Those three clarifications prevent most misuse.
Core ideas
Expectation is a one-line definition whose interpretation is where the difficulty lies.
Each value weighted by its probability. For equally likely outcomes it is the ordinary mean.
The expected value of a die roll is 3.5, and no die shows 3.5. The expectation summarises the distribution, not any single outcome.
The most likely value and the average are different summaries and often differ, especially for skewed distributions.
The material
The definition, the linear rule, and the games it settles.
For a discrete random variable X taking finitely many values, E[X] = Σ_k k · P(X = k), summed over the values X takes. Equivalently E[X] = Σ_{s ∈ S} X(s)P(s).
The second form is often more useful: sum over outcomes rather than over values. It makes the linearity of “Linearity of Expectation” immediate.
E[X] = (1+2+3+4+5+6)/6 = 3.5. Not a value the die can show, and that is not a defect: it is the long-run average of many rolls.
E[aX + b] = aE[X] + b for constants a, b.
E[aX + b] = Σ_s (aX(s) + b)P(s) = a Σ_s X(s)P(s) + b Σ_s P(s) = aE[X] + b, using that the probabilities sum to 1.
□
E[g(X)] = Σ_k g(k)P(X = k). Note E[g(X)] ≠ g(E[X]) in general: for a fair die E[X²] = 91/6 ≈ 15.17 while (E[X])² = 12.25.
That inequality is not a curiosity; it is the reason variance is defined the way “Variance and Standard Deviation” defines it, and it is behind the general fact that averaging and transforming do not commute.
Pay £2 to roll a die and win £X where X is the face shown. E[winnings] = 3.5 − 2 = £1.50 per play in your favour, so the game is not one anybody would offer.
European roulette has 37 pockets. A £1 bet on a single number pays 35 to 1. E[profit] = 35 · (1/37) − 1 · (36/37) = −1/37 ≈ −£0.027 per pound staked. Every bet on the wheel has the same expectation, which is the design.
A game is fair when the expected net gain is 0. Casino games are deliberately unfair by a small margin, and the margin is what the house relies on over many plays.
Interactive
Definition first, formula second
Method
From the definition first; formulas afterwards.
The distribution. If it does not sum to 1, stop and fix it.
That is the definition, and for small distributions it is the fastest route.
E[aX + b] = aE[X] + b avoids recomputing a whole distribution after a shift or a scaling.
The expectation lies between the smallest and largest values, and near the bulk of the probability. Anything outside that range is an error.
A policy pays £10 000 on an event with probability 0.002, and the premium is £30.
Both parties can be acting sensibly. The customer accepts a negative expectation to remove a large downside they could not absorb; the insurer accepts the risk because across many policies the variance of the average collapses. Expectation alone explains neither decision.
Compute the expected number of heads in five fair flips from the definition, then state in one sentence why 2.5 is a sensible answer for a quantity that must be an integer.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.