Square root of the square of the cosine: absolute value or notWhy does the absolute value not matter here? $intfrac1sqrtu^2-1 = sec^-1(u)+C$Role of the absolute value in $int fracdxsqrt1-x^2$Absolute value in trigonometric substitutionsWhere is the absolute value when computing antiderivatives?Evaluating $intsqrt1-sin x dx$Square root of a square in an integralWhy should we ignore the absolute value of $sectheta$?Absolute value in indefinite integralIntegrating $left|f(x)right|$ by pulling out $mathrmsgn(f(x))$ from the integralConfusion about absolute value, exponents, and logarithms

Why should I pay for an SSL certificate?

Replacing old plug-in 220V range with new hardwire 3-wire electric cooktop: remove outlet or add a plug?

Adding things to bunches of things vs multiplication

Do predators tend to have vertical slit pupils versus horizontal for prey animals?

What's the relationship betweeen MS-DOS and XENIX?

Build a mob of suspiciously happy lenny faces ( ͡° ͜ʖ ͡°)

Why was ramjet fuel used as hydraulic fluid during Saturn V checkout?

Units of measurement, especially length, when body parts vary in size among races

Heyawacky: Ace of Cups

C++ Least cost swapping 2

Would getting a natural 20 with a penalty still count as a critical hit?

What is the purpose/function of this power inductor in parallel?

How to use the passive form to say "This flower was watered."

What are some tips and tricks for finding the cheapest flight when luggage and other fees are not revealed until far into the booking process?

Which manga depicts Doraemon and Nobita on Easter Island?

If it isn't [someone's name]!

A reccomended structured approach to self studying music theory for songwriting

Why do aircraft leave cruising altitude long before landing just to circle?

Output with the same length always

Output the list of musical notes

global variant of csname…endcsname

Is this bar slide trick shown on Cheers real or a visual effect?

Meaning and structure of headline "Hair it is: A List of ..."

Get file name and directory in .vimrc file



Square root of the square of the cosine: absolute value or not


Why does the absolute value not matter here? $intfrac1 = sec^-1(u)+C$Role of the absolute value in $int fracdxsqrt1-x^2$Absolute value in trigonometric substitutionsWhere is the absolute value when computing antiderivatives?Evaluating $intsqrt1-sin x dx$Square root of a square in an integralWhy should we ignore the absolute value of $sectheta$?Absolute value in indefinite integralIntegrating $left|f(x)right|$ by pulling out $mathrmsgn(f(x))$ from the integralConfusion about absolute value, exponents, and logarithms






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4












$begingroup$


Given the following function we find its derivative:



$$a) fracddxleft[arcsin(sin(x))right] = frac1sqrt1 - sin^2(x)cos(x) = fraccos(x)sqrtcos^2(x) = fraccos(x)$$



It is important to notice that in the last step the square root of the square resulted in the absolute value, which makes sense if we check the graph of $arcsin(sin(x))$.



Now, the we try to find another integral:



$$b) int fracdxsqrt(x - a)(b - x)$$



Here we use the substitution



$$ x - a = (b - a)sin^2(u), dx = 2(b - a)sin(u)cos(u)du$$



I do not know why this particular substitution was chosen, except that it is hinted at by Apostol. So, with this substitution it is easy to find:



$$int fracdxsqrt(x - a)(b - x) = frac2(b - a)sin(u)cos(u)sqrt(b - a)sin^2(u)(b - a)cos^2(u)du = frac2(b - a)b - aint fracsin(u)cos(u)sin(u)cos(u)du$$



which is then trivial. It is important that here $sqrtsin^2(x)cos^2(x) = sin(x)cos(x)$ unlike in (a), and $sin/cos$ themselves are pulled out, not their absolute values!



What is the difference in (a), and (b)? I do not understand why in (b) we are allowed to pull out non-absolute value $sqrtcos^2(x)sin^2(x) = sin(x)cos(x)$, while it should be like in (a).










share|cite|improve this question











$endgroup$




















    4












    $begingroup$


    Given the following function we find its derivative:



    $$a) fracddxleft[arcsin(sin(x))right] = frac1sqrt1 - sin^2(x)cos(x) = fraccos(x)sqrtcos^2(x) = fraccos(x)$$



    It is important to notice that in the last step the square root of the square resulted in the absolute value, which makes sense if we check the graph of $arcsin(sin(x))$.



    Now, the we try to find another integral:



    $$b) int fracdxsqrt(x - a)(b - x)$$



    Here we use the substitution



    $$ x - a = (b - a)sin^2(u), dx = 2(b - a)sin(u)cos(u)du$$



    I do not know why this particular substitution was chosen, except that it is hinted at by Apostol. So, with this substitution it is easy to find:



    $$int fracdxsqrt(x - a)(b - x) = frac2(b - a)sin(u)cos(u)sqrt(b - a)sin^2(u)(b - a)cos^2(u)du = frac2(b - a)b - aint fracsin(u)cos(u)sin(u)cos(u)du$$



    which is then trivial. It is important that here $sqrtsin^2(x)cos^2(x) = sin(x)cos(x)$ unlike in (a), and $sin/cos$ themselves are pulled out, not their absolute values!



    What is the difference in (a), and (b)? I do not understand why in (b) we are allowed to pull out non-absolute value $sqrtcos^2(x)sin^2(x) = sin(x)cos(x)$, while it should be like in (a).










    share|cite|improve this question











    $endgroup$
















      4












      4








      4


      1



      $begingroup$


      Given the following function we find its derivative:



      $$a) fracddxleft[arcsin(sin(x))right] = frac1sqrt1 - sin^2(x)cos(x) = fraccos(x)sqrtcos^2(x) = fraccos(x)$$



      It is important to notice that in the last step the square root of the square resulted in the absolute value, which makes sense if we check the graph of $arcsin(sin(x))$.



      Now, the we try to find another integral:



      $$b) int fracdxsqrt(x - a)(b - x)$$



      Here we use the substitution



      $$ x - a = (b - a)sin^2(u), dx = 2(b - a)sin(u)cos(u)du$$



      I do not know why this particular substitution was chosen, except that it is hinted at by Apostol. So, with this substitution it is easy to find:



      $$int fracdxsqrt(x - a)(b - x) = frac2(b - a)sin(u)cos(u)sqrt(b - a)sin^2(u)(b - a)cos^2(u)du = frac2(b - a)b - aint fracsin(u)cos(u)sin(u)cos(u)du$$



      which is then trivial. It is important that here $sqrtsin^2(x)cos^2(x) = sin(x)cos(x)$ unlike in (a), and $sin/cos$ themselves are pulled out, not their absolute values!



      What is the difference in (a), and (b)? I do not understand why in (b) we are allowed to pull out non-absolute value $sqrtcos^2(x)sin^2(x) = sin(x)cos(x)$, while it should be like in (a).










      share|cite|improve this question











      $endgroup$




      Given the following function we find its derivative:



      $$a) fracddxleft[arcsin(sin(x))right] = frac1sqrt1 - sin^2(x)cos(x) = fraccos(x)sqrtcos^2(x) = fraccos(x)$$



      It is important to notice that in the last step the square root of the square resulted in the absolute value, which makes sense if we check the graph of $arcsin(sin(x))$.



      Now, the we try to find another integral:



      $$b) int fracdxsqrt(x - a)(b - x)$$



      Here we use the substitution



      $$ x - a = (b - a)sin^2(u), dx = 2(b - a)sin(u)cos(u)du$$



      I do not know why this particular substitution was chosen, except that it is hinted at by Apostol. So, with this substitution it is easy to find:



      $$int fracdxsqrt(x - a)(b - x) = frac2(b - a)sin(u)cos(u)sqrt(b - a)sin^2(u)(b - a)cos^2(u)du = frac2(b - a)b - aint fracsin(u)cos(u)sin(u)cos(u)du$$



      which is then trivial. It is important that here $sqrtsin^2(x)cos^2(x) = sin(x)cos(x)$ unlike in (a), and $sin/cos$ themselves are pulled out, not their absolute values!



      What is the difference in (a), and (b)? I do not understand why in (b) we are allowed to pull out non-absolute value $sqrtcos^2(x)sin^2(x) = sin(x)cos(x)$, while it should be like in (a).







      calculus integration trigonometry absolute-value






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Aug 5 at 21:36









      Micah

      31.2k13 gold badges66 silver badges108 bronze badges




      31.2k13 gold badges66 silver badges108 bronze badges










      asked Aug 5 at 21:22









      JohnJohn

      4031 gold badge4 silver badges16 bronze badges




      4031 gold badge4 silver badges16 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          8












          $begingroup$

          The function $(b-a)sin^2 u$ is not one-to-one. So in order to make the substitution $x-a=(b-a)sin^2 u$ you have to restrict the domain of $sin^2 u$: otherwise, you won't know which value of $u$ corresponds to a given $x$.



          The most natural choice of domain where $(b-a)sin^2 u$ is one-to-one is the interval $left[0,fracpi2right]$. Since $(b-a)sin^2 u$ attains its full range for $u$ in this domain, there is no harm in restricting $u$ to this domain when making the substitution.



          But on this interval, $sin u cos u$ is nonnegative, because $sin u$ and $cos u$ are individually non-negative. So it is genuinely true that $sqrtsin^2 u cos^2 u=sin u cos u$, without absolute values.






          share|cite|improve this answer









          $endgroup$














          • $begingroup$
            Ah, I think I got it finally. Took me a while to digest the restriction part: so it seems that we are assured that there exists a $u in [0, pi/2]$, s.t. the substitution is correct. I was a little unclear about the result - the integration result is $u$ (before back-substitution of $x$), so it does not indicate any restriction explicitly. But in fact, there is an implicit restriction on $u$ (the result of integration) - it is in the first quadrant?
            $endgroup$
            – John
            Aug 5 at 21:57











          • $begingroup$
            I am also really interested how you think about this example. Is there some kind of algorithm you use to check these domains, or every such integral is generally a novelty, so that you have to recheck the domains? I really liked you reasoning about the domain-range of $(b-a)sin^2(u)$ - very clear and coherent. What is it that I regularly need to check to ensure there is no blunder with absolute values?
            $endgroup$
            – John
            Aug 5 at 22:04







          • 1




            $begingroup$
            I don't know if you can make it totally algorithmic, but there are some useful points to keep in mind. One is that the absolute value function is not differentiable, so it can only show up if either the integrand is discontinuous or its domain is disconnected. In this case, the integrand is continuous on a connected domain ($a < x < b$ or vice versa), so the absolute values must all drop out somehow. In general you should start to worry more about absolute values when you're making secant substitutions, because they tend to correlate with disconnected domains.
            $endgroup$
            – Micah
            Aug 5 at 22:32







          • 1




            $begingroup$
            For example, if your integrand involves a $sqrtx^2-1$, you might have to treat the domains $x ge 1$ and $x le -1$ separately. The other point is that definite integrals are often easier to understand than indefinite integrals. If you ever find yourself getting confused by this sort of issue, it's helpful to think through what would happen if you added limits of integration to the problem. (What values could they take? What would happen to those values after you made the substitution? And so on...)
            $endgroup$
            – Micah
            Aug 5 at 22:32










          • $begingroup$
            Nice advice, thank you, Micah! :)
            $endgroup$
            – John
            Aug 5 at 23:23


















          3












          $begingroup$

          Note that in the second integral, if you are using real numbers, then $ale xle b$ or $ble xle a$ (otherwise the argument of the square root is negative). The the substitution you are making implies $0le ule pi/2$, so both $sin$ and $cos$ have positive values.






          share|cite|improve this answer









          $endgroup$

















            Your Answer








            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%2f3314608%2fsquare-root-of-the-square-of-the-cosine-absolute-value-or-not%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









            8












            $begingroup$

            The function $(b-a)sin^2 u$ is not one-to-one. So in order to make the substitution $x-a=(b-a)sin^2 u$ you have to restrict the domain of $sin^2 u$: otherwise, you won't know which value of $u$ corresponds to a given $x$.



            The most natural choice of domain where $(b-a)sin^2 u$ is one-to-one is the interval $left[0,fracpi2right]$. Since $(b-a)sin^2 u$ attains its full range for $u$ in this domain, there is no harm in restricting $u$ to this domain when making the substitution.



            But on this interval, $sin u cos u$ is nonnegative, because $sin u$ and $cos u$ are individually non-negative. So it is genuinely true that $sqrtsin^2 u cos^2 u=sin u cos u$, without absolute values.






            share|cite|improve this answer









            $endgroup$














            • $begingroup$
              Ah, I think I got it finally. Took me a while to digest the restriction part: so it seems that we are assured that there exists a $u in [0, pi/2]$, s.t. the substitution is correct. I was a little unclear about the result - the integration result is $u$ (before back-substitution of $x$), so it does not indicate any restriction explicitly. But in fact, there is an implicit restriction on $u$ (the result of integration) - it is in the first quadrant?
              $endgroup$
              – John
              Aug 5 at 21:57











            • $begingroup$
              I am also really interested how you think about this example. Is there some kind of algorithm you use to check these domains, or every such integral is generally a novelty, so that you have to recheck the domains? I really liked you reasoning about the domain-range of $(b-a)sin^2(u)$ - very clear and coherent. What is it that I regularly need to check to ensure there is no blunder with absolute values?
              $endgroup$
              – John
              Aug 5 at 22:04







            • 1




              $begingroup$
              I don't know if you can make it totally algorithmic, but there are some useful points to keep in mind. One is that the absolute value function is not differentiable, so it can only show up if either the integrand is discontinuous or its domain is disconnected. In this case, the integrand is continuous on a connected domain ($a < x < b$ or vice versa), so the absolute values must all drop out somehow. In general you should start to worry more about absolute values when you're making secant substitutions, because they tend to correlate with disconnected domains.
              $endgroup$
              – Micah
              Aug 5 at 22:32







            • 1




              $begingroup$
              For example, if your integrand involves a $sqrtx^2-1$, you might have to treat the domains $x ge 1$ and $x le -1$ separately. The other point is that definite integrals are often easier to understand than indefinite integrals. If you ever find yourself getting confused by this sort of issue, it's helpful to think through what would happen if you added limits of integration to the problem. (What values could they take? What would happen to those values after you made the substitution? And so on...)
              $endgroup$
              – Micah
              Aug 5 at 22:32










            • $begingroup$
              Nice advice, thank you, Micah! :)
              $endgroup$
              – John
              Aug 5 at 23:23















            8












            $begingroup$

            The function $(b-a)sin^2 u$ is not one-to-one. So in order to make the substitution $x-a=(b-a)sin^2 u$ you have to restrict the domain of $sin^2 u$: otherwise, you won't know which value of $u$ corresponds to a given $x$.



            The most natural choice of domain where $(b-a)sin^2 u$ is one-to-one is the interval $left[0,fracpi2right]$. Since $(b-a)sin^2 u$ attains its full range for $u$ in this domain, there is no harm in restricting $u$ to this domain when making the substitution.



            But on this interval, $sin u cos u$ is nonnegative, because $sin u$ and $cos u$ are individually non-negative. So it is genuinely true that $sqrtsin^2 u cos^2 u=sin u cos u$, without absolute values.






            share|cite|improve this answer









            $endgroup$














            • $begingroup$
              Ah, I think I got it finally. Took me a while to digest the restriction part: so it seems that we are assured that there exists a $u in [0, pi/2]$, s.t. the substitution is correct. I was a little unclear about the result - the integration result is $u$ (before back-substitution of $x$), so it does not indicate any restriction explicitly. But in fact, there is an implicit restriction on $u$ (the result of integration) - it is in the first quadrant?
              $endgroup$
              – John
              Aug 5 at 21:57











            • $begingroup$
              I am also really interested how you think about this example. Is there some kind of algorithm you use to check these domains, or every such integral is generally a novelty, so that you have to recheck the domains? I really liked you reasoning about the domain-range of $(b-a)sin^2(u)$ - very clear and coherent. What is it that I regularly need to check to ensure there is no blunder with absolute values?
              $endgroup$
              – John
              Aug 5 at 22:04







            • 1




              $begingroup$
              I don't know if you can make it totally algorithmic, but there are some useful points to keep in mind. One is that the absolute value function is not differentiable, so it can only show up if either the integrand is discontinuous or its domain is disconnected. In this case, the integrand is continuous on a connected domain ($a < x < b$ or vice versa), so the absolute values must all drop out somehow. In general you should start to worry more about absolute values when you're making secant substitutions, because they tend to correlate with disconnected domains.
              $endgroup$
              – Micah
              Aug 5 at 22:32







            • 1




              $begingroup$
              For example, if your integrand involves a $sqrtx^2-1$, you might have to treat the domains $x ge 1$ and $x le -1$ separately. The other point is that definite integrals are often easier to understand than indefinite integrals. If you ever find yourself getting confused by this sort of issue, it's helpful to think through what would happen if you added limits of integration to the problem. (What values could they take? What would happen to those values after you made the substitution? And so on...)
              $endgroup$
              – Micah
              Aug 5 at 22:32










            • $begingroup$
              Nice advice, thank you, Micah! :)
              $endgroup$
              – John
              Aug 5 at 23:23













            8












            8








            8





            $begingroup$

            The function $(b-a)sin^2 u$ is not one-to-one. So in order to make the substitution $x-a=(b-a)sin^2 u$ you have to restrict the domain of $sin^2 u$: otherwise, you won't know which value of $u$ corresponds to a given $x$.



            The most natural choice of domain where $(b-a)sin^2 u$ is one-to-one is the interval $left[0,fracpi2right]$. Since $(b-a)sin^2 u$ attains its full range for $u$ in this domain, there is no harm in restricting $u$ to this domain when making the substitution.



            But on this interval, $sin u cos u$ is nonnegative, because $sin u$ and $cos u$ are individually non-negative. So it is genuinely true that $sqrtsin^2 u cos^2 u=sin u cos u$, without absolute values.






            share|cite|improve this answer









            $endgroup$



            The function $(b-a)sin^2 u$ is not one-to-one. So in order to make the substitution $x-a=(b-a)sin^2 u$ you have to restrict the domain of $sin^2 u$: otherwise, you won't know which value of $u$ corresponds to a given $x$.



            The most natural choice of domain where $(b-a)sin^2 u$ is one-to-one is the interval $left[0,fracpi2right]$. Since $(b-a)sin^2 u$ attains its full range for $u$ in this domain, there is no harm in restricting $u$ to this domain when making the substitution.



            But on this interval, $sin u cos u$ is nonnegative, because $sin u$ and $cos u$ are individually non-negative. So it is genuinely true that $sqrtsin^2 u cos^2 u=sin u cos u$, without absolute values.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Aug 5 at 21:32









            MicahMicah

            31.2k13 gold badges66 silver badges108 bronze badges




            31.2k13 gold badges66 silver badges108 bronze badges














            • $begingroup$
              Ah, I think I got it finally. Took me a while to digest the restriction part: so it seems that we are assured that there exists a $u in [0, pi/2]$, s.t. the substitution is correct. I was a little unclear about the result - the integration result is $u$ (before back-substitution of $x$), so it does not indicate any restriction explicitly. But in fact, there is an implicit restriction on $u$ (the result of integration) - it is in the first quadrant?
              $endgroup$
              – John
              Aug 5 at 21:57











            • $begingroup$
              I am also really interested how you think about this example. Is there some kind of algorithm you use to check these domains, or every such integral is generally a novelty, so that you have to recheck the domains? I really liked you reasoning about the domain-range of $(b-a)sin^2(u)$ - very clear and coherent. What is it that I regularly need to check to ensure there is no blunder with absolute values?
              $endgroup$
              – John
              Aug 5 at 22:04







            • 1




              $begingroup$
              I don't know if you can make it totally algorithmic, but there are some useful points to keep in mind. One is that the absolute value function is not differentiable, so it can only show up if either the integrand is discontinuous or its domain is disconnected. In this case, the integrand is continuous on a connected domain ($a < x < b$ or vice versa), so the absolute values must all drop out somehow. In general you should start to worry more about absolute values when you're making secant substitutions, because they tend to correlate with disconnected domains.
              $endgroup$
              – Micah
              Aug 5 at 22:32







            • 1




              $begingroup$
              For example, if your integrand involves a $sqrtx^2-1$, you might have to treat the domains $x ge 1$ and $x le -1$ separately. The other point is that definite integrals are often easier to understand than indefinite integrals. If you ever find yourself getting confused by this sort of issue, it's helpful to think through what would happen if you added limits of integration to the problem. (What values could they take? What would happen to those values after you made the substitution? And so on...)
              $endgroup$
              – Micah
              Aug 5 at 22:32










            • $begingroup$
              Nice advice, thank you, Micah! :)
              $endgroup$
              – John
              Aug 5 at 23:23
















            • $begingroup$
              Ah, I think I got it finally. Took me a while to digest the restriction part: so it seems that we are assured that there exists a $u in [0, pi/2]$, s.t. the substitution is correct. I was a little unclear about the result - the integration result is $u$ (before back-substitution of $x$), so it does not indicate any restriction explicitly. But in fact, there is an implicit restriction on $u$ (the result of integration) - it is in the first quadrant?
              $endgroup$
              – John
              Aug 5 at 21:57











            • $begingroup$
              I am also really interested how you think about this example. Is there some kind of algorithm you use to check these domains, or every such integral is generally a novelty, so that you have to recheck the domains? I really liked you reasoning about the domain-range of $(b-a)sin^2(u)$ - very clear and coherent. What is it that I regularly need to check to ensure there is no blunder with absolute values?
              $endgroup$
              – John
              Aug 5 at 22:04







            • 1




              $begingroup$
              I don't know if you can make it totally algorithmic, but there are some useful points to keep in mind. One is that the absolute value function is not differentiable, so it can only show up if either the integrand is discontinuous or its domain is disconnected. In this case, the integrand is continuous on a connected domain ($a < x < b$ or vice versa), so the absolute values must all drop out somehow. In general you should start to worry more about absolute values when you're making secant substitutions, because they tend to correlate with disconnected domains.
              $endgroup$
              – Micah
              Aug 5 at 22:32







            • 1




              $begingroup$
              For example, if your integrand involves a $sqrtx^2-1$, you might have to treat the domains $x ge 1$ and $x le -1$ separately. The other point is that definite integrals are often easier to understand than indefinite integrals. If you ever find yourself getting confused by this sort of issue, it's helpful to think through what would happen if you added limits of integration to the problem. (What values could they take? What would happen to those values after you made the substitution? And so on...)
              $endgroup$
              – Micah
              Aug 5 at 22:32










            • $begingroup$
              Nice advice, thank you, Micah! :)
              $endgroup$
              – John
              Aug 5 at 23:23















            $begingroup$
            Ah, I think I got it finally. Took me a while to digest the restriction part: so it seems that we are assured that there exists a $u in [0, pi/2]$, s.t. the substitution is correct. I was a little unclear about the result - the integration result is $u$ (before back-substitution of $x$), so it does not indicate any restriction explicitly. But in fact, there is an implicit restriction on $u$ (the result of integration) - it is in the first quadrant?
            $endgroup$
            – John
            Aug 5 at 21:57





            $begingroup$
            Ah, I think I got it finally. Took me a while to digest the restriction part: so it seems that we are assured that there exists a $u in [0, pi/2]$, s.t. the substitution is correct. I was a little unclear about the result - the integration result is $u$ (before back-substitution of $x$), so it does not indicate any restriction explicitly. But in fact, there is an implicit restriction on $u$ (the result of integration) - it is in the first quadrant?
            $endgroup$
            – John
            Aug 5 at 21:57













            $begingroup$
            I am also really interested how you think about this example. Is there some kind of algorithm you use to check these domains, or every such integral is generally a novelty, so that you have to recheck the domains? I really liked you reasoning about the domain-range of $(b-a)sin^2(u)$ - very clear and coherent. What is it that I regularly need to check to ensure there is no blunder with absolute values?
            $endgroup$
            – John
            Aug 5 at 22:04





            $begingroup$
            I am also really interested how you think about this example. Is there some kind of algorithm you use to check these domains, or every such integral is generally a novelty, so that you have to recheck the domains? I really liked you reasoning about the domain-range of $(b-a)sin^2(u)$ - very clear and coherent. What is it that I regularly need to check to ensure there is no blunder with absolute values?
            $endgroup$
            – John
            Aug 5 at 22:04





            1




            1




            $begingroup$
            I don't know if you can make it totally algorithmic, but there are some useful points to keep in mind. One is that the absolute value function is not differentiable, so it can only show up if either the integrand is discontinuous or its domain is disconnected. In this case, the integrand is continuous on a connected domain ($a < x < b$ or vice versa), so the absolute values must all drop out somehow. In general you should start to worry more about absolute values when you're making secant substitutions, because they tend to correlate with disconnected domains.
            $endgroup$
            – Micah
            Aug 5 at 22:32





            $begingroup$
            I don't know if you can make it totally algorithmic, but there are some useful points to keep in mind. One is that the absolute value function is not differentiable, so it can only show up if either the integrand is discontinuous or its domain is disconnected. In this case, the integrand is continuous on a connected domain ($a < x < b$ or vice versa), so the absolute values must all drop out somehow. In general you should start to worry more about absolute values when you're making secant substitutions, because they tend to correlate with disconnected domains.
            $endgroup$
            – Micah
            Aug 5 at 22:32





            1




            1




            $begingroup$
            For example, if your integrand involves a $sqrtx^2-1$, you might have to treat the domains $x ge 1$ and $x le -1$ separately. The other point is that definite integrals are often easier to understand than indefinite integrals. If you ever find yourself getting confused by this sort of issue, it's helpful to think through what would happen if you added limits of integration to the problem. (What values could they take? What would happen to those values after you made the substitution? And so on...)
            $endgroup$
            – Micah
            Aug 5 at 22:32




            $begingroup$
            For example, if your integrand involves a $sqrtx^2-1$, you might have to treat the domains $x ge 1$ and $x le -1$ separately. The other point is that definite integrals are often easier to understand than indefinite integrals. If you ever find yourself getting confused by this sort of issue, it's helpful to think through what would happen if you added limits of integration to the problem. (What values could they take? What would happen to those values after you made the substitution? And so on...)
            $endgroup$
            – Micah
            Aug 5 at 22:32












            $begingroup$
            Nice advice, thank you, Micah! :)
            $endgroup$
            – John
            Aug 5 at 23:23




            $begingroup$
            Nice advice, thank you, Micah! :)
            $endgroup$
            – John
            Aug 5 at 23:23













            3












            $begingroup$

            Note that in the second integral, if you are using real numbers, then $ale xle b$ or $ble xle a$ (otherwise the argument of the square root is negative). The the substitution you are making implies $0le ule pi/2$, so both $sin$ and $cos$ have positive values.






            share|cite|improve this answer









            $endgroup$



















              3












              $begingroup$

              Note that in the second integral, if you are using real numbers, then $ale xle b$ or $ble xle a$ (otherwise the argument of the square root is negative). The the substitution you are making implies $0le ule pi/2$, so both $sin$ and $cos$ have positive values.






              share|cite|improve this answer









              $endgroup$

















                3












                3








                3





                $begingroup$

                Note that in the second integral, if you are using real numbers, then $ale xle b$ or $ble xle a$ (otherwise the argument of the square root is negative). The the substitution you are making implies $0le ule pi/2$, so both $sin$ and $cos$ have positive values.






                share|cite|improve this answer









                $endgroup$



                Note that in the second integral, if you are using real numbers, then $ale xle b$ or $ble xle a$ (otherwise the argument of the square root is negative). The the substitution you are making implies $0le ule pi/2$, so both $sin$ and $cos$ have positive values.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Aug 5 at 21:32









                AndreiAndrei

                15.8k2 gold badges14 silver badges30 bronze badges




                15.8k2 gold badges14 silver badges30 bronze badges






























                    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%2f3314608%2fsquare-root-of-the-square-of-the-cosine-absolute-value-or-not%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

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                    Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?