Variance, represented as \( \operatorname{Var}(X) \), quantifies the variability or spread in the possible values of a random variable around its mean \( E(X) \). It's like measuring how the students' scores differ from their average score and then averaging that difference.
Mathematically, variance is calculated by taking the average of the squared differences from the mean. This is why the formula \( \operatorname{Var}(X) = E((X - E(X))^2) \) is so important. It captures fluctuations by focusing more on larger deviations.
When a random variable gives a constant outcome, like \( X = 3 \) in our exercise, every outcome is equals the mean \( E(X) \), leading to
- The difference \( X - E(X) = 0 \)
- Squaring this difference gives \( (X - E(X))^2 = 0 \)
As a result, the variance becomes zero, illustrating no variability.