Markbook Study

Discrete random variables

Connect probability laws, moments and independent observations.

about 35 minutes · 37 practice questions

By the end, you can

  • Define a discrete variable and validate its probability mass function
  • Calculate expectation, variance and the expectation of a function
  • Transform means and variances and use independence only when justified

The central idea

A random variable assigns a numerical value to each outcome. A discrete distribution has nonnegative probabilities summing to 1. Its expectation is E(X)=∑xp(x)E(X)=\sum xp(x) and variance is E(X2)−[E(X)]2E(X^2)-[E(X)]^2. A linear transformation gives E(aX+b)=aE(X)+b and Var(aX+b)=a²Var(X).

Open the chapter exploration

Worked example

For XX taking 00 and 22 with probabilities 1/41/4 and 3/43/4, E(X)=3/2E(X)=3/2 and E(X2)=3E(X^2)=3. Thus Var⁡(X)=3−9/4=3/4\operatorname{Var}(X)=3-9/4=3/4.

The expectation of X² is not generally the square of E(X).

Check your understanding

A variable XX takes values −1,0,2-1,0,2 with probabilities 1/4,1/2,1/41/4,1/2,1/4. Validate the law and find its expectation and variance. Find the expectation and variance of Y=2X+1Y=2X+1. If X1,X2X_1,X_2 are independent copies, compare Var⁡(X1+X2)\operatorname{Var}(X_1+X_2) with Var⁡(2X)\operatorname{Var}(2X) and explain the difference.

Practice questions

37 examples and practice questions, in 7 sections.

Checklist and practice map

Ready to try this on your own?

For “Discrete random variables”, try a question without the working and explain your method. This records your confidence, saved in this browser only.

Ready to practise?Chapter practice