Expected Value and Variance
The expected value E[X] of a random variable X is its probability-weighted average, equal to the long-run mean of many independent realizations. For a discrete random variable taking values x_i with probabilities P(X = x_i), E[X] = Σ x_i P(X = x_i). For a continuous random variable with probability density function f(x), E[X] = ∫_{-∞}^{∞} x f(x) dx (provided the integral converges absolutely). Expectation is linear: E[aX + bY] = a E[X] + b E[Y] even when X and Y are dependent. Variance quantifies the expected squared deviation from the mean μ = E[X]: Var(X) = E[(X − μ)²] = E[X²] − μ². The standard deviation σ = √Var(X) restores the original units. Variance is always non-negative and is zero only for a constant (almost surely). For independent random variables, Var(X + Y) = Var(X) + Var(Y); the cross term vanishes because Cov(X, Y) = 0. Covariance itself is defined by Cov(X, Y) = E[(X − μ_X)(Y − μ_Y)] and measures linear association; its normalized form is the correlation coefficient.
Knowledge Check
1.A discrete random variable X takes the values 1, 2, 3 with probabilities 0.2, 0.5, 0.3 respectively. What is E[X]?
2.For the same random variable (E[X] = 2.1 and E[X²] = 4.9), what is Var(X)?
3.What is the variance of a deterministic constant c?
4.If X and Y are independent random variables, which statement is true?
5.Covariance between two random variables primarily measures:
6.A random variable satisfies E[X²] = 25 and E[X] = 4. What is Var(X)?
7.Which property of expectation holds regardless of dependence between the variables?
8.The standard deviation of a random variable is defined as:
9.A game pays $10 with probability 0.2, $5 with probability 0.5, and $0 with probability 0.3. What is the expected payout?
10.If Var(X) = 16, what is the standard deviation of X?