Roots of a polynomial with indeterminates $cos(x), sin(x)$












2














Suppose $P(cos(x), sin(x))$ is a polynomial in $mathbb R[X, Y]$ with degree $n$. I want to determine the number of roots of $P(cos(x), sin(x))$. Here I mean the possible values of the pair $(cos(x), sin(x))$, not roots in $x$. We exclude the case $P = cos^2(x) + sin^2(x) - 1$ and the ideal generated by $P$. Not sure whether this is enough but I meant to ask when we don't have this trivial case.



If we introduce the change of variable
$$ cos (x) = frac{ 1-t^2}{1+t^2}, sin(x) = frac{2t}{1+t^2}.$$
Then $P(cos(x), sin(x))$ can be considered as a rational function with numerator $n(t) in mathbb R[t]$ having degree at most $2n$. But this would imply we could have at most $2n$ solutions for $t$. Thus at most $2n$ solutions for the pair $(cos(x), sin(x))$. Is this correct? However, I had a feeling that the number should be $n$.










share|cite|improve this question





























    2














    Suppose $P(cos(x), sin(x))$ is a polynomial in $mathbb R[X, Y]$ with degree $n$. I want to determine the number of roots of $P(cos(x), sin(x))$. Here I mean the possible values of the pair $(cos(x), sin(x))$, not roots in $x$. We exclude the case $P = cos^2(x) + sin^2(x) - 1$ and the ideal generated by $P$. Not sure whether this is enough but I meant to ask when we don't have this trivial case.



    If we introduce the change of variable
    $$ cos (x) = frac{ 1-t^2}{1+t^2}, sin(x) = frac{2t}{1+t^2}.$$
    Then $P(cos(x), sin(x))$ can be considered as a rational function with numerator $n(t) in mathbb R[t]$ having degree at most $2n$. But this would imply we could have at most $2n$ solutions for $t$. Thus at most $2n$ solutions for the pair $(cos(x), sin(x))$. Is this correct? However, I had a feeling that the number should be $n$.










    share|cite|improve this question



























      2












      2








      2







      Suppose $P(cos(x), sin(x))$ is a polynomial in $mathbb R[X, Y]$ with degree $n$. I want to determine the number of roots of $P(cos(x), sin(x))$. Here I mean the possible values of the pair $(cos(x), sin(x))$, not roots in $x$. We exclude the case $P = cos^2(x) + sin^2(x) - 1$ and the ideal generated by $P$. Not sure whether this is enough but I meant to ask when we don't have this trivial case.



      If we introduce the change of variable
      $$ cos (x) = frac{ 1-t^2}{1+t^2}, sin(x) = frac{2t}{1+t^2}.$$
      Then $P(cos(x), sin(x))$ can be considered as a rational function with numerator $n(t) in mathbb R[t]$ having degree at most $2n$. But this would imply we could have at most $2n$ solutions for $t$. Thus at most $2n$ solutions for the pair $(cos(x), sin(x))$. Is this correct? However, I had a feeling that the number should be $n$.










      share|cite|improve this question















      Suppose $P(cos(x), sin(x))$ is a polynomial in $mathbb R[X, Y]$ with degree $n$. I want to determine the number of roots of $P(cos(x), sin(x))$. Here I mean the possible values of the pair $(cos(x), sin(x))$, not roots in $x$. We exclude the case $P = cos^2(x) + sin^2(x) - 1$ and the ideal generated by $P$. Not sure whether this is enough but I meant to ask when we don't have this trivial case.



      If we introduce the change of variable
      $$ cos (x) = frac{ 1-t^2}{1+t^2}, sin(x) = frac{2t}{1+t^2}.$$
      Then $P(cos(x), sin(x))$ can be considered as a rational function with numerator $n(t) in mathbb R[t]$ having degree at most $2n$. But this would imply we could have at most $2n$ solutions for $t$. Thus at most $2n$ solutions for the pair $(cos(x), sin(x))$. Is this correct? However, I had a feeling that the number should be $n$.







      linear-algebra polynomials






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 30 at 6:33

























      asked Nov 30 at 6:17









      user1101010

      7551630




      7551630






















          1 Answer
          1






          active

          oldest

          votes


















          4














          That's basically right. You have to be a little careful in that $(cos x,sin x)
          =(-1,0)$
          isn't included in your parametrisation, but the conclusion still holds.



          You do need $2n$, not $n$. You can see this even when $n=1$. For instance
          $cos x=sin x$ has two solutions $(cos x,sin x)=(1/sqrt2,1/sqrt2)$
          and $(-1/sqrt2,-1/sqrt2)$.






          share|cite|improve this answer





















          • Thanks. You said "the conclusion still holds" without parametrize the point $(-1, 0)$. I did not notice this part. Could you please elaborate why?
            – user1101010
            Nov 30 at 6:27










          • @nicomezi: I noticed this. I should exclude this case or any ideal generated by this one. Not sure whether this is enough. I meant to ask when we don't have this particular case.
            – user1101010
            Nov 30 at 6:28












          • OK. Is it because $(-1,0) = lim_{t toinfty} (frac{1-t^2}{1+t^2}, frac{2t}{1+t^2})$? This means if $(-1,0)$ is a solution to $P(t)$, then $lim_{t to infty} P(t) = 0$ by continuity and this would imply $P(t)$ is a zero polynomial.
            – user1101010
            Nov 30 at 7:04













          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%2f3019724%2froots-of-a-polynomial-with-indeterminates-cosx-sinx%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









          4














          That's basically right. You have to be a little careful in that $(cos x,sin x)
          =(-1,0)$
          isn't included in your parametrisation, but the conclusion still holds.



          You do need $2n$, not $n$. You can see this even when $n=1$. For instance
          $cos x=sin x$ has two solutions $(cos x,sin x)=(1/sqrt2,1/sqrt2)$
          and $(-1/sqrt2,-1/sqrt2)$.






          share|cite|improve this answer





















          • Thanks. You said "the conclusion still holds" without parametrize the point $(-1, 0)$. I did not notice this part. Could you please elaborate why?
            – user1101010
            Nov 30 at 6:27










          • @nicomezi: I noticed this. I should exclude this case or any ideal generated by this one. Not sure whether this is enough. I meant to ask when we don't have this particular case.
            – user1101010
            Nov 30 at 6:28












          • OK. Is it because $(-1,0) = lim_{t toinfty} (frac{1-t^2}{1+t^2}, frac{2t}{1+t^2})$? This means if $(-1,0)$ is a solution to $P(t)$, then $lim_{t to infty} P(t) = 0$ by continuity and this would imply $P(t)$ is a zero polynomial.
            – user1101010
            Nov 30 at 7:04


















          4














          That's basically right. You have to be a little careful in that $(cos x,sin x)
          =(-1,0)$
          isn't included in your parametrisation, but the conclusion still holds.



          You do need $2n$, not $n$. You can see this even when $n=1$. For instance
          $cos x=sin x$ has two solutions $(cos x,sin x)=(1/sqrt2,1/sqrt2)$
          and $(-1/sqrt2,-1/sqrt2)$.






          share|cite|improve this answer





















          • Thanks. You said "the conclusion still holds" without parametrize the point $(-1, 0)$. I did not notice this part. Could you please elaborate why?
            – user1101010
            Nov 30 at 6:27










          • @nicomezi: I noticed this. I should exclude this case or any ideal generated by this one. Not sure whether this is enough. I meant to ask when we don't have this particular case.
            – user1101010
            Nov 30 at 6:28












          • OK. Is it because $(-1,0) = lim_{t toinfty} (frac{1-t^2}{1+t^2}, frac{2t}{1+t^2})$? This means if $(-1,0)$ is a solution to $P(t)$, then $lim_{t to infty} P(t) = 0$ by continuity and this would imply $P(t)$ is a zero polynomial.
            – user1101010
            Nov 30 at 7:04
















          4












          4








          4






          That's basically right. You have to be a little careful in that $(cos x,sin x)
          =(-1,0)$
          isn't included in your parametrisation, but the conclusion still holds.



          You do need $2n$, not $n$. You can see this even when $n=1$. For instance
          $cos x=sin x$ has two solutions $(cos x,sin x)=(1/sqrt2,1/sqrt2)$
          and $(-1/sqrt2,-1/sqrt2)$.






          share|cite|improve this answer












          That's basically right. You have to be a little careful in that $(cos x,sin x)
          =(-1,0)$
          isn't included in your parametrisation, but the conclusion still holds.



          You do need $2n$, not $n$. You can see this even when $n=1$. For instance
          $cos x=sin x$ has two solutions $(cos x,sin x)=(1/sqrt2,1/sqrt2)$
          and $(-1/sqrt2,-1/sqrt2)$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 30 at 6:24









          Lord Shark the Unknown

          101k958131




          101k958131












          • Thanks. You said "the conclusion still holds" without parametrize the point $(-1, 0)$. I did not notice this part. Could you please elaborate why?
            – user1101010
            Nov 30 at 6:27










          • @nicomezi: I noticed this. I should exclude this case or any ideal generated by this one. Not sure whether this is enough. I meant to ask when we don't have this particular case.
            – user1101010
            Nov 30 at 6:28












          • OK. Is it because $(-1,0) = lim_{t toinfty} (frac{1-t^2}{1+t^2}, frac{2t}{1+t^2})$? This means if $(-1,0)$ is a solution to $P(t)$, then $lim_{t to infty} P(t) = 0$ by continuity and this would imply $P(t)$ is a zero polynomial.
            – user1101010
            Nov 30 at 7:04




















          • Thanks. You said "the conclusion still holds" without parametrize the point $(-1, 0)$. I did not notice this part. Could you please elaborate why?
            – user1101010
            Nov 30 at 6:27










          • @nicomezi: I noticed this. I should exclude this case or any ideal generated by this one. Not sure whether this is enough. I meant to ask when we don't have this particular case.
            – user1101010
            Nov 30 at 6:28












          • OK. Is it because $(-1,0) = lim_{t toinfty} (frac{1-t^2}{1+t^2}, frac{2t}{1+t^2})$? This means if $(-1,0)$ is a solution to $P(t)$, then $lim_{t to infty} P(t) = 0$ by continuity and this would imply $P(t)$ is a zero polynomial.
            – user1101010
            Nov 30 at 7:04


















          Thanks. You said "the conclusion still holds" without parametrize the point $(-1, 0)$. I did not notice this part. Could you please elaborate why?
          – user1101010
          Nov 30 at 6:27




          Thanks. You said "the conclusion still holds" without parametrize the point $(-1, 0)$. I did not notice this part. Could you please elaborate why?
          – user1101010
          Nov 30 at 6:27












          @nicomezi: I noticed this. I should exclude this case or any ideal generated by this one. Not sure whether this is enough. I meant to ask when we don't have this particular case.
          – user1101010
          Nov 30 at 6:28






          @nicomezi: I noticed this. I should exclude this case or any ideal generated by this one. Not sure whether this is enough. I meant to ask when we don't have this particular case.
          – user1101010
          Nov 30 at 6:28














          OK. Is it because $(-1,0) = lim_{t toinfty} (frac{1-t^2}{1+t^2}, frac{2t}{1+t^2})$? This means if $(-1,0)$ is a solution to $P(t)$, then $lim_{t to infty} P(t) = 0$ by continuity and this would imply $P(t)$ is a zero polynomial.
          – user1101010
          Nov 30 at 7:04






          OK. Is it because $(-1,0) = lim_{t toinfty} (frac{1-t^2}{1+t^2}, frac{2t}{1+t^2})$? This means if $(-1,0)$ is a solution to $P(t)$, then $lim_{t to infty} P(t) = 0$ by continuity and this would imply $P(t)$ is a zero polynomial.
          – user1101010
          Nov 30 at 7:04




















          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%2f3019724%2froots-of-a-polynomial-with-indeterminates-cosx-sinx%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

          Wiesbaden

          Marschland

          Dieringhausen