GATE 2026 XE — all source sections – Question 17
X has density $f(x)=\dfrac{e}{2(e-1)}e^{-x}$ for0<x<1, density1/2 for1<x<2, and zero elsewhere. Find E[X], to two decimals.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 0.90 to 1.10
Explanation
The first interval contributes $\frac{e}{2(e-1)}\int_0^1xe^{-x}\,dx=(e-2)/[2(e-1)]$. The second contributes (1/2)∫₁²x dx=3/4. Their sum is about0.95901, so E[X]=0.96. Each density piece has probability1/2; neither interval can be discarded.