Why can't I use symmetry to solve this integration?












2














Given the following equation (in rads):



$f(x) = cos(x^2-2x)$



The graph of its derivative will look like this:



Graph



I would like to find the total area between limited by the graph and the $x$ axis where $0leq xleq 2$.



I integrated the derivative:



$$int_0 ^2 f(x)'dx = f(x) |^2 _0 = cos(2^2 -2cdot 2) - cos(0^2 - 2cdot 0) = 0$$



This tells me that both the negative and positive part of the graph at the given range are equal to one another. Now, here's what I don't understand:



At first, I assumed that since the two parts are equal:



$$cos(2^2 -2cdot 2) = cos(0^2 - 2cdot 0)$$



I could calculate either one of them, then multiply by 2 to get the answer to my question. This is incorrect, and I would like to know why. Both parts are equal to 1 (which already looks wrong if you eyeball the area in the graph), while the correct answer is ~0.46 for both the negative and positive part, which was derived by integrating $0leq x leq 1$ or $1leq x leq 2$ separately. Multiplying this by 2 gives us the area of the graph in the requested range.



Why does my first method fail?



Apologies in advance if my question is not clear enough.










share|cite|improve this question





























    2














    Given the following equation (in rads):



    $f(x) = cos(x^2-2x)$



    The graph of its derivative will look like this:



    Graph



    I would like to find the total area between limited by the graph and the $x$ axis where $0leq xleq 2$.



    I integrated the derivative:



    $$int_0 ^2 f(x)'dx = f(x) |^2 _0 = cos(2^2 -2cdot 2) - cos(0^2 - 2cdot 0) = 0$$



    This tells me that both the negative and positive part of the graph at the given range are equal to one another. Now, here's what I don't understand:



    At first, I assumed that since the two parts are equal:



    $$cos(2^2 -2cdot 2) = cos(0^2 - 2cdot 0)$$



    I could calculate either one of them, then multiply by 2 to get the answer to my question. This is incorrect, and I would like to know why. Both parts are equal to 1 (which already looks wrong if you eyeball the area in the graph), while the correct answer is ~0.46 for both the negative and positive part, which was derived by integrating $0leq x leq 1$ or $1leq x leq 2$ separately. Multiplying this by 2 gives us the area of the graph in the requested range.



    Why does my first method fail?



    Apologies in advance if my question is not clear enough.










    share|cite|improve this question



























      2












      2








      2







      Given the following equation (in rads):



      $f(x) = cos(x^2-2x)$



      The graph of its derivative will look like this:



      Graph



      I would like to find the total area between limited by the graph and the $x$ axis where $0leq xleq 2$.



      I integrated the derivative:



      $$int_0 ^2 f(x)'dx = f(x) |^2 _0 = cos(2^2 -2cdot 2) - cos(0^2 - 2cdot 0) = 0$$



      This tells me that both the negative and positive part of the graph at the given range are equal to one another. Now, here's what I don't understand:



      At first, I assumed that since the two parts are equal:



      $$cos(2^2 -2cdot 2) = cos(0^2 - 2cdot 0)$$



      I could calculate either one of them, then multiply by 2 to get the answer to my question. This is incorrect, and I would like to know why. Both parts are equal to 1 (which already looks wrong if you eyeball the area in the graph), while the correct answer is ~0.46 for both the negative and positive part, which was derived by integrating $0leq x leq 1$ or $1leq x leq 2$ separately. Multiplying this by 2 gives us the area of the graph in the requested range.



      Why does my first method fail?



      Apologies in advance if my question is not clear enough.










      share|cite|improve this question















      Given the following equation (in rads):



      $f(x) = cos(x^2-2x)$



      The graph of its derivative will look like this:



      Graph



      I would like to find the total area between limited by the graph and the $x$ axis where $0leq xleq 2$.



      I integrated the derivative:



      $$int_0 ^2 f(x)'dx = f(x) |^2 _0 = cos(2^2 -2cdot 2) - cos(0^2 - 2cdot 0) = 0$$



      This tells me that both the negative and positive part of the graph at the given range are equal to one another. Now, here's what I don't understand:



      At first, I assumed that since the two parts are equal:



      $$cos(2^2 -2cdot 2) = cos(0^2 - 2cdot 0)$$



      I could calculate either one of them, then multiply by 2 to get the answer to my question. This is incorrect, and I would like to know why. Both parts are equal to 1 (which already looks wrong if you eyeball the area in the graph), while the correct answer is ~0.46 for both the negative and positive part, which was derived by integrating $0leq x leq 1$ or $1leq x leq 2$ separately. Multiplying this by 2 gives us the area of the graph in the requested range.



      Why does my first method fail?



      Apologies in advance if my question is not clear enough.







      calculus real-analysis integration trigonometry






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 26 at 21:55

























      asked Oct 30 at 15:01









      daedsidog

      1614




      1614






















          2 Answers
          2






          active

          oldest

          votes


















          0














          $$int_0^2f'(x)dx=int_0^2-(2x-2)sin(x^2-2x)dx=left[cos(x^2-2x)right]_0^2=cos(0)-cos(0)=0$$
          Whilst the two parts are equal:
          $$cos(2^2-2*2)=cos(0^2-2*0)$$
          we cannot just multiply one of them by two as there is no logic behind this, the reason why we minus one from the other is because of the fundamental theorem of calculus:
          $$int_a^bf(x)dx=F(b)-F(a)$$
          and in our case it just so happens that $$F(b)=F(a)$$
          The correct way to break up this integral would be:
          $$I=left|int_0^1f'(x)dxright|+left|int_1^2f'(x)dxright|$$
          or you could write this as:
          $$I=int_0^2left|f(x)right|dx$$






          share|cite|improve this answer





























            1














            Yes, the two parts are equal, but when you say you could calculate either and multiply by 2 to get the answer, that is incorrect - the value of the integral is the difference, not the sum, of these values.



            Second, you are correct that $cos(2^2-2cdot 2) = cos(0^2-2cdot 0) = 1$, but that does not mean that the integral under the right-hand part of the curve is $1$. The value of that integral is in fact $cos(2^2-2cdot 2) - cos(1^2-2cdot 1)$.






            share|cite|improve this answer





















            • Thank you for your answer, but I would like to ask for further clarification (first paragraph): if we know that the difference is zero, both parts must equal each other. When I say parts, I am referring to the subtracted & subtrahend, which both compose the integral of the entire graph. So, even if it is the difference, why can't I do this?
              – daedsidog
              Oct 30 at 15:19










            • When you compute one of them and multiply by 2, you are effectively computing their sum (if $x=y$, then $x+y=2x$, but $x-y=0$). Is that what you are asking?
              – rogerl
              Oct 30 at 15:20










            • What I am thinking is: $x - x = 0$, then $xcdot 2 = 2x $. Why isn't $2x$ the area of the graph?
              – daedsidog
              Oct 30 at 15:23












            • $xcdot 2 = 2x$ regardless of whether $x-x=0$ or not! And $2x$ is not the area under the graph for the reasons I outlined in my answer. I'm not sure what it is that you're asking here.
              – rogerl
              Oct 30 at 20: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%2f2977777%2fwhy-cant-i-use-symmetry-to-solve-this-integration%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            $$int_0^2f'(x)dx=int_0^2-(2x-2)sin(x^2-2x)dx=left[cos(x^2-2x)right]_0^2=cos(0)-cos(0)=0$$
            Whilst the two parts are equal:
            $$cos(2^2-2*2)=cos(0^2-2*0)$$
            we cannot just multiply one of them by two as there is no logic behind this, the reason why we minus one from the other is because of the fundamental theorem of calculus:
            $$int_a^bf(x)dx=F(b)-F(a)$$
            and in our case it just so happens that $$F(b)=F(a)$$
            The correct way to break up this integral would be:
            $$I=left|int_0^1f'(x)dxright|+left|int_1^2f'(x)dxright|$$
            or you could write this as:
            $$I=int_0^2left|f(x)right|dx$$






            share|cite|improve this answer


























              0














              $$int_0^2f'(x)dx=int_0^2-(2x-2)sin(x^2-2x)dx=left[cos(x^2-2x)right]_0^2=cos(0)-cos(0)=0$$
              Whilst the two parts are equal:
              $$cos(2^2-2*2)=cos(0^2-2*0)$$
              we cannot just multiply one of them by two as there is no logic behind this, the reason why we minus one from the other is because of the fundamental theorem of calculus:
              $$int_a^bf(x)dx=F(b)-F(a)$$
              and in our case it just so happens that $$F(b)=F(a)$$
              The correct way to break up this integral would be:
              $$I=left|int_0^1f'(x)dxright|+left|int_1^2f'(x)dxright|$$
              or you could write this as:
              $$I=int_0^2left|f(x)right|dx$$






              share|cite|improve this answer
























                0












                0








                0






                $$int_0^2f'(x)dx=int_0^2-(2x-2)sin(x^2-2x)dx=left[cos(x^2-2x)right]_0^2=cos(0)-cos(0)=0$$
                Whilst the two parts are equal:
                $$cos(2^2-2*2)=cos(0^2-2*0)$$
                we cannot just multiply one of them by two as there is no logic behind this, the reason why we minus one from the other is because of the fundamental theorem of calculus:
                $$int_a^bf(x)dx=F(b)-F(a)$$
                and in our case it just so happens that $$F(b)=F(a)$$
                The correct way to break up this integral would be:
                $$I=left|int_0^1f'(x)dxright|+left|int_1^2f'(x)dxright|$$
                or you could write this as:
                $$I=int_0^2left|f(x)right|dx$$






                share|cite|improve this answer












                $$int_0^2f'(x)dx=int_0^2-(2x-2)sin(x^2-2x)dx=left[cos(x^2-2x)right]_0^2=cos(0)-cos(0)=0$$
                Whilst the two parts are equal:
                $$cos(2^2-2*2)=cos(0^2-2*0)$$
                we cannot just multiply one of them by two as there is no logic behind this, the reason why we minus one from the other is because of the fundamental theorem of calculus:
                $$int_a^bf(x)dx=F(b)-F(a)$$
                and in our case it just so happens that $$F(b)=F(a)$$
                The correct way to break up this integral would be:
                $$I=left|int_0^1f'(x)dxright|+left|int_1^2f'(x)dxright|$$
                or you could write this as:
                $$I=int_0^2left|f(x)right|dx$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Oct 30 at 15:55









                Henry Lee

                1,703218




                1,703218























                    1














                    Yes, the two parts are equal, but when you say you could calculate either and multiply by 2 to get the answer, that is incorrect - the value of the integral is the difference, not the sum, of these values.



                    Second, you are correct that $cos(2^2-2cdot 2) = cos(0^2-2cdot 0) = 1$, but that does not mean that the integral under the right-hand part of the curve is $1$. The value of that integral is in fact $cos(2^2-2cdot 2) - cos(1^2-2cdot 1)$.






                    share|cite|improve this answer





















                    • Thank you for your answer, but I would like to ask for further clarification (first paragraph): if we know that the difference is zero, both parts must equal each other. When I say parts, I am referring to the subtracted & subtrahend, which both compose the integral of the entire graph. So, even if it is the difference, why can't I do this?
                      – daedsidog
                      Oct 30 at 15:19










                    • When you compute one of them and multiply by 2, you are effectively computing their sum (if $x=y$, then $x+y=2x$, but $x-y=0$). Is that what you are asking?
                      – rogerl
                      Oct 30 at 15:20










                    • What I am thinking is: $x - x = 0$, then $xcdot 2 = 2x $. Why isn't $2x$ the area of the graph?
                      – daedsidog
                      Oct 30 at 15:23












                    • $xcdot 2 = 2x$ regardless of whether $x-x=0$ or not! And $2x$ is not the area under the graph for the reasons I outlined in my answer. I'm not sure what it is that you're asking here.
                      – rogerl
                      Oct 30 at 20:04
















                    1














                    Yes, the two parts are equal, but when you say you could calculate either and multiply by 2 to get the answer, that is incorrect - the value of the integral is the difference, not the sum, of these values.



                    Second, you are correct that $cos(2^2-2cdot 2) = cos(0^2-2cdot 0) = 1$, but that does not mean that the integral under the right-hand part of the curve is $1$. The value of that integral is in fact $cos(2^2-2cdot 2) - cos(1^2-2cdot 1)$.






                    share|cite|improve this answer





















                    • Thank you for your answer, but I would like to ask for further clarification (first paragraph): if we know that the difference is zero, both parts must equal each other. When I say parts, I am referring to the subtracted & subtrahend, which both compose the integral of the entire graph. So, even if it is the difference, why can't I do this?
                      – daedsidog
                      Oct 30 at 15:19










                    • When you compute one of them and multiply by 2, you are effectively computing their sum (if $x=y$, then $x+y=2x$, but $x-y=0$). Is that what you are asking?
                      – rogerl
                      Oct 30 at 15:20










                    • What I am thinking is: $x - x = 0$, then $xcdot 2 = 2x $. Why isn't $2x$ the area of the graph?
                      – daedsidog
                      Oct 30 at 15:23












                    • $xcdot 2 = 2x$ regardless of whether $x-x=0$ or not! And $2x$ is not the area under the graph for the reasons I outlined in my answer. I'm not sure what it is that you're asking here.
                      – rogerl
                      Oct 30 at 20:04














                    1












                    1








                    1






                    Yes, the two parts are equal, but when you say you could calculate either and multiply by 2 to get the answer, that is incorrect - the value of the integral is the difference, not the sum, of these values.



                    Second, you are correct that $cos(2^2-2cdot 2) = cos(0^2-2cdot 0) = 1$, but that does not mean that the integral under the right-hand part of the curve is $1$. The value of that integral is in fact $cos(2^2-2cdot 2) - cos(1^2-2cdot 1)$.






                    share|cite|improve this answer












                    Yes, the two parts are equal, but when you say you could calculate either and multiply by 2 to get the answer, that is incorrect - the value of the integral is the difference, not the sum, of these values.



                    Second, you are correct that $cos(2^2-2cdot 2) = cos(0^2-2cdot 0) = 1$, but that does not mean that the integral under the right-hand part of the curve is $1$. The value of that integral is in fact $cos(2^2-2cdot 2) - cos(1^2-2cdot 1)$.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Oct 30 at 15:07









                    rogerl

                    17.4k22746




                    17.4k22746












                    • Thank you for your answer, but I would like to ask for further clarification (first paragraph): if we know that the difference is zero, both parts must equal each other. When I say parts, I am referring to the subtracted & subtrahend, which both compose the integral of the entire graph. So, even if it is the difference, why can't I do this?
                      – daedsidog
                      Oct 30 at 15:19










                    • When you compute one of them and multiply by 2, you are effectively computing their sum (if $x=y$, then $x+y=2x$, but $x-y=0$). Is that what you are asking?
                      – rogerl
                      Oct 30 at 15:20










                    • What I am thinking is: $x - x = 0$, then $xcdot 2 = 2x $. Why isn't $2x$ the area of the graph?
                      – daedsidog
                      Oct 30 at 15:23












                    • $xcdot 2 = 2x$ regardless of whether $x-x=0$ or not! And $2x$ is not the area under the graph for the reasons I outlined in my answer. I'm not sure what it is that you're asking here.
                      – rogerl
                      Oct 30 at 20:04


















                    • Thank you for your answer, but I would like to ask for further clarification (first paragraph): if we know that the difference is zero, both parts must equal each other. When I say parts, I am referring to the subtracted & subtrahend, which both compose the integral of the entire graph. So, even if it is the difference, why can't I do this?
                      – daedsidog
                      Oct 30 at 15:19










                    • When you compute one of them and multiply by 2, you are effectively computing their sum (if $x=y$, then $x+y=2x$, but $x-y=0$). Is that what you are asking?
                      – rogerl
                      Oct 30 at 15:20










                    • What I am thinking is: $x - x = 0$, then $xcdot 2 = 2x $. Why isn't $2x$ the area of the graph?
                      – daedsidog
                      Oct 30 at 15:23












                    • $xcdot 2 = 2x$ regardless of whether $x-x=0$ or not! And $2x$ is not the area under the graph for the reasons I outlined in my answer. I'm not sure what it is that you're asking here.
                      – rogerl
                      Oct 30 at 20:04
















                    Thank you for your answer, but I would like to ask for further clarification (first paragraph): if we know that the difference is zero, both parts must equal each other. When I say parts, I am referring to the subtracted & subtrahend, which both compose the integral of the entire graph. So, even if it is the difference, why can't I do this?
                    – daedsidog
                    Oct 30 at 15:19




                    Thank you for your answer, but I would like to ask for further clarification (first paragraph): if we know that the difference is zero, both parts must equal each other. When I say parts, I am referring to the subtracted & subtrahend, which both compose the integral of the entire graph. So, even if it is the difference, why can't I do this?
                    – daedsidog
                    Oct 30 at 15:19












                    When you compute one of them and multiply by 2, you are effectively computing their sum (if $x=y$, then $x+y=2x$, but $x-y=0$). Is that what you are asking?
                    – rogerl
                    Oct 30 at 15:20




                    When you compute one of them and multiply by 2, you are effectively computing their sum (if $x=y$, then $x+y=2x$, but $x-y=0$). Is that what you are asking?
                    – rogerl
                    Oct 30 at 15:20












                    What I am thinking is: $x - x = 0$, then $xcdot 2 = 2x $. Why isn't $2x$ the area of the graph?
                    – daedsidog
                    Oct 30 at 15:23






                    What I am thinking is: $x - x = 0$, then $xcdot 2 = 2x $. Why isn't $2x$ the area of the graph?
                    – daedsidog
                    Oct 30 at 15:23














                    $xcdot 2 = 2x$ regardless of whether $x-x=0$ or not! And $2x$ is not the area under the graph for the reasons I outlined in my answer. I'm not sure what it is that you're asking here.
                    – rogerl
                    Oct 30 at 20:04




                    $xcdot 2 = 2x$ regardless of whether $x-x=0$ or not! And $2x$ is not the area under the graph for the reasons I outlined in my answer. I'm not sure what it is that you're asking here.
                    – rogerl
                    Oct 30 at 20: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%2f2977777%2fwhy-cant-i-use-symmetry-to-solve-this-integration%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

                    How do I know what Microsoft account the skydrive app is syncing to?

                    When does type information flow backwards in C++?

                    Grease: Live!