Curated · Conditional PDF

MCQ · 2 marks · Problem EM-RVAR-0016

The random variables \(X\) and \(Y\) have the joint probability density function\[f(x,y)=\begin{cases}e^{-y}, & 0<x<y,\\ 0, & \text{otherwise}.\end{cases}\]Which one of the following is correct?
  1. A
    \(E[Y\mid X=2]=1\) and \(E[X\mid Y=4]=2\)
  2. B
    \(E[Y\mid X=2]=2\) and \(E[X\mid Y=4]=1\)
  3. C
    \(E[Y\mid X=2]=3\) and \(E[X\mid Y=4]=2\)
  4. D
    \(E[Y\mid X=2]=3\) and \(E[X\mid Y=4]=3\)

Solve it on GATE DA practice →More Random Variables problems

Show the worked solutionMarginal densities:\[f_X(x)=\int_x^{\infty}e^{-y}\,dy=e^{-x}\ \ (x>0),\qquad f_Y(y)=\int_0^{y}e^{-y}\,dx=y\,e^{-y}\ \ (y>0).\]Conditional densities are the joint density divided by the marginal of the conditioning variable:\[\boxed{f_{Y\mid X}(y\mid x)=\frac{f(x,y)}{f_X(x)},\qquad f_{X\mid Y}(x\mid y)=\frac{f(x,y)}{f_Y(y)}}\]\[f_{Y\mid X}(y\mid x)=e^{-(y-x)}\ \ (y>x),\qquad f_{X\mid Y}(x\mid y)=\frac{e^{-y}}{y\,e^{-y}}=\frac1y\ \ (0<x<y).\]Given \(X=x\), the excess \(Y-x\) is exponential with mean \(1\), so \(E[Y\mid X=x]=x+1\) and \(E[Y\mid X=2]=3\).Given \(Y=y\), \(X\) is uniform on \((0,y)\), so \(E[X\mid Y=y]=\tfrac{y}{2}\) and \(E[X\mid Y=4]=2\).Option (A) reports \(E[Y-X\mid X=2]=1\), forgetting that \(Y\) starts at \(x\). Option (B) gives the unconditional means \(E[Y]=2\) and \(E[X]=1\). Option (D) wrongly assumes that the two conditional distributions have the same shape; given \(Y=4\), \(X\) is uniform, not a shifted exponential.Answer: C

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com