# Math Help - two-to-one transformation

1. ## two-to-one transformation

Hello everyone!

I got this transformation problem here:
$\text{let} \ f(x)=\frac{2}{5}|x|, \text{if} \ -1. $\text{find the pdf of } Y=X^2$.

The solution starts by mentioning that $g(x)=x^2$ is a two-to-one transformation. I'm a bit lost here, both $f(x)$ and $g(x)$ are two to one? What do we do??... The answer says:

$h(y)= \frac{2}{5}, 0 and $h(y)=\frac{1}{5}, 1.
Any help is appreciated

2. $G(y) = \frac{2}{5} \int_{-\sqrt{y}}^{\sqrt{y}} |x| \ dx = -\frac{2}{5} \int_{-\sqrt{y}}^{0} x \ dx + \frac{2}{5} \int_{0}^{\sqrt{y}} x \ dx = \frac{2}{5} y$ if $0 \le y \le 1$

and $G(y) = G(1) + \frac{2}{5} \int_{1}^{\sqrt{y}} |x| \ dx = \frac{2}{5} + \frac{2}{5} \int_{1}^{\sqrt{y}} x \ dx = \frac{2}{5} + \frac{1}{5} (y-1)$ if $1 < y \le 4$

so $g(y) = G'(y) = \frac{2}{5}$ if $0 \le y \le 1$

and $g(y) = \frac{1}{5}$ if $1 < y \le 4$