Distribution of $-2\ln Y$ if Y is uniform in $[0,1]$.
There are lots of similar questions about this. But I got a proposition seems different to all these answers to the question.
That is
If Y is uniform in $[0,1]$, then $-2\ln Y \sim \chi^2(2) $.
My intuition is to find the CDF. But when I can't related it to the standard normal distribution since we already knew that chi-square distribution with $k$ degrees is the sum of the squares of $k$ standard normal random variables.
Lets consider the situation where we use the PDF. We know:
$$f_X(x)=1,\space y=-2\ln x \implies x=e^{-\frac y2}$$
Lets take the derivative with respect to $y$:
$$\frac {dx}{dy}=-\frac 12e^{-\frac y2}$$
Under the inverse transform method, we can use the fact that:
$$f_Y(y)=f_X(y) \left| \frac {dx}{dy} \right|$$ $$=f_X(-2 \ln x)\left|-\frac 12e^{-\frac y2} \right|$$ $$=1\cdot \frac 12e^{-\frac y2}$$ $$=\frac 12e^{-\frac y2}$$
The only part left is to find our bounds for the random variable $Y$.
From the equation $y=-2\ln x$:
$$x=0 \implies y=-2 \ln 0=\infty$$ $$x=1 \implies y=-2 \ln 1=0$$
We can check the density of $Y$ integrates to $1$:
$$\int_0^\infty f_Y(y)dy=\int_0^\infty \frac 12e^{-\frac y2}dy$$
$$=\left[-e^{- \frac y2}\right]_0^\infty 0-(-1)=1$$
As you have postulated, this is the form of a Chi-Squared distribution with $2$ degrees of freedom, with probability density function:
$$\frac 1{2^\frac k2 \Gamma(\frac k2)}y^{\frac k2-1}e^{-\frac y2}$$
Setting $k=2$ we end up with:
$$=\frac 12e^{-\frac y2}, \ y \in [0,\infty)$$
It is NOT true that the only way to get a Chi-Squared distribution is through the sum of Normal Squares (as seen in the other answer).