integral f(-x) from -a to a equal to integral f(x) from -a to a











up vote
0
down vote

favorite












Can someone help with a short algebraic proof that $int_{-a}^ag(x)=int_{-a}^ag(-x)$
From making a sketch this seems to be correct and you could argue from the graph that it would be correct as the function is mirrored in the y-axis. However, I would like to have a short argument that goes better on paper and is more precise. If someone knows where to find an example I would appreciate it a lot.



If someone has another idea the problem arises from proving $frac{1}{2pi}int_{-pi}^{pi}f(x)cdot exp({inx})=frac{1}{2pi}int_{-pi}^{pi}f(-x)cdot exp{(in(-x))}$



Where $i$ is the imaginary number, $n$ is an integer and $f(x)$ is a piecewise differentiable $2pi$ periodic function. This is part of a proof in Fourier analysis.










share|cite|improve this question


























    up vote
    0
    down vote

    favorite












    Can someone help with a short algebraic proof that $int_{-a}^ag(x)=int_{-a}^ag(-x)$
    From making a sketch this seems to be correct and you could argue from the graph that it would be correct as the function is mirrored in the y-axis. However, I would like to have a short argument that goes better on paper and is more precise. If someone knows where to find an example I would appreciate it a lot.



    If someone has another idea the problem arises from proving $frac{1}{2pi}int_{-pi}^{pi}f(x)cdot exp({inx})=frac{1}{2pi}int_{-pi}^{pi}f(-x)cdot exp{(in(-x))}$



    Where $i$ is the imaginary number, $n$ is an integer and $f(x)$ is a piecewise differentiable $2pi$ periodic function. This is part of a proof in Fourier analysis.










    share|cite|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Can someone help with a short algebraic proof that $int_{-a}^ag(x)=int_{-a}^ag(-x)$
      From making a sketch this seems to be correct and you could argue from the graph that it would be correct as the function is mirrored in the y-axis. However, I would like to have a short argument that goes better on paper and is more precise. If someone knows where to find an example I would appreciate it a lot.



      If someone has another idea the problem arises from proving $frac{1}{2pi}int_{-pi}^{pi}f(x)cdot exp({inx})=frac{1}{2pi}int_{-pi}^{pi}f(-x)cdot exp{(in(-x))}$



      Where $i$ is the imaginary number, $n$ is an integer and $f(x)$ is a piecewise differentiable $2pi$ periodic function. This is part of a proof in Fourier analysis.










      share|cite|improve this question













      Can someone help with a short algebraic proof that $int_{-a}^ag(x)=int_{-a}^ag(-x)$
      From making a sketch this seems to be correct and you could argue from the graph that it would be correct as the function is mirrored in the y-axis. However, I would like to have a short argument that goes better on paper and is more precise. If someone knows where to find an example I would appreciate it a lot.



      If someone has another idea the problem arises from proving $frac{1}{2pi}int_{-pi}^{pi}f(x)cdot exp({inx})=frac{1}{2pi}int_{-pi}^{pi}f(-x)cdot exp{(in(-x))}$



      Where $i$ is the imaginary number, $n$ is an integer and $f(x)$ is a piecewise differentiable $2pi$ periodic function. This is part of a proof in Fourier analysis.







      integration fourier-analysis periodic-functions






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 19 at 18:05









      Andreas P

      153




      153






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Let $u=-x$, then:
          $$int_{-a}^{a} f(x) mathrm{d}x=int_{a}^{-a} f(-u)mathrm{d}(-u)=-int_a^{-a}f(-u)mathrm{d}u$$
          Can you continue?



          Every function can be decomposed into the sum of an odd and an even function:
          $$f(x)=f_o(x)+f_e(x)$$
          Where
          $$f_e(x)=frac{f(x)+f(-x)}{2}$$
          and
          $$f_o(x)=frac{f(x)-f(-x)}{2}$$
          So
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_o(x)mathrm{d}x+int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_o(-x)mathrm{d}x+int_{-a}^af_e(-x)mathrm{d}x$$
          The integral of an odd function on a symmetric interval is $0$, so we are left with
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x$$
          But $f_e$ is even, so $f_e(x)=f_e(-x)$:
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x=int_{-a}^af_e(x)mathrm{d}x=int_{-a}^a f(x)mathrm{d}x$$






          share|cite|improve this answer























          • $=-(-int_{-a}^af(-u)du=int_{-a}^af(-u)du$ Which is just a change of variable from calling it x...?
            – Andreas P
            Nov 19 at 18:42












          • @AndreasP yes! I've just came up with another solution. Do you want me to add it to the answer?
            – Botond
            Nov 19 at 18:45










          • Great! You are very much welcome to add all the solutions you come up with :-)
            – Andreas P
            Nov 19 at 18:49










          • @AndreasP I've added it. Note that the proof of the "$int_{-a}^{a}f_o=0$ is really similar to the first proof, but I think it's easier to see that it's true (or at least for me). Also, this odd-even decomposition can be useful sometimes.
            – Botond
            Nov 19 at 19:00










          • That is a great proof. And it only gets better since we have proved every aspect you use in our course! Thank you very much for your help
            – Andreas P
            Nov 19 at 19:02











          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%2f3005278%2fintegral-f-x-from-a-to-a-equal-to-integral-fx-from-a-to-a%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










          Let $u=-x$, then:
          $$int_{-a}^{a} f(x) mathrm{d}x=int_{a}^{-a} f(-u)mathrm{d}(-u)=-int_a^{-a}f(-u)mathrm{d}u$$
          Can you continue?



          Every function can be decomposed into the sum of an odd and an even function:
          $$f(x)=f_o(x)+f_e(x)$$
          Where
          $$f_e(x)=frac{f(x)+f(-x)}{2}$$
          and
          $$f_o(x)=frac{f(x)-f(-x)}{2}$$
          So
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_o(x)mathrm{d}x+int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_o(-x)mathrm{d}x+int_{-a}^af_e(-x)mathrm{d}x$$
          The integral of an odd function on a symmetric interval is $0$, so we are left with
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x$$
          But $f_e$ is even, so $f_e(x)=f_e(-x)$:
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x=int_{-a}^af_e(x)mathrm{d}x=int_{-a}^a f(x)mathrm{d}x$$






          share|cite|improve this answer























          • $=-(-int_{-a}^af(-u)du=int_{-a}^af(-u)du$ Which is just a change of variable from calling it x...?
            – Andreas P
            Nov 19 at 18:42












          • @AndreasP yes! I've just came up with another solution. Do you want me to add it to the answer?
            – Botond
            Nov 19 at 18:45










          • Great! You are very much welcome to add all the solutions you come up with :-)
            – Andreas P
            Nov 19 at 18:49










          • @AndreasP I've added it. Note that the proof of the "$int_{-a}^{a}f_o=0$ is really similar to the first proof, but I think it's easier to see that it's true (or at least for me). Also, this odd-even decomposition can be useful sometimes.
            – Botond
            Nov 19 at 19:00










          • That is a great proof. And it only gets better since we have proved every aspect you use in our course! Thank you very much for your help
            – Andreas P
            Nov 19 at 19:02















          up vote
          2
          down vote



          accepted










          Let $u=-x$, then:
          $$int_{-a}^{a} f(x) mathrm{d}x=int_{a}^{-a} f(-u)mathrm{d}(-u)=-int_a^{-a}f(-u)mathrm{d}u$$
          Can you continue?



          Every function can be decomposed into the sum of an odd and an even function:
          $$f(x)=f_o(x)+f_e(x)$$
          Where
          $$f_e(x)=frac{f(x)+f(-x)}{2}$$
          and
          $$f_o(x)=frac{f(x)-f(-x)}{2}$$
          So
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_o(x)mathrm{d}x+int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_o(-x)mathrm{d}x+int_{-a}^af_e(-x)mathrm{d}x$$
          The integral of an odd function on a symmetric interval is $0$, so we are left with
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x$$
          But $f_e$ is even, so $f_e(x)=f_e(-x)$:
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x=int_{-a}^af_e(x)mathrm{d}x=int_{-a}^a f(x)mathrm{d}x$$






          share|cite|improve this answer























          • $=-(-int_{-a}^af(-u)du=int_{-a}^af(-u)du$ Which is just a change of variable from calling it x...?
            – Andreas P
            Nov 19 at 18:42












          • @AndreasP yes! I've just came up with another solution. Do you want me to add it to the answer?
            – Botond
            Nov 19 at 18:45










          • Great! You are very much welcome to add all the solutions you come up with :-)
            – Andreas P
            Nov 19 at 18:49










          • @AndreasP I've added it. Note that the proof of the "$int_{-a}^{a}f_o=0$ is really similar to the first proof, but I think it's easier to see that it's true (or at least for me). Also, this odd-even decomposition can be useful sometimes.
            – Botond
            Nov 19 at 19:00










          • That is a great proof. And it only gets better since we have proved every aspect you use in our course! Thank you very much for your help
            – Andreas P
            Nov 19 at 19:02













          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          Let $u=-x$, then:
          $$int_{-a}^{a} f(x) mathrm{d}x=int_{a}^{-a} f(-u)mathrm{d}(-u)=-int_a^{-a}f(-u)mathrm{d}u$$
          Can you continue?



          Every function can be decomposed into the sum of an odd and an even function:
          $$f(x)=f_o(x)+f_e(x)$$
          Where
          $$f_e(x)=frac{f(x)+f(-x)}{2}$$
          and
          $$f_o(x)=frac{f(x)-f(-x)}{2}$$
          So
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_o(x)mathrm{d}x+int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_o(-x)mathrm{d}x+int_{-a}^af_e(-x)mathrm{d}x$$
          The integral of an odd function on a symmetric interval is $0$, so we are left with
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x$$
          But $f_e$ is even, so $f_e(x)=f_e(-x)$:
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x=int_{-a}^af_e(x)mathrm{d}x=int_{-a}^a f(x)mathrm{d}x$$






          share|cite|improve this answer














          Let $u=-x$, then:
          $$int_{-a}^{a} f(x) mathrm{d}x=int_{a}^{-a} f(-u)mathrm{d}(-u)=-int_a^{-a}f(-u)mathrm{d}u$$
          Can you continue?



          Every function can be decomposed into the sum of an odd and an even function:
          $$f(x)=f_o(x)+f_e(x)$$
          Where
          $$f_e(x)=frac{f(x)+f(-x)}{2}$$
          and
          $$f_o(x)=frac{f(x)-f(-x)}{2}$$
          So
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_o(x)mathrm{d}x+int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_o(-x)mathrm{d}x+int_{-a}^af_e(-x)mathrm{d}x$$
          The integral of an odd function on a symmetric interval is $0$, so we are left with
          $$int_{-a}^a f(x)mathrm{d}x = int_{-a}^af_e(x)mathrm{d}x$$
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x$$
          But $f_e$ is even, so $f_e(x)=f_e(-x)$:
          $$int_{-a}^a f(-x)mathrm{d}x = int_{-a}^af_e(-x)mathrm{d}x=int_{-a}^af_e(x)mathrm{d}x=int_{-a}^a f(x)mathrm{d}x$$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Nov 19 at 18:58

























          answered Nov 19 at 18:13









          Botond

          5,1912732




          5,1912732












          • $=-(-int_{-a}^af(-u)du=int_{-a}^af(-u)du$ Which is just a change of variable from calling it x...?
            – Andreas P
            Nov 19 at 18:42












          • @AndreasP yes! I've just came up with another solution. Do you want me to add it to the answer?
            – Botond
            Nov 19 at 18:45










          • Great! You are very much welcome to add all the solutions you come up with :-)
            – Andreas P
            Nov 19 at 18:49










          • @AndreasP I've added it. Note that the proof of the "$int_{-a}^{a}f_o=0$ is really similar to the first proof, but I think it's easier to see that it's true (or at least for me). Also, this odd-even decomposition can be useful sometimes.
            – Botond
            Nov 19 at 19:00










          • That is a great proof. And it only gets better since we have proved every aspect you use in our course! Thank you very much for your help
            – Andreas P
            Nov 19 at 19:02


















          • $=-(-int_{-a}^af(-u)du=int_{-a}^af(-u)du$ Which is just a change of variable from calling it x...?
            – Andreas P
            Nov 19 at 18:42












          • @AndreasP yes! I've just came up with another solution. Do you want me to add it to the answer?
            – Botond
            Nov 19 at 18:45










          • Great! You are very much welcome to add all the solutions you come up with :-)
            – Andreas P
            Nov 19 at 18:49










          • @AndreasP I've added it. Note that the proof of the "$int_{-a}^{a}f_o=0$ is really similar to the first proof, but I think it's easier to see that it's true (or at least for me). Also, this odd-even decomposition can be useful sometimes.
            – Botond
            Nov 19 at 19:00










          • That is a great proof. And it only gets better since we have proved every aspect you use in our course! Thank you very much for your help
            – Andreas P
            Nov 19 at 19:02
















          $=-(-int_{-a}^af(-u)du=int_{-a}^af(-u)du$ Which is just a change of variable from calling it x...?
          – Andreas P
          Nov 19 at 18:42






          $=-(-int_{-a}^af(-u)du=int_{-a}^af(-u)du$ Which is just a change of variable from calling it x...?
          – Andreas P
          Nov 19 at 18:42














          @AndreasP yes! I've just came up with another solution. Do you want me to add it to the answer?
          – Botond
          Nov 19 at 18:45




          @AndreasP yes! I've just came up with another solution. Do you want me to add it to the answer?
          – Botond
          Nov 19 at 18:45












          Great! You are very much welcome to add all the solutions you come up with :-)
          – Andreas P
          Nov 19 at 18:49




          Great! You are very much welcome to add all the solutions you come up with :-)
          – Andreas P
          Nov 19 at 18:49












          @AndreasP I've added it. Note that the proof of the "$int_{-a}^{a}f_o=0$ is really similar to the first proof, but I think it's easier to see that it's true (or at least for me). Also, this odd-even decomposition can be useful sometimes.
          – Botond
          Nov 19 at 19:00




          @AndreasP I've added it. Note that the proof of the "$int_{-a}^{a}f_o=0$ is really similar to the first proof, but I think it's easier to see that it's true (or at least for me). Also, this odd-even decomposition can be useful sometimes.
          – Botond
          Nov 19 at 19:00












          That is a great proof. And it only gets better since we have proved every aspect you use in our course! Thank you very much for your help
          – Andreas P
          Nov 19 at 19:02




          That is a great proof. And it only gets better since we have proved every aspect you use in our course! Thank you very much for your help
          – Andreas P
          Nov 19 at 19:02


















          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%2f3005278%2fintegral-f-x-from-a-to-a-equal-to-integral-fx-from-a-to-a%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

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei