Expected value of joint distribution

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
mrkb80
Messages
40
Reaction score
0

Homework Statement


Suppose that [itex]f_{X,Y}(x,y)=\lambda^2e^{-\lambda(x+y)},0\le x,0\le y[/itex]
find [itex]E[X+Y][/itex]

Homework Equations


The Attempt at a Solution



I just want to double check I didn't make a mistake:
[itex]E[X+Y]=E[X]+E[Y]=\int_0^{\infty} x{\lambda} e^{-\lambda x} dx + \int_0^{\infty} y{\lambda} e^{-\lambda y} dy = -2 - \dfrac{2}{\lambda}[/itex]
 
Last edited:
Physics news on Phys.org
mrkb80 said:

Homework Statement


Suppose that [itex]f_{X,Y}(x,y)=\lambda^2e^{-\lambda(x+y)},0\le x,0\le y[/itex]
find [itex]E[X+Y][/itex]


Homework Equations





The Attempt at a Solution



Pretty sure I have this one right, I just want to double check I didn't make a calculation mistake:
[itex]E[X+Y]=E[X]+E[Y]=\int_0^{\infty} x{\lambda} e^{-\lambda x} dx + \int_0^{\infty} y{\lambda} e^{-\lambda y} dy = -2 - \dfrac{2}{\lambda}[/itex]
Since [itex]0\le x,0\le y[/itex], it's hard to think that the expected value could be negative. Try writing out your last step in detail.
 
good point. I think I see my mistake(s):[itex]E[X] + E[Y]=\int_0^{\infty} x \lambda e^{-\lambda x} dx + \int_0^{\infty} y \lambda e^{-\lambda y} dy = - x \dfrac{1}{\lambda} e^{-\lambda x} |_0^{\infty} - \int_0^{\infty} e^{- \lambda x } dx - y \dfrac{1}{\lambda} e^{-\lambda y} |_0^{\infty} - \int_0^{\infty} e^{- \lambda y } dy =\dfrac{1}{\lambda} + \dfrac{1}{\lambda} = \dfrac{2}{\lambda}[/itex]
 
Last edited:
many thanks, by the way.