Distribution function technique

Suppose X1,,Xn is a set of continuous random variables with a known joint pdf fX1,Xn(x1,,xn) and

Y=h(X1,Xn)

Given that X1,Xn are continuous, Y is continuous, we can find the pdf of Y by first getting its cdf

FY(y)=P(Yy)=P(h(X1,,Xn)y)

and then derivating it to get the pdf

fY(y)=FY(y)y

When working with discrete variables, we usually work on the pmf directly

Examples

Example with U=1ex/β, XExponential

x(0,),ex/β(0,1),1ex/β(0,1)FU(u)=P(Uu)=P(1ex/βu)=P(ex/β1u)=P(xβln(1u))=P(xβln(1u))=0βln(1u)1βex/βdx=[ex/β|0βln(1u)=1eβln(1u)/β=1eln(1u)=1(1u)=ufU(u)=FUu=uufU(u)=1,0<u<1

The random variable U follows a uniform distribution, in the interval (0,1)