Comprehensive theory, key formulas, diagrams, and memory aids for Mathematical Expectation.
When you participate in a game of chance, buy insurance, or invest in the stock market, you are facing a scenario with multiple possible outcomes, each with its own probability. How do you decide if a risk is mathematically "worth it"?
The answer lies in Mathematical Expectation (or Expected Value). It is a fundamental concept in probability that calculates the long-run average outcome of a random process if it were repeated infinitely many times.
The Expected Value, denoted as $E(X)$ or sometimes $\mu$ (mu, representing the mean), is the probability-weighted average of all possible values a random variable can take.
For a discrete random variable $X$ with possible values $x_1, x_2, \dots, x_n$ and corresponding probabilities $P(x_i)$, the expected value is:
$$ E(X) = \sum [x_i \cdot P(x_i)] $$
You pay $5 to play a game where you flip a fair coin. If it lands Heads, you win $10. If it lands Tails, you win $0. What is your expected profit?
Mathematical expectation behaves linearly, which makes calculations involving multiple variables or scaled variables very straightforward.
Let $a$ and $b$ be constants, and $X$ and $Y$ be random variables.
While Expected Value tells us the "center" or long-term average, it doesn't tell us the whole story. We also need to know how spread out or risky the outcomes are.
Consider two games: * Game A: 100% chance to win $10. ($E(X) = 10$) * Game B: 50% chance to win $100, 50% chance to lose $80. ($E(X) = 10$)
Both games have the same expected value, but Game B is far more volatile. We measure this volatility using Variance and Standard Deviation.
Variance measures the average squared distance between the possible outcomes and the expected value (mean).
Formula: $$ Var(X) = E[(X - \mu)^2] $$ A much more common and easier computational formula is: $$ Var(X) = E(X^2) - [E(X)]^2 $$ (The expected value of the squares MINUS the square of the expected value).
Because Variance is squared, its units are also squared (e.g., "squared dollars"), which is hard to interpret. To fix this, we take the square root of the variance to get the Standard Deviation.
Formula: $$ \sigma = \sqrt{Var(X)} $$
Standard Deviation provides a measure of risk or spread in the same units as the original random variable. A higher Standard Deviation means higher risk and wider spread.
Unlike Expected Value, Variance is not perfectly linear.
Let $a$ and $b$ be constants. 1. Variance of a Constant: $Var(c) = 0$ (A constant never changes, so it has zero spread/volatility). 2. Shifting does nothing: $Var(X + b) = Var(X)$ (Adding $5 to every payout shifts the average, but the spread between the payouts remains exactly the same). 3. Scaling is squared: $Var(aX) = a^2 \cdot Var(X)$ (If you multiply all payouts by 2, the variance is multiplied by $2^2 = 4$).