Let $U$ be a uniform random variable on $[-1,1]$. Let $X=U^2$. Find the distribution of $X$.
This is what I have right now.
$F_X(x)=P(X \leq x) = P(U^2 \leq x) \rightarrow P(-\sqrt{x} \leq U \leq \sqrt{x})$.
$$F(x)= \begin{cases} 0, & \text{if } x <0, \\ \sqrt{x}, & \text{if } 0 \leq x < 1\\ 1, & \text{if } x \geq 1 \end{cases}$$
Am I doing this wrong?