On the number of roots of the polynomial $x^3+Ax^2+1=0$












6














I have the following cubic equation



$$x^{3}+Ax^{2}+1=0$$



where $A$ is an arbitrary (real) number.



I know that either:




  • The 3 roots will be real.

  • One root will be real and the other two will
    be complex conjugates of each other.


I would like to find out




  • For what value/values of A the roots change from 3 real roots to one
    real and two complex roots.

  • The signs of each of the real roots (both when they are all real and when there is only one real root)


Is there an analytical way of finding this as a function of $A$ or the only option is to solve the cubic numerically?










share|cite|improve this question




















  • 3




    Google Cardano's method.
    – hamam_Abdallah
    yesterday
















6














I have the following cubic equation



$$x^{3}+Ax^{2}+1=0$$



where $A$ is an arbitrary (real) number.



I know that either:




  • The 3 roots will be real.

  • One root will be real and the other two will
    be complex conjugates of each other.


I would like to find out




  • For what value/values of A the roots change from 3 real roots to one
    real and two complex roots.

  • The signs of each of the real roots (both when they are all real and when there is only one real root)


Is there an analytical way of finding this as a function of $A$ or the only option is to solve the cubic numerically?










share|cite|improve this question




















  • 3




    Google Cardano's method.
    – hamam_Abdallah
    yesterday














6












6








6


1





I have the following cubic equation



$$x^{3}+Ax^{2}+1=0$$



where $A$ is an arbitrary (real) number.



I know that either:




  • The 3 roots will be real.

  • One root will be real and the other two will
    be complex conjugates of each other.


I would like to find out




  • For what value/values of A the roots change from 3 real roots to one
    real and two complex roots.

  • The signs of each of the real roots (both when they are all real and when there is only one real root)


Is there an analytical way of finding this as a function of $A$ or the only option is to solve the cubic numerically?










share|cite|improve this question















I have the following cubic equation



$$x^{3}+Ax^{2}+1=0$$



where $A$ is an arbitrary (real) number.



I know that either:




  • The 3 roots will be real.

  • One root will be real and the other two will
    be complex conjugates of each other.


I would like to find out




  • For what value/values of A the roots change from 3 real roots to one
    real and two complex roots.

  • The signs of each of the real roots (both when they are all real and when there is only one real root)


Is there an analytical way of finding this as a function of $A$ or the only option is to solve the cubic numerically?







calculus numerical-methods roots cubic-equations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 18 hours ago









TheSimpliFire

12.7k62260




12.7k62260










asked yesterday









user35202user35202

31719




31719








  • 3




    Google Cardano's method.
    – hamam_Abdallah
    yesterday














  • 3




    Google Cardano's method.
    – hamam_Abdallah
    yesterday








3




3




Google Cardano's method.
– hamam_Abdallah
yesterday




Google Cardano's method.
– hamam_Abdallah
yesterday










4 Answers
4






active

oldest

votes


















7














If we can show that the value of $A$ changes the amount of maxima or minima from 1 to 2 such that one extreme is at a positive $y$-location and the other at a zero or negative $y$-location, then we know that this value of $A$ is the border for all real solutions versus 1 real and 2 complex solutions.



Denote $f(x) = x^3 + Ax^2 + 1.$



$$f'(x) = 3x^2+2Ax=x(3x+2A) = 0.$$



We see that $f(0)$ is always either a local maximum or minimum and $f(0) > 0.$ The other zero is given by $x = -2A/3 = xi.$



We need $f(xi) leq 0.$



$$f(xi) = frac{4}{27}A^3 + 1 leq 0$$



solves for the values of $A$ where 3 real solutions are guaranteed.





If there are 3 real roots, then since $x = 0$ is always a local extreme, at least one has to be positive and another has to be negative. Also, if $A leq -3/sqrt[3]{4}$ and the location of the moving extreme is $x=-2A/3 > 0,$ then the remaining real root has to be positive.



If there's only 1 real root, then $A > -3/sqrt[3]{4}$ and the moving extreme is located at $x < sqrt[3]{2}.$ Thus the only real root must be negative.






share|cite|improve this answer



















  • 2




    How do we find the signs of the real roots? By actually finding them or is there a shortcut?
    – JennyToy
    yesterday






  • 1




    @JennyToy I should've reread the questions before submitting the first time, sorry! How's the edit?
    – Skip
    yesterday



















3














hint



Put $$A=-frac 32B$$ and
$$f(x)=x^3-frac 32Bx^2+1.$$



$$f'(x)=3x(x-B).$$



$$f(0)=1$$
to have three real roots, we need



$$B>0 text{ and } f(B)<0.$$






share|cite|improve this answer

















  • 2




    To find when there are 3 real roots or one only use the sign of the discriminant $Delta = -4A^{3}-27$. Thus if $A=-3/2^{2/3}$ there are 3 equal real roots. If $A<-3/2^{2/3}$ there are 3 real distinct roots. And if $A>-3/2^{2/3}$ there is one real root and two (complex conjugate) complex roots. Unfortunately to find the signs of the real roots we probably need to actually find the roots.
    – user2175783
    yesterday



















2














The stationary points of $f(x)$ lie at $x=0$ and at $x=-frac{2A}{3}$ and the sign of
$$ f(0)fleft(-tfrac{2A}{3}right) = 1+tfrac{4}{27}A^3$$
decides if there are three real roots (<0), a simple real root (>0) or a double real root and a simple real root (=0). This happens since the sign of $ f(0)fleft(-tfrac{2A}{3}right)$ only depends on the stationary values having the same sign or not.






share|cite|improve this answer





























    1














    The discriminant of a cubic polynomial with real coefficients is $0$ when the polynomial has two (or more) equal roots, positive when there are three distinct real roots, and negative when there are one real and two non-real roots. In your case it is $-4 A^3 - 27$.






    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%2f3064314%2fon-the-number-of-roots-of-the-polynomial-x3ax21-0%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      7














      If we can show that the value of $A$ changes the amount of maxima or minima from 1 to 2 such that one extreme is at a positive $y$-location and the other at a zero or negative $y$-location, then we know that this value of $A$ is the border for all real solutions versus 1 real and 2 complex solutions.



      Denote $f(x) = x^3 + Ax^2 + 1.$



      $$f'(x) = 3x^2+2Ax=x(3x+2A) = 0.$$



      We see that $f(0)$ is always either a local maximum or minimum and $f(0) > 0.$ The other zero is given by $x = -2A/3 = xi.$



      We need $f(xi) leq 0.$



      $$f(xi) = frac{4}{27}A^3 + 1 leq 0$$



      solves for the values of $A$ where 3 real solutions are guaranteed.





      If there are 3 real roots, then since $x = 0$ is always a local extreme, at least one has to be positive and another has to be negative. Also, if $A leq -3/sqrt[3]{4}$ and the location of the moving extreme is $x=-2A/3 > 0,$ then the remaining real root has to be positive.



      If there's only 1 real root, then $A > -3/sqrt[3]{4}$ and the moving extreme is located at $x < sqrt[3]{2}.$ Thus the only real root must be negative.






      share|cite|improve this answer



















      • 2




        How do we find the signs of the real roots? By actually finding them or is there a shortcut?
        – JennyToy
        yesterday






      • 1




        @JennyToy I should've reread the questions before submitting the first time, sorry! How's the edit?
        – Skip
        yesterday
















      7














      If we can show that the value of $A$ changes the amount of maxima or minima from 1 to 2 such that one extreme is at a positive $y$-location and the other at a zero or negative $y$-location, then we know that this value of $A$ is the border for all real solutions versus 1 real and 2 complex solutions.



      Denote $f(x) = x^3 + Ax^2 + 1.$



      $$f'(x) = 3x^2+2Ax=x(3x+2A) = 0.$$



      We see that $f(0)$ is always either a local maximum or minimum and $f(0) > 0.$ The other zero is given by $x = -2A/3 = xi.$



      We need $f(xi) leq 0.$



      $$f(xi) = frac{4}{27}A^3 + 1 leq 0$$



      solves for the values of $A$ where 3 real solutions are guaranteed.





      If there are 3 real roots, then since $x = 0$ is always a local extreme, at least one has to be positive and another has to be negative. Also, if $A leq -3/sqrt[3]{4}$ and the location of the moving extreme is $x=-2A/3 > 0,$ then the remaining real root has to be positive.



      If there's only 1 real root, then $A > -3/sqrt[3]{4}$ and the moving extreme is located at $x < sqrt[3]{2}.$ Thus the only real root must be negative.






      share|cite|improve this answer



















      • 2




        How do we find the signs of the real roots? By actually finding them or is there a shortcut?
        – JennyToy
        yesterday






      • 1




        @JennyToy I should've reread the questions before submitting the first time, sorry! How's the edit?
        – Skip
        yesterday














      7












      7








      7






      If we can show that the value of $A$ changes the amount of maxima or minima from 1 to 2 such that one extreme is at a positive $y$-location and the other at a zero or negative $y$-location, then we know that this value of $A$ is the border for all real solutions versus 1 real and 2 complex solutions.



      Denote $f(x) = x^3 + Ax^2 + 1.$



      $$f'(x) = 3x^2+2Ax=x(3x+2A) = 0.$$



      We see that $f(0)$ is always either a local maximum or minimum and $f(0) > 0.$ The other zero is given by $x = -2A/3 = xi.$



      We need $f(xi) leq 0.$



      $$f(xi) = frac{4}{27}A^3 + 1 leq 0$$



      solves for the values of $A$ where 3 real solutions are guaranteed.





      If there are 3 real roots, then since $x = 0$ is always a local extreme, at least one has to be positive and another has to be negative. Also, if $A leq -3/sqrt[3]{4}$ and the location of the moving extreme is $x=-2A/3 > 0,$ then the remaining real root has to be positive.



      If there's only 1 real root, then $A > -3/sqrt[3]{4}$ and the moving extreme is located at $x < sqrt[3]{2}.$ Thus the only real root must be negative.






      share|cite|improve this answer














      If we can show that the value of $A$ changes the amount of maxima or minima from 1 to 2 such that one extreme is at a positive $y$-location and the other at a zero or negative $y$-location, then we know that this value of $A$ is the border for all real solutions versus 1 real and 2 complex solutions.



      Denote $f(x) = x^3 + Ax^2 + 1.$



      $$f'(x) = 3x^2+2Ax=x(3x+2A) = 0.$$



      We see that $f(0)$ is always either a local maximum or minimum and $f(0) > 0.$ The other zero is given by $x = -2A/3 = xi.$



      We need $f(xi) leq 0.$



      $$f(xi) = frac{4}{27}A^3 + 1 leq 0$$



      solves for the values of $A$ where 3 real solutions are guaranteed.





      If there are 3 real roots, then since $x = 0$ is always a local extreme, at least one has to be positive and another has to be negative. Also, if $A leq -3/sqrt[3]{4}$ and the location of the moving extreme is $x=-2A/3 > 0,$ then the remaining real root has to be positive.



      If there's only 1 real root, then $A > -3/sqrt[3]{4}$ and the moving extreme is located at $x < sqrt[3]{2}.$ Thus the only real root must be negative.







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited yesterday

























      answered yesterday









      SkipSkip

      1,212214




      1,212214








      • 2




        How do we find the signs of the real roots? By actually finding them or is there a shortcut?
        – JennyToy
        yesterday






      • 1




        @JennyToy I should've reread the questions before submitting the first time, sorry! How's the edit?
        – Skip
        yesterday














      • 2




        How do we find the signs of the real roots? By actually finding them or is there a shortcut?
        – JennyToy
        yesterday






      • 1




        @JennyToy I should've reread the questions before submitting the first time, sorry! How's the edit?
        – Skip
        yesterday








      2




      2




      How do we find the signs of the real roots? By actually finding them or is there a shortcut?
      – JennyToy
      yesterday




      How do we find the signs of the real roots? By actually finding them or is there a shortcut?
      – JennyToy
      yesterday




      1




      1




      @JennyToy I should've reread the questions before submitting the first time, sorry! How's the edit?
      – Skip
      yesterday




      @JennyToy I should've reread the questions before submitting the first time, sorry! How's the edit?
      – Skip
      yesterday











      3














      hint



      Put $$A=-frac 32B$$ and
      $$f(x)=x^3-frac 32Bx^2+1.$$



      $$f'(x)=3x(x-B).$$



      $$f(0)=1$$
      to have three real roots, we need



      $$B>0 text{ and } f(B)<0.$$






      share|cite|improve this answer

















      • 2




        To find when there are 3 real roots or one only use the sign of the discriminant $Delta = -4A^{3}-27$. Thus if $A=-3/2^{2/3}$ there are 3 equal real roots. If $A<-3/2^{2/3}$ there are 3 real distinct roots. And if $A>-3/2^{2/3}$ there is one real root and two (complex conjugate) complex roots. Unfortunately to find the signs of the real roots we probably need to actually find the roots.
        – user2175783
        yesterday
















      3














      hint



      Put $$A=-frac 32B$$ and
      $$f(x)=x^3-frac 32Bx^2+1.$$



      $$f'(x)=3x(x-B).$$



      $$f(0)=1$$
      to have three real roots, we need



      $$B>0 text{ and } f(B)<0.$$






      share|cite|improve this answer

















      • 2




        To find when there are 3 real roots or one only use the sign of the discriminant $Delta = -4A^{3}-27$. Thus if $A=-3/2^{2/3}$ there are 3 equal real roots. If $A<-3/2^{2/3}$ there are 3 real distinct roots. And if $A>-3/2^{2/3}$ there is one real root and two (complex conjugate) complex roots. Unfortunately to find the signs of the real roots we probably need to actually find the roots.
        – user2175783
        yesterday














      3












      3








      3






      hint



      Put $$A=-frac 32B$$ and
      $$f(x)=x^3-frac 32Bx^2+1.$$



      $$f'(x)=3x(x-B).$$



      $$f(0)=1$$
      to have three real roots, we need



      $$B>0 text{ and } f(B)<0.$$






      share|cite|improve this answer












      hint



      Put $$A=-frac 32B$$ and
      $$f(x)=x^3-frac 32Bx^2+1.$$



      $$f'(x)=3x(x-B).$$



      $$f(0)=1$$
      to have three real roots, we need



      $$B>0 text{ and } f(B)<0.$$







      share|cite|improve this answer












      share|cite|improve this answer



      share|cite|improve this answer










      answered yesterday









      hamam_Abdallahhamam_Abdallah

      38k21634




      38k21634








      • 2




        To find when there are 3 real roots or one only use the sign of the discriminant $Delta = -4A^{3}-27$. Thus if $A=-3/2^{2/3}$ there are 3 equal real roots. If $A<-3/2^{2/3}$ there are 3 real distinct roots. And if $A>-3/2^{2/3}$ there is one real root and two (complex conjugate) complex roots. Unfortunately to find the signs of the real roots we probably need to actually find the roots.
        – user2175783
        yesterday














      • 2




        To find when there are 3 real roots or one only use the sign of the discriminant $Delta = -4A^{3}-27$. Thus if $A=-3/2^{2/3}$ there are 3 equal real roots. If $A<-3/2^{2/3}$ there are 3 real distinct roots. And if $A>-3/2^{2/3}$ there is one real root and two (complex conjugate) complex roots. Unfortunately to find the signs of the real roots we probably need to actually find the roots.
        – user2175783
        yesterday








      2




      2




      To find when there are 3 real roots or one only use the sign of the discriminant $Delta = -4A^{3}-27$. Thus if $A=-3/2^{2/3}$ there are 3 equal real roots. If $A<-3/2^{2/3}$ there are 3 real distinct roots. And if $A>-3/2^{2/3}$ there is one real root and two (complex conjugate) complex roots. Unfortunately to find the signs of the real roots we probably need to actually find the roots.
      – user2175783
      yesterday




      To find when there are 3 real roots or one only use the sign of the discriminant $Delta = -4A^{3}-27$. Thus if $A=-3/2^{2/3}$ there are 3 equal real roots. If $A<-3/2^{2/3}$ there are 3 real distinct roots. And if $A>-3/2^{2/3}$ there is one real root and two (complex conjugate) complex roots. Unfortunately to find the signs of the real roots we probably need to actually find the roots.
      – user2175783
      yesterday











      2














      The stationary points of $f(x)$ lie at $x=0$ and at $x=-frac{2A}{3}$ and the sign of
      $$ f(0)fleft(-tfrac{2A}{3}right) = 1+tfrac{4}{27}A^3$$
      decides if there are three real roots (<0), a simple real root (>0) or a double real root and a simple real root (=0). This happens since the sign of $ f(0)fleft(-tfrac{2A}{3}right)$ only depends on the stationary values having the same sign or not.






      share|cite|improve this answer


























        2














        The stationary points of $f(x)$ lie at $x=0$ and at $x=-frac{2A}{3}$ and the sign of
        $$ f(0)fleft(-tfrac{2A}{3}right) = 1+tfrac{4}{27}A^3$$
        decides if there are three real roots (<0), a simple real root (>0) or a double real root and a simple real root (=0). This happens since the sign of $ f(0)fleft(-tfrac{2A}{3}right)$ only depends on the stationary values having the same sign or not.






        share|cite|improve this answer
























          2












          2








          2






          The stationary points of $f(x)$ lie at $x=0$ and at $x=-frac{2A}{3}$ and the sign of
          $$ f(0)fleft(-tfrac{2A}{3}right) = 1+tfrac{4}{27}A^3$$
          decides if there are three real roots (<0), a simple real root (>0) or a double real root and a simple real root (=0). This happens since the sign of $ f(0)fleft(-tfrac{2A}{3}right)$ only depends on the stationary values having the same sign or not.






          share|cite|improve this answer












          The stationary points of $f(x)$ lie at $x=0$ and at $x=-frac{2A}{3}$ and the sign of
          $$ f(0)fleft(-tfrac{2A}{3}right) = 1+tfrac{4}{27}A^3$$
          decides if there are three real roots (<0), a simple real root (>0) or a double real root and a simple real root (=0). This happens since the sign of $ f(0)fleft(-tfrac{2A}{3}right)$ only depends on the stationary values having the same sign or not.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered yesterday









          Jack D'AurizioJack D'Aurizio

          287k33280658




          287k33280658























              1














              The discriminant of a cubic polynomial with real coefficients is $0$ when the polynomial has two (or more) equal roots, positive when there are three distinct real roots, and negative when there are one real and two non-real roots. In your case it is $-4 A^3 - 27$.






              share|cite|improve this answer


























                1














                The discriminant of a cubic polynomial with real coefficients is $0$ when the polynomial has two (or more) equal roots, positive when there are three distinct real roots, and negative when there are one real and two non-real roots. In your case it is $-4 A^3 - 27$.






                share|cite|improve this answer
























                  1












                  1








                  1






                  The discriminant of a cubic polynomial with real coefficients is $0$ when the polynomial has two (or more) equal roots, positive when there are three distinct real roots, and negative when there are one real and two non-real roots. In your case it is $-4 A^3 - 27$.






                  share|cite|improve this answer












                  The discriminant of a cubic polynomial with real coefficients is $0$ when the polynomial has two (or more) equal roots, positive when there are three distinct real roots, and negative when there are one real and two non-real roots. In your case it is $-4 A^3 - 27$.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered yesterday









                  Robert IsraelRobert Israel

                  319k23208457




                  319k23208457






























                      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%2f3064314%2fon-the-number-of-roots-of-the-polynomial-x3ax21-0%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

                      An IMO inspired problem

                      Management

                      Has there ever been an instance of an active nuclear power plant within or near a war zone?