Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to find the square root of a complex number $w=u+iv$, I assumed $z^2=(x+iy)^2=w$ Now solving this equation I got two values of $x$ and two values of $y$ in terms of $u$ and $v$. So, I get a possible of 4 solutions. But fundamental theorem of algebra says it has exactly two roots. What are these two roots?

My work $x=\pm \sqrt {\sqrt {u^2+v^2}+u}$ and $y=\pm \sqrt {\sqrt {u^2+v^2}-u}$

share|cite|improve this question
See here. – JavaMan Feb 24 '13 at 17:44
Do you know about the trigonetric/exponential form of a complex number? – Stefan Feb 24 '13 at 17:44
@Waqas Ali Azhar You've asked 20 questions so far and accepted only 1.Please consider going through your questions and accepting answers to your questions if any of the answers to each question satisfies you. – Git Gud Feb 24 '13 at 17:45
It is unlikely that anyone will be able to tell you what you did wrong unless you show us what you did. – MJD Feb 24 '13 at 17:46
No, $x$ and $y$ do not necessarily have the same sign. To obtain which signs are needed, one can without loss of generality assume $x\ge0$ and find $y$'s sign, then tack on a $\pm$ in the end. Or one can use geometric considerations. Oftentimes equations that require multiple squarings to solve will have ghost solutions, which occur since $a=b\implies a^2=b^2$ but $a^2=b^2\not\Rightarrow a=b$; that is, squaring an equation will result in a logically weaker claim about the relevant variables, hence in general can have more solutions. – anon Feb 24 '13 at 18:56

To choose two needed solutions, you have to check whether $-2xy=v$.

share|cite|improve this answer

If you work with the system

$x^2-y^2 = u \\ 2xy = v$

you obtain, provided $x \neq 0$, that $y = v/2x$ and $4x^4-4ux^2-v^2 = 0$

From $4x^4-4u^2x^2-v^2 = 0$ you obtain two complex and two real values for $x$. Each real value for $x$ corresponds to only one real value for $y$ ($y = v/2x$), and those give the two square roots of $u+iv$.

This means that in your expressions, you have to pick the same signs if $v>0$, and pick opposite signs if $v<0$.

(and also your expressions seem to lack a division by $2$ somewhere).

share|cite|improve this answer

The following way is elementary but it works. Let you want to find $\sqrt{x+yi}$. Set $$\sqrt{x+yi}=a+bi$$ then $$x+iy=(a+ib)^2=a^2-b^2+2iab$$ so $$x=a^2-b^2,~~~y=2ab$$ by solving the equations simultaneously, we have: $$a=\sqrt{\frac{\sqrt{x^2+y^2}+x}{2}},~~b=\sqrt{\frac{\sqrt{x^2+y^2}-x}{2}}$$Note that $\sqrt{x+yi}=\pm(a+bi)$

share|cite|improve this answer
This seems to skip over the crucial point for this question, which is the signs in front of the $\sqrt{x^2+y^2}$ terms and what constrains them to be the same, or where the illusory solutions come from if there is no such constraint. – MJD Feb 24 '13 at 17:56
@MJD: I edited the answer. I don't exactly know what the OP are looking for then. I added what I knew. If it has defects note me to remove that. Thanks. – Babak S. Feb 24 '13 at 19:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.