← Back to the programme
    IBHardProbability10–12

    When Expectation Passes Through a Function and When It Does Not

    Quando o Valor Esperado Atravessa uma Função e Quando Não Atravessa

    A discrete random variable XX takes the values 11, 22 and 33 with probabilities 12\frac{1}{2}, 13\frac{1}{3} and 16\frac{1}{6}. Find E(X)E(X), E(3X−1)E(3X - 1) and E(X2)E\left(X^{2}\right), and hence Var⁡(X)\operatorname{Var}(X). Compare E(X2)E\left(X^{2}\right) with (E(X))2\left(E(X)\right)^{2} and explain what the comparison shows.

    The expectation of a function of XX is found by applying the function to each value and weighting by the same probabilities. Whether that agrees with applying the function to E(X)E(X) depends on the function, and the two functions here behave differently.

    Solution

    Step 1 of 7

    1. 1.E(X)=1×12+2×13+3×16=12+23+12=53E(X) = 1 \times \frac{1}{2} + 2 \times \frac{1}{3} + 3 \times \frac{1}{6} = \frac{1}{2} + \frac{2}{3} + \frac{1}{2} = \frac{5}{3}