Exercise · ZW-EXPECTED-VALUE-006 · ★★☆ Intermediate

With \(f(x)=2x\) on \([0,1]\), compute \(E[X^2]\).

Choose one option.

Show answer
  • A. \(\dfrac{1}{2}\)

Explanation

\(E[X^2]=\int_0^1 x^2\cdot 2x\,dx=\tfrac12\). It is not \((E[X])^2=\tfrac49\): in general \(E[X^2]\neq (E[X])^2\).

Study Probability and statistics in ZWMath →

Review the concept: Expected value

The expectation \(E[X]\) of a random variable \(X\) is the average of its possible values, each weighted by its probability.

\[\begin{aligned}E[X]&=\sum_x x\,p(x)\\ E[X]&=\int_{-\infty}^{\infty}x\,f(x)\,dx\end{aligned}\]

More practice problems: expected value

← ZW-EXPECTED-VALUE-005 ZW-EXPECTED-VALUE-007 →