Expectation is a weighted centre; variance measures squared deviation from that centre. Track whether you are recalling a definition or a second-moment identity.
Where this helps
Describing the centre and spread of a random quantity.
Before you start
Try the examples to see what you’ll practice. Check the answer form and any stated conditions.
Explainers
Weight values by their chances
X is 2 with probability 1/4 and 6 with probability 3/4.
E[X] = 2 × (1/4) + 6 × (3/4) = 5.
For finitely many possible values, use E[X] = Σxᵢpᵢ. Multiply each value xᵢ by its probability pᵢ, then add. The probabilities must be nonnegative and add to 1. An expected value need not be one of the possible outcomes.
Mean of the squares minus square of the mean
X is equally likely to be 1 or 5.
E[X] = 3 and E[X²] = (1² + 5²)/2 = 13.
Var(X) = 13 − 3² = 4.
Use Var(X) = E[X²] − (E[X])² when the second moment is finite. In the first term, square each outcome before averaging. In the second, average first and then square.
Try a few examples
Real practice. Real progress.
Example 1 of 2
complete the finite discrete expectation formula
X has finite support x_1 through x_n with probabilities p_i that are nonnegative and sum to one.