Complex equation: solve z^2 - 2*i*z - (1+i) = 0 in a+bi form

danishkid

New member
Joined
Feb 3, 2017
Messages
12
Hi everyone, I have this as homework for Wednesday but I can't really seem to get how to solve it. I've tried different method but I got some odd results. The equation is:
z^2-2*i*z-(1+i)=0

The result should be in the form of a+ib

I tried solving it like a normal quadratic equation and got i+- sqrt(4)/2 which doesn't seem right.
Thanks!
 
Well, I'd note that you probably made a typo as \(\displaystyle \sqrt{4} = 2\), but in any case, if you're ever unsure of an answer, you can always check it yourself. Let's plug in \(\displaystyle z = i \pm \dfrac{\sqrt4}{2}\) and see what happens:

\(\displaystyle z^2 - 2iz - (1 + i)\)

\(\displaystyle = \left(i + \dfrac{\sqrt{4}}{2} \right)^2 - 2i\left(i + \dfrac{\sqrt{4}}{2} \right) - (1 + i)\)

\(\displaystyle = 2i - \left(-2 + 2i \right) - (1 + i)\)

\(\displaystyle = 2 - 2i\)

Hmm... that's not zero. My best guess as to what you really meant was \(\displaystyle z = i \pm \dfrac{\sqrt{4i}}{2} = i \pm \sqrt{i}\). Plugging that in reveals:

\(\displaystyle z^2 - 2iz - (1 + i)\)

\(\displaystyle \left(i + \sqrt{i} \right)^2 - 2i \left(i + \sqrt{i} \right) - (1 + i)\)

\(\displaystyle \left(-1 - \sqrt{2} + i[1 + \sqrt{2}] \right) - \left( -2 - [1 - i] \cdot \sqrt{2} \right) - (1+ i)\)

\(\displaystyle = 0\)

Okay, that's zero. Substituting in the solution \(\displaystyle z=i - \sqrt{i}\) also gives zero. So, what's the problem? Any particular reason your answer "doesn't seem right?"
 
Last edited:
Well, I'd note that you probably made a typo as \(\displaystyle \sqrt{4} = 2\), but in any case, if you're ever unsure of an answer, you can always check it yourself. Let's plug in \(\displaystyle z = i \pm \dfrac{\sqrt4}{2}\) and see what happens:

\(\displaystyle z^2 - 2iz - (1 + i)\)

\(\displaystyle = \left(i + \dfrac{\sqrt{4}}{2} \right)^2 - 2i\left(i + \dfrac{\sqrt{4}}{2} \right) - (1 + i)\)

\(\displaystyle = 2i - \left(-2 + 2i \right) - (1 + i)\)

\(\displaystyle = 2 - 2i\)

Hmm... that's not zero. My best guess as to what you really meant was \(\displaystyle z = i \pm \dfrac{\sqrt{4i}}{2} = i \pm \sqrt{i}\). Plugging that in reveals:

\(\displaystyle z^2 - 2iz - (1 + i)\)

\(\displaystyle \left(i + \sqrt{i} \right)^2 - 2i \left(i + \sqrt{i} \right) - (1 + i)\)

\(\displaystyle \left(-1 - \sqrt{2} + i[1 + \sqrt{2}] \right) - \left( -2 - [1 - i] \cdot \sqrt{2} \right) - (1+ i)\)

\(\displaystyle = 0\)

Okay, that's zero. Substituting in the solution \(\displaystyle z=i - \sqrt{i}\) also gives zero. So, what's the problem? Any particular reason your answer "doesn't seem right?"


Hi, yes that was a typo. Cool that you noticed it!
I can see that the result is correct but apparently I didn't calculate it right when I tried to check it for myself.

Thanks a lot for the reply! It helped a lot :)
 
Top