Often complex numbers are descirbed as $$\mathbb{C} = {\{a + bi|a,b\in\mathbb{R},i^2=-1\}}$$
Since $i^2 = -1$, I would assume that $i = \pm \sqrt{-1}$.
My math said that $\sqrt{-1}$ doesn't exist because of $$-1 = \sqrt{-1} \times\sqrt{-1} = \sqrt{(-1)^2} = \sqrt{1} = 1$$
But of course $-1 \neq 1$. Equivalently you could do $$-1 = (-\sqrt{-1}) \times (-\sqrt{-1}) = \sqrt{(-1)^2} = \sqrt{1} = 1$$
which gives the same result.
Could someone explain what I'm missing? Thanks in advance.