Transformations of Two Random Variables
Transformations of Two Random Variables
• X, Y are continuous
1
Examples of the CDF Approach
2
b) Find the pdf of W = 2X + Y.
Z w/2 Z w−2x
F (W ≤ w) = P(2X + Y ≤ w) = dx e−x−y dy
0 0
3
d) Find the pdf of U = Y /(X + Y ).
Z ∞ Z ux/(1−u)
u
F (U ≤ u) = P(Y ≤ X) = dx e−x−y dy
1−u 0 0
= u, 0<u<1
fT (t) = et /2 t < 0.
4
The Convolution Formula
• What if X, Y are continuous with pdf f (x, y)? Here is the guess:
follow eq (1) but replace sum with integral
Z ∞
fW (w) = f (x, w − x)dx.
−∞
5
Let X, Y be continuous random variables with joint pdf f (x, y). Then
the pdf for W = X + Y is given by
Z ∞ Z ∞
fW (w) = f (x, w − x)dx = f (w − y, y)dy.
−∞ −∞
Proof:
Z ∞ Z w−x
FW (w) = P(X + Y ≤ w) = dx f (x, y)dy
−∞ −∞
Change-of-variables: y = u − x, i.e., u = x + y.
Z ∞ Z w
= dx f (x, u − x)du
−∞ −∞
Z w Z ∞
= du f (x, u − x)dx
−∞ −∞
Z ∞
dFW (w)
fW (w) = = f (x, w − x)dx
dw −∞
Z ∞ Z z
fZ (z) = f (x, z−x)dx = e−x e−(z−x) dx = ze−z , Z ∼ Ga(2, 1).
−∞ 0
Note that the joint pdf f (x, y) = fX (x)fY (y) is non-zero when
x, y > 0, that is, f (x, z − x) > 0 only if 0 < x < z.
7
The MGF Approach
8
Additivity of Random Variables
If X, Y are independent,