TITLE: Rayleigh and Exponential distributions?
QUESTION [6 upvotes]: If $X$ is Rayleigh distributed random variable. What is the distribution of $|X|^2$?
If $X$ is Exponential distributed random variable. What is the distribution of $|X|^2$?

REPLY [3 votes]: Many thanks to André Nicolas. I know now that $|X|^2$ is Exponential when $X$ is Rayleigh. Based on André Nicolas's answer, I will deal with the Exponential case. Please correct me if I did something wrong.
Let $X$ be Exponential with parameter $\lambda$. Then $X$ has density function $\lambda e^{-\lambda x}$ for $x\ge 0$, and $0$ elsewhere. Let $Y=X^2$. We find the density function $f_Y(y)$ of $Y$. 
Let us find the cdf $F_Y(y)$ of $Y$. For $y\gt 0$, we have
$$F_Y(y)=\Pr(Y\le y)=\Pr(X^2\le y)=\Pr(X\le \sqrt{y})=\int_0^{\sqrt{y}} \lambda e^{-\lambda x}\,dx.$$
Now integrate. We find that for $y\gt 0$, 
$$F_Y(y)=1-e^{-\lambda\sqrt{y}}.$$
This is I do not know which distribution it is.