I am a little confused with the following calculation of a radical.
$$\left(-\frac {\sqrt{-r}}{2} \right)^2=-\frac{r}{4}$$
$$\left(\frac {\sqrt{-r}}{2} \right)^2=-\frac{r}{4}$$
I would have thought both of these solutions would be,
$$\frac {r}{4}$$
So why are they both negative? Just looking for the details of this calculation
Note that $$\left( \sqrt{x} \right)^2=x$$ And $$\left(\frac{x}{y} \right)^2=\frac{x^2}{y^2}$$ So $$\left(\frac {\sqrt{-r}}{2} \right)^2=\frac{\left( \sqrt{-r} \right)^2}{2^2}=-\frac{r}{4}$$