- 1. Given that it happened: what is conditional probability?
- 2. The rules still work: properties of conditional probability
- 3. One after the other: the multiplication theorem
- 4. When one event tells you nothing: independent events
- 5. Independent or mutually exclusive? The trap
- 6. Adding up every route: partitions and total probability
- 7. Working backwards from the clue: Bayes' theorem
- 8. Guess first: a 99% accurate test says you are ill
- 9. Outcomes into numbers: random variables and probability distributions
- 10. The average and the spread: mean, variance and standard deviation (JEE extra)
- 11. Repeat and count: Bernoulli trials and the binomial distribution (JEE extra)
- Review
10 of 11·NCERT §13.5·6 min
The average and the spread: mean, variance and standard deviation (JEE extra)
The big ideaThe mean of a random variable, \( E(X) = \sum x_i p_i \), is the long-run average value; the variance, \( \text{Var}(X) = E(X^2) - [E(X)]^2 \), measures how far the values spread around that average, and its square root is the standard deviation.
In simple words
Roll a die thousands of times and write down every number. Add them all and divide by how many rolls you made. You will get very close to 3.5. That is the mean: what you get "on average" if you play again and again. The variance tells you how wildly the numbers jump around that average.
Not in the current textbook, but JEE asks it: mean, variance and standard deviation of a random variable were in older editions of this chapter and still turn up in JEE Main. You already met mean, variance and standard deviation for data in the Class 11 chapter on Statistics; here the same ideas use probabilities instead of frequencies.
The mean (expectation)
Let X take values \( x_1, \dots, x_n \) with probabilities \( p_1, \dots, p_n \). The mean of X, also called its expectation or expected value, is
\[ \mu = E(X) = x_1 p_1 + x_2 p_2 + \dots + x_n p_n = \sum_{i=1}^{n} x_i p_i \]
Each value is weighted by how likely it is. Here μ (the Greek letter mu) is the usual symbol for the mean.
- One die: \( E(X) = \frac{1 + 2 + 3 + 4 + 5 + 6}{6} = \frac72 = 3.5 \). You can never roll a 3.5. The mean need not be a possible value; it is a long-run average.
- Heads in three tosses (0, 1, 2, 3 with \( \frac18, \frac38, \frac38, \frac18 \)): \( E(X) = 0 + \frac38 + \frac68 + \frac38 = \frac32 \).
- Aces in two cards (from the last page): \( E(X) = 0 \times \frac{188}{221} + 1 \times \frac{32}{221} + 2 \times \frac{1}{221} = \frac{34}{221} = \frac{2}{13} \).
Is the game fair?
Try it before you read the working: guess, then play three hundred games and change the prizes.
At a village mela you pay ₹10 to roll a die. A 6 wins ₹30 and a 5 wins ₹12; anything else wins nothing. Let X be your net gain in rupees: +20 for a 6, +2 for a 5, −10 otherwise.
\[ E(X) = 20 \times \tfrac16 + 2 \times \tfrac16 + (-10) \times \tfrac46 = \tfrac{20 + 2 - 40}{6} = -3 \]
On average you lose ₹3 a game, which is the stall-keeper's profit. A game is called fair when the expected gain is 0.
Variance and standard deviation
Two games can have the same mean but very different risk. The variance of X measures the spread: the average squared distance of X from its mean.
\[ \sigma^2 = \text{Var}(X) = \sum_{i=1}^{n} (x_i - \mu)^2 p_i \]
Expanding the square gives a shortcut that is usually quicker:
\[ \text{Var}(X) = E(X^2) - [E(X)]^2, \qquad \text{where } E(X^2) = \sum x_i^2 p_i \]
The standard deviation is the positive square root, \( \sigma = \sqrt{\text{Var}(X)} \). It is in the same units as X (rupees, marks), which makes it easier to picture. σ is the Greek letter sigma.
Worked examples
- One die. \( E(X^2) = \frac{1 + 4 + 9 + 16 + 25 + 36}{6} = \frac{91}{6} \). So \( \text{Var}(X) = \frac{91}{6} - \left(\frac72\right)^2 = \frac{182 - 147}{12} = \frac{35}{12} \), and \( \sigma = \sqrt{35/12} \approx 1.71 \).
- Heads in three tosses. \( E(X^2) = 0 + 1 \cdot \frac38 + 4 \cdot \frac38 + 9 \cdot \frac18 = \frac{24}{8} = 3 \). So \( \text{Var}(X) = 3 - \frac94 = \frac34 \).
- The "find k" table P(X = x) = \( \frac{x}{10} \), x = 1 to 4. \( E(X) = \frac{1 + 4 + 9 + 16}{10} = 3 \); \( E(X^2) = \frac{1 + 8 + 27 + 64}{10} = 10 \); \( \text{Var}(X) = 10 - 9 = 1 \).
- The mela game. \( E(X^2) = \frac{400 + 4 + 4 \times 100}{6} = 134 \), so \( \text{Var}(X) = 134 - 9 = 125 \) and \( \sigma \approx 11.2 \) rupees. A small average loss, but large swings.
Two rules JEE loves
For constants a and b,
\[ E(aX + b) = a\,E(X) + b, \qquad \text{Var}(aX + b) = a^2\,\text{Var}(X) \]
Adding b shifts every value but not the spread; multiplying by a stretches the spread by a, so the variance by \( a^2 \). If X is a die roll and Y = 2X + 1, then E(Y) = 8 and Var(Y) = \( 4 \times \frac{35}{12} = \frac{35}{3} \).
Don't mix these up
- \( E(X^2) \) is not \( [E(X)]^2 \). For a die they are \( \frac{91}{6} \approx 15.2 \) and \( \frac{49}{4} = 12.25 \). Their difference is the variance, which is never negative.
- Var(X + 5) = Var(X), not Var(X) + 5. Var(−X) = Var(X), not −Var(X).
- Variance is in squared units; standard deviation is in the units of X.
Try it. X takes values 0, 1, 2 with probabilities 0.3, 0.5, 0.2. Find E(X) and Var(X).
Answer
- Mean, expectation, E(X)
- Σ xᵢpᵢ: the long-run average value of X.
- μ (mu)
- The usual symbol for the mean.
- Variance, Var(X)
- Σ (xᵢ − μ)² pᵢ = E(X²) − [E(X)]²: how spread out X is.
- Standard deviation, σ
- The square root of the variance, in the units of X.
- Fair game
- A game whose expected gain is 0.
Words to know
E(X) = 2 and E(X²) = 7. What is the standard deviation of X?
- 3
- \( \sqrt{3} \)
- \( \sqrt{5} \)
Var(X) = 4. What is Var(3X − 2)?
- 10
- 12
- 36
A ticket costs ₹5. With probability 0.1 you win ₹40, otherwise nothing. What is your expected net gain?
- ₹4
- −₹1
- ₹35
Picture and video credits