PMF of XY squared from chart

Suppose the joint PMF of X and Y is given by this chart:

Y↓X→12
−10.20.2
00.350.1
10.050.1

Define W=XY2.

(a) Find the PMF PW(w).

(b) Find the expectation E[W].

Max and Min from joint PDF

Suppose the joint PDF of X and Y is given by:

fX,Y(x,y)={32(x2+y2)x,y∈[0,1]0otherwise

Find the PDF of (a) W=Max(X,Y), and of (b) W=Min(X,Y).

Solution

(a)

(1) Compute CDF of W:

Convert to event form:

FW(w)=P[Max(X,Y)≤w]≫≫P[X≤wandY≤w]

Integrate PDF over the region, assuming w∈[0,1]:

∫−∞w∫−∞wfX,Y(x,y)dxdy≫≫∫0w∫0w32(x2+y2)dxdy≫≫w4

(2) Differentiate to find fW(w):

fW=ddwFW(w):

fW(w)={4w3w∈[0,1]0otherwise

(b)

(1) Compute CDF of W:

Convert to event form:

FW(w)=P[Min(X,Y)≤w]≫≫1−P[Min(X,Y)>w]≫≫1−P[X>wandY>w]

Integrate PDF over the region:

P[X>wandY>w]≫≫∫w1∫w132(x2+y2)dxdy≫≫w4−w3−w+1

Therefore:

FW(w)=−w4+w3+w

(2) Differentiate to find fW(w):

fW=ddwFW(w):

fW(w)={−4w3+3w2+1w∈[0,1]0otherwise

PDF of a quotient

Suppose the joint PDF of X and Y is given by:

fX,Y(x,y)={λμe−(λx+μy)x,y≥00otherwise

Find the PDF of W=g(X,Y) for g(X,Y)=Y/X.

Solution

(1) Find the CDF using logic:

FW(w)=P[Y/X≤w]≫≫P[Y≤wX]

center

Integrate over this region:

P[Y≤wX]=∫0∞∫0wxfX,Y(x,y)dydx≫≫∫0∞λe−λx∫0wxμe−μydydx≫≫∫0∞λe−λx(−e−μwx+1)dx≫≫1−λλ+μw

(2) Differentiate to find PDF:

Compute ddwFW(w):

fW(w)={λμ(λ+μw)2w≥00otherwise