$X\in Un(0,1)$, form $U=-ln(1-x)$.
I want to calculate $f_U$. My attempt:
$F_U(t)=P(U\leq t)=P(-ln(1-X)\leq t)=P(1-X \geq e^{-t})=P(X\leq 1-e^{-t})=F_X(1-e^{-t})$.
Since $X\in Un(0,1)$. It has distribution $F_X(t)=\begin{cases} 0 &t<0 \\t & 0\leq t \leq 1 \\ 1 &t>1 \end{cases}$
Then $F_X(1-e^{-t})=\begin{cases} 0 &1-e^{-t}<0 \\1-e^{-t} & 0\leq 1-e^{t} \leq 1 \\ 1 &1-e^{-t}>1 \end{cases}$
Am I on the right track, should I just simplify the inequalities above for the different cases. And then just differentiate $F_X(1-e^{t})$ with respect to $t$?
How do I solve the second and third inequality for $t$?
$0\leq 1-e^{-t} \leq 1$ corresponds to $0\leq e^{-t} \leq 1$, Since I cant take the natural logirthm of 0 what do I do?
In other words, the uniform distribution is symmetric around it's mean.
– Abhiram Natarajan Oct 20 '17 at 17:10Would you mind explaining how? I couldn't take the natural logartihm on both sides since its not defined for 0, how do you obtain $0\leq t\leq \infty$? – fejz1234 Oct 21 '17 at 20:52