Statement
The expected value of a discrete random variable represents the long-term average outcome if the random experiment is repeated many times. It is calculated as the sum of each possible outcome multiplied by its probability:
\[ E(X) = \sum x \, P(X=x) \]
Where:
- \(E(X)\) = expected value (the mean of the distribution)
- \(x\) = each possible value the random variable can take
- \(P(X=x)\) = probability of \(X\) being equal to \(x\)
Why it works
- The expected value is a weighted average of outcomes, weighted by their probabilities.
- If you repeated the experiment a very large number of times, the mean result would approach \(E(X)\).
- It generalises the idea of an average to situations where outcomes are not equally likely.
Recipe (Steps)
- List all possible values of the random variable \(x\).
- Write down the probability of each value, \(P(X=x)\).
- Multiply each outcome \(x\) by its probability.
- Add up all these products to get \(E(X)\).
Spotting it
You need this formula when the question gives a probability distribution table and asks for the expected value, or when you must compute the mean of a random variable.
Common pairings
- Variance and standard deviation of a discrete variable.
- Binomial distribution: expected value = \(np\).
- Games of chance: expected winnings or losses.
Mini examples
- Given: A fair die: \(x = 1,2,3,4,5,6\), each with probability \(1/6\). Find: \(E(X)\). Answer: 3.5.
- Given: A biased coin: \(P(\text{Head})=0.7, P(\text{Tail})=0.3\). Let \(X=1\) for head, \(0\) for tail. Find: \(E(X)\). Answer: 0.7.
Pitfalls
- Probabilities must sum to 1. Always check this before calculating.
- Expected value may not be one of the possible outcomes (e.g. die mean = 3.5).
- Mixing up frequency with probability. Use probabilities in the formula.
Exam Strategy
- Set out your working in a table with columns for \(x\), \(P(X=x)\), and \(xP(X=x)\).
- Double-check probabilities sum to 1.
- Interpret your answer in context: it is an average, not a guaranteed result.
Worked Micro Example
A spinner has outcomes 1, 2, 3 with probabilities 0.2, 0.5, 0.3. Find \(E(X)\).
Compute products: \(1\times 0.2 = 0.2\), \(2\times 0.5 = 1.0\), \(3\times 0.3 = 0.9\).
Add: \(0.2 + 1.0 + 0.9 = 2.1\).
So, \(E(X)=2.1\).
Summary
The expected value formula provides the mean outcome of a discrete random variable. By multiplying each possible outcome by its probability and summing, we obtain the theoretical long-run average. This underpins much of probability, from dice and coins to real-world statistics like average demand or insurance payouts.