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(Y≤y)=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=1−e−x/β, X∼Exponential

x∈(0,∞),e−x/β∈(0,1),1−e−x/β∈(0,1)FU(u)=P(U≤u)=P(1−e−x/β≤u)=P(e−x/β≥1−u)=P(−xβ≥ln⁡(1−u))=P(x≤−βln⁡(1−u))=∫0−βln⁡(1−u)1βe−x/βdx=[−e−x/β|0−βln⁡(1−u)=1−e−−βln⁡(1−u)/β=1−eln⁡(1−u)=1−(1−u)=ufU(u)=∂FU∂u=∂∂uufU(u)=1,0<u<1

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