这个是边缘分布,对y求积分,把x当真常数就可以了
f(x,y)=(1/2)(x+y)e^(-(x+y)
f(x) =∫[0到∞](1/2)(x+y)e^(-(x+y))dy
= (1/2)∫[0到∞]xe^(-(x+y))dy + (1/2)∫[0到∞]e^(-(x+y))dy
= (1/2)xe^(-x)∫[0到∞]e^(-y)dy + (1/2)e^(-x)∫[0到∞]ye^(-y)dy
= (1/2)xe^(-x)+ (1/2)e^(-x)
= (1/2)(1+x)e^(-x), x>0; =0 其余.