Skip to main content

Probability I · Expectation, moments, and transforms

A random variable X takes values 0, 1, and 3 with probabilities 1/2,1/3,1/6, respectively

Problem

A random variable \(X\) takes values 0, 1, and 3 with probabilities \(1/2,1/3,1/6\), respectively. Calculate \(\mathbb E X\) and \(\mathbb E[(X-1)^2]\) directly from this distribution. Compare the latter with \((\mathbb E X-1)^2\), and explain why a nonlinear function cannot generally be moved outside an expectation.

Hint

Make a row for each possible value of \(X\) and retain its probability.

Check your work

Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.

The answer check and full solution for this problem come with ProofAnvil Practice membership ($19 USD monthly). See membership. Or start with the free Probability I sample problem: Try the free sample problem.

More Probability I practice problems

Back to Probability I

An original ProofAnvil practice problem, written for this course. ProofAnvil is a practice course, not a homework-answer service.