When change of variable makes an empty interval












14














Please consider the following case:



$$I = int^1_{-1}x^2dx$$
$$u(x) = x^2 rightarrow du = 2x,dx$$
$$u(-1) = 1, u(1) = 1$$



So



$$I = int^1_1frac{u}{2sqrt u} du = 0$$



Obviously the problem here is to only consider the positive root of u. I don't know how to consider both roots. This example is trivial but I have another example where such substitution would be really helpful:



$$I = int^1_{-1}frac{x^2(1 - x^2)^frac{3}{2}}{3} - frac{x^2(1 - x^2)^frac{5}{2}}{5} - frac{x^4(1 - x^2)^frac{3}{2}}{3} dx$$



I don't want you to solve it for me using another method, I know how to use an integral solver online. My question is how to properly do the change of variable.










share|cite|improve this question
























  • The derivative of $x^2$ isn't 2
    – orange
    Dec 9 at 19:06










  • @orange Thanks, corrected
    – Winter
    Dec 9 at 19:42










  • related: $u$-substitution always evaluates to $0$
    – Dando18
    Dec 10 at 2:45
















14














Please consider the following case:



$$I = int^1_{-1}x^2dx$$
$$u(x) = x^2 rightarrow du = 2x,dx$$
$$u(-1) = 1, u(1) = 1$$



So



$$I = int^1_1frac{u}{2sqrt u} du = 0$$



Obviously the problem here is to only consider the positive root of u. I don't know how to consider both roots. This example is trivial but I have another example where such substitution would be really helpful:



$$I = int^1_{-1}frac{x^2(1 - x^2)^frac{3}{2}}{3} - frac{x^2(1 - x^2)^frac{5}{2}}{5} - frac{x^4(1 - x^2)^frac{3}{2}}{3} dx$$



I don't want you to solve it for me using another method, I know how to use an integral solver online. My question is how to properly do the change of variable.










share|cite|improve this question
























  • The derivative of $x^2$ isn't 2
    – orange
    Dec 9 at 19:06










  • @orange Thanks, corrected
    – Winter
    Dec 9 at 19:42










  • related: $u$-substitution always evaluates to $0$
    – Dando18
    Dec 10 at 2:45














14












14








14


2





Please consider the following case:



$$I = int^1_{-1}x^2dx$$
$$u(x) = x^2 rightarrow du = 2x,dx$$
$$u(-1) = 1, u(1) = 1$$



So



$$I = int^1_1frac{u}{2sqrt u} du = 0$$



Obviously the problem here is to only consider the positive root of u. I don't know how to consider both roots. This example is trivial but I have another example where such substitution would be really helpful:



$$I = int^1_{-1}frac{x^2(1 - x^2)^frac{3}{2}}{3} - frac{x^2(1 - x^2)^frac{5}{2}}{5} - frac{x^4(1 - x^2)^frac{3}{2}}{3} dx$$



I don't want you to solve it for me using another method, I know how to use an integral solver online. My question is how to properly do the change of variable.










share|cite|improve this question















Please consider the following case:



$$I = int^1_{-1}x^2dx$$
$$u(x) = x^2 rightarrow du = 2x,dx$$
$$u(-1) = 1, u(1) = 1$$



So



$$I = int^1_1frac{u}{2sqrt u} du = 0$$



Obviously the problem here is to only consider the positive root of u. I don't know how to consider both roots. This example is trivial but I have another example where such substitution would be really helpful:



$$I = int^1_{-1}frac{x^2(1 - x^2)^frac{3}{2}}{3} - frac{x^2(1 - x^2)^frac{5}{2}}{5} - frac{x^4(1 - x^2)^frac{3}{2}}{3} dx$$



I don't want you to solve it for me using another method, I know how to use an integral solver online. My question is how to properly do the change of variable.







integration definite-integrals change-of-variable






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 9 at 19:41

























asked Dec 9 at 17:12









Winter

492421




492421












  • The derivative of $x^2$ isn't 2
    – orange
    Dec 9 at 19:06










  • @orange Thanks, corrected
    – Winter
    Dec 9 at 19:42










  • related: $u$-substitution always evaluates to $0$
    – Dando18
    Dec 10 at 2:45


















  • The derivative of $x^2$ isn't 2
    – orange
    Dec 9 at 19:06










  • @orange Thanks, corrected
    – Winter
    Dec 9 at 19:42










  • related: $u$-substitution always evaluates to $0$
    – Dando18
    Dec 10 at 2:45
















The derivative of $x^2$ isn't 2
– orange
Dec 9 at 19:06




The derivative of $x^2$ isn't 2
– orange
Dec 9 at 19:06












@orange Thanks, corrected
– Winter
Dec 9 at 19:42




@orange Thanks, corrected
– Winter
Dec 9 at 19:42












related: $u$-substitution always evaluates to $0$
– Dando18
Dec 10 at 2:45




related: $u$-substitution always evaluates to $0$
– Dando18
Dec 10 at 2:45










2 Answers
2






active

oldest

votes


















12














In general you need to use a one-to-one change of variable; thus for instance if you were to compute $int_{-1}^1 x^2 dx$ you would split into $int_{-1}^0 x^2 dx + int_0^1 x^2 dx$. Then each of those integrals, after substitution and simplification, becomes $int_0^1 frac{1}{2} u^{1/2} du$.



(That said, there are some situations where by basically breaking the rules twice you cancel out your mistakes and get the right answer; see Why can the trig sub $x=cosh(theta)$ be used to solve the integral: $int frac{1}{(x^2-1)^{3/2}}dx$? for instance.)






share|cite|improve this answer





















  • It is not necessary for changes of variable to be one-to-one, see my comment here: math.stackexchange.com/a/1101421/5316
    – Matthew Towers
    Dec 9 at 19:39






  • 1




    @MatthewTowers Yes, it is true that $int_a^b f'(x) dx$ is always $f(b) - f(a)$, regardless of injectivity, which means you can do various similar things also regardless of injectivity. What injectivity buys you is a lack of a singularity in $frac{dx}{du}$, which is a serious problem for, say, $u=x^2$ on $[a,b]$ with $a<0,b>0$.
    – Ian
    Dec 9 at 19:52



















15














While it's certainly true that $du = 2x,dx$ over the whole region of integration, it's not true that $x = sqrt{u}$ over the region. This is only true for $x > 0$, so you can't apply it to the whole integral. Instead, you need to split it apart and use the correct transformation $x = -sqrt{u}$ for the region $x < 0$.



In general, if your change of variables $u(x)$ has a multivalued inverse, you'll need to split the integral into the regions where each possible inverse function $x(u)$ applies.






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',
    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%2f3032622%2fwhen-change-of-variable-makes-an-empty-interval%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









    12














    In general you need to use a one-to-one change of variable; thus for instance if you were to compute $int_{-1}^1 x^2 dx$ you would split into $int_{-1}^0 x^2 dx + int_0^1 x^2 dx$. Then each of those integrals, after substitution and simplification, becomes $int_0^1 frac{1}{2} u^{1/2} du$.



    (That said, there are some situations where by basically breaking the rules twice you cancel out your mistakes and get the right answer; see Why can the trig sub $x=cosh(theta)$ be used to solve the integral: $int frac{1}{(x^2-1)^{3/2}}dx$? for instance.)






    share|cite|improve this answer





















    • It is not necessary for changes of variable to be one-to-one, see my comment here: math.stackexchange.com/a/1101421/5316
      – Matthew Towers
      Dec 9 at 19:39






    • 1




      @MatthewTowers Yes, it is true that $int_a^b f'(x) dx$ is always $f(b) - f(a)$, regardless of injectivity, which means you can do various similar things also regardless of injectivity. What injectivity buys you is a lack of a singularity in $frac{dx}{du}$, which is a serious problem for, say, $u=x^2$ on $[a,b]$ with $a<0,b>0$.
      – Ian
      Dec 9 at 19:52
















    12














    In general you need to use a one-to-one change of variable; thus for instance if you were to compute $int_{-1}^1 x^2 dx$ you would split into $int_{-1}^0 x^2 dx + int_0^1 x^2 dx$. Then each of those integrals, after substitution and simplification, becomes $int_0^1 frac{1}{2} u^{1/2} du$.



    (That said, there are some situations where by basically breaking the rules twice you cancel out your mistakes and get the right answer; see Why can the trig sub $x=cosh(theta)$ be used to solve the integral: $int frac{1}{(x^2-1)^{3/2}}dx$? for instance.)






    share|cite|improve this answer





















    • It is not necessary for changes of variable to be one-to-one, see my comment here: math.stackexchange.com/a/1101421/5316
      – Matthew Towers
      Dec 9 at 19:39






    • 1




      @MatthewTowers Yes, it is true that $int_a^b f'(x) dx$ is always $f(b) - f(a)$, regardless of injectivity, which means you can do various similar things also regardless of injectivity. What injectivity buys you is a lack of a singularity in $frac{dx}{du}$, which is a serious problem for, say, $u=x^2$ on $[a,b]$ with $a<0,b>0$.
      – Ian
      Dec 9 at 19:52














    12












    12








    12






    In general you need to use a one-to-one change of variable; thus for instance if you were to compute $int_{-1}^1 x^2 dx$ you would split into $int_{-1}^0 x^2 dx + int_0^1 x^2 dx$. Then each of those integrals, after substitution and simplification, becomes $int_0^1 frac{1}{2} u^{1/2} du$.



    (That said, there are some situations where by basically breaking the rules twice you cancel out your mistakes and get the right answer; see Why can the trig sub $x=cosh(theta)$ be used to solve the integral: $int frac{1}{(x^2-1)^{3/2}}dx$? for instance.)






    share|cite|improve this answer












    In general you need to use a one-to-one change of variable; thus for instance if you were to compute $int_{-1}^1 x^2 dx$ you would split into $int_{-1}^0 x^2 dx + int_0^1 x^2 dx$. Then each of those integrals, after substitution and simplification, becomes $int_0^1 frac{1}{2} u^{1/2} du$.



    (That said, there are some situations where by basically breaking the rules twice you cancel out your mistakes and get the right answer; see Why can the trig sub $x=cosh(theta)$ be used to solve the integral: $int frac{1}{(x^2-1)^{3/2}}dx$? for instance.)







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Dec 9 at 17:20









    Ian

    67.3k25386




    67.3k25386












    • It is not necessary for changes of variable to be one-to-one, see my comment here: math.stackexchange.com/a/1101421/5316
      – Matthew Towers
      Dec 9 at 19:39






    • 1




      @MatthewTowers Yes, it is true that $int_a^b f'(x) dx$ is always $f(b) - f(a)$, regardless of injectivity, which means you can do various similar things also regardless of injectivity. What injectivity buys you is a lack of a singularity in $frac{dx}{du}$, which is a serious problem for, say, $u=x^2$ on $[a,b]$ with $a<0,b>0$.
      – Ian
      Dec 9 at 19:52


















    • It is not necessary for changes of variable to be one-to-one, see my comment here: math.stackexchange.com/a/1101421/5316
      – Matthew Towers
      Dec 9 at 19:39






    • 1




      @MatthewTowers Yes, it is true that $int_a^b f'(x) dx$ is always $f(b) - f(a)$, regardless of injectivity, which means you can do various similar things also regardless of injectivity. What injectivity buys you is a lack of a singularity in $frac{dx}{du}$, which is a serious problem for, say, $u=x^2$ on $[a,b]$ with $a<0,b>0$.
      – Ian
      Dec 9 at 19:52
















    It is not necessary for changes of variable to be one-to-one, see my comment here: math.stackexchange.com/a/1101421/5316
    – Matthew Towers
    Dec 9 at 19:39




    It is not necessary for changes of variable to be one-to-one, see my comment here: math.stackexchange.com/a/1101421/5316
    – Matthew Towers
    Dec 9 at 19:39




    1




    1




    @MatthewTowers Yes, it is true that $int_a^b f'(x) dx$ is always $f(b) - f(a)$, regardless of injectivity, which means you can do various similar things also regardless of injectivity. What injectivity buys you is a lack of a singularity in $frac{dx}{du}$, which is a serious problem for, say, $u=x^2$ on $[a,b]$ with $a<0,b>0$.
    – Ian
    Dec 9 at 19:52




    @MatthewTowers Yes, it is true that $int_a^b f'(x) dx$ is always $f(b) - f(a)$, regardless of injectivity, which means you can do various similar things also regardless of injectivity. What injectivity buys you is a lack of a singularity in $frac{dx}{du}$, which is a serious problem for, say, $u=x^2$ on $[a,b]$ with $a<0,b>0$.
    – Ian
    Dec 9 at 19:52











    15














    While it's certainly true that $du = 2x,dx$ over the whole region of integration, it's not true that $x = sqrt{u}$ over the region. This is only true for $x > 0$, so you can't apply it to the whole integral. Instead, you need to split it apart and use the correct transformation $x = -sqrt{u}$ for the region $x < 0$.



    In general, if your change of variables $u(x)$ has a multivalued inverse, you'll need to split the integral into the regions where each possible inverse function $x(u)$ applies.






    share|cite|improve this answer




























      15














      While it's certainly true that $du = 2x,dx$ over the whole region of integration, it's not true that $x = sqrt{u}$ over the region. This is only true for $x > 0$, so you can't apply it to the whole integral. Instead, you need to split it apart and use the correct transformation $x = -sqrt{u}$ for the region $x < 0$.



      In general, if your change of variables $u(x)$ has a multivalued inverse, you'll need to split the integral into the regions where each possible inverse function $x(u)$ applies.






      share|cite|improve this answer


























        15












        15








        15






        While it's certainly true that $du = 2x,dx$ over the whole region of integration, it's not true that $x = sqrt{u}$ over the region. This is only true for $x > 0$, so you can't apply it to the whole integral. Instead, you need to split it apart and use the correct transformation $x = -sqrt{u}$ for the region $x < 0$.



        In general, if your change of variables $u(x)$ has a multivalued inverse, you'll need to split the integral into the regions where each possible inverse function $x(u)$ applies.






        share|cite|improve this answer














        While it's certainly true that $du = 2x,dx$ over the whole region of integration, it's not true that $x = sqrt{u}$ over the region. This is only true for $x > 0$, so you can't apply it to the whole integral. Instead, you need to split it apart and use the correct transformation $x = -sqrt{u}$ for the region $x < 0$.



        In general, if your change of variables $u(x)$ has a multivalued inverse, you'll need to split the integral into the regions where each possible inverse function $x(u)$ applies.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Dec 10 at 4:54

























        answered Dec 9 at 17:33









        eyeballfrog

        6,058629




        6,058629






























            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%2f3032622%2fwhen-change-of-variable-makes-an-empty-interval%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

            Ellipse (mathématiques)

            Quarter-circle Tiles

            Mont Emei