This is not a statistics/probability course its multivariable calculus but the section in my book is called probability theory. My teacher writes his own homework problems, and he didnt really go over how to calculate most of these stats.

The point (X, Y ) is randomly distributed in the region x ≥ 0, y ≥ 0 according to the following probability density:

f(x,y) = e^(−x−y)

(a) Compute the average (= expected value) of X + Y .

(b) Compute the median of X/Y .

(c) Compute the probability that |X − Y | ≤ 1.

(d) Compute the average value of 1/(X + Y ), for example, by changing variables according to x = u and y = uv.

I computed a) to be 2 using the double integral from 0-->inf (x+y)(f(x,y))dxdy.

I don't know how to set up to calculate the median in part b) and am not exactly sure how to do d) we are still kinda learning changing variables techniques.

Thanks for any help!