Expected value from first principles: linearity, waiting times, Markov chains, optimal stopping, conditioning and martingales, with interactive simulations at every step.
10 lessons, in order
What an expected value isThe price that breaks even, how slowly the long run arrives, spread, bent payouts and when the average misleads.
Linearity and indicatorsCount anything by adding up probabilities: pairs, patterns, cycles, triangles, peaks. And when you need the variance too.
Waiting timesGeometric waits three ways, collecting coupons, collecting only some, and waiting for things with different odds.
States and first-step analysisTurn a process into states and equations: coin patterns, a walk on a cube, running totals. Solve any coin pattern yourself.
When to stop: optimal stoppingWork backwards from the end: rerolls that cost money, selling to the best offer, the red and black card game, and Pig.
Densities, order statistics and tailsUniform points on a line, the tail-sum formula, maxima and minima, memoryless waits and the normal's positive part.
Conditioning and the tower ruleAverage over what you don't know yet: random sums, Wald's identity, the famous even-rolls trap and two envelopes.
Fair games and martingalesWhy no stopping rule beats a fair game, and how that one fact gives ruin odds, durations and pattern waits in a line.
Pricing bets and making marketsFair value and edge, quoting a market when someone may know more, risk against reward, and sizing a bet.