I got a question I am unable to work out. Since it's quadratic with complex coefficients I believe we should use the quadratic equation but it doesn't seem to work out.
$x^2-(1+i)x+(2+2i)=0$
Below is what I did:
a = 1
b = -(1+i)
c = 2+2i
After plugging in the quadratic equation it is:
$-(-(1+i))\pm\sqrt{({-(1+i))}^2-4(1)(2+2i)}\over2(1)$
$(-1-i)^2 = 1^2+2i+i^2 = 1 + 2i -1 = 2i$
$(1+i)\pm\sqrt{2i-8-8i)}\over2$
$(1+i)\pm\sqrt{-8-6i)}\over2$
I don't think i can simplify it further after that but the answer should be $2i$ and $1-i$.
Did I make a mistake somewhere?