let X be an exponential distribution with lambda as parameter and want to find the density function of $Z = (X - 1)^2$
I tried that: $F(Z) = P(Z < z) = P((X - 1)^2 <z)= P(1 - \sqrt{z} < x < 1 + \sqrt{z})$
for the next part, do I have to assume that $\sqrt{z}$ is greater than one or we have to determine for both cases?
of $\sqrt{z} > 1$: $F(Z) = P(X < \sqrt{z}+1)$ since exponential distribution have x always greater than 0.
if $\sqrt{z} < 1$: $F(Z) = P(1 - \sqrt{z}< x < 1 + \sqrt{z})$
and then find the pdf?
thank you!
For finding the PDF of Y, given PDF of X, where $Y=g(X)$, we can use the following formula:
$$f_Y(y) = f_X(g^{-1}(y))|\frac{d}{dy}g^{-1}(y)|$$
see this paper.
In this case, $g(x) = (x-1)^2$, which is decreasing for $x < 1$ and increasing for $x > 1$. $g^{-1}(x) = \sqrt{x} + 1$. And $Z = g(X)$. The rest should be easy.