Let $X$ be a continuous uniform random variable on the interval $[0,2]$.
How to determine the cumulative distribution function of $Y=X(2-X)$?
I got:
Since $X$ is uniformly distributed, the probability density function is $f_X(x)=\frac{1}{2}\boldsymbol{1}_{0<x<2}$
Now I tried to find the cumulative distribution function:
$F_Y(y)=\mathbb{P}(Y \leq x)=\mathbb{P}(X(2-X) \leq x)=\mathbb{P}((2X-X^2) \leq x)$
How to continue the transformation such that I get $\mathbb{P}(X \leq …)$?
I don't see how to rewrite $2X-X^2$ here.