Proving $cos^2fracpi2n cos^2frac3pi2ncdots cos^2fracleft(n-2right)pi2n=n2^1-n$ using complex numbers The 2019 Stack Overflow Developer Survey Results Are InComplex No.s Proving QuestionHow prove $left(sumcosfrac2k-1ppiright)cdotleft(sumcosfrac2k-1ppiright)$How to solve $xleft(sin x+cos xright)=1$?Evaluating $(1+cosfracpi8)(1+cosfrac3pi8) (1+cosfrac5pi8)(1+cosfrac7pi8)$Question regarding complex numbers and real numbers?Shortcut for differentiating $y=sin^-1left(fraca+bcos(x)b+acos(x)right)$How to write $cos^3left(fracpi x2aright)$ in the form $sumlimits_j=1^n k_jcosleft(fracjpi x2aright)$?Cool way of finding $cosleft(fracpi5right)$How to evaluate $lim _xto 0frac5-5cosleft(2xright)+sinleft(4xright)x$ without using L'Hospital's rule?How can I deduce exact values of $cosleft(fracpi12right)$ and $sinleft(fracpi12right)$?

Can you compress metal and what would be the consequences?

What is the meaning of Triage in Cybersec world?

What is the most effective way of iterating a std::vector and why?

How to deal with fear of taking dependencies

How to notate time signature switching consistently every measure

Can someone be penalized for an "unlawful" act if no penalty is specified?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Did Section 31 appear in Star Trek: The Next Generation?

Is an up-to-date browser secure on an out-of-date OS?

Is flight data recorder erased after every flight?

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Delete all lines which don't have n characters before delimiter

How to manage monthly salary

Can a flute soloist sit?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

Geography at the pixel level

Have you ever entered Singapore using a different passport or name?

How to support a colleague who finds meetings extremely tiring?

Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?

How come people say “Would of”?

Pokemon Turn Based battle (Python)

What is the accessibility of a package's `Private` context variables?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?



Proving $cos^2fracpi2n cos^2frac3pi2ncdots cos^2fracleft(n-2right)pi2n=n2^1-n$ using complex numbers



The 2019 Stack Overflow Developer Survey Results Are InComplex No.s Proving QuestionHow prove $left(sumcosfrac2k-1ppiright)cdotleft(sumcosfrac2k-1ppiright)$How to solve $xleft(sin x+cos xright)=1$?Evaluating $(1+cosfracpi8)(1+cosfrac3pi8) (1+cosfrac5pi8)(1+cosfrac7pi8)$Question regarding complex numbers and real numbers?Shortcut for differentiating $y=sin^-1left(fraca+bcos(x)b+acos(x)right)$How to write $cos^3left(fracpi x2aright)$ in the form $sumlimits_j=1^n k_jcosleft(fracjpi x2aright)$?Cool way of finding $cosleft(fracpi5right)$How to evaluate $lim _xto 0frac5-5cosleft(2xright)+sinleft(4xright)x$ without using L'Hospital's rule?How can I deduce exact values of $cosleft(fracpi12right)$ and $sinleft(fracpi12right)$?










2












$begingroup$


Using $$z^2n+1 = prod_k=1^nleft(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)$$
and $$z^2n+1 = left(1+z^2right)left(1-z^2+z^4-cdots+z^2n-2right)$$
prove, for $n$ odd, $$cos^2left(fracpi2nright) cos^2left(frac3pi2nright) cos^2left(frac5pi2nright) cdots cos^2left(fracleft(n-2right)pi2nright) = n2^1-n$$



The provided solution (from the original source of this problem) involves noting that in the first result, the product will contain a factor of $left(1+z^2right)$, where $k=fracn+12$ (which is an integer since $n$ is odd). Thus, substituting in the second result, they cancel the factor of $left(1+z^2right)$ on both sides, and then set $z=i$ to deduce the required result.




But my question is, since $z=i$ gives $1+z^2=0$, are we allowed to make this cancellation and then still set $z=i$, since we seem to be dividing by zero? If there is in fact a problem, can their proof be easily repaired?











share|cite|improve this question











$endgroup$
















    2












    $begingroup$


    Using $$z^2n+1 = prod_k=1^nleft(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)$$
    and $$z^2n+1 = left(1+z^2right)left(1-z^2+z^4-cdots+z^2n-2right)$$
    prove, for $n$ odd, $$cos^2left(fracpi2nright) cos^2left(frac3pi2nright) cos^2left(frac5pi2nright) cdots cos^2left(fracleft(n-2right)pi2nright) = n2^1-n$$



    The provided solution (from the original source of this problem) involves noting that in the first result, the product will contain a factor of $left(1+z^2right)$, where $k=fracn+12$ (which is an integer since $n$ is odd). Thus, substituting in the second result, they cancel the factor of $left(1+z^2right)$ on both sides, and then set $z=i$ to deduce the required result.




    But my question is, since $z=i$ gives $1+z^2=0$, are we allowed to make this cancellation and then still set $z=i$, since we seem to be dividing by zero? If there is in fact a problem, can their proof be easily repaired?











    share|cite|improve this question











    $endgroup$














      2












      2








      2


      1



      $begingroup$


      Using $$z^2n+1 = prod_k=1^nleft(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)$$
      and $$z^2n+1 = left(1+z^2right)left(1-z^2+z^4-cdots+z^2n-2right)$$
      prove, for $n$ odd, $$cos^2left(fracpi2nright) cos^2left(frac3pi2nright) cos^2left(frac5pi2nright) cdots cos^2left(fracleft(n-2right)pi2nright) = n2^1-n$$



      The provided solution (from the original source of this problem) involves noting that in the first result, the product will contain a factor of $left(1+z^2right)$, where $k=fracn+12$ (which is an integer since $n$ is odd). Thus, substituting in the second result, they cancel the factor of $left(1+z^2right)$ on both sides, and then set $z=i$ to deduce the required result.




      But my question is, since $z=i$ gives $1+z^2=0$, are we allowed to make this cancellation and then still set $z=i$, since we seem to be dividing by zero? If there is in fact a problem, can their proof be easily repaired?











      share|cite|improve this question











      $endgroup$




      Using $$z^2n+1 = prod_k=1^nleft(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)$$
      and $$z^2n+1 = left(1+z^2right)left(1-z^2+z^4-cdots+z^2n-2right)$$
      prove, for $n$ odd, $$cos^2left(fracpi2nright) cos^2left(frac3pi2nright) cos^2left(frac5pi2nright) cdots cos^2left(fracleft(n-2right)pi2nright) = n2^1-n$$



      The provided solution (from the original source of this problem) involves noting that in the first result, the product will contain a factor of $left(1+z^2right)$, where $k=fracn+12$ (which is an integer since $n$ is odd). Thus, substituting in the second result, they cancel the factor of $left(1+z^2right)$ on both sides, and then set $z=i$ to deduce the required result.




      But my question is, since $z=i$ gives $1+z^2=0$, are we allowed to make this cancellation and then still set $z=i$, since we seem to be dividing by zero? If there is in fact a problem, can their proof be easily repaired?








      trigonometry complex-numbers






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Apr 6 at 22:30









      Blue

      49.6k870158




      49.6k870158










      asked Apr 6 at 22:05









      PrasiortlePrasiortle

      1969




      1969




















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          There is no problem; you can view the identity as an equality of polynomials in $BbbC[z]$. This is an integral domain, meaning that you can cancel non-zero factors; the factor $1+z^2$ is a non-zero polynomial, so you can cancel it.



          This gives you a simpler equality of polynomials. You can then evaluate these two polynomials in $z=i$ to obtain the given identity.




          More formally; combining the given expressions for $z^2n+1$ shows that
          begineqnarray*
          0&=&left(1+z^2right)left(1-z^2+z^4-cdots+z^2n-2right)
          -prod_k=1^nleft(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)\
          &=&(1+z^2)left(1-z^2+z^4-cdots+z^2n-2
          -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)right),\
          endeqnarray*

          as polynomials. This means one of the two factors is the zero polynomial. Clearly this is not $1+z^2$, so
          $$1-z^2+z^4-cdots+z^2n-2
          -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)=0,$$

          which shows that indeed
          $$1-z^2+z^4-cdots+z^2n-2
          =prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right).$$

          Now plugging in $z=i$ yields the desired identity.






          share|cite|improve this answer











          $endgroup$













            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%2f3177495%2fproving-cos2-frac-pi2n-cos2-frac3-pi2n-cdots-cos2-frac-lef%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









            1












            $begingroup$

            There is no problem; you can view the identity as an equality of polynomials in $BbbC[z]$. This is an integral domain, meaning that you can cancel non-zero factors; the factor $1+z^2$ is a non-zero polynomial, so you can cancel it.



            This gives you a simpler equality of polynomials. You can then evaluate these two polynomials in $z=i$ to obtain the given identity.




            More formally; combining the given expressions for $z^2n+1$ shows that
            begineqnarray*
            0&=&left(1+z^2right)left(1-z^2+z^4-cdots+z^2n-2right)
            -prod_k=1^nleft(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)\
            &=&(1+z^2)left(1-z^2+z^4-cdots+z^2n-2
            -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)right),\
            endeqnarray*

            as polynomials. This means one of the two factors is the zero polynomial. Clearly this is not $1+z^2$, so
            $$1-z^2+z^4-cdots+z^2n-2
            -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)=0,$$

            which shows that indeed
            $$1-z^2+z^4-cdots+z^2n-2
            =prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right).$$

            Now plugging in $z=i$ yields the desired identity.






            share|cite|improve this answer











            $endgroup$

















              1












              $begingroup$

              There is no problem; you can view the identity as an equality of polynomials in $BbbC[z]$. This is an integral domain, meaning that you can cancel non-zero factors; the factor $1+z^2$ is a non-zero polynomial, so you can cancel it.



              This gives you a simpler equality of polynomials. You can then evaluate these two polynomials in $z=i$ to obtain the given identity.




              More formally; combining the given expressions for $z^2n+1$ shows that
              begineqnarray*
              0&=&left(1+z^2right)left(1-z^2+z^4-cdots+z^2n-2right)
              -prod_k=1^nleft(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)\
              &=&(1+z^2)left(1-z^2+z^4-cdots+z^2n-2
              -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)right),\
              endeqnarray*

              as polynomials. This means one of the two factors is the zero polynomial. Clearly this is not $1+z^2$, so
              $$1-z^2+z^4-cdots+z^2n-2
              -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)=0,$$

              which shows that indeed
              $$1-z^2+z^4-cdots+z^2n-2
              =prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right).$$

              Now plugging in $z=i$ yields the desired identity.






              share|cite|improve this answer











              $endgroup$















                1












                1








                1





                $begingroup$

                There is no problem; you can view the identity as an equality of polynomials in $BbbC[z]$. This is an integral domain, meaning that you can cancel non-zero factors; the factor $1+z^2$ is a non-zero polynomial, so you can cancel it.



                This gives you a simpler equality of polynomials. You can then evaluate these two polynomials in $z=i$ to obtain the given identity.




                More formally; combining the given expressions for $z^2n+1$ shows that
                begineqnarray*
                0&=&left(1+z^2right)left(1-z^2+z^4-cdots+z^2n-2right)
                -prod_k=1^nleft(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)\
                &=&(1+z^2)left(1-z^2+z^4-cdots+z^2n-2
                -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)right),\
                endeqnarray*

                as polynomials. This means one of the two factors is the zero polynomial. Clearly this is not $1+z^2$, so
                $$1-z^2+z^4-cdots+z^2n-2
                -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)=0,$$

                which shows that indeed
                $$1-z^2+z^4-cdots+z^2n-2
                =prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right).$$

                Now plugging in $z=i$ yields the desired identity.






                share|cite|improve this answer











                $endgroup$



                There is no problem; you can view the identity as an equality of polynomials in $BbbC[z]$. This is an integral domain, meaning that you can cancel non-zero factors; the factor $1+z^2$ is a non-zero polynomial, so you can cancel it.



                This gives you a simpler equality of polynomials. You can then evaluate these two polynomials in $z=i$ to obtain the given identity.




                More formally; combining the given expressions for $z^2n+1$ shows that
                begineqnarray*
                0&=&left(1+z^2right)left(1-z^2+z^4-cdots+z^2n-2right)
                -prod_k=1^nleft(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)\
                &=&(1+z^2)left(1-z^2+z^4-cdots+z^2n-2
                -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)right),\
                endeqnarray*

                as polynomials. This means one of the two factors is the zero polynomial. Clearly this is not $1+z^2$, so
                $$1-z^2+z^4-cdots+z^2n-2
                -prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right)=0,$$

                which shows that indeed
                $$1-z^2+z^4-cdots+z^2n-2
                =prod_k=1^n-1left(z^2-2zcosleft(fracleft(2k-1right)pi2nright)+1right).$$

                Now plugging in $z=i$ yields the desired identity.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Apr 6 at 22:21

























                answered Apr 6 at 22:10









                ServaesServaes

                30.3k342101




                30.3k342101



























                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3177495%2fproving-cos2-frac-pi2n-cos2-frac3-pi2n-cdots-cos2-frac-lef%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

                    Hidroelektrana Sadržaj Povijest | Podjela hidroelektrana | Snaga dobivena u hidroelektranama | Dijelovi hidroelektrane | Uloga hidroelektrana u suvremenom svijetu | Prednosti hidroelektrana | Nedostaci hidroelektrana | Države s najvećom proizvodnjom hidro-električne energije | Deset najvećih hidroelektrana u svijetu | Hidroelektrane u Hrvatskoj | Izvori | Poveznice | Vanjske poveznice | Navigacijski izbornikTechnical Report, Version 2Zajedničkom poslužiteljuHidroelektranaHEP Proizvodnja d.o.o. - Hidroelektrane u Hrvatskoj

                    Bosc Connection Yimello Approaching Angry The produce zaps the market. 구성 기록되다 변경...

                    WordPress Information needed