Please help me out here, I'm self-studying Complex Numbers and I've gotten to a point where I'm kinda stuck.
Given a general quadratic equation $az^2 + bz + c = 0$ with $a \not= 0$.
Using the same algebraic manipulation as in the case of real coefficients, we obtain $$a\left[\left(z + \frac{b} {2a}\right)^2 - \frac{\Delta} {4a^2}\right] = 0$$
This is equivalent to $$\left(z + \frac{b} {2a}\right)^2 = \frac {\Delta} {4a^2}\quad\text{or}\quad \left({2az + b}\right)^2 = \Delta$$ where $\Delta = b^2 - 4ac$ is called the discriminant of the quadratic equation, setting $y= 2az + b$, the expression is reduced to $$y^2 = \Delta = u + vi$$ where $u$ and $v$ are real numbers.
What I don't understand now is how the author obtained $$y_{1,2} = \pm \left(\sqrt { \frac {r + u} {2} } + \operatorname{sgn} (v)\sqrt{ \frac{r - u} {2} }\,i\right)$$ where $r = |\Delta|$ and $\operatorname{sgn}(v)$ is the sign of the real number $v$.