Finding the minimal polynomial for each algebraic element over $mathbb{Q}$.











up vote
0
down vote

favorite












Can someone check whether the following are the correct minimal polynomials for each root?



For root $sqrt{3}+sqrt[3]{5}$, I got $p(x)=x^{6}-9x^{4}-10x^{3}+27x^{2}-90x - 27$.



For root $costheta +isintheta$, where $theta =frac{2pi}{n}$ for $ngeq 1$, I got $p(x)=x^{2}-2xcostheta +1$.



For root $sqrt{sqrt[3]{2}-i}$, I got $p(x)=x^{12}-15x^{8}-4x^{6}+3x^{4}+12x^{2}+5$.



I tried using a calculator to see whether the equations become zero if I substitute the roots, but no calculator I can find supports such lengthy equations.










share|cite|improve this question




























    up vote
    0
    down vote

    favorite












    Can someone check whether the following are the correct minimal polynomials for each root?



    For root $sqrt{3}+sqrt[3]{5}$, I got $p(x)=x^{6}-9x^{4}-10x^{3}+27x^{2}-90x - 27$.



    For root $costheta +isintheta$, where $theta =frac{2pi}{n}$ for $ngeq 1$, I got $p(x)=x^{2}-2xcostheta +1$.



    For root $sqrt{sqrt[3]{2}-i}$, I got $p(x)=x^{12}-15x^{8}-4x^{6}+3x^{4}+12x^{2}+5$.



    I tried using a calculator to see whether the equations become zero if I substitute the roots, but no calculator I can find supports such lengthy equations.










    share|cite|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Can someone check whether the following are the correct minimal polynomials for each root?



      For root $sqrt{3}+sqrt[3]{5}$, I got $p(x)=x^{6}-9x^{4}-10x^{3}+27x^{2}-90x - 27$.



      For root $costheta +isintheta$, where $theta =frac{2pi}{n}$ for $ngeq 1$, I got $p(x)=x^{2}-2xcostheta +1$.



      For root $sqrt{sqrt[3]{2}-i}$, I got $p(x)=x^{12}-15x^{8}-4x^{6}+3x^{4}+12x^{2}+5$.



      I tried using a calculator to see whether the equations become zero if I substitute the roots, but no calculator I can find supports such lengthy equations.










      share|cite|improve this question















      Can someone check whether the following are the correct minimal polynomials for each root?



      For root $sqrt{3}+sqrt[3]{5}$, I got $p(x)=x^{6}-9x^{4}-10x^{3}+27x^{2}-90x - 27$.



      For root $costheta +isintheta$, where $theta =frac{2pi}{n}$ for $ngeq 1$, I got $p(x)=x^{2}-2xcostheta +1$.



      For root $sqrt{sqrt[3]{2}-i}$, I got $p(x)=x^{12}-15x^{8}-4x^{6}+3x^{4}+12x^{2}+5$.



      I tried using a calculator to see whether the equations become zero if I substitute the roots, but no calculator I can find supports such lengthy equations.







      abstract-algebra field-theory minimal-polynomials






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 25 at 19:58









      Key Flex

      7,06431229




      7,06431229










      asked Nov 25 at 19:55









      numericalorange

      1,716311




      1,716311






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Just use sage. Here is the code, just checking:



          First polynomial is ok:



          sage: (3^(1/2) + 5^(1/3) ).minpoly()
          x^6 - 9*x^4 - 10*x^3 + 27*x^2 - 90*x - 2


          In fact, sage can work explicitly in the tower of fields:



          sage: K.<a> = QuadraticField(3)
          sage: R.<X> = PolynomialRing(K)
          sage: L.<b> = K.extension(X^2+3)
          sage: S.<Y> = PolynomialRing(L)
          sage: M.<c> = L.extension(x^3-5)
          sage: a^2, b^2, c^3
          (3, -3, 5)
          sage: third_roots_of_one = [ 1, (-1+b)/2, (-1-b)/2 ]
          sage: secnd_roots_of_one = [ 1, -1 ]
          sage: T.<Z> = PolynomialRing(M)
          sage: prod( [ Z - (r2*a + r3*c)
          ....: for r2 in secnd_roots_of_one
          ....: for r3 in third_roots_of_one ] )

          Z^6 - 9*Z^4 - 10*Z^3 + 27*Z^2 - 90*Z - 2


          For the second question, if we need the minimal polynomial over $Bbb Q$, the result should be a cyclotomic polynomial. For instance, sage again:



          sage: N = 9
          sage: exp( 2*pi*i/N ).minpoly()
          x^6 + x^3 + 1
          sage: cyclotomic_polynomial(N)
          x^6 + x^3 + 1


          The third one:



          sage: sqrt( 2^(1/3) - i ).minpoly()
          x^12 + 3*x^8 - 4*x^6 + 3*x^4 + 12*x^2 + 5


          Again, one can manually / humanly build the tower of fields, by starting with $Bbb Q$, and adjoining $i$, then $2^{1/3}$ and its conjugates, then the square root we need.






          share|cite|improve this answer





















          • Thanks so much for helping me check my mistakes! May I ask what does it mean $N=9$ for the second one?
            – numericalorange
            Nov 25 at 20:42








          • 1




            In case of $n=9$, the algebraic element $$a=cosfrac{2pi}n+isinfrac{2pi}n$$ is a primitive $9$.th root of unity. So i was expecting the cyclotomic polynomial $Phi_9$ of degree $varphi(9)=9left(1-frac 13right)=6$ to be the answer. (The polynomial of degree two in the OP is the minimal polynomial over $Bbb R$.) So the posted $n$ corresponds to the N in the code. (Setting it to n would have overwritten something in my sage session, sorry...)
            – dan_fulea
            Nov 25 at 20:49













          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: 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%2f3013308%2ffinding-the-minimal-polynomial-for-each-algebraic-element-over-mathbbq%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          Just use sage. Here is the code, just checking:



          First polynomial is ok:



          sage: (3^(1/2) + 5^(1/3) ).minpoly()
          x^6 - 9*x^4 - 10*x^3 + 27*x^2 - 90*x - 2


          In fact, sage can work explicitly in the tower of fields:



          sage: K.<a> = QuadraticField(3)
          sage: R.<X> = PolynomialRing(K)
          sage: L.<b> = K.extension(X^2+3)
          sage: S.<Y> = PolynomialRing(L)
          sage: M.<c> = L.extension(x^3-5)
          sage: a^2, b^2, c^3
          (3, -3, 5)
          sage: third_roots_of_one = [ 1, (-1+b)/2, (-1-b)/2 ]
          sage: secnd_roots_of_one = [ 1, -1 ]
          sage: T.<Z> = PolynomialRing(M)
          sage: prod( [ Z - (r2*a + r3*c)
          ....: for r2 in secnd_roots_of_one
          ....: for r3 in third_roots_of_one ] )

          Z^6 - 9*Z^4 - 10*Z^3 + 27*Z^2 - 90*Z - 2


          For the second question, if we need the minimal polynomial over $Bbb Q$, the result should be a cyclotomic polynomial. For instance, sage again:



          sage: N = 9
          sage: exp( 2*pi*i/N ).minpoly()
          x^6 + x^3 + 1
          sage: cyclotomic_polynomial(N)
          x^6 + x^3 + 1


          The third one:



          sage: sqrt( 2^(1/3) - i ).minpoly()
          x^12 + 3*x^8 - 4*x^6 + 3*x^4 + 12*x^2 + 5


          Again, one can manually / humanly build the tower of fields, by starting with $Bbb Q$, and adjoining $i$, then $2^{1/3}$ and its conjugates, then the square root we need.






          share|cite|improve this answer





















          • Thanks so much for helping me check my mistakes! May I ask what does it mean $N=9$ for the second one?
            – numericalorange
            Nov 25 at 20:42








          • 1




            In case of $n=9$, the algebraic element $$a=cosfrac{2pi}n+isinfrac{2pi}n$$ is a primitive $9$.th root of unity. So i was expecting the cyclotomic polynomial $Phi_9$ of degree $varphi(9)=9left(1-frac 13right)=6$ to be the answer. (The polynomial of degree two in the OP is the minimal polynomial over $Bbb R$.) So the posted $n$ corresponds to the N in the code. (Setting it to n would have overwritten something in my sage session, sorry...)
            – dan_fulea
            Nov 25 at 20:49

















          up vote
          2
          down vote



          accepted










          Just use sage. Here is the code, just checking:



          First polynomial is ok:



          sage: (3^(1/2) + 5^(1/3) ).minpoly()
          x^6 - 9*x^4 - 10*x^3 + 27*x^2 - 90*x - 2


          In fact, sage can work explicitly in the tower of fields:



          sage: K.<a> = QuadraticField(3)
          sage: R.<X> = PolynomialRing(K)
          sage: L.<b> = K.extension(X^2+3)
          sage: S.<Y> = PolynomialRing(L)
          sage: M.<c> = L.extension(x^3-5)
          sage: a^2, b^2, c^3
          (3, -3, 5)
          sage: third_roots_of_one = [ 1, (-1+b)/2, (-1-b)/2 ]
          sage: secnd_roots_of_one = [ 1, -1 ]
          sage: T.<Z> = PolynomialRing(M)
          sage: prod( [ Z - (r2*a + r3*c)
          ....: for r2 in secnd_roots_of_one
          ....: for r3 in third_roots_of_one ] )

          Z^6 - 9*Z^4 - 10*Z^3 + 27*Z^2 - 90*Z - 2


          For the second question, if we need the minimal polynomial over $Bbb Q$, the result should be a cyclotomic polynomial. For instance, sage again:



          sage: N = 9
          sage: exp( 2*pi*i/N ).minpoly()
          x^6 + x^3 + 1
          sage: cyclotomic_polynomial(N)
          x^6 + x^3 + 1


          The third one:



          sage: sqrt( 2^(1/3) - i ).minpoly()
          x^12 + 3*x^8 - 4*x^6 + 3*x^4 + 12*x^2 + 5


          Again, one can manually / humanly build the tower of fields, by starting with $Bbb Q$, and adjoining $i$, then $2^{1/3}$ and its conjugates, then the square root we need.






          share|cite|improve this answer





















          • Thanks so much for helping me check my mistakes! May I ask what does it mean $N=9$ for the second one?
            – numericalorange
            Nov 25 at 20:42








          • 1




            In case of $n=9$, the algebraic element $$a=cosfrac{2pi}n+isinfrac{2pi}n$$ is a primitive $9$.th root of unity. So i was expecting the cyclotomic polynomial $Phi_9$ of degree $varphi(9)=9left(1-frac 13right)=6$ to be the answer. (The polynomial of degree two in the OP is the minimal polynomial over $Bbb R$.) So the posted $n$ corresponds to the N in the code. (Setting it to n would have overwritten something in my sage session, sorry...)
            – dan_fulea
            Nov 25 at 20:49















          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          Just use sage. Here is the code, just checking:



          First polynomial is ok:



          sage: (3^(1/2) + 5^(1/3) ).minpoly()
          x^6 - 9*x^4 - 10*x^3 + 27*x^2 - 90*x - 2


          In fact, sage can work explicitly in the tower of fields:



          sage: K.<a> = QuadraticField(3)
          sage: R.<X> = PolynomialRing(K)
          sage: L.<b> = K.extension(X^2+3)
          sage: S.<Y> = PolynomialRing(L)
          sage: M.<c> = L.extension(x^3-5)
          sage: a^2, b^2, c^3
          (3, -3, 5)
          sage: third_roots_of_one = [ 1, (-1+b)/2, (-1-b)/2 ]
          sage: secnd_roots_of_one = [ 1, -1 ]
          sage: T.<Z> = PolynomialRing(M)
          sage: prod( [ Z - (r2*a + r3*c)
          ....: for r2 in secnd_roots_of_one
          ....: for r3 in third_roots_of_one ] )

          Z^6 - 9*Z^4 - 10*Z^3 + 27*Z^2 - 90*Z - 2


          For the second question, if we need the minimal polynomial over $Bbb Q$, the result should be a cyclotomic polynomial. For instance, sage again:



          sage: N = 9
          sage: exp( 2*pi*i/N ).minpoly()
          x^6 + x^3 + 1
          sage: cyclotomic_polynomial(N)
          x^6 + x^3 + 1


          The third one:



          sage: sqrt( 2^(1/3) - i ).minpoly()
          x^12 + 3*x^8 - 4*x^6 + 3*x^4 + 12*x^2 + 5


          Again, one can manually / humanly build the tower of fields, by starting with $Bbb Q$, and adjoining $i$, then $2^{1/3}$ and its conjugates, then the square root we need.






          share|cite|improve this answer












          Just use sage. Here is the code, just checking:



          First polynomial is ok:



          sage: (3^(1/2) + 5^(1/3) ).minpoly()
          x^6 - 9*x^4 - 10*x^3 + 27*x^2 - 90*x - 2


          In fact, sage can work explicitly in the tower of fields:



          sage: K.<a> = QuadraticField(3)
          sage: R.<X> = PolynomialRing(K)
          sage: L.<b> = K.extension(X^2+3)
          sage: S.<Y> = PolynomialRing(L)
          sage: M.<c> = L.extension(x^3-5)
          sage: a^2, b^2, c^3
          (3, -3, 5)
          sage: third_roots_of_one = [ 1, (-1+b)/2, (-1-b)/2 ]
          sage: secnd_roots_of_one = [ 1, -1 ]
          sage: T.<Z> = PolynomialRing(M)
          sage: prod( [ Z - (r2*a + r3*c)
          ....: for r2 in secnd_roots_of_one
          ....: for r3 in third_roots_of_one ] )

          Z^6 - 9*Z^4 - 10*Z^3 + 27*Z^2 - 90*Z - 2


          For the second question, if we need the minimal polynomial over $Bbb Q$, the result should be a cyclotomic polynomial. For instance, sage again:



          sage: N = 9
          sage: exp( 2*pi*i/N ).minpoly()
          x^6 + x^3 + 1
          sage: cyclotomic_polynomial(N)
          x^6 + x^3 + 1


          The third one:



          sage: sqrt( 2^(1/3) - i ).minpoly()
          x^12 + 3*x^8 - 4*x^6 + 3*x^4 + 12*x^2 + 5


          Again, one can manually / humanly build the tower of fields, by starting with $Bbb Q$, and adjoining $i$, then $2^{1/3}$ and its conjugates, then the square root we need.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 25 at 20:30









          dan_fulea

          6,1451312




          6,1451312












          • Thanks so much for helping me check my mistakes! May I ask what does it mean $N=9$ for the second one?
            – numericalorange
            Nov 25 at 20:42








          • 1




            In case of $n=9$, the algebraic element $$a=cosfrac{2pi}n+isinfrac{2pi}n$$ is a primitive $9$.th root of unity. So i was expecting the cyclotomic polynomial $Phi_9$ of degree $varphi(9)=9left(1-frac 13right)=6$ to be the answer. (The polynomial of degree two in the OP is the minimal polynomial over $Bbb R$.) So the posted $n$ corresponds to the N in the code. (Setting it to n would have overwritten something in my sage session, sorry...)
            – dan_fulea
            Nov 25 at 20:49




















          • Thanks so much for helping me check my mistakes! May I ask what does it mean $N=9$ for the second one?
            – numericalorange
            Nov 25 at 20:42








          • 1




            In case of $n=9$, the algebraic element $$a=cosfrac{2pi}n+isinfrac{2pi}n$$ is a primitive $9$.th root of unity. So i was expecting the cyclotomic polynomial $Phi_9$ of degree $varphi(9)=9left(1-frac 13right)=6$ to be the answer. (The polynomial of degree two in the OP is the minimal polynomial over $Bbb R$.) So the posted $n$ corresponds to the N in the code. (Setting it to n would have overwritten something in my sage session, sorry...)
            – dan_fulea
            Nov 25 at 20:49


















          Thanks so much for helping me check my mistakes! May I ask what does it mean $N=9$ for the second one?
          – numericalorange
          Nov 25 at 20:42






          Thanks so much for helping me check my mistakes! May I ask what does it mean $N=9$ for the second one?
          – numericalorange
          Nov 25 at 20:42






          1




          1




          In case of $n=9$, the algebraic element $$a=cosfrac{2pi}n+isinfrac{2pi}n$$ is a primitive $9$.th root of unity. So i was expecting the cyclotomic polynomial $Phi_9$ of degree $varphi(9)=9left(1-frac 13right)=6$ to be the answer. (The polynomial of degree two in the OP is the minimal polynomial over $Bbb R$.) So the posted $n$ corresponds to the N in the code. (Setting it to n would have overwritten something in my sage session, sorry...)
          – dan_fulea
          Nov 25 at 20:49






          In case of $n=9$, the algebraic element $$a=cosfrac{2pi}n+isinfrac{2pi}n$$ is a primitive $9$.th root of unity. So i was expecting the cyclotomic polynomial $Phi_9$ of degree $varphi(9)=9left(1-frac 13right)=6$ to be the answer. (The polynomial of degree two in the OP is the minimal polynomial over $Bbb R$.) So the posted $n$ corresponds to the N in the code. (Setting it to n would have overwritten something in my sage session, sorry...)
          – dan_fulea
          Nov 25 at 20:49




















          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%2f3013308%2ffinding-the-minimal-polynomial-for-each-algebraic-element-over-mathbbq%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

          Berounka

          Sphinx de Gizeh

          Different font size/position of beamer's navigation symbols template's content depending on regular/plain...