PMF of XY squared from chart

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

YX12
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[XwandYw]

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

wwfX,Y(x,y)dxdy0w0w32(x2+y2)dxdyw4

(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]1P[Min(X,Y)>w]1P[X>wandY>w]

Integrate PDF over the region:

P[X>wandY>w]w1w132(x2+y2)dxdyw4w3w+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,y00otherwise

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/Xw]P[YwX]

center

Integrate over this region:

P[YwX]=00wxfX,Y(x,y)dydx0λeλx0wxμeμydydx0λeλx(eμwx+1)dx1λλ+μw

(2) Differentiate to find PDF:

Compute ddwFW(w):

fW(w)={λμ(λ+μw)2w00otherwise