Help on solving quadratic equations with complex coefficients












2














Please help me out here, I'm self-studying Complex Numbers and I've gotten to a point where I'm kinda stuck.



Given a general quadratic equation $az^2 + bz + c = 0$ with $a not= 0$.



Using the same algebraic manipulation as in the case of real coefficients, we obtain
$$aleft[left(z + frac{b} {2a}right)^2 - frac{Delta} {4a^2}right] = 0$$



This is equivalent to
$$left(z + frac{b} {2a}right)^2 = frac {Delta} {4a^2}quadtext{or}quad left({2az + b}right)^2 = Delta$$
where $Delta = b^2 - 4ac$ is called the discriminant of the quadratic equation, setting $y= 2az + b$, the expression is reduced to
$$y^2 = Delta = u + vi$$
where $u$ and $v$ are real numbers.



What I don't understand now is how the author obtained
$$y_{1,2} = pm left(sqrt { frac {r + u} {2} } + operatorname{sgn} (v)sqrt{ frac{r - u} {2} },iright)$$
where $r = |Delta|$ and $operatorname{sgn}(v)$ is the sign of the real number $v$.










share|cite|improve this question





























    2














    Please help me out here, I'm self-studying Complex Numbers and I've gotten to a point where I'm kinda stuck.



    Given a general quadratic equation $az^2 + bz + c = 0$ with $a not= 0$.



    Using the same algebraic manipulation as in the case of real coefficients, we obtain
    $$aleft[left(z + frac{b} {2a}right)^2 - frac{Delta} {4a^2}right] = 0$$



    This is equivalent to
    $$left(z + frac{b} {2a}right)^2 = frac {Delta} {4a^2}quadtext{or}quad left({2az + b}right)^2 = Delta$$
    where $Delta = b^2 - 4ac$ is called the discriminant of the quadratic equation, setting $y= 2az + b$, the expression is reduced to
    $$y^2 = Delta = u + vi$$
    where $u$ and $v$ are real numbers.



    What I don't understand now is how the author obtained
    $$y_{1,2} = pm left(sqrt { frac {r + u} {2} } + operatorname{sgn} (v)sqrt{ frac{r - u} {2} },iright)$$
    where $r = |Delta|$ and $operatorname{sgn}(v)$ is the sign of the real number $v$.










    share|cite|improve this question



























      2












      2








      2







      Please help me out here, I'm self-studying Complex Numbers and I've gotten to a point where I'm kinda stuck.



      Given a general quadratic equation $az^2 + bz + c = 0$ with $a not= 0$.



      Using the same algebraic manipulation as in the case of real coefficients, we obtain
      $$aleft[left(z + frac{b} {2a}right)^2 - frac{Delta} {4a^2}right] = 0$$



      This is equivalent to
      $$left(z + frac{b} {2a}right)^2 = frac {Delta} {4a^2}quadtext{or}quad left({2az + b}right)^2 = Delta$$
      where $Delta = b^2 - 4ac$ is called the discriminant of the quadratic equation, setting $y= 2az + b$, the expression is reduced to
      $$y^2 = Delta = u + vi$$
      where $u$ and $v$ are real numbers.



      What I don't understand now is how the author obtained
      $$y_{1,2} = pm left(sqrt { frac {r + u} {2} } + operatorname{sgn} (v)sqrt{ frac{r - u} {2} },iright)$$
      where $r = |Delta|$ and $operatorname{sgn}(v)$ is the sign of the real number $v$.










      share|cite|improve this question















      Please help me out here, I'm self-studying Complex Numbers and I've gotten to a point where I'm kinda stuck.



      Given a general quadratic equation $az^2 + bz + c = 0$ with $a not= 0$.



      Using the same algebraic manipulation as in the case of real coefficients, we obtain
      $$aleft[left(z + frac{b} {2a}right)^2 - frac{Delta} {4a^2}right] = 0$$



      This is equivalent to
      $$left(z + frac{b} {2a}right)^2 = frac {Delta} {4a^2}quadtext{or}quad left({2az + b}right)^2 = Delta$$
      where $Delta = b^2 - 4ac$ is called the discriminant of the quadratic equation, setting $y= 2az + b$, the expression is reduced to
      $$y^2 = Delta = u + vi$$
      where $u$ and $v$ are real numbers.



      What I don't understand now is how the author obtained
      $$y_{1,2} = pm left(sqrt { frac {r + u} {2} } + operatorname{sgn} (v)sqrt{ frac{r - u} {2} },iright)$$
      where $r = |Delta|$ and $operatorname{sgn}(v)$ is the sign of the real number $v$.







      complex-numbers






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jun 26 '17 at 9:38









      Robert Z

      93.2k1061132




      93.2k1061132










      asked Jun 26 '17 at 9:07









      Icosahedron

      331114




      331114






















          2 Answers
          2






          active

          oldest

          votes


















          2














          Note that if $y=s+it$ and $y^2=u+iv$ then, by considering separately the real and imaginary parts, we obtain
          $$s^2-t^2=u,quad 2st=v.$$
          Now we solve this system with respect to $s$ and $t$.
          From the second $t=v/(2s)$ and plugging it in the first we get
          $$s^2-frac{v^2}{4s^2}=u Leftrightarrow 4s^4-4us^2-v^2=0$$
          and we obtain
          $$s^2=frac{u+sqrt{u^2+v^2}}{2}=frac{|Delta|+u}{2}$$
          Note that we dropped the part with the minus sign because $s^2geq 0$.
          Finally
          $$t^2=frac{v^2}{4s^2}=frac{v^2}{2(|Delta|+u)}=frac{v^2(|Delta|-u)}{2(|Delta|^2-u^2)}=frac{|Delta|-u}{2}.$$
          The we take the square roots keeping in mind that $mbox{sgn}(scdot t)=mbox{sgn}(v).$






          share|cite|improve this answer























          • I understand your solution and thanks for the response but what I don't understand is this. If $y = s + it$ and $y^2 = u + iv$ then $s^2 - t^2 = u$ and $2st = v$ how did you arrive at this system? Please do explain your steps.
            – Icosahedron
            Jun 26 '17 at 10:03












          • Thanks your your response @Robert
            – Icosahedron
            Jun 26 '17 at 10:08










          • @Icosahedron You are welcome. BTW if you are new here please take a few minutes for a tour math.stackexchange.com/tour
            – Robert Z
            Jun 26 '17 at 10:11










          • Oops, never mind. I finally figured it out. You equated the real and imaginary part. THANKS a bunch.
            – Icosahedron
            Jun 26 '17 at 10:11



















          0














          Discriminant $Delta = b^2 - 4ac = alpha + ibeta$



          We need to find the square root of $Delta$
          $sqrt{alpha + ibeta} = p + iq$
          $implies alpha + ibeta = p^2 - q^2 + 2ipq$
          $implies p^2 - q^2 = alpha$ and $ 2pq = beta$
          $implies p^2 + q^2 = sqrt{alpha^2 + beta^2}$
          $implies p = sqrt{dfrac{alpha + |Delta|}{2}}$ and $ q = sqrt{dfrac{|Delta| - alpha}{2}}$



          $implies sqrt{Delta} = sqrt{dfrac{alpha + |Delta|}{2}} + dfrac{beta}{|beta|} sqrt{dfrac{|Delta| - alpha}{2}}i$



          Now you can use the quadratic formula.






          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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            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%2f2336559%2fhelp-on-solving-quadratic-equations-with-complex-coefficients%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            Note that if $y=s+it$ and $y^2=u+iv$ then, by considering separately the real and imaginary parts, we obtain
            $$s^2-t^2=u,quad 2st=v.$$
            Now we solve this system with respect to $s$ and $t$.
            From the second $t=v/(2s)$ and plugging it in the first we get
            $$s^2-frac{v^2}{4s^2}=u Leftrightarrow 4s^4-4us^2-v^2=0$$
            and we obtain
            $$s^2=frac{u+sqrt{u^2+v^2}}{2}=frac{|Delta|+u}{2}$$
            Note that we dropped the part with the minus sign because $s^2geq 0$.
            Finally
            $$t^2=frac{v^2}{4s^2}=frac{v^2}{2(|Delta|+u)}=frac{v^2(|Delta|-u)}{2(|Delta|^2-u^2)}=frac{|Delta|-u}{2}.$$
            The we take the square roots keeping in mind that $mbox{sgn}(scdot t)=mbox{sgn}(v).$






            share|cite|improve this answer























            • I understand your solution and thanks for the response but what I don't understand is this. If $y = s + it$ and $y^2 = u + iv$ then $s^2 - t^2 = u$ and $2st = v$ how did you arrive at this system? Please do explain your steps.
              – Icosahedron
              Jun 26 '17 at 10:03












            • Thanks your your response @Robert
              – Icosahedron
              Jun 26 '17 at 10:08










            • @Icosahedron You are welcome. BTW if you are new here please take a few minutes for a tour math.stackexchange.com/tour
              – Robert Z
              Jun 26 '17 at 10:11










            • Oops, never mind. I finally figured it out. You equated the real and imaginary part. THANKS a bunch.
              – Icosahedron
              Jun 26 '17 at 10:11
















            2














            Note that if $y=s+it$ and $y^2=u+iv$ then, by considering separately the real and imaginary parts, we obtain
            $$s^2-t^2=u,quad 2st=v.$$
            Now we solve this system with respect to $s$ and $t$.
            From the second $t=v/(2s)$ and plugging it in the first we get
            $$s^2-frac{v^2}{4s^2}=u Leftrightarrow 4s^4-4us^2-v^2=0$$
            and we obtain
            $$s^2=frac{u+sqrt{u^2+v^2}}{2}=frac{|Delta|+u}{2}$$
            Note that we dropped the part with the minus sign because $s^2geq 0$.
            Finally
            $$t^2=frac{v^2}{4s^2}=frac{v^2}{2(|Delta|+u)}=frac{v^2(|Delta|-u)}{2(|Delta|^2-u^2)}=frac{|Delta|-u}{2}.$$
            The we take the square roots keeping in mind that $mbox{sgn}(scdot t)=mbox{sgn}(v).$






            share|cite|improve this answer























            • I understand your solution and thanks for the response but what I don't understand is this. If $y = s + it$ and $y^2 = u + iv$ then $s^2 - t^2 = u$ and $2st = v$ how did you arrive at this system? Please do explain your steps.
              – Icosahedron
              Jun 26 '17 at 10:03












            • Thanks your your response @Robert
              – Icosahedron
              Jun 26 '17 at 10:08










            • @Icosahedron You are welcome. BTW if you are new here please take a few minutes for a tour math.stackexchange.com/tour
              – Robert Z
              Jun 26 '17 at 10:11










            • Oops, never mind. I finally figured it out. You equated the real and imaginary part. THANKS a bunch.
              – Icosahedron
              Jun 26 '17 at 10:11














            2












            2








            2






            Note that if $y=s+it$ and $y^2=u+iv$ then, by considering separately the real and imaginary parts, we obtain
            $$s^2-t^2=u,quad 2st=v.$$
            Now we solve this system with respect to $s$ and $t$.
            From the second $t=v/(2s)$ and plugging it in the first we get
            $$s^2-frac{v^2}{4s^2}=u Leftrightarrow 4s^4-4us^2-v^2=0$$
            and we obtain
            $$s^2=frac{u+sqrt{u^2+v^2}}{2}=frac{|Delta|+u}{2}$$
            Note that we dropped the part with the minus sign because $s^2geq 0$.
            Finally
            $$t^2=frac{v^2}{4s^2}=frac{v^2}{2(|Delta|+u)}=frac{v^2(|Delta|-u)}{2(|Delta|^2-u^2)}=frac{|Delta|-u}{2}.$$
            The we take the square roots keeping in mind that $mbox{sgn}(scdot t)=mbox{sgn}(v).$






            share|cite|improve this answer














            Note that if $y=s+it$ and $y^2=u+iv$ then, by considering separately the real and imaginary parts, we obtain
            $$s^2-t^2=u,quad 2st=v.$$
            Now we solve this system with respect to $s$ and $t$.
            From the second $t=v/(2s)$ and plugging it in the first we get
            $$s^2-frac{v^2}{4s^2}=u Leftrightarrow 4s^4-4us^2-v^2=0$$
            and we obtain
            $$s^2=frac{u+sqrt{u^2+v^2}}{2}=frac{|Delta|+u}{2}$$
            Note that we dropped the part with the minus sign because $s^2geq 0$.
            Finally
            $$t^2=frac{v^2}{4s^2}=frac{v^2}{2(|Delta|+u)}=frac{v^2(|Delta|-u)}{2(|Delta|^2-u^2)}=frac{|Delta|-u}{2}.$$
            The we take the square roots keeping in mind that $mbox{sgn}(scdot t)=mbox{sgn}(v).$







            share|cite|improve this answer














            share|cite|improve this answer



            share|cite|improve this answer








            edited Jun 26 '17 at 10:14

























            answered Jun 26 '17 at 9:18









            Robert Z

            93.2k1061132




            93.2k1061132












            • I understand your solution and thanks for the response but what I don't understand is this. If $y = s + it$ and $y^2 = u + iv$ then $s^2 - t^2 = u$ and $2st = v$ how did you arrive at this system? Please do explain your steps.
              – Icosahedron
              Jun 26 '17 at 10:03












            • Thanks your your response @Robert
              – Icosahedron
              Jun 26 '17 at 10:08










            • @Icosahedron You are welcome. BTW if you are new here please take a few minutes for a tour math.stackexchange.com/tour
              – Robert Z
              Jun 26 '17 at 10:11










            • Oops, never mind. I finally figured it out. You equated the real and imaginary part. THANKS a bunch.
              – Icosahedron
              Jun 26 '17 at 10:11


















            • I understand your solution and thanks for the response but what I don't understand is this. If $y = s + it$ and $y^2 = u + iv$ then $s^2 - t^2 = u$ and $2st = v$ how did you arrive at this system? Please do explain your steps.
              – Icosahedron
              Jun 26 '17 at 10:03












            • Thanks your your response @Robert
              – Icosahedron
              Jun 26 '17 at 10:08










            • @Icosahedron You are welcome. BTW if you are new here please take a few minutes for a tour math.stackexchange.com/tour
              – Robert Z
              Jun 26 '17 at 10:11










            • Oops, never mind. I finally figured it out. You equated the real and imaginary part. THANKS a bunch.
              – Icosahedron
              Jun 26 '17 at 10:11
















            I understand your solution and thanks for the response but what I don't understand is this. If $y = s + it$ and $y^2 = u + iv$ then $s^2 - t^2 = u$ and $2st = v$ how did you arrive at this system? Please do explain your steps.
            – Icosahedron
            Jun 26 '17 at 10:03






            I understand your solution and thanks for the response but what I don't understand is this. If $y = s + it$ and $y^2 = u + iv$ then $s^2 - t^2 = u$ and $2st = v$ how did you arrive at this system? Please do explain your steps.
            – Icosahedron
            Jun 26 '17 at 10:03














            Thanks your your response @Robert
            – Icosahedron
            Jun 26 '17 at 10:08




            Thanks your your response @Robert
            – Icosahedron
            Jun 26 '17 at 10:08












            @Icosahedron You are welcome. BTW if you are new here please take a few minutes for a tour math.stackexchange.com/tour
            – Robert Z
            Jun 26 '17 at 10:11




            @Icosahedron You are welcome. BTW if you are new here please take a few minutes for a tour math.stackexchange.com/tour
            – Robert Z
            Jun 26 '17 at 10:11












            Oops, never mind. I finally figured it out. You equated the real and imaginary part. THANKS a bunch.
            – Icosahedron
            Jun 26 '17 at 10:11




            Oops, never mind. I finally figured it out. You equated the real and imaginary part. THANKS a bunch.
            – Icosahedron
            Jun 26 '17 at 10:11











            0














            Discriminant $Delta = b^2 - 4ac = alpha + ibeta$



            We need to find the square root of $Delta$
            $sqrt{alpha + ibeta} = p + iq$
            $implies alpha + ibeta = p^2 - q^2 + 2ipq$
            $implies p^2 - q^2 = alpha$ and $ 2pq = beta$
            $implies p^2 + q^2 = sqrt{alpha^2 + beta^2}$
            $implies p = sqrt{dfrac{alpha + |Delta|}{2}}$ and $ q = sqrt{dfrac{|Delta| - alpha}{2}}$



            $implies sqrt{Delta} = sqrt{dfrac{alpha + |Delta|}{2}} + dfrac{beta}{|beta|} sqrt{dfrac{|Delta| - alpha}{2}}i$



            Now you can use the quadratic formula.






            share|cite|improve this answer


























              0














              Discriminant $Delta = b^2 - 4ac = alpha + ibeta$



              We need to find the square root of $Delta$
              $sqrt{alpha + ibeta} = p + iq$
              $implies alpha + ibeta = p^2 - q^2 + 2ipq$
              $implies p^2 - q^2 = alpha$ and $ 2pq = beta$
              $implies p^2 + q^2 = sqrt{alpha^2 + beta^2}$
              $implies p = sqrt{dfrac{alpha + |Delta|}{2}}$ and $ q = sqrt{dfrac{|Delta| - alpha}{2}}$



              $implies sqrt{Delta} = sqrt{dfrac{alpha + |Delta|}{2}} + dfrac{beta}{|beta|} sqrt{dfrac{|Delta| - alpha}{2}}i$



              Now you can use the quadratic formula.






              share|cite|improve this answer
























                0












                0








                0






                Discriminant $Delta = b^2 - 4ac = alpha + ibeta$



                We need to find the square root of $Delta$
                $sqrt{alpha + ibeta} = p + iq$
                $implies alpha + ibeta = p^2 - q^2 + 2ipq$
                $implies p^2 - q^2 = alpha$ and $ 2pq = beta$
                $implies p^2 + q^2 = sqrt{alpha^2 + beta^2}$
                $implies p = sqrt{dfrac{alpha + |Delta|}{2}}$ and $ q = sqrt{dfrac{|Delta| - alpha}{2}}$



                $implies sqrt{Delta} = sqrt{dfrac{alpha + |Delta|}{2}} + dfrac{beta}{|beta|} sqrt{dfrac{|Delta| - alpha}{2}}i$



                Now you can use the quadratic formula.






                share|cite|improve this answer












                Discriminant $Delta = b^2 - 4ac = alpha + ibeta$



                We need to find the square root of $Delta$
                $sqrt{alpha + ibeta} = p + iq$
                $implies alpha + ibeta = p^2 - q^2 + 2ipq$
                $implies p^2 - q^2 = alpha$ and $ 2pq = beta$
                $implies p^2 + q^2 = sqrt{alpha^2 + beta^2}$
                $implies p = sqrt{dfrac{alpha + |Delta|}{2}}$ and $ q = sqrt{dfrac{|Delta| - alpha}{2}}$



                $implies sqrt{Delta} = sqrt{dfrac{alpha + |Delta|}{2}} + dfrac{beta}{|beta|} sqrt{dfrac{|Delta| - alpha}{2}}i$



                Now you can use the quadratic formula.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 26 at 9:43









                Rahul B.

                12




                12






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2336559%2fhelp-on-solving-quadratic-equations-with-complex-coefficients%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How do I know what Microsoft account the skydrive app is syncing to?

                    When does type information flow backwards in C++?

                    Grease: Live!