Why is $ frac12picdotint_-pi/2^pi/2cos(x)cdot e^-jnx neq frac1picdotint_0^pi/2cos(x)cdot e^-jnx $

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Let's assume we have $$f(x) = frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx.$$



Usually it's possible to move the border and multiply the integral with $2$. Geometrically you cut the half and add it again afterwards to make calculation easier.

Obviously this isn't legal here but I can't see why (beside the obvious reason that it's simply not equal).



beginalign
frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx &neq frac1picdotint_0^pi/2 cos(x)cdot e^-jnx \
frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx &= fracn pi cdot sin[n pi]1 - n^2 \
frac1picdotint_0^pi/2 cos(x)cdot e^-jnx &=
fracj (1 + e^-j n pi) n(1 - n^2) pi.
endalign










share|cite|improve this question























  • This is legal. Integration is linear and you can divide your main integral into $3$. Two of them vanish.
    – Niklas
    Sep 10 at 21:16










  • $e^-jnxne e^-jn(-x)$ so no.
    – Andrei
    Sep 10 at 21:21














up vote
0
down vote

favorite












Let's assume we have $$f(x) = frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx.$$



Usually it's possible to move the border and multiply the integral with $2$. Geometrically you cut the half and add it again afterwards to make calculation easier.

Obviously this isn't legal here but I can't see why (beside the obvious reason that it's simply not equal).



beginalign
frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx &neq frac1picdotint_0^pi/2 cos(x)cdot e^-jnx \
frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx &= fracn pi cdot sin[n pi]1 - n^2 \
frac1picdotint_0^pi/2 cos(x)cdot e^-jnx &=
fracj (1 + e^-j n pi) n(1 - n^2) pi.
endalign










share|cite|improve this question























  • This is legal. Integration is linear and you can divide your main integral into $3$. Two of them vanish.
    – Niklas
    Sep 10 at 21:16










  • $e^-jnxne e^-jn(-x)$ so no.
    – Andrei
    Sep 10 at 21:21












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Let's assume we have $$f(x) = frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx.$$



Usually it's possible to move the border and multiply the integral with $2$. Geometrically you cut the half and add it again afterwards to make calculation easier.

Obviously this isn't legal here but I can't see why (beside the obvious reason that it's simply not equal).



beginalign
frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx &neq frac1picdotint_0^pi/2 cos(x)cdot e^-jnx \
frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx &= fracn pi cdot sin[n pi]1 - n^2 \
frac1picdotint_0^pi/2 cos(x)cdot e^-jnx &=
fracj (1 + e^-j n pi) n(1 - n^2) pi.
endalign










share|cite|improve this question















Let's assume we have $$f(x) = frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx.$$



Usually it's possible to move the border and multiply the integral with $2$. Geometrically you cut the half and add it again afterwards to make calculation easier.

Obviously this isn't legal here but I can't see why (beside the obvious reason that it's simply not equal).



beginalign
frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx &neq frac1picdotint_0^pi/2 cos(x)cdot e^-jnx \
frac12picdotint_-pi/2^pi/2 cos(x)cdot e^-jnx &= fracn pi cdot sin[n pi]1 - n^2 \
frac1picdotint_0^pi/2 cos(x)cdot e^-jnx &=
fracj (1 + e^-j n pi) n(1 - n^2) pi.
endalign







integration






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 2 days ago









Leucippus

19k102769




19k102769










asked Sep 10 at 21:11









TimSch

816




816











  • This is legal. Integration is linear and you can divide your main integral into $3$. Two of them vanish.
    – Niklas
    Sep 10 at 21:16










  • $e^-jnxne e^-jn(-x)$ so no.
    – Andrei
    Sep 10 at 21:21
















  • This is legal. Integration is linear and you can divide your main integral into $3$. Two of them vanish.
    – Niklas
    Sep 10 at 21:16










  • $e^-jnxne e^-jn(-x)$ so no.
    – Andrei
    Sep 10 at 21:21















This is legal. Integration is linear and you can divide your main integral into $3$. Two of them vanish.
– Niklas
Sep 10 at 21:16




This is legal. Integration is linear and you can divide your main integral into $3$. Two of them vanish.
– Niklas
Sep 10 at 21:16












$e^-jnxne e^-jn(-x)$ so no.
– Andrei
Sep 10 at 21:21




$e^-jnxne e^-jn(-x)$ so no.
– Andrei
Sep 10 at 21:21










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










You can only exploit symmetry when the integrand in question is even, i.e. when $f(-x)=f(x)$. In this case, $f(x)=cos(x)cdot e^-jnx$. It follows that $f(-x)=cos(-x)cdot e^-jn(-x)=cos(x) cdot e^jnx$. Thus, $f(-x)neq f(x)$.






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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f2912372%2fwhy-is-frac12-pi-cdot-int-pi-2-pi-2cosx-cdot-e-jnx-neq-frac%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    You can only exploit symmetry when the integrand in question is even, i.e. when $f(-x)=f(x)$. In this case, $f(x)=cos(x)cdot e^-jnx$. It follows that $f(-x)=cos(-x)cdot e^-jn(-x)=cos(x) cdot e^jnx$. Thus, $f(-x)neq f(x)$.






    share|cite|improve this answer
























      up vote
      1
      down vote



      accepted










      You can only exploit symmetry when the integrand in question is even, i.e. when $f(-x)=f(x)$. In this case, $f(x)=cos(x)cdot e^-jnx$. It follows that $f(-x)=cos(-x)cdot e^-jn(-x)=cos(x) cdot e^jnx$. Thus, $f(-x)neq f(x)$.






      share|cite|improve this answer






















        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        You can only exploit symmetry when the integrand in question is even, i.e. when $f(-x)=f(x)$. In this case, $f(x)=cos(x)cdot e^-jnx$. It follows that $f(-x)=cos(-x)cdot e^-jn(-x)=cos(x) cdot e^jnx$. Thus, $f(-x)neq f(x)$.






        share|cite|improve this answer












        You can only exploit symmetry when the integrand in question is even, i.e. when $f(-x)=f(x)$. In this case, $f(x)=cos(x)cdot e^-jnx$. It follows that $f(-x)=cos(-x)cdot e^-jn(-x)=cos(x) cdot e^jnx$. Thus, $f(-x)neq f(x)$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Sep 10 at 22:07









        Stijn Dietz

        1016




        1016



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2912372%2fwhy-is-frac12-pi-cdot-int-pi-2-pi-2cosx-cdot-e-jnx-neq-frac%23new-answer', 'question_page');

            );

            Post as a guest













































































            這個網誌中的熱門文章

            Why am i infinitely getting the same tweet with the Twitter Search API?

            Is there any way to eliminate the singular point to solve this integral by hand or by approximations?

            Strongly p-embedded subgroups and p-Sylow subgroups.