I am teaching myself complex numbers, yet I can't solve this exercise:
Find all complex number solutions to $z^2+(1-i)z-1=0,$ and provide them in standard $z=a+bi$ format.
I've tried using the classic formula $\dfrac{-b \pm \sqrt{D} }{2a},$ and have found that $D=4-2i$, which leads to the solution: $$ z=-\frac{1}{2} +\frac{i}{2}\pm\sqrt{1-\frac{i}{2}}. $$
I am however unable to take the square root of either $1-\dfrac{i}{2}$ or $D=4-2i$, which means I cannot express the solution as $a+bi$.
I have tried inputting this into Wolfram Alpha, Symbolab and other online complex calculators and they all give different answers, none of which are the above answer, nor are they the same as the text gives, which is: $z=\dfrac{\pm\sqrt{\sqrt{5}+2}-1}{2}+\dfrac{1\pm\sqrt{\sqrt{5}-2}}{2}i.$
I do not see an obvious link between the given equation and the given solution. What am I missing?