The random variable X can take values 0, 1, 2, 3. Given that \(P(X=0)=P(X=1)=p\) and \(P(X=2)=P(X=3)\) such that \(E(X^2)=2E(X)\), then the value of p is:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(\displaystyle\frac{3}{8}\)
Let \(P(X = 2) = P(X = 3) = q\). The probabilities add up to 1:
\(2p + 2q = 1 \quad (1)\)
The expectations:
\(E(X) = 0 \cdot p + 1 \cdot p + 2q + 3q = p + 5q\)
\(E(X^2) = 0 \cdot p + 1 \cdot p + 4q + 9q = p + 13q\)
Using \(E(X^2) = 2E(X)\):
\(p + 13q = 2p + 10q\)
\(p = 3q\)
Putting this in (1):
\(6q + 2q = 1\)
\( \displaystyle q = \frac{1}{8},\quad p = \frac{3}{8} \)