Assume the random variable $X$ follows distribution $\mathsf{Unif}(0,1)$ and define the new random variable $Y = \ln\left(\frac{X}{1-X}\right)$. Find CDF of $Y.$
My attempt.
$F(X \leq x) = \int_{0}^{x} \ln(\frac{t}{1-t})\,dt = \ln(1-x) + x\left(\frac{x}{1-x}\right).$
Thus,
$$ F(x) =\begin{cases} 0 & x < 0 \\ \ln(1-x) + x\left(\frac{x}{1-x}\right) & 0\leq x \leq 1 \\ 1 & x > 1 \end{cases} $$
Would this be right?
$\mathbb{P}(Y\leq y)=\mathbb{P}(\log(\frac{X}{1-X})\leq y)=\mathbb{P}(\frac{X}{1-X}\leq e^y)=\mathbb{P}(X\leq\frac{e^y}{1+e^y})=\frac{e^y}{1+e^y}$
since $0<\frac{e^y}{1+e^y}<1$