document.write( "Question 1192415: Given f(x, y) = e^(-x-y), for x>0 and y>0
\n" );
document.write( "(a) Find the marginal density of X
\n" );
document.write( "(b) Find the conditional density of Y given X = x
\n" );
document.write( "(c) Find the first joint moment of X and Y
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #848994 by CPhill(1959)![]() ![]() You can put this solution on YOUR website! **a) Find the marginal density of X**\r \n" ); document.write( "\n" ); document.write( "* The marginal density of X, denoted by fX(x), is found by integrating the joint density function f(x, y) with respect to y:\r \n" ); document.write( "\n" ); document.write( " fX(x) = ∫-∞∞ f(x, y) dy \r \n" ); document.write( "\n" ); document.write( " Since f(x, y) = e-x-y for x > 0 and y > 0, and 0 otherwise, we have:\r \n" ); document.write( "\n" ); document.write( " fX(x) = ∫0∞ e-x-y dy \r \n" ); document.write( "\n" ); document.write( " = e-x ∫0∞ e-y dy \r \n" ); document.write( "\n" ); document.write( " = e-x [-e-y]0∞ \r \n" ); document.write( "\n" ); document.write( " = e-x (0 - (-1)) \r \n" ); document.write( "\n" ); document.write( " = e-x for x > 0 \r \n" ); document.write( "\n" ); document.write( " and 0 otherwise.\r \n" ); document.write( "\n" ); document.write( "**b) Find the conditional density of Y given X = x**\r \n" ); document.write( "\n" ); document.write( "* The conditional density of Y given X = x, denoted by fY|X(y|x), is given by:\r \n" ); document.write( "\n" ); document.write( " fY|X(y|x) = f(x, y) / fX(x) \r \n" ); document.write( "\n" ); document.write( " Since we found fX(x) = e-x, we have:\r \n" ); document.write( "\n" ); document.write( " fY|X(y|x) = (e-x-y) / (e-x) \r \n" ); document.write( "\n" ); document.write( " = e-y for y > 0 \r \n" ); document.write( "\n" ); document.write( " and 0 otherwise.\r \n" ); document.write( "\n" ); document.write( "**c) Find the first joint moment of X and Y**\r \n" ); document.write( "\n" ); document.write( "* The first joint moment of X and Y, denoted by E[XY], is given by:\r \n" ); document.write( "\n" ); document.write( " E[XY] = ∫-∞∞ ∫-∞∞ x*y*f(x, y) dx dy\r \n" ); document.write( "\n" ); document.write( " = ∫0∞ ∫0∞ x*y*e-x-y dx dy\r \n" ); document.write( "\n" ); document.write( " = ∫0∞ x*e-x [∫0∞ y*e-y dy] dx\r \n" ); document.write( "\n" ); document.write( "* Note that ∫0∞ y*e-y dy is the expected value of an exponential random variable with parameter 1, which is equal to 1.\r \n" ); document.write( "\n" ); document.write( " Therefore,\r \n" ); document.write( "\n" ); document.write( " E[XY] = ∫0∞ x*e-x dx\r \n" ); document.write( "\n" ); document.write( "* This integral also represents the expected value of an exponential random variable with parameter 1, which is equal to 1.\r \n" ); document.write( "\n" ); document.write( " **So, the first joint moment of X and Y is E[XY] = 1.**\r \n" ); document.write( "\n" ); document.write( "**In summary:**\r \n" ); document.write( "\n" ); document.write( "* The marginal density of X is fX(x) = e-x for x > 0. \n" ); document.write( "* The conditional density of Y given X = x is fY|X(y|x) = e-y for y > 0. \n" ); document.write( "* The first joint moment of X and Y is E[XY] = 1. \n" ); document.write( " \n" ); document.write( " |