The Distribution Function Method With Many-to-One Transformations

Apply the CDF (distribution function) method to find the distribution of Y = g(X) when g is not one-to-one, by identifying the full preimage of the event {Y ≤ y} and then differentiating to recover the PDF. Key cases include Y = X² and Y = |X|.

Step 1 of 119%

Tutorial

Many-to-One Transformations

The distribution function method still works when gg is not one-to-one — we just have to identify every value of XX that produces Yy.Y \le y.

For a transformation Y=g(X),Y = g(X), we compute

FY(y)=P(g(X)y)=P ⁣(X{x:g(x)y}),F_Y(y) = P(g(X) \le y) = P\!\left(X \in \{x : g(x) \le y\}\right),

then differentiate to obtain fY(y)=FY(y).f_Y(y) = F_Y'(y). When gg is many-to-one, the preimage {x:g(x)y}\{x : g(x) \le y\} is a union of intervals, not a single one.

The most common many-to-one example is Y=X2.Y = X^2. For y0,y \ge 0,

{x:x2y}=[y,y],\{x : x^2 \le y\} = \left[-\sqrt{y},\, \sqrt{y}\right],

so

FY(y)=P ⁣(yXy)=FX(y)FX(y).F_Y(y) = P\!\left(-\sqrt{y} \le X \le \sqrt{y}\right) = F_X(\sqrt{y}) - F_X(-\sqrt{y}).

For y<0,y < 0, we have FY(y)=0F_Y(y) = 0 since X20.X^2 \ge 0.

To illustrate, suppose XUniform(3,3),X \sim \textrm{Uniform}(-3,3), so FX(x)=x+36F_X(x) = \dfrac{x+3}{6} for x[3,3].x \in [-3,3]. Then for y[0,9],y \in [0,9],

FY(y)=y+36y+36=y3,F_Y(y) = \frac{\sqrt{y}+3}{6} - \frac{-\sqrt{y}+3}{6} = \frac{\sqrt{y}}{3},

and differentiating gives fY(y)=16yf_Y(y) = \dfrac{1}{6\sqrt{y}} on (0,9].(0,9].

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle