How do I get the square root of a complex number?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
79
down vote

favorite
56












If I'm given a complex number (say $9 + 4i$), how do I calculate its square root?










share|cite|improve this question



















  • 14




    The answers of using de Moivre's formula are correct but it may also be instructive to try and find the square roots directly using $(a+bi)^2 = 9 + 4i$ (say) and solve for $a$ and $b$ or even just use the quadratic formula directly, which will give you an appreciation for why we use de Moivre's formula.
    – Jason Polak
    Jun 9 '11 at 19:38














up vote
79
down vote

favorite
56












If I'm given a complex number (say $9 + 4i$), how do I calculate its square root?










share|cite|improve this question



















  • 14




    The answers of using de Moivre's formula are correct but it may also be instructive to try and find the square roots directly using $(a+bi)^2 = 9 + 4i$ (say) and solve for $a$ and $b$ or even just use the quadratic formula directly, which will give you an appreciation for why we use de Moivre's formula.
    – Jason Polak
    Jun 9 '11 at 19:38












up vote
79
down vote

favorite
56









up vote
79
down vote

favorite
56






56





If I'm given a complex number (say $9 + 4i$), how do I calculate its square root?










share|cite|improve this question















If I'm given a complex number (say $9 + 4i$), how do I calculate its square root?







complex-numbers radicals






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 11 '16 at 13:41









Martin Sleziak

43.6k6113260




43.6k6113260










asked Jun 9 '11 at 19:18









Macha

516267




516267







  • 14




    The answers of using de Moivre's formula are correct but it may also be instructive to try and find the square roots directly using $(a+bi)^2 = 9 + 4i$ (say) and solve for $a$ and $b$ or even just use the quadratic formula directly, which will give you an appreciation for why we use de Moivre's formula.
    – Jason Polak
    Jun 9 '11 at 19:38












  • 14




    The answers of using de Moivre's formula are correct but it may also be instructive to try and find the square roots directly using $(a+bi)^2 = 9 + 4i$ (say) and solve for $a$ and $b$ or even just use the quadratic formula directly, which will give you an appreciation for why we use de Moivre's formula.
    – Jason Polak
    Jun 9 '11 at 19:38







14




14




The answers of using de Moivre's formula are correct but it may also be instructive to try and find the square roots directly using $(a+bi)^2 = 9 + 4i$ (say) and solve for $a$ and $b$ or even just use the quadratic formula directly, which will give you an appreciation for why we use de Moivre's formula.
– Jason Polak
Jun 9 '11 at 19:38




The answers of using de Moivre's formula are correct but it may also be instructive to try and find the square roots directly using $(a+bi)^2 = 9 + 4i$ (say) and solve for $a$ and $b$ or even just use the quadratic formula directly, which will give you an appreciation for why we use de Moivre's formula.
– Jason Polak
Jun 9 '11 at 19:38










10 Answers
10






active

oldest

votes

















up vote
51
down vote



accepted










The square root is not a well defined function on complex numbers. Because of the fundamental theorem of algebra, you will always have two different square roots for a given number. If you want to find out the possible values, the easiest way is probably to go with De Moivre's formula, that is, converting your number into the form $r(cos(theta) + i sin(theta))$, and then you will get $(r(cos(theta)+ i sin(theta)))^1/2 = ±sqrtr(cos(theta/2) + i sin(theta/2))$.






share|cite|improve this answer


















  • 28




    The "two different square roots" issue applies to real numbers as well; it's just that in that case there's a consensus on which one is the "principal" square root.
    – Dan
    Jun 9 '11 at 23:49






  • 3




    @user1374 There is also a consensus about which square root of a complex number is the principal square root--at least for almost every complex number... See my answer.
    – Did
    Jun 10 '11 at 5:55






  • 9




    Oh, and I am afraid I must object to the assertion that going with De Moivre's formula would be the easiest way.
    – Did
    Jun 10 '11 at 6:35







  • 1




    @Did What's the rational basis for having positive square roots as the principal square roots instead of negative square roots?
    – Doug Spoonwood
    May 22 '13 at 13:47






  • 1




    @DougSpoonwood You might want to explain what you have in mind when you call some complex numbers positive and some others negative.
    – Did
    May 22 '13 at 15:13

















up vote
115
down vote













This is a three parts post. The first part was written by user Did, it provides a formula and some brief comments on it. The second part was written by user Hans Lundmark, it provides a geometric way to understand the formula. The third part was written by user t.b., it provides some explanatory pictures and some brief comments on them.




(Did) If one is able to compute the square root of every positive real number and the modulus of every complex number, a nice formula for the principal square root $sqrtz$ of $z$ is
$$
sqrtz=sqrtrfracz+rz+r,quad r=|z|.
$$
Try to prove it and you will see, it works...



The principal square root is the one with a positive real part. The only case when the formula fails is when there is no principal square root, that is, when $z$ is a negative real number.



No sine or cosine is involved, one does not even need to solve second degree polynomials, one just uses squares and square roots. For example, for $z=9+4mathrmi$,
$$
sqrtz=frac9+sqrt97+4mathrmisqrt2(9+sqrt97).
$$




(HL) There's a geometric way of understanding the formula in Did's answer. To find a square root of a given complex number $z$, you first want to find a complex number $w$ which has half the argument of $z$ (since squaring doubles the argument). Compute $r=|z|$ and let $w = z+r$; thus $w$ lies $r$ steps to the right of $z$ in the complex plane. Draw a picture of this, and it should be clear that the points $0$, $z$ and $w$ form an isosceles triangle, from which one sees that the line from $0$ to $w$ bisects the angle between the real axis and the line from $0$ to $z$. In other words, $w$ has half the argument of $z$, as desired. Now it only remains to multiply $w$ by some suitable real constant $c$ so that $|cw|^2 = |z|$; then we will have $(cw)^2=z$ and hence $cw$ is a square root of $z$. Obviously, $c=pmsqrtz/|w|$ will do the trick, so this method only fails when $w$ happens to be zero, i.e., if $z$ is a negative real number.




(t.b.) Following a suggestion of Did, I take the liberty of adding two pictures I originally posted as a separate answer, but it seemed better to have them here:



nicer configuration



Here's the picture for $z = 9 + 4i$:



configuration z = 9 + 4i



Remark: The construction of the square roots is geometrically exact. That is to say, they were constructed using straightedge and compass only. I decided to hide the construction, as it seems rather obfuscating the intended illustration than adding to it. Nevertheless, I suggest taking a moment and thinking about how you would achieve the geometric construction.




Added (t.b.)



Here's the construction I used: Intersect the circle around $z/2$ through $z$ with the tangent to the unit circle orthogonal to $z$. Then $h^2 = (|z|-1)cdot 1$ and thus the red circle has radius $sqrtz$. It remains to intersect the red circle with the angular bisector of the $x$-axis and $z$ which I constructed using the process Hans described in his part of the post.



square-root construction



The pictures were created using GeoGebra.






share|cite|improve this answer






















  • @Hans: Yes. This is a question where a picture would be useful (if only I knew how to draw pictures on MSE (and if I had more time on my hands)). Thanks.
    – Did
    Jun 10 '11 at 6:14






  • 1




    Hans: Following a suggestion of @Didier I added two pictures I originally posted as a separate answer. It seemed more reasonable to have them in one answer. I hope you don't mind.
    – t.b.
    Jun 10 '11 at 11:44










  • Since you can't see it on my deleted post, here's @Didier's original comment: "Theo and @Hans: What do you think about the idea of making one single post from our three complementary answers? (Re reputation, if that matters, either one of you may sign the resulting post, I really do not care.)" I refrain from adding Didier's answer in since it seems a bit too aggressive an edit to me, but I'd be strongly in favor of doing it.
    – t.b.
    Jun 10 '11 at 11:53







  • 1




    @Hans: very true. To reduce confusion, I deleted my comment :)
    – t.b.
    Jun 11 '11 at 14:49






  • 2




    @legends2k Right, the formula gets even simpler... Thanks for noticing this. Since you checked the formula, I cancelled the mention "unless I am mistaken".
    – Did
    Jan 6 '14 at 14:53


















up vote
26
down vote













Here is a direct algebraic answer:



Suppose that $z=c+di$, and we want to find $sqrtz=a+bi$ lying in the first two quadrants. So what are $a$ and $b$?



Precisely we have:
$$a=sqrtfracc+sqrtc^2+d^22$$ and
$$b=fracddsqrtfrac-c+sqrtc^2+d^22.$$ (The factor of $fracdd$ is used so that $b$ has the same sign as $d$) To find this, we can use brute force and the quadratic formula. Squaring, we would need to solve $$a^2-b^2 +2abi=c+di.$$ This gives two equations and two unknowns (seperate into real and imaginary parts) which can then be solved by substitutions and the quadratic formula.



Hope that helps,






share|cite|improve this answer




















  • Better add and say that you want d/|d|=1 for d=0, right?
    – j4n bur53
    Mar 28 '17 at 11:49

















up vote
13
down vote













You can also do following (technique often advised at school) :




  • Let's write $z² = 9 + 4i$ with $z = a + bi$. The goal is to find $z$



    Thus we have $(a + bi)² = 9 + 4i$ and if you expend we get $a²+ 2abi - b² = 9 + 4i$



    If you identify the real and imaginary parts, you obtain :



    $a²-b² = 9$ (1)



    and



    $2ab= 4$ (2)




  • Now, as $z² = 9 + 4i$, the modulus of $z²$ and $9 + 4i$ are equal so we can write :



    $a²+b² = sqrt9²+4²$



    $a²+b² = sqrt97$ (3)




  • Now find $a$ and $b$ with the the equations (1) , (2) and (3) :



    (1) + (3) $Leftrightarrow 2a² = 9+sqrt97 $



    so $a = sqrtfrac12(9+sqrt97) $ or $a = - sqrtfrac12(9+sqrt97) $



    With equation (2) and the previous result you can now find $b$ :



    $2ab= 4$



    $b= 2/a$



    so $b = 2sqrtfrac29+sqrt97 $ or $b = - 2sqrtfrac29+sqrt97 $



    The answer is : $z = sqrtfrac12(9+sqrt97) + 2isqrtfrac29+sqrt97 $ or $z = - sqrtfrac12(9+sqrt97) - 2isqrtfrac29+sqrt97 $







share|cite|improve this answer




















  • Why is the modulus of z = a^2 + b^2 instead of sqr( a^4 + b^4 + 4*a^2*b^2 )?
    – Mirte
    Feb 14 '17 at 13:55










  • Shouldn't you get 4 roots for a=+- and b=+-. How did you eliminate two choices??
    – Harshit Joshi
    Aug 12 at 16:42

















up vote
9
down vote













One way is to convert the complex number into polar form. For $z = re^itheta$, $z^2 = r^2 e^i(2theta)$. So to take the square root, you'll find $z^1/2 = pm sqrtr e^itheta/2$.



Added: Just as with the nonnegative real numbers, there are two complex numbers whose square will be $z$. So there are two square roots (except when $z = 0$).






share|cite|improve this answer





























    up vote
    6
    down vote













    Claim 1. Suppose $bneq 0$. Then the two roots to the equation $x^2 = a +bi$ are: $$pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright).$$




    Claim 2. Suppose $b>0$. Then:



    (a) The two roots to the equation $x^2 = a +bi$ are $$x = pmfracsqrt22left(sqrtsqrta^2+b^2+a+textrmisqrtsqrta^2+b^2-aright). $$



    (b) And the two roots to the equation $x^2 = a -bi$ are $$x=pmfracsqrt22left(sqrta+sqrta^2-b^2-textrmisqrta-sqrta^2-b^2right).$$




    Proof of Claim 1. beginalignat*1
    & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright)right]^2\
    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmifracbbrightsqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
    = & frac12left(2a+2mathrmifracbbrightsqrta^2+b^2-a^2right)=a+mathrmifracbbrightleft|bright|=a+mathrmib.
    endalignat*




    Proof of Claim 2. beginalignat*1
    textbf(a) & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmisqrtsqrta^2+b^2-aright)right]^2\
    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmisqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
    = & frac12left(2a+2mathrmisqrta^2+b^2-a^2right)=a+mathrmisqrtb^2=a+mathrmib.
    endalignat*



    beginalignat*1
    textbf(b) & left[pmfracsqrt22left(sqrta+sqrta^2-b^2-mathrmisqrta-sqrta^2-b^2right)right]^2\
    = & frac12left[a+sqrta^2-b^2+a-sqrta^2+b^2-2mathrmisqrtleft(a+sqrta^2-b^2right)left(a-sqrta^2-b^2right)right]\
    = & frac12left[2a-2mathrmisqrta^2-left(a^2-b^2right)right]=a-mathrmisqrtb^2=a-mathrmib.
    endalignat*






    share|cite|improve this answer


















    • 1




      Except when b < 0 the last line isn't true because sqrt(b^2) isn't equal to b. For b < 0 replace + i... by -i... Also typo in second to last line: r + a - (r + a) should be r + a - (r - a), where r = sqrt(a^2 + b^2).
      – Wout
      Jun 27 '16 at 15:11











    • @Wout: Thanks for spotting that error! I've now corrected, hopefully it's now good.
      – Kenny LJ
      Jun 28 '16 at 8:49










    • Better say b>=0, so that we have sqrt(-1)=i as a first solution.
      – j4n bur53
      Mar 28 '17 at 11:48

















    up vote
    4
    down vote













    Here's a useful picture from Wikipedia (ref). This helps visualise some comments above about having two square roots of most complex numbers.



    The horizontal plane is the original complex number $z$.



    The vertical axis is the real part of the square root(s) of $z$. (Note how there are two solutions for most numbers, i.e. all except zero.)



    The colour is the angle of a square root of $z$, where red is 0° i.e. the real axis, cyan is $pm$180° and so on.



    The principal square root is the top half of the surface.



    The see how the imaginary part behaves, rotate the surface 180° about the vertical axis. (Of course, the colours don't rotate, they stay where they are. More precisely, the magenta part will go to the bottom, and the green to the top, while the yellow and blue will stay as they are.)



    Square root






    share|cite|improve this answer





























      up vote
      4
      down vote













      SQUARE ROOT OF A BINOMIC COMPLEX NUMBER



      The number $sqrta+bi$ is a complex (or complex) $x+yi$ such that: $a+bi=(x+yi)^2$



      So: $a+bi=(x^2-y^2)+2xyirightarrow left.
      x^2-y^2=a atop
      2xy=b
      right}$ Solving this system, and taking into account, to solve the bi-square equation, that $sqrta^2+b^2geq a$:
      $$left.
      y=dfracb2x atop
      4x^4-4ax^2-b^2=0
      right}rightarrow left.
      x^2-y^2=a atop
      x^2=dfraca+sqrta^2+b^22
      right}rightarrow left.
      x^2=dfraca+sqrta^2+b^22 atop
      y^2=dfrac-a+sqrta^2+b^22
      right}$$
      Now, the equation $2xy=b$ tells us that the product $xy$ has the same sign as $b$. Therefore, if $b>0$, $x$ and $y$ have the same signs, and if $b<0$, they have different signs.
      $$bgeq 0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22+isqrtdfrac-a+sqrta^2+b^22right)$$
      $$b<0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22-isqrtdfrac-a+sqrta^2+b^22right)$$
      In practice, these formulas are not used, but the process is followed.



      Also, it is highly recommended to pass it to polar.






      share|cite|improve this answer



























        up vote
        3
        down vote













        $x^2 - y^2 +2ixy$ = write the complex no.



        $x^2 - y^2$ = write the real value---------(1)



        $2xy$ = write the imaginary value------(2)



        from equation (1) and (2)



        $x^2 + y^2 = sqrt(x^2 - y^2)^2 + 4x^2y^2$



        you will get $x^2 + y^2 = ?$ -------(3)



        from equation (1) and (3)



        you will get the value of $x$ and $y$






        share|cite|improve this answer





























          up vote
          1
          down vote













          ok, Would someone please tell me if I'm wrong about this.



          We want $pmsqrta+bi.$ $($This kind of square root is not well-defined without the $text“pmtext''.)$



          If $a+bi = r(costheta+isintheta)$ then $displaystyletanfractheta2 = fracsintheta1+costheta = frac b sqrta^2+b^2+a,$ so
          $$
          sinfractheta2 = frac btextsomething text and cosfractheta 2 = fracsqrtb^2+a^2+atextsomething
          $$
          where $text“something''$ makes $sin^2+cos^2=1,$ so the efficient way to think about this is the tangent half-angle formula. Or is there a more efficient way?






          share|cite|improve this answer




















            Your Answer




            StackExchange.ifUsing("editor", function ()
            return StackExchange.using("mathjaxEditing", function ()
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            );
            );
            , "mathjax-editing");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "69"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f44406%2fhow-do-i-get-the-square-root-of-a-complex-number%23new-answer', 'question_page');

            );

            Post as a guest






























            10 Answers
            10






            active

            oldest

            votes








            10 Answers
            10






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            51
            down vote



            accepted










            The square root is not a well defined function on complex numbers. Because of the fundamental theorem of algebra, you will always have two different square roots for a given number. If you want to find out the possible values, the easiest way is probably to go with De Moivre's formula, that is, converting your number into the form $r(cos(theta) + i sin(theta))$, and then you will get $(r(cos(theta)+ i sin(theta)))^1/2 = ±sqrtr(cos(theta/2) + i sin(theta/2))$.






            share|cite|improve this answer


















            • 28




              The "two different square roots" issue applies to real numbers as well; it's just that in that case there's a consensus on which one is the "principal" square root.
              – Dan
              Jun 9 '11 at 23:49






            • 3




              @user1374 There is also a consensus about which square root of a complex number is the principal square root--at least for almost every complex number... See my answer.
              – Did
              Jun 10 '11 at 5:55






            • 9




              Oh, and I am afraid I must object to the assertion that going with De Moivre's formula would be the easiest way.
              – Did
              Jun 10 '11 at 6:35







            • 1




              @Did What's the rational basis for having positive square roots as the principal square roots instead of negative square roots?
              – Doug Spoonwood
              May 22 '13 at 13:47






            • 1




              @DougSpoonwood You might want to explain what you have in mind when you call some complex numbers positive and some others negative.
              – Did
              May 22 '13 at 15:13














            up vote
            51
            down vote



            accepted










            The square root is not a well defined function on complex numbers. Because of the fundamental theorem of algebra, you will always have two different square roots for a given number. If you want to find out the possible values, the easiest way is probably to go with De Moivre's formula, that is, converting your number into the form $r(cos(theta) + i sin(theta))$, and then you will get $(r(cos(theta)+ i sin(theta)))^1/2 = ±sqrtr(cos(theta/2) + i sin(theta/2))$.






            share|cite|improve this answer


















            • 28




              The "two different square roots" issue applies to real numbers as well; it's just that in that case there's a consensus on which one is the "principal" square root.
              – Dan
              Jun 9 '11 at 23:49






            • 3




              @user1374 There is also a consensus about which square root of a complex number is the principal square root--at least for almost every complex number... See my answer.
              – Did
              Jun 10 '11 at 5:55






            • 9




              Oh, and I am afraid I must object to the assertion that going with De Moivre's formula would be the easiest way.
              – Did
              Jun 10 '11 at 6:35







            • 1




              @Did What's the rational basis for having positive square roots as the principal square roots instead of negative square roots?
              – Doug Spoonwood
              May 22 '13 at 13:47






            • 1




              @DougSpoonwood You might want to explain what you have in mind when you call some complex numbers positive and some others negative.
              – Did
              May 22 '13 at 15:13












            up vote
            51
            down vote



            accepted







            up vote
            51
            down vote



            accepted






            The square root is not a well defined function on complex numbers. Because of the fundamental theorem of algebra, you will always have two different square roots for a given number. If you want to find out the possible values, the easiest way is probably to go with De Moivre's formula, that is, converting your number into the form $r(cos(theta) + i sin(theta))$, and then you will get $(r(cos(theta)+ i sin(theta)))^1/2 = ±sqrtr(cos(theta/2) + i sin(theta/2))$.






            share|cite|improve this answer














            The square root is not a well defined function on complex numbers. Because of the fundamental theorem of algebra, you will always have two different square roots for a given number. If you want to find out the possible values, the easiest way is probably to go with De Moivre's formula, that is, converting your number into the form $r(cos(theta) + i sin(theta))$, and then you will get $(r(cos(theta)+ i sin(theta)))^1/2 = ±sqrtr(cos(theta/2) + i sin(theta/2))$.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Jun 9 '11 at 19:38









            ShreevatsaR

            33.9k566102




            33.9k566102










            answered Jun 9 '11 at 19:24









            Vhailor

            2,2581315




            2,2581315







            • 28




              The "two different square roots" issue applies to real numbers as well; it's just that in that case there's a consensus on which one is the "principal" square root.
              – Dan
              Jun 9 '11 at 23:49






            • 3




              @user1374 There is also a consensus about which square root of a complex number is the principal square root--at least for almost every complex number... See my answer.
              – Did
              Jun 10 '11 at 5:55






            • 9




              Oh, and I am afraid I must object to the assertion that going with De Moivre's formula would be the easiest way.
              – Did
              Jun 10 '11 at 6:35







            • 1




              @Did What's the rational basis for having positive square roots as the principal square roots instead of negative square roots?
              – Doug Spoonwood
              May 22 '13 at 13:47






            • 1




              @DougSpoonwood You might want to explain what you have in mind when you call some complex numbers positive and some others negative.
              – Did
              May 22 '13 at 15:13












            • 28




              The "two different square roots" issue applies to real numbers as well; it's just that in that case there's a consensus on which one is the "principal" square root.
              – Dan
              Jun 9 '11 at 23:49






            • 3




              @user1374 There is also a consensus about which square root of a complex number is the principal square root--at least for almost every complex number... See my answer.
              – Did
              Jun 10 '11 at 5:55






            • 9




              Oh, and I am afraid I must object to the assertion that going with De Moivre's formula would be the easiest way.
              – Did
              Jun 10 '11 at 6:35







            • 1




              @Did What's the rational basis for having positive square roots as the principal square roots instead of negative square roots?
              – Doug Spoonwood
              May 22 '13 at 13:47






            • 1




              @DougSpoonwood You might want to explain what you have in mind when you call some complex numbers positive and some others negative.
              – Did
              May 22 '13 at 15:13







            28




            28




            The "two different square roots" issue applies to real numbers as well; it's just that in that case there's a consensus on which one is the "principal" square root.
            – Dan
            Jun 9 '11 at 23:49




            The "two different square roots" issue applies to real numbers as well; it's just that in that case there's a consensus on which one is the "principal" square root.
            – Dan
            Jun 9 '11 at 23:49




            3




            3




            @user1374 There is also a consensus about which square root of a complex number is the principal square root--at least for almost every complex number... See my answer.
            – Did
            Jun 10 '11 at 5:55




            @user1374 There is also a consensus about which square root of a complex number is the principal square root--at least for almost every complex number... See my answer.
            – Did
            Jun 10 '11 at 5:55




            9




            9




            Oh, and I am afraid I must object to the assertion that going with De Moivre's formula would be the easiest way.
            – Did
            Jun 10 '11 at 6:35





            Oh, and I am afraid I must object to the assertion that going with De Moivre's formula would be the easiest way.
            – Did
            Jun 10 '11 at 6:35





            1




            1




            @Did What's the rational basis for having positive square roots as the principal square roots instead of negative square roots?
            – Doug Spoonwood
            May 22 '13 at 13:47




            @Did What's the rational basis for having positive square roots as the principal square roots instead of negative square roots?
            – Doug Spoonwood
            May 22 '13 at 13:47




            1




            1




            @DougSpoonwood You might want to explain what you have in mind when you call some complex numbers positive and some others negative.
            – Did
            May 22 '13 at 15:13




            @DougSpoonwood You might want to explain what you have in mind when you call some complex numbers positive and some others negative.
            – Did
            May 22 '13 at 15:13










            up vote
            115
            down vote













            This is a three parts post. The first part was written by user Did, it provides a formula and some brief comments on it. The second part was written by user Hans Lundmark, it provides a geometric way to understand the formula. The third part was written by user t.b., it provides some explanatory pictures and some brief comments on them.




            (Did) If one is able to compute the square root of every positive real number and the modulus of every complex number, a nice formula for the principal square root $sqrtz$ of $z$ is
            $$
            sqrtz=sqrtrfracz+rz+r,quad r=|z|.
            $$
            Try to prove it and you will see, it works...



            The principal square root is the one with a positive real part. The only case when the formula fails is when there is no principal square root, that is, when $z$ is a negative real number.



            No sine or cosine is involved, one does not even need to solve second degree polynomials, one just uses squares and square roots. For example, for $z=9+4mathrmi$,
            $$
            sqrtz=frac9+sqrt97+4mathrmisqrt2(9+sqrt97).
            $$




            (HL) There's a geometric way of understanding the formula in Did's answer. To find a square root of a given complex number $z$, you first want to find a complex number $w$ which has half the argument of $z$ (since squaring doubles the argument). Compute $r=|z|$ and let $w = z+r$; thus $w$ lies $r$ steps to the right of $z$ in the complex plane. Draw a picture of this, and it should be clear that the points $0$, $z$ and $w$ form an isosceles triangle, from which one sees that the line from $0$ to $w$ bisects the angle between the real axis and the line from $0$ to $z$. In other words, $w$ has half the argument of $z$, as desired. Now it only remains to multiply $w$ by some suitable real constant $c$ so that $|cw|^2 = |z|$; then we will have $(cw)^2=z$ and hence $cw$ is a square root of $z$. Obviously, $c=pmsqrtz/|w|$ will do the trick, so this method only fails when $w$ happens to be zero, i.e., if $z$ is a negative real number.




            (t.b.) Following a suggestion of Did, I take the liberty of adding two pictures I originally posted as a separate answer, but it seemed better to have them here:



            nicer configuration



            Here's the picture for $z = 9 + 4i$:



            configuration z = 9 + 4i



            Remark: The construction of the square roots is geometrically exact. That is to say, they were constructed using straightedge and compass only. I decided to hide the construction, as it seems rather obfuscating the intended illustration than adding to it. Nevertheless, I suggest taking a moment and thinking about how you would achieve the geometric construction.




            Added (t.b.)



            Here's the construction I used: Intersect the circle around $z/2$ through $z$ with the tangent to the unit circle orthogonal to $z$. Then $h^2 = (|z|-1)cdot 1$ and thus the red circle has radius $sqrtz$. It remains to intersect the red circle with the angular bisector of the $x$-axis and $z$ which I constructed using the process Hans described in his part of the post.



            square-root construction



            The pictures were created using GeoGebra.






            share|cite|improve this answer






















            • @Hans: Yes. This is a question where a picture would be useful (if only I knew how to draw pictures on MSE (and if I had more time on my hands)). Thanks.
              – Did
              Jun 10 '11 at 6:14






            • 1




              Hans: Following a suggestion of @Didier I added two pictures I originally posted as a separate answer. It seemed more reasonable to have them in one answer. I hope you don't mind.
              – t.b.
              Jun 10 '11 at 11:44










            • Since you can't see it on my deleted post, here's @Didier's original comment: "Theo and @Hans: What do you think about the idea of making one single post from our three complementary answers? (Re reputation, if that matters, either one of you may sign the resulting post, I really do not care.)" I refrain from adding Didier's answer in since it seems a bit too aggressive an edit to me, but I'd be strongly in favor of doing it.
              – t.b.
              Jun 10 '11 at 11:53







            • 1




              @Hans: very true. To reduce confusion, I deleted my comment :)
              – t.b.
              Jun 11 '11 at 14:49






            • 2




              @legends2k Right, the formula gets even simpler... Thanks for noticing this. Since you checked the formula, I cancelled the mention "unless I am mistaken".
              – Did
              Jan 6 '14 at 14:53















            up vote
            115
            down vote













            This is a three parts post. The first part was written by user Did, it provides a formula and some brief comments on it. The second part was written by user Hans Lundmark, it provides a geometric way to understand the formula. The third part was written by user t.b., it provides some explanatory pictures and some brief comments on them.




            (Did) If one is able to compute the square root of every positive real number and the modulus of every complex number, a nice formula for the principal square root $sqrtz$ of $z$ is
            $$
            sqrtz=sqrtrfracz+rz+r,quad r=|z|.
            $$
            Try to prove it and you will see, it works...



            The principal square root is the one with a positive real part. The only case when the formula fails is when there is no principal square root, that is, when $z$ is a negative real number.



            No sine or cosine is involved, one does not even need to solve second degree polynomials, one just uses squares and square roots. For example, for $z=9+4mathrmi$,
            $$
            sqrtz=frac9+sqrt97+4mathrmisqrt2(9+sqrt97).
            $$




            (HL) There's a geometric way of understanding the formula in Did's answer. To find a square root of a given complex number $z$, you first want to find a complex number $w$ which has half the argument of $z$ (since squaring doubles the argument). Compute $r=|z|$ and let $w = z+r$; thus $w$ lies $r$ steps to the right of $z$ in the complex plane. Draw a picture of this, and it should be clear that the points $0$, $z$ and $w$ form an isosceles triangle, from which one sees that the line from $0$ to $w$ bisects the angle between the real axis and the line from $0$ to $z$. In other words, $w$ has half the argument of $z$, as desired. Now it only remains to multiply $w$ by some suitable real constant $c$ so that $|cw|^2 = |z|$; then we will have $(cw)^2=z$ and hence $cw$ is a square root of $z$. Obviously, $c=pmsqrtz/|w|$ will do the trick, so this method only fails when $w$ happens to be zero, i.e., if $z$ is a negative real number.




            (t.b.) Following a suggestion of Did, I take the liberty of adding two pictures I originally posted as a separate answer, but it seemed better to have them here:



            nicer configuration



            Here's the picture for $z = 9 + 4i$:



            configuration z = 9 + 4i



            Remark: The construction of the square roots is geometrically exact. That is to say, they were constructed using straightedge and compass only. I decided to hide the construction, as it seems rather obfuscating the intended illustration than adding to it. Nevertheless, I suggest taking a moment and thinking about how you would achieve the geometric construction.




            Added (t.b.)



            Here's the construction I used: Intersect the circle around $z/2$ through $z$ with the tangent to the unit circle orthogonal to $z$. Then $h^2 = (|z|-1)cdot 1$ and thus the red circle has radius $sqrtz$. It remains to intersect the red circle with the angular bisector of the $x$-axis and $z$ which I constructed using the process Hans described in his part of the post.



            square-root construction



            The pictures were created using GeoGebra.






            share|cite|improve this answer






















            • @Hans: Yes. This is a question where a picture would be useful (if only I knew how to draw pictures on MSE (and if I had more time on my hands)). Thanks.
              – Did
              Jun 10 '11 at 6:14






            • 1




              Hans: Following a suggestion of @Didier I added two pictures I originally posted as a separate answer. It seemed more reasonable to have them in one answer. I hope you don't mind.
              – t.b.
              Jun 10 '11 at 11:44










            • Since you can't see it on my deleted post, here's @Didier's original comment: "Theo and @Hans: What do you think about the idea of making one single post from our three complementary answers? (Re reputation, if that matters, either one of you may sign the resulting post, I really do not care.)" I refrain from adding Didier's answer in since it seems a bit too aggressive an edit to me, but I'd be strongly in favor of doing it.
              – t.b.
              Jun 10 '11 at 11:53







            • 1




              @Hans: very true. To reduce confusion, I deleted my comment :)
              – t.b.
              Jun 11 '11 at 14:49






            • 2




              @legends2k Right, the formula gets even simpler... Thanks for noticing this. Since you checked the formula, I cancelled the mention "unless I am mistaken".
              – Did
              Jan 6 '14 at 14:53













            up vote
            115
            down vote










            up vote
            115
            down vote









            This is a three parts post. The first part was written by user Did, it provides a formula and some brief comments on it. The second part was written by user Hans Lundmark, it provides a geometric way to understand the formula. The third part was written by user t.b., it provides some explanatory pictures and some brief comments on them.




            (Did) If one is able to compute the square root of every positive real number and the modulus of every complex number, a nice formula for the principal square root $sqrtz$ of $z$ is
            $$
            sqrtz=sqrtrfracz+rz+r,quad r=|z|.
            $$
            Try to prove it and you will see, it works...



            The principal square root is the one with a positive real part. The only case when the formula fails is when there is no principal square root, that is, when $z$ is a negative real number.



            No sine or cosine is involved, one does not even need to solve second degree polynomials, one just uses squares and square roots. For example, for $z=9+4mathrmi$,
            $$
            sqrtz=frac9+sqrt97+4mathrmisqrt2(9+sqrt97).
            $$




            (HL) There's a geometric way of understanding the formula in Did's answer. To find a square root of a given complex number $z$, you first want to find a complex number $w$ which has half the argument of $z$ (since squaring doubles the argument). Compute $r=|z|$ and let $w = z+r$; thus $w$ lies $r$ steps to the right of $z$ in the complex plane. Draw a picture of this, and it should be clear that the points $0$, $z$ and $w$ form an isosceles triangle, from which one sees that the line from $0$ to $w$ bisects the angle between the real axis and the line from $0$ to $z$. In other words, $w$ has half the argument of $z$, as desired. Now it only remains to multiply $w$ by some suitable real constant $c$ so that $|cw|^2 = |z|$; then we will have $(cw)^2=z$ and hence $cw$ is a square root of $z$. Obviously, $c=pmsqrtz/|w|$ will do the trick, so this method only fails when $w$ happens to be zero, i.e., if $z$ is a negative real number.




            (t.b.) Following a suggestion of Did, I take the liberty of adding two pictures I originally posted as a separate answer, but it seemed better to have them here:



            nicer configuration



            Here's the picture for $z = 9 + 4i$:



            configuration z = 9 + 4i



            Remark: The construction of the square roots is geometrically exact. That is to say, they were constructed using straightedge and compass only. I decided to hide the construction, as it seems rather obfuscating the intended illustration than adding to it. Nevertheless, I suggest taking a moment and thinking about how you would achieve the geometric construction.




            Added (t.b.)



            Here's the construction I used: Intersect the circle around $z/2$ through $z$ with the tangent to the unit circle orthogonal to $z$. Then $h^2 = (|z|-1)cdot 1$ and thus the red circle has radius $sqrtz$. It remains to intersect the red circle with the angular bisector of the $x$-axis and $z$ which I constructed using the process Hans described in his part of the post.



            square-root construction



            The pictures were created using GeoGebra.






            share|cite|improve this answer














            This is a three parts post. The first part was written by user Did, it provides a formula and some brief comments on it. The second part was written by user Hans Lundmark, it provides a geometric way to understand the formula. The third part was written by user t.b., it provides some explanatory pictures and some brief comments on them.




            (Did) If one is able to compute the square root of every positive real number and the modulus of every complex number, a nice formula for the principal square root $sqrtz$ of $z$ is
            $$
            sqrtz=sqrtrfracz+rz+r,quad r=|z|.
            $$
            Try to prove it and you will see, it works...



            The principal square root is the one with a positive real part. The only case when the formula fails is when there is no principal square root, that is, when $z$ is a negative real number.



            No sine or cosine is involved, one does not even need to solve second degree polynomials, one just uses squares and square roots. For example, for $z=9+4mathrmi$,
            $$
            sqrtz=frac9+sqrt97+4mathrmisqrt2(9+sqrt97).
            $$




            (HL) There's a geometric way of understanding the formula in Did's answer. To find a square root of a given complex number $z$, you first want to find a complex number $w$ which has half the argument of $z$ (since squaring doubles the argument). Compute $r=|z|$ and let $w = z+r$; thus $w$ lies $r$ steps to the right of $z$ in the complex plane. Draw a picture of this, and it should be clear that the points $0$, $z$ and $w$ form an isosceles triangle, from which one sees that the line from $0$ to $w$ bisects the angle between the real axis and the line from $0$ to $z$. In other words, $w$ has half the argument of $z$, as desired. Now it only remains to multiply $w$ by some suitable real constant $c$ so that $|cw|^2 = |z|$; then we will have $(cw)^2=z$ and hence $cw$ is a square root of $z$. Obviously, $c=pmsqrtz/|w|$ will do the trick, so this method only fails when $w$ happens to be zero, i.e., if $z$ is a negative real number.




            (t.b.) Following a suggestion of Did, I take the liberty of adding two pictures I originally posted as a separate answer, but it seemed better to have them here:



            nicer configuration



            Here's the picture for $z = 9 + 4i$:



            configuration z = 9 + 4i



            Remark: The construction of the square roots is geometrically exact. That is to say, they were constructed using straightedge and compass only. I decided to hide the construction, as it seems rather obfuscating the intended illustration than adding to it. Nevertheless, I suggest taking a moment and thinking about how you would achieve the geometric construction.




            Added (t.b.)



            Here's the construction I used: Intersect the circle around $z/2$ through $z$ with the tangent to the unit circle orthogonal to $z$. Then $h^2 = (|z|-1)cdot 1$ and thus the red circle has radius $sqrtz$. It remains to intersect the red circle with the angular bisector of the $x$-axis and $z$ which I constructed using the process Hans described in his part of the post.



            square-root construction



            The pictures were created using GeoGebra.







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited May 3 at 14:05


























            community wiki





            9 revs, 4 users 50%
            Did












            • @Hans: Yes. This is a question where a picture would be useful (if only I knew how to draw pictures on MSE (and if I had more time on my hands)). Thanks.
              – Did
              Jun 10 '11 at 6:14






            • 1




              Hans: Following a suggestion of @Didier I added two pictures I originally posted as a separate answer. It seemed more reasonable to have them in one answer. I hope you don't mind.
              – t.b.
              Jun 10 '11 at 11:44










            • Since you can't see it on my deleted post, here's @Didier's original comment: "Theo and @Hans: What do you think about the idea of making one single post from our three complementary answers? (Re reputation, if that matters, either one of you may sign the resulting post, I really do not care.)" I refrain from adding Didier's answer in since it seems a bit too aggressive an edit to me, but I'd be strongly in favor of doing it.
              – t.b.
              Jun 10 '11 at 11:53







            • 1




              @Hans: very true. To reduce confusion, I deleted my comment :)
              – t.b.
              Jun 11 '11 at 14:49






            • 2




              @legends2k Right, the formula gets even simpler... Thanks for noticing this. Since you checked the formula, I cancelled the mention "unless I am mistaken".
              – Did
              Jan 6 '14 at 14:53

















            • @Hans: Yes. This is a question where a picture would be useful (if only I knew how to draw pictures on MSE (and if I had more time on my hands)). Thanks.
              – Did
              Jun 10 '11 at 6:14






            • 1




              Hans: Following a suggestion of @Didier I added two pictures I originally posted as a separate answer. It seemed more reasonable to have them in one answer. I hope you don't mind.
              – t.b.
              Jun 10 '11 at 11:44










            • Since you can't see it on my deleted post, here's @Didier's original comment: "Theo and @Hans: What do you think about the idea of making one single post from our three complementary answers? (Re reputation, if that matters, either one of you may sign the resulting post, I really do not care.)" I refrain from adding Didier's answer in since it seems a bit too aggressive an edit to me, but I'd be strongly in favor of doing it.
              – t.b.
              Jun 10 '11 at 11:53







            • 1




              @Hans: very true. To reduce confusion, I deleted my comment :)
              – t.b.
              Jun 11 '11 at 14:49






            • 2




              @legends2k Right, the formula gets even simpler... Thanks for noticing this. Since you checked the formula, I cancelled the mention "unless I am mistaken".
              – Did
              Jan 6 '14 at 14:53
















            @Hans: Yes. This is a question where a picture would be useful (if only I knew how to draw pictures on MSE (and if I had more time on my hands)). Thanks.
            – Did
            Jun 10 '11 at 6:14




            @Hans: Yes. This is a question where a picture would be useful (if only I knew how to draw pictures on MSE (and if I had more time on my hands)). Thanks.
            – Did
            Jun 10 '11 at 6:14




            1




            1




            Hans: Following a suggestion of @Didier I added two pictures I originally posted as a separate answer. It seemed more reasonable to have them in one answer. I hope you don't mind.
            – t.b.
            Jun 10 '11 at 11:44




            Hans: Following a suggestion of @Didier I added two pictures I originally posted as a separate answer. It seemed more reasonable to have them in one answer. I hope you don't mind.
            – t.b.
            Jun 10 '11 at 11:44












            Since you can't see it on my deleted post, here's @Didier's original comment: "Theo and @Hans: What do you think about the idea of making one single post from our three complementary answers? (Re reputation, if that matters, either one of you may sign the resulting post, I really do not care.)" I refrain from adding Didier's answer in since it seems a bit too aggressive an edit to me, but I'd be strongly in favor of doing it.
            – t.b.
            Jun 10 '11 at 11:53





            Since you can't see it on my deleted post, here's @Didier's original comment: "Theo and @Hans: What do you think about the idea of making one single post from our three complementary answers? (Re reputation, if that matters, either one of you may sign the resulting post, I really do not care.)" I refrain from adding Didier's answer in since it seems a bit too aggressive an edit to me, but I'd be strongly in favor of doing it.
            – t.b.
            Jun 10 '11 at 11:53





            1




            1




            @Hans: very true. To reduce confusion, I deleted my comment :)
            – t.b.
            Jun 11 '11 at 14:49




            @Hans: very true. To reduce confusion, I deleted my comment :)
            – t.b.
            Jun 11 '11 at 14:49




            2




            2




            @legends2k Right, the formula gets even simpler... Thanks for noticing this. Since you checked the formula, I cancelled the mention "unless I am mistaken".
            – Did
            Jan 6 '14 at 14:53





            @legends2k Right, the formula gets even simpler... Thanks for noticing this. Since you checked the formula, I cancelled the mention "unless I am mistaken".
            – Did
            Jan 6 '14 at 14:53











            up vote
            26
            down vote













            Here is a direct algebraic answer:



            Suppose that $z=c+di$, and we want to find $sqrtz=a+bi$ lying in the first two quadrants. So what are $a$ and $b$?



            Precisely we have:
            $$a=sqrtfracc+sqrtc^2+d^22$$ and
            $$b=fracddsqrtfrac-c+sqrtc^2+d^22.$$ (The factor of $fracdd$ is used so that $b$ has the same sign as $d$) To find this, we can use brute force and the quadratic formula. Squaring, we would need to solve $$a^2-b^2 +2abi=c+di.$$ This gives two equations and two unknowns (seperate into real and imaginary parts) which can then be solved by substitutions and the quadratic formula.



            Hope that helps,






            share|cite|improve this answer




















            • Better add and say that you want d/|d|=1 for d=0, right?
              – j4n bur53
              Mar 28 '17 at 11:49














            up vote
            26
            down vote













            Here is a direct algebraic answer:



            Suppose that $z=c+di$, and we want to find $sqrtz=a+bi$ lying in the first two quadrants. So what are $a$ and $b$?



            Precisely we have:
            $$a=sqrtfracc+sqrtc^2+d^22$$ and
            $$b=fracddsqrtfrac-c+sqrtc^2+d^22.$$ (The factor of $fracdd$ is used so that $b$ has the same sign as $d$) To find this, we can use brute force and the quadratic formula. Squaring, we would need to solve $$a^2-b^2 +2abi=c+di.$$ This gives two equations and two unknowns (seperate into real and imaginary parts) which can then be solved by substitutions and the quadratic formula.



            Hope that helps,






            share|cite|improve this answer




















            • Better add and say that you want d/|d|=1 for d=0, right?
              – j4n bur53
              Mar 28 '17 at 11:49












            up vote
            26
            down vote










            up vote
            26
            down vote









            Here is a direct algebraic answer:



            Suppose that $z=c+di$, and we want to find $sqrtz=a+bi$ lying in the first two quadrants. So what are $a$ and $b$?



            Precisely we have:
            $$a=sqrtfracc+sqrtc^2+d^22$$ and
            $$b=fracddsqrtfrac-c+sqrtc^2+d^22.$$ (The factor of $fracdd$ is used so that $b$ has the same sign as $d$) To find this, we can use brute force and the quadratic formula. Squaring, we would need to solve $$a^2-b^2 +2abi=c+di.$$ This gives two equations and two unknowns (seperate into real and imaginary parts) which can then be solved by substitutions and the quadratic formula.



            Hope that helps,






            share|cite|improve this answer












            Here is a direct algebraic answer:



            Suppose that $z=c+di$, and we want to find $sqrtz=a+bi$ lying in the first two quadrants. So what are $a$ and $b$?



            Precisely we have:
            $$a=sqrtfracc+sqrtc^2+d^22$$ and
            $$b=fracddsqrtfrac-c+sqrtc^2+d^22.$$ (The factor of $fracdd$ is used so that $b$ has the same sign as $d$) To find this, we can use brute force and the quadratic formula. Squaring, we would need to solve $$a^2-b^2 +2abi=c+di.$$ This gives two equations and two unknowns (seperate into real and imaginary parts) which can then be solved by substitutions and the quadratic formula.



            Hope that helps,







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jun 9 '11 at 19:35









            Eric Naslund

            59.4k10137239




            59.4k10137239











            • Better add and say that you want d/|d|=1 for d=0, right?
              – j4n bur53
              Mar 28 '17 at 11:49
















            • Better add and say that you want d/|d|=1 for d=0, right?
              – j4n bur53
              Mar 28 '17 at 11:49















            Better add and say that you want d/|d|=1 for d=0, right?
            – j4n bur53
            Mar 28 '17 at 11:49




            Better add and say that you want d/|d|=1 for d=0, right?
            – j4n bur53
            Mar 28 '17 at 11:49










            up vote
            13
            down vote













            You can also do following (technique often advised at school) :




            • Let's write $z² = 9 + 4i$ with $z = a + bi$. The goal is to find $z$



              Thus we have $(a + bi)² = 9 + 4i$ and if you expend we get $a²+ 2abi - b² = 9 + 4i$



              If you identify the real and imaginary parts, you obtain :



              $a²-b² = 9$ (1)



              and



              $2ab= 4$ (2)




            • Now, as $z² = 9 + 4i$, the modulus of $z²$ and $9 + 4i$ are equal so we can write :



              $a²+b² = sqrt9²+4²$



              $a²+b² = sqrt97$ (3)




            • Now find $a$ and $b$ with the the equations (1) , (2) and (3) :



              (1) + (3) $Leftrightarrow 2a² = 9+sqrt97 $



              so $a = sqrtfrac12(9+sqrt97) $ or $a = - sqrtfrac12(9+sqrt97) $



              With equation (2) and the previous result you can now find $b$ :



              $2ab= 4$



              $b= 2/a$



              so $b = 2sqrtfrac29+sqrt97 $ or $b = - 2sqrtfrac29+sqrt97 $



              The answer is : $z = sqrtfrac12(9+sqrt97) + 2isqrtfrac29+sqrt97 $ or $z = - sqrtfrac12(9+sqrt97) - 2isqrtfrac29+sqrt97 $







            share|cite|improve this answer




















            • Why is the modulus of z = a^2 + b^2 instead of sqr( a^4 + b^4 + 4*a^2*b^2 )?
              – Mirte
              Feb 14 '17 at 13:55










            • Shouldn't you get 4 roots for a=+- and b=+-. How did you eliminate two choices??
              – Harshit Joshi
              Aug 12 at 16:42














            up vote
            13
            down vote













            You can also do following (technique often advised at school) :




            • Let's write $z² = 9 + 4i$ with $z = a + bi$. The goal is to find $z$



              Thus we have $(a + bi)² = 9 + 4i$ and if you expend we get $a²+ 2abi - b² = 9 + 4i$



              If you identify the real and imaginary parts, you obtain :



              $a²-b² = 9$ (1)



              and



              $2ab= 4$ (2)




            • Now, as $z² = 9 + 4i$, the modulus of $z²$ and $9 + 4i$ are equal so we can write :



              $a²+b² = sqrt9²+4²$



              $a²+b² = sqrt97$ (3)




            • Now find $a$ and $b$ with the the equations (1) , (2) and (3) :



              (1) + (3) $Leftrightarrow 2a² = 9+sqrt97 $



              so $a = sqrtfrac12(9+sqrt97) $ or $a = - sqrtfrac12(9+sqrt97) $



              With equation (2) and the previous result you can now find $b$ :



              $2ab= 4$



              $b= 2/a$



              so $b = 2sqrtfrac29+sqrt97 $ or $b = - 2sqrtfrac29+sqrt97 $



              The answer is : $z = sqrtfrac12(9+sqrt97) + 2isqrtfrac29+sqrt97 $ or $z = - sqrtfrac12(9+sqrt97) - 2isqrtfrac29+sqrt97 $







            share|cite|improve this answer




















            • Why is the modulus of z = a^2 + b^2 instead of sqr( a^4 + b^4 + 4*a^2*b^2 )?
              – Mirte
              Feb 14 '17 at 13:55










            • Shouldn't you get 4 roots for a=+- and b=+-. How did you eliminate two choices??
              – Harshit Joshi
              Aug 12 at 16:42












            up vote
            13
            down vote










            up vote
            13
            down vote









            You can also do following (technique often advised at school) :




            • Let's write $z² = 9 + 4i$ with $z = a + bi$. The goal is to find $z$



              Thus we have $(a + bi)² = 9 + 4i$ and if you expend we get $a²+ 2abi - b² = 9 + 4i$



              If you identify the real and imaginary parts, you obtain :



              $a²-b² = 9$ (1)



              and



              $2ab= 4$ (2)




            • Now, as $z² = 9 + 4i$, the modulus of $z²$ and $9 + 4i$ are equal so we can write :



              $a²+b² = sqrt9²+4²$



              $a²+b² = sqrt97$ (3)




            • Now find $a$ and $b$ with the the equations (1) , (2) and (3) :



              (1) + (3) $Leftrightarrow 2a² = 9+sqrt97 $



              so $a = sqrtfrac12(9+sqrt97) $ or $a = - sqrtfrac12(9+sqrt97) $



              With equation (2) and the previous result you can now find $b$ :



              $2ab= 4$



              $b= 2/a$



              so $b = 2sqrtfrac29+sqrt97 $ or $b = - 2sqrtfrac29+sqrt97 $



              The answer is : $z = sqrtfrac12(9+sqrt97) + 2isqrtfrac29+sqrt97 $ or $z = - sqrtfrac12(9+sqrt97) - 2isqrtfrac29+sqrt97 $







            share|cite|improve this answer












            You can also do following (technique often advised at school) :




            • Let's write $z² = 9 + 4i$ with $z = a + bi$. The goal is to find $z$



              Thus we have $(a + bi)² = 9 + 4i$ and if you expend we get $a²+ 2abi - b² = 9 + 4i$



              If you identify the real and imaginary parts, you obtain :



              $a²-b² = 9$ (1)



              and



              $2ab= 4$ (2)




            • Now, as $z² = 9 + 4i$, the modulus of $z²$ and $9 + 4i$ are equal so we can write :



              $a²+b² = sqrt9²+4²$



              $a²+b² = sqrt97$ (3)




            • Now find $a$ and $b$ with the the equations (1) , (2) and (3) :



              (1) + (3) $Leftrightarrow 2a² = 9+sqrt97 $



              so $a = sqrtfrac12(9+sqrt97) $ or $a = - sqrtfrac12(9+sqrt97) $



              With equation (2) and the previous result you can now find $b$ :



              $2ab= 4$



              $b= 2/a$



              so $b = 2sqrtfrac29+sqrt97 $ or $b = - 2sqrtfrac29+sqrt97 $



              The answer is : $z = sqrtfrac12(9+sqrt97) + 2isqrtfrac29+sqrt97 $ or $z = - sqrtfrac12(9+sqrt97) - 2isqrtfrac29+sqrt97 $








            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Aug 17 '13 at 20:18









            Jecimi

            26527




            26527











            • Why is the modulus of z = a^2 + b^2 instead of sqr( a^4 + b^4 + 4*a^2*b^2 )?
              – Mirte
              Feb 14 '17 at 13:55










            • Shouldn't you get 4 roots for a=+- and b=+-. How did you eliminate two choices??
              – Harshit Joshi
              Aug 12 at 16:42
















            • Why is the modulus of z = a^2 + b^2 instead of sqr( a^4 + b^4 + 4*a^2*b^2 )?
              – Mirte
              Feb 14 '17 at 13:55










            • Shouldn't you get 4 roots for a=+- and b=+-. How did you eliminate two choices??
              – Harshit Joshi
              Aug 12 at 16:42















            Why is the modulus of z = a^2 + b^2 instead of sqr( a^4 + b^4 + 4*a^2*b^2 )?
            – Mirte
            Feb 14 '17 at 13:55




            Why is the modulus of z = a^2 + b^2 instead of sqr( a^4 + b^4 + 4*a^2*b^2 )?
            – Mirte
            Feb 14 '17 at 13:55












            Shouldn't you get 4 roots for a=+- and b=+-. How did you eliminate two choices??
            – Harshit Joshi
            Aug 12 at 16:42




            Shouldn't you get 4 roots for a=+- and b=+-. How did you eliminate two choices??
            – Harshit Joshi
            Aug 12 at 16:42










            up vote
            9
            down vote













            One way is to convert the complex number into polar form. For $z = re^itheta$, $z^2 = r^2 e^i(2theta)$. So to take the square root, you'll find $z^1/2 = pm sqrtr e^itheta/2$.



            Added: Just as with the nonnegative real numbers, there are two complex numbers whose square will be $z$. So there are two square roots (except when $z = 0$).






            share|cite|improve this answer


























              up vote
              9
              down vote













              One way is to convert the complex number into polar form. For $z = re^itheta$, $z^2 = r^2 e^i(2theta)$. So to take the square root, you'll find $z^1/2 = pm sqrtr e^itheta/2$.



              Added: Just as with the nonnegative real numbers, there are two complex numbers whose square will be $z$. So there are two square roots (except when $z = 0$).






              share|cite|improve this answer
























                up vote
                9
                down vote










                up vote
                9
                down vote









                One way is to convert the complex number into polar form. For $z = re^itheta$, $z^2 = r^2 e^i(2theta)$. So to take the square root, you'll find $z^1/2 = pm sqrtr e^itheta/2$.



                Added: Just as with the nonnegative real numbers, there are two complex numbers whose square will be $z$. So there are two square roots (except when $z = 0$).






                share|cite|improve this answer














                One way is to convert the complex number into polar form. For $z = re^itheta$, $z^2 = r^2 e^i(2theta)$. So to take the square root, you'll find $z^1/2 = pm sqrtr e^itheta/2$.



                Added: Just as with the nonnegative real numbers, there are two complex numbers whose square will be $z$. So there are two square roots (except when $z = 0$).







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Jun 9 '11 at 19:32

























                answered Jun 9 '11 at 19:22









                Michael Chen

                2,6112040




                2,6112040




















                    up vote
                    6
                    down vote













                    Claim 1. Suppose $bneq 0$. Then the two roots to the equation $x^2 = a +bi$ are: $$pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright).$$




                    Claim 2. Suppose $b>0$. Then:



                    (a) The two roots to the equation $x^2 = a +bi$ are $$x = pmfracsqrt22left(sqrtsqrta^2+b^2+a+textrmisqrtsqrta^2+b^2-aright). $$



                    (b) And the two roots to the equation $x^2 = a -bi$ are $$x=pmfracsqrt22left(sqrta+sqrta^2-b^2-textrmisqrta-sqrta^2-b^2right).$$




                    Proof of Claim 1. beginalignat*1
                    & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright)right]^2\
                    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmifracbbrightsqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
                    = & frac12left(2a+2mathrmifracbbrightsqrta^2+b^2-a^2right)=a+mathrmifracbbrightleft|bright|=a+mathrmib.
                    endalignat*




                    Proof of Claim 2. beginalignat*1
                    textbf(a) & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmisqrtsqrta^2+b^2-aright)right]^2\
                    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmisqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
                    = & frac12left(2a+2mathrmisqrta^2+b^2-a^2right)=a+mathrmisqrtb^2=a+mathrmib.
                    endalignat*



                    beginalignat*1
                    textbf(b) & left[pmfracsqrt22left(sqrta+sqrta^2-b^2-mathrmisqrta-sqrta^2-b^2right)right]^2\
                    = & frac12left[a+sqrta^2-b^2+a-sqrta^2+b^2-2mathrmisqrtleft(a+sqrta^2-b^2right)left(a-sqrta^2-b^2right)right]\
                    = & frac12left[2a-2mathrmisqrta^2-left(a^2-b^2right)right]=a-mathrmisqrtb^2=a-mathrmib.
                    endalignat*






                    share|cite|improve this answer


















                    • 1




                      Except when b < 0 the last line isn't true because sqrt(b^2) isn't equal to b. For b < 0 replace + i... by -i... Also typo in second to last line: r + a - (r + a) should be r + a - (r - a), where r = sqrt(a^2 + b^2).
                      – Wout
                      Jun 27 '16 at 15:11











                    • @Wout: Thanks for spotting that error! I've now corrected, hopefully it's now good.
                      – Kenny LJ
                      Jun 28 '16 at 8:49










                    • Better say b>=0, so that we have sqrt(-1)=i as a first solution.
                      – j4n bur53
                      Mar 28 '17 at 11:48














                    up vote
                    6
                    down vote













                    Claim 1. Suppose $bneq 0$. Then the two roots to the equation $x^2 = a +bi$ are: $$pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright).$$




                    Claim 2. Suppose $b>0$. Then:



                    (a) The two roots to the equation $x^2 = a +bi$ are $$x = pmfracsqrt22left(sqrtsqrta^2+b^2+a+textrmisqrtsqrta^2+b^2-aright). $$



                    (b) And the two roots to the equation $x^2 = a -bi$ are $$x=pmfracsqrt22left(sqrta+sqrta^2-b^2-textrmisqrta-sqrta^2-b^2right).$$




                    Proof of Claim 1. beginalignat*1
                    & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright)right]^2\
                    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmifracbbrightsqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
                    = & frac12left(2a+2mathrmifracbbrightsqrta^2+b^2-a^2right)=a+mathrmifracbbrightleft|bright|=a+mathrmib.
                    endalignat*




                    Proof of Claim 2. beginalignat*1
                    textbf(a) & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmisqrtsqrta^2+b^2-aright)right]^2\
                    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmisqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
                    = & frac12left(2a+2mathrmisqrta^2+b^2-a^2right)=a+mathrmisqrtb^2=a+mathrmib.
                    endalignat*



                    beginalignat*1
                    textbf(b) & left[pmfracsqrt22left(sqrta+sqrta^2-b^2-mathrmisqrta-sqrta^2-b^2right)right]^2\
                    = & frac12left[a+sqrta^2-b^2+a-sqrta^2+b^2-2mathrmisqrtleft(a+sqrta^2-b^2right)left(a-sqrta^2-b^2right)right]\
                    = & frac12left[2a-2mathrmisqrta^2-left(a^2-b^2right)right]=a-mathrmisqrtb^2=a-mathrmib.
                    endalignat*






                    share|cite|improve this answer


















                    • 1




                      Except when b < 0 the last line isn't true because sqrt(b^2) isn't equal to b. For b < 0 replace + i... by -i... Also typo in second to last line: r + a - (r + a) should be r + a - (r - a), where r = sqrt(a^2 + b^2).
                      – Wout
                      Jun 27 '16 at 15:11











                    • @Wout: Thanks for spotting that error! I've now corrected, hopefully it's now good.
                      – Kenny LJ
                      Jun 28 '16 at 8:49










                    • Better say b>=0, so that we have sqrt(-1)=i as a first solution.
                      – j4n bur53
                      Mar 28 '17 at 11:48












                    up vote
                    6
                    down vote










                    up vote
                    6
                    down vote









                    Claim 1. Suppose $bneq 0$. Then the two roots to the equation $x^2 = a +bi$ are: $$pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright).$$




                    Claim 2. Suppose $b>0$. Then:



                    (a) The two roots to the equation $x^2 = a +bi$ are $$x = pmfracsqrt22left(sqrtsqrta^2+b^2+a+textrmisqrtsqrta^2+b^2-aright). $$



                    (b) And the two roots to the equation $x^2 = a -bi$ are $$x=pmfracsqrt22left(sqrta+sqrta^2-b^2-textrmisqrta-sqrta^2-b^2right).$$




                    Proof of Claim 1. beginalignat*1
                    & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright)right]^2\
                    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmifracbbrightsqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
                    = & frac12left(2a+2mathrmifracbbrightsqrta^2+b^2-a^2right)=a+mathrmifracbbrightleft|bright|=a+mathrmib.
                    endalignat*




                    Proof of Claim 2. beginalignat*1
                    textbf(a) & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmisqrtsqrta^2+b^2-aright)right]^2\
                    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmisqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
                    = & frac12left(2a+2mathrmisqrta^2+b^2-a^2right)=a+mathrmisqrtb^2=a+mathrmib.
                    endalignat*



                    beginalignat*1
                    textbf(b) & left[pmfracsqrt22left(sqrta+sqrta^2-b^2-mathrmisqrta-sqrta^2-b^2right)right]^2\
                    = & frac12left[a+sqrta^2-b^2+a-sqrta^2+b^2-2mathrmisqrtleft(a+sqrta^2-b^2right)left(a-sqrta^2-b^2right)right]\
                    = & frac12left[2a-2mathrmisqrta^2-left(a^2-b^2right)right]=a-mathrmisqrtb^2=a-mathrmib.
                    endalignat*






                    share|cite|improve this answer














                    Claim 1. Suppose $bneq 0$. Then the two roots to the equation $x^2 = a +bi$ are: $$pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright).$$




                    Claim 2. Suppose $b>0$. Then:



                    (a) The two roots to the equation $x^2 = a +bi$ are $$x = pmfracsqrt22left(sqrtsqrta^2+b^2+a+textrmisqrtsqrta^2+b^2-aright). $$



                    (b) And the two roots to the equation $x^2 = a -bi$ are $$x=pmfracsqrt22left(sqrta+sqrta^2-b^2-textrmisqrta-sqrta^2-b^2right).$$




                    Proof of Claim 1. beginalignat*1
                    & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmifracbbrightsqrtsqrta^2+b^2-aright)right]^2\
                    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmifracbbrightsqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
                    = & frac12left(2a+2mathrmifracbbrightsqrta^2+b^2-a^2right)=a+mathrmifracbbrightleft|bright|=a+mathrmib.
                    endalignat*




                    Proof of Claim 2. beginalignat*1
                    textbf(a) & left[pmfracsqrt22left(sqrtsqrta^2+b^2+a+mathrmisqrtsqrta^2+b^2-aright)right]^2\
                    = & frac12left[sqrta^2+b^2+a-left(sqrta^2+b^2-aright)+2mathrmisqrtleft(sqrta^2+b^2+aright)left(sqrta^2+b^2-aright)right]\
                    = & frac12left(2a+2mathrmisqrta^2+b^2-a^2right)=a+mathrmisqrtb^2=a+mathrmib.
                    endalignat*



                    beginalignat*1
                    textbf(b) & left[pmfracsqrt22left(sqrta+sqrta^2-b^2-mathrmisqrta-sqrta^2-b^2right)right]^2\
                    = & frac12left[a+sqrta^2-b^2+a-sqrta^2+b^2-2mathrmisqrtleft(a+sqrta^2-b^2right)left(a-sqrta^2-b^2right)right]\
                    = & frac12left[2a-2mathrmisqrta^2-left(a^2-b^2right)right]=a-mathrmisqrtb^2=a-mathrmib.
                    endalignat*







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Aug 30 at 1:00

























                    answered Apr 26 '16 at 2:42









                    Kenny LJ

                    1,45611331




                    1,45611331







                    • 1




                      Except when b < 0 the last line isn't true because sqrt(b^2) isn't equal to b. For b < 0 replace + i... by -i... Also typo in second to last line: r + a - (r + a) should be r + a - (r - a), where r = sqrt(a^2 + b^2).
                      – Wout
                      Jun 27 '16 at 15:11











                    • @Wout: Thanks for spotting that error! I've now corrected, hopefully it's now good.
                      – Kenny LJ
                      Jun 28 '16 at 8:49










                    • Better say b>=0, so that we have sqrt(-1)=i as a first solution.
                      – j4n bur53
                      Mar 28 '17 at 11:48












                    • 1




                      Except when b < 0 the last line isn't true because sqrt(b^2) isn't equal to b. For b < 0 replace + i... by -i... Also typo in second to last line: r + a - (r + a) should be r + a - (r - a), where r = sqrt(a^2 + b^2).
                      – Wout
                      Jun 27 '16 at 15:11











                    • @Wout: Thanks for spotting that error! I've now corrected, hopefully it's now good.
                      – Kenny LJ
                      Jun 28 '16 at 8:49










                    • Better say b>=0, so that we have sqrt(-1)=i as a first solution.
                      – j4n bur53
                      Mar 28 '17 at 11:48







                    1




                    1




                    Except when b < 0 the last line isn't true because sqrt(b^2) isn't equal to b. For b < 0 replace + i... by -i... Also typo in second to last line: r + a - (r + a) should be r + a - (r - a), where r = sqrt(a^2 + b^2).
                    – Wout
                    Jun 27 '16 at 15:11





                    Except when b < 0 the last line isn't true because sqrt(b^2) isn't equal to b. For b < 0 replace + i... by -i... Also typo in second to last line: r + a - (r + a) should be r + a - (r - a), where r = sqrt(a^2 + b^2).
                    – Wout
                    Jun 27 '16 at 15:11













                    @Wout: Thanks for spotting that error! I've now corrected, hopefully it's now good.
                    – Kenny LJ
                    Jun 28 '16 at 8:49




                    @Wout: Thanks for spotting that error! I've now corrected, hopefully it's now good.
                    – Kenny LJ
                    Jun 28 '16 at 8:49












                    Better say b>=0, so that we have sqrt(-1)=i as a first solution.
                    – j4n bur53
                    Mar 28 '17 at 11:48




                    Better say b>=0, so that we have sqrt(-1)=i as a first solution.
                    – j4n bur53
                    Mar 28 '17 at 11:48










                    up vote
                    4
                    down vote













                    Here's a useful picture from Wikipedia (ref). This helps visualise some comments above about having two square roots of most complex numbers.



                    The horizontal plane is the original complex number $z$.



                    The vertical axis is the real part of the square root(s) of $z$. (Note how there are two solutions for most numbers, i.e. all except zero.)



                    The colour is the angle of a square root of $z$, where red is 0° i.e. the real axis, cyan is $pm$180° and so on.



                    The principal square root is the top half of the surface.



                    The see how the imaginary part behaves, rotate the surface 180° about the vertical axis. (Of course, the colours don't rotate, they stay where they are. More precisely, the magenta part will go to the bottom, and the green to the top, while the yellow and blue will stay as they are.)



                    Square root






                    share|cite|improve this answer


























                      up vote
                      4
                      down vote













                      Here's a useful picture from Wikipedia (ref). This helps visualise some comments above about having two square roots of most complex numbers.



                      The horizontal plane is the original complex number $z$.



                      The vertical axis is the real part of the square root(s) of $z$. (Note how there are two solutions for most numbers, i.e. all except zero.)



                      The colour is the angle of a square root of $z$, where red is 0° i.e. the real axis, cyan is $pm$180° and so on.



                      The principal square root is the top half of the surface.



                      The see how the imaginary part behaves, rotate the surface 180° about the vertical axis. (Of course, the colours don't rotate, they stay where they are. More precisely, the magenta part will go to the bottom, and the green to the top, while the yellow and blue will stay as they are.)



                      Square root






                      share|cite|improve this answer
























                        up vote
                        4
                        down vote










                        up vote
                        4
                        down vote









                        Here's a useful picture from Wikipedia (ref). This helps visualise some comments above about having two square roots of most complex numbers.



                        The horizontal plane is the original complex number $z$.



                        The vertical axis is the real part of the square root(s) of $z$. (Note how there are two solutions for most numbers, i.e. all except zero.)



                        The colour is the angle of a square root of $z$, where red is 0° i.e. the real axis, cyan is $pm$180° and so on.



                        The principal square root is the top half of the surface.



                        The see how the imaginary part behaves, rotate the surface 180° about the vertical axis. (Of course, the colours don't rotate, they stay where they are. More precisely, the magenta part will go to the bottom, and the green to the top, while the yellow and blue will stay as they are.)



                        Square root






                        share|cite|improve this answer














                        Here's a useful picture from Wikipedia (ref). This helps visualise some comments above about having two square roots of most complex numbers.



                        The horizontal plane is the original complex number $z$.



                        The vertical axis is the real part of the square root(s) of $z$. (Note how there are two solutions for most numbers, i.e. all except zero.)



                        The colour is the angle of a square root of $z$, where red is 0° i.e. the real axis, cyan is $pm$180° and so on.



                        The principal square root is the top half of the surface.



                        The see how the imaginary part behaves, rotate the surface 180° about the vertical axis. (Of course, the colours don't rotate, they stay where they are. More precisely, the magenta part will go to the bottom, and the green to the top, while the yellow and blue will stay as they are.)



                        Square root







                        share|cite|improve this answer














                        share|cite|improve this answer



                        share|cite|improve this answer








                        edited Oct 22 '14 at 3:49

























                        answered Oct 22 '14 at 3:17









                        Evgeni Sergeev

                        32528




                        32528




















                            up vote
                            4
                            down vote













                            SQUARE ROOT OF A BINOMIC COMPLEX NUMBER



                            The number $sqrta+bi$ is a complex (or complex) $x+yi$ such that: $a+bi=(x+yi)^2$



                            So: $a+bi=(x^2-y^2)+2xyirightarrow left.
                            x^2-y^2=a atop
                            2xy=b
                            right}$ Solving this system, and taking into account, to solve the bi-square equation, that $sqrta^2+b^2geq a$:
                            $$left.
                            y=dfracb2x atop
                            4x^4-4ax^2-b^2=0
                            right}rightarrow left.
                            x^2-y^2=a atop
                            x^2=dfraca+sqrta^2+b^22
                            right}rightarrow left.
                            x^2=dfraca+sqrta^2+b^22 atop
                            y^2=dfrac-a+sqrta^2+b^22
                            right}$$
                            Now, the equation $2xy=b$ tells us that the product $xy$ has the same sign as $b$. Therefore, if $b>0$, $x$ and $y$ have the same signs, and if $b<0$, they have different signs.
                            $$bgeq 0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22+isqrtdfrac-a+sqrta^2+b^22right)$$
                            $$b<0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22-isqrtdfrac-a+sqrta^2+b^22right)$$
                            In practice, these formulas are not used, but the process is followed.



                            Also, it is highly recommended to pass it to polar.






                            share|cite|improve this answer
























                              up vote
                              4
                              down vote













                              SQUARE ROOT OF A BINOMIC COMPLEX NUMBER



                              The number $sqrta+bi$ is a complex (or complex) $x+yi$ such that: $a+bi=(x+yi)^2$



                              So: $a+bi=(x^2-y^2)+2xyirightarrow left.
                              x^2-y^2=a atop
                              2xy=b
                              right}$ Solving this system, and taking into account, to solve the bi-square equation, that $sqrta^2+b^2geq a$:
                              $$left.
                              y=dfracb2x atop
                              4x^4-4ax^2-b^2=0
                              right}rightarrow left.
                              x^2-y^2=a atop
                              x^2=dfraca+sqrta^2+b^22
                              right}rightarrow left.
                              x^2=dfraca+sqrta^2+b^22 atop
                              y^2=dfrac-a+sqrta^2+b^22
                              right}$$
                              Now, the equation $2xy=b$ tells us that the product $xy$ has the same sign as $b$. Therefore, if $b>0$, $x$ and $y$ have the same signs, and if $b<0$, they have different signs.
                              $$bgeq 0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22+isqrtdfrac-a+sqrta^2+b^22right)$$
                              $$b<0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22-isqrtdfrac-a+sqrta^2+b^22right)$$
                              In practice, these formulas are not used, but the process is followed.



                              Also, it is highly recommended to pass it to polar.






                              share|cite|improve this answer






















                                up vote
                                4
                                down vote










                                up vote
                                4
                                down vote









                                SQUARE ROOT OF A BINOMIC COMPLEX NUMBER



                                The number $sqrta+bi$ is a complex (or complex) $x+yi$ such that: $a+bi=(x+yi)^2$



                                So: $a+bi=(x^2-y^2)+2xyirightarrow left.
                                x^2-y^2=a atop
                                2xy=b
                                right}$ Solving this system, and taking into account, to solve the bi-square equation, that $sqrta^2+b^2geq a$:
                                $$left.
                                y=dfracb2x atop
                                4x^4-4ax^2-b^2=0
                                right}rightarrow left.
                                x^2-y^2=a atop
                                x^2=dfraca+sqrta^2+b^22
                                right}rightarrow left.
                                x^2=dfraca+sqrta^2+b^22 atop
                                y^2=dfrac-a+sqrta^2+b^22
                                right}$$
                                Now, the equation $2xy=b$ tells us that the product $xy$ has the same sign as $b$. Therefore, if $b>0$, $x$ and $y$ have the same signs, and if $b<0$, they have different signs.
                                $$bgeq 0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22+isqrtdfrac-a+sqrta^2+b^22right)$$
                                $$b<0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22-isqrtdfrac-a+sqrta^2+b^22right)$$
                                In practice, these formulas are not used, but the process is followed.



                                Also, it is highly recommended to pass it to polar.






                                share|cite|improve this answer












                                SQUARE ROOT OF A BINOMIC COMPLEX NUMBER



                                The number $sqrta+bi$ is a complex (or complex) $x+yi$ such that: $a+bi=(x+yi)^2$



                                So: $a+bi=(x^2-y^2)+2xyirightarrow left.
                                x^2-y^2=a atop
                                2xy=b
                                right}$ Solving this system, and taking into account, to solve the bi-square equation, that $sqrta^2+b^2geq a$:
                                $$left.
                                y=dfracb2x atop
                                4x^4-4ax^2-b^2=0
                                right}rightarrow left.
                                x^2-y^2=a atop
                                x^2=dfraca+sqrta^2+b^22
                                right}rightarrow left.
                                x^2=dfraca+sqrta^2+b^22 atop
                                y^2=dfrac-a+sqrta^2+b^22
                                right}$$
                                Now, the equation $2xy=b$ tells us that the product $xy$ has the same sign as $b$. Therefore, if $b>0$, $x$ and $y$ have the same signs, and if $b<0$, they have different signs.
                                $$bgeq 0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22+isqrtdfrac-a+sqrta^2+b^22right)$$
                                $$b<0rightarrow sqrta+bi=pm left( sqrtdfraca+sqrta^2+b^22-isqrtdfrac-a+sqrta^2+b^22right)$$
                                In practice, these formulas are not used, but the process is followed.



                                Also, it is highly recommended to pass it to polar.







                                share|cite|improve this answer












                                share|cite|improve this answer



                                share|cite|improve this answer










                                answered Apr 15 '17 at 18:24









                                Guillemus Callelus

                                763412




                                763412




















                                    up vote
                                    3
                                    down vote













                                    $x^2 - y^2 +2ixy$ = write the complex no.



                                    $x^2 - y^2$ = write the real value---------(1)



                                    $2xy$ = write the imaginary value------(2)



                                    from equation (1) and (2)



                                    $x^2 + y^2 = sqrt(x^2 - y^2)^2 + 4x^2y^2$



                                    you will get $x^2 + y^2 = ?$ -------(3)



                                    from equation (1) and (3)



                                    you will get the value of $x$ and $y$






                                    share|cite|improve this answer


























                                      up vote
                                      3
                                      down vote













                                      $x^2 - y^2 +2ixy$ = write the complex no.



                                      $x^2 - y^2$ = write the real value---------(1)



                                      $2xy$ = write the imaginary value------(2)



                                      from equation (1) and (2)



                                      $x^2 + y^2 = sqrt(x^2 - y^2)^2 + 4x^2y^2$



                                      you will get $x^2 + y^2 = ?$ -------(3)



                                      from equation (1) and (3)



                                      you will get the value of $x$ and $y$






                                      share|cite|improve this answer
























                                        up vote
                                        3
                                        down vote










                                        up vote
                                        3
                                        down vote









                                        $x^2 - y^2 +2ixy$ = write the complex no.



                                        $x^2 - y^2$ = write the real value---------(1)



                                        $2xy$ = write the imaginary value------(2)



                                        from equation (1) and (2)



                                        $x^2 + y^2 = sqrt(x^2 - y^2)^2 + 4x^2y^2$



                                        you will get $x^2 + y^2 = ?$ -------(3)



                                        from equation (1) and (3)



                                        you will get the value of $x$ and $y$






                                        share|cite|improve this answer














                                        $x^2 - y^2 +2ixy$ = write the complex no.



                                        $x^2 - y^2$ = write the real value---------(1)



                                        $2xy$ = write the imaginary value------(2)



                                        from equation (1) and (2)



                                        $x^2 + y^2 = sqrt(x^2 - y^2)^2 + 4x^2y^2$



                                        you will get $x^2 + y^2 = ?$ -------(3)



                                        from equation (1) and (3)



                                        you will get the value of $x$ and $y$







                                        share|cite|improve this answer














                                        share|cite|improve this answer



                                        share|cite|improve this answer








                                        edited Sep 11 '14 at 17:34









                                        jaynp

                                        6012924




                                        6012924










                                        answered Jun 22 '14 at 1:11









                                        Akanksha Mishra

                                        311




                                        311




















                                            up vote
                                            1
                                            down vote













                                            ok, Would someone please tell me if I'm wrong about this.



                                            We want $pmsqrta+bi.$ $($This kind of square root is not well-defined without the $text“pmtext''.)$



                                            If $a+bi = r(costheta+isintheta)$ then $displaystyletanfractheta2 = fracsintheta1+costheta = frac b sqrta^2+b^2+a,$ so
                                            $$
                                            sinfractheta2 = frac btextsomething text and cosfractheta 2 = fracsqrtb^2+a^2+atextsomething
                                            $$
                                            where $text“something''$ makes $sin^2+cos^2=1,$ so the efficient way to think about this is the tangent half-angle formula. Or is there a more efficient way?






                                            share|cite|improve this answer
























                                              up vote
                                              1
                                              down vote













                                              ok, Would someone please tell me if I'm wrong about this.



                                              We want $pmsqrta+bi.$ $($This kind of square root is not well-defined without the $text“pmtext''.)$



                                              If $a+bi = r(costheta+isintheta)$ then $displaystyletanfractheta2 = fracsintheta1+costheta = frac b sqrta^2+b^2+a,$ so
                                              $$
                                              sinfractheta2 = frac btextsomething text and cosfractheta 2 = fracsqrtb^2+a^2+atextsomething
                                              $$
                                              where $text“something''$ makes $sin^2+cos^2=1,$ so the efficient way to think about this is the tangent half-angle formula. Or is there a more efficient way?






                                              share|cite|improve this answer






















                                                up vote
                                                1
                                                down vote










                                                up vote
                                                1
                                                down vote









                                                ok, Would someone please tell me if I'm wrong about this.



                                                We want $pmsqrta+bi.$ $($This kind of square root is not well-defined without the $text“pmtext''.)$



                                                If $a+bi = r(costheta+isintheta)$ then $displaystyletanfractheta2 = fracsintheta1+costheta = frac b sqrta^2+b^2+a,$ so
                                                $$
                                                sinfractheta2 = frac btextsomething text and cosfractheta 2 = fracsqrtb^2+a^2+atextsomething
                                                $$
                                                where $text“something''$ makes $sin^2+cos^2=1,$ so the efficient way to think about this is the tangent half-angle formula. Or is there a more efficient way?






                                                share|cite|improve this answer












                                                ok, Would someone please tell me if I'm wrong about this.



                                                We want $pmsqrta+bi.$ $($This kind of square root is not well-defined without the $text“pmtext''.)$



                                                If $a+bi = r(costheta+isintheta)$ then $displaystyletanfractheta2 = fracsintheta1+costheta = frac b sqrta^2+b^2+a,$ so
                                                $$
                                                sinfractheta2 = frac btextsomething text and cosfractheta 2 = fracsqrtb^2+a^2+atextsomething
                                                $$
                                                where $text“something''$ makes $sin^2+cos^2=1,$ so the efficient way to think about this is the tangent half-angle formula. Or is there a more efficient way?







                                                share|cite|improve this answer












                                                share|cite|improve this answer



                                                share|cite|improve this answer










                                                answered Mar 31 '17 at 21:38









                                                Michael Hardy

                                                205k23187466




                                                205k23187466



























                                                     

                                                    draft saved


                                                    draft discarded















































                                                     


                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function ()
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f44406%2fhow-do-i-get-the-square-root-of-a-complex-number%23new-answer', 'question_page');

                                                    );

                                                    Post as a guest













































































                                                    這個網誌中的熱門文章

                                                    How to combine Bézier curves to a surface?

                                                    Mutual Information Always Non-negative

                                                    Why am i infinitely getting the same tweet with the Twitter Search API?