Sub topic 12
Expected Value of a Simple Game
Prerequisites and the Working Model
This chapter assumes that you can calculate basic probabilities, simplify fractions, and use the addition and multiplication rules. You should also know how to read a game rule and translate its outcomes into numbers.
The expected value of a random quantity is its long-run average value. It does not predict the result of one play. Instead, it tells you the average result if the same experiment is repeated many times.
If a random variable \(X\) can take values \(x1, x2, \ldots, x_n\), then
\[ E(X)=x1P(x1)+x2P(x2)+\cdots+xnP(xn) \]
Here, \(E(X)\) means the expected value of \(X\), and \(P(xi)\) is the probability of outcome \(xi\).
Finding Expected Value
Use this process:
- List every possible outcome.
- Assign a numerical value to each outcome.
- Find the probability of each outcome.
- Multiply each value by its probability.
- Add the products.
Consider a game using one fair die:
- You win ₹12 if the die shows 6.
- You win ₹3 if it shows 4 or 5.
- You lose ₹2 if it shows 1, 2, or 3.
The outcome table is:
| Outcome | Payoff | Probability | Value × Probability |
|---|---|---|---|
| 6 | ₹12 | \(1/6\) | ₹2 |
| 4 or 5 | ₹3 | \(2/6\) | ₹1 |
| 1, 2, or 3 | \(-₹2\) | \(3/6\) | \(-₹1\) |
Therefore,
\[ E(X)=2+1-1=₹2 \]
The expected payoff is ₹2 per play. If the entry fee is ₹2, the game is fair in the long run. If the entry fee is ₹3, the player loses ₹1 per play on average.
A negative payoff represents a loss. Omitting negative values is a common error.
from fractions import Fraction
expected_value = (
12 * Fraction(1, 6)
+ 3 * Fraction(2, 6)
- 2 * Fraction(3, 6)
)
print(expected_value) # 2Expected Value Is Not the Most Likely Value
The expected value need not be an outcome that can actually occur. For example, a game may return ₹0, ₹4, or ₹10, but its expected value may be ₹3.60.
Expected value also does not mean that every player will receive that amount. One play can produce a large win or a loss. The value becomes useful when comparing repeated games or decisions.
A useful check is that the probabilities must add to 1:
\[ P(x1)+P(x2)+\cdots+P(x_n)=1 \]
The expected value must also lie between the smallest and largest possible payoffs.
A Second View: Expected Value of a Die
For one fair die, each face has probability \(1/6\):
\[ E(X)=1\left(\frac16\right)+2\left(\frac16\right)+\cdots+6\left(\frac16\right) =\frac{21}{6}=\frac72 \]
Thus, the average result of a die is 3.5, even though 3.5 is not a face.
from fractions import Fraction
expected_value = sum(Fraction(k, 6) for k in range(1, 7))
print(expected_value) # 7/2Using Expected Value in CAT Questions
CAT problems often hide expected value inside a game, insurance decision, prize scheme, or repeated experiment. Convert every result into a payoff before calculating.
For a game with an entry fee, use:
\[ \text{net expected value} = \text{expected prize} - \text{entry fee} \]
If the question asks whether a game is profitable, compare the expected prize with the cost. If the expected prize equals the cost, the game is fair.
Exercise
A fair die is rolled. A player receives ₹18 for a 6, ₹6 for a 4 or 5, and pays ₹3 for a 1, 2, or 3. What is the expected payoff?
Show answer
\(18(1/6)+6(2/6)-3(3/6)=3+2-1.5=₹3.50\).