Probability & Random Variables
![Question 18, GATE 2011: For a random variable with finite second moment, write R=E[X²]-(E[X])². Which is always true?
(A) R=0
(B) R<0
(C) R≥0
(D) R>0](../../assets/questions/CS-2011-Q28-1.webp)
Your answer
Answer & solution
Official answer: C
R=E[X²]−(E[X])²=E[(X−E[X])²]≥0 whenever the moments exist. A constant random variable attains 0, so strict positivity is not guaranteed. Thus C.
Expand the square: E[(X-μ)²]=E[X²]-2μE[X]+μ²=E[X²]-μ², using μ=E[X]. Every squared deviation is nonnegative, and an expectation preserves nonnegativity. If X is always 5, R=25-25=0; if X is equally likely 0 or 1, R=1/2-1/4=1/4. These examples exclude both the claim that R is always zero and the claim that it is always strictly positive.