Expected Values of Sums and Products of Random Variables

Compute the expected value of linear combinations of random variables using linearity of expectation, and the expected value of products of independent random variables using the multiplicative property.

Step 1 of 119%

Tutorial

Linearity of Expectation

For any two random variables XX and YY and any constants a,b,cRa, b, c \in \mathbb{R}, the expectation operator is linear:

E[aX+bY+c]=aE[X]+bE[Y]+c.E[aX + bY + c] = a\,E[X] + b\,E[Y] + c.

This identity holds regardless of whether XX and YY are independent. It also extends to any finite number of random variables: for X1,X2,,XnX_1, X_2, \ldots, X_n and constants a1,,an,ba_1, \ldots, a_n, b,

E ⁣[i=1naiXi+b]=i=1naiE[Xi]+b.E\!\left[\sum_{i=1}^n a_i X_i + b\right] = \sum_{i=1}^n a_i\, E[X_i] + b.

For example, if E[X]=10E[X] = 10 and E[Y]=4E[Y] = 4, then

E[3X2Y+7]=3E[X]2E[Y]+7=3(10)2(4)+7=308+7=29.\begin{align*}E[3X - 2Y + 7] &= 3\,E[X] - 2\,E[Y] + 7 \\[3pt] &= 3(10) - 2(4) + 7 \\[3pt] &= 30 - 8 + 7 \\[3pt] &= 29.\end{align*}

Notice that constants pass straight through E[]E[\,\cdot\,], and the constant term 77 is its own expectation since E[c]=cE[c] = c for any constant cc.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle