Definite integration when denominator consists of $xsin x +1$












1












$begingroup$


$$int_0^pifrac{x^2cos^2x-xsin x-cos x-1}{(1+xsin x)^2}dx$$



The answer is $0$. I tried and made $(xsin x +1)^2 $ in numerator and proceed,
but not able to do any further.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Sorry, I'm not following what you have done so far? Can you please post up your work?
    $endgroup$
    – DavidG
    Jan 23 at 12:53










  • $begingroup$
    I simply gave up solving manually and jammed this monster to CAS, and it returned $$ int frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + xsin x)^2} , mathrm{d}x = -frac{xcos x}{1+xsin x} - x + C. $$ Frankly, I don't feel bad for giving up early, considering this less attractive answer...
    $endgroup$
    – Sangchul Lee
    Jan 23 at 13:08












  • $begingroup$
    Within the solution we can see the substitution employed! $u = 1 + xsin(x)$
    $endgroup$
    – DavidG
    Jan 23 at 13:39










  • $begingroup$
    Note - you will have to split the integral in two as $sin(x)$ changes sign over the integral bounds.
    $endgroup$
    – DavidG
    Jan 23 at 13:42
















1












$begingroup$


$$int_0^pifrac{x^2cos^2x-xsin x-cos x-1}{(1+xsin x)^2}dx$$



The answer is $0$. I tried and made $(xsin x +1)^2 $ in numerator and proceed,
but not able to do any further.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Sorry, I'm not following what you have done so far? Can you please post up your work?
    $endgroup$
    – DavidG
    Jan 23 at 12:53










  • $begingroup$
    I simply gave up solving manually and jammed this monster to CAS, and it returned $$ int frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + xsin x)^2} , mathrm{d}x = -frac{xcos x}{1+xsin x} - x + C. $$ Frankly, I don't feel bad for giving up early, considering this less attractive answer...
    $endgroup$
    – Sangchul Lee
    Jan 23 at 13:08












  • $begingroup$
    Within the solution we can see the substitution employed! $u = 1 + xsin(x)$
    $endgroup$
    – DavidG
    Jan 23 at 13:39










  • $begingroup$
    Note - you will have to split the integral in two as $sin(x)$ changes sign over the integral bounds.
    $endgroup$
    – DavidG
    Jan 23 at 13:42














1












1








1





$begingroup$


$$int_0^pifrac{x^2cos^2x-xsin x-cos x-1}{(1+xsin x)^2}dx$$



The answer is $0$. I tried and made $(xsin x +1)^2 $ in numerator and proceed,
but not able to do any further.










share|cite|improve this question











$endgroup$




$$int_0^pifrac{x^2cos^2x-xsin x-cos x-1}{(1+xsin x)^2}dx$$



The answer is $0$. I tried and made $(xsin x +1)^2 $ in numerator and proceed,
but not able to do any further.







definite-integrals






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 23 at 13:08









Shubham Johri

5,204718




5,204718










asked Jan 23 at 12:41









mavericmaveric

87512




87512








  • 1




    $begingroup$
    Sorry, I'm not following what you have done so far? Can you please post up your work?
    $endgroup$
    – DavidG
    Jan 23 at 12:53










  • $begingroup$
    I simply gave up solving manually and jammed this monster to CAS, and it returned $$ int frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + xsin x)^2} , mathrm{d}x = -frac{xcos x}{1+xsin x} - x + C. $$ Frankly, I don't feel bad for giving up early, considering this less attractive answer...
    $endgroup$
    – Sangchul Lee
    Jan 23 at 13:08












  • $begingroup$
    Within the solution we can see the substitution employed! $u = 1 + xsin(x)$
    $endgroup$
    – DavidG
    Jan 23 at 13:39










  • $begingroup$
    Note - you will have to split the integral in two as $sin(x)$ changes sign over the integral bounds.
    $endgroup$
    – DavidG
    Jan 23 at 13:42














  • 1




    $begingroup$
    Sorry, I'm not following what you have done so far? Can you please post up your work?
    $endgroup$
    – DavidG
    Jan 23 at 12:53










  • $begingroup$
    I simply gave up solving manually and jammed this monster to CAS, and it returned $$ int frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + xsin x)^2} , mathrm{d}x = -frac{xcos x}{1+xsin x} - x + C. $$ Frankly, I don't feel bad for giving up early, considering this less attractive answer...
    $endgroup$
    – Sangchul Lee
    Jan 23 at 13:08












  • $begingroup$
    Within the solution we can see the substitution employed! $u = 1 + xsin(x)$
    $endgroup$
    – DavidG
    Jan 23 at 13:39










  • $begingroup$
    Note - you will have to split the integral in two as $sin(x)$ changes sign over the integral bounds.
    $endgroup$
    – DavidG
    Jan 23 at 13:42








1




1




$begingroup$
Sorry, I'm not following what you have done so far? Can you please post up your work?
$endgroup$
– DavidG
Jan 23 at 12:53




$begingroup$
Sorry, I'm not following what you have done so far? Can you please post up your work?
$endgroup$
– DavidG
Jan 23 at 12:53












$begingroup$
I simply gave up solving manually and jammed this monster to CAS, and it returned $$ int frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + xsin x)^2} , mathrm{d}x = -frac{xcos x}{1+xsin x} - x + C. $$ Frankly, I don't feel bad for giving up early, considering this less attractive answer...
$endgroup$
– Sangchul Lee
Jan 23 at 13:08






$begingroup$
I simply gave up solving manually and jammed this monster to CAS, and it returned $$ int frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + xsin x)^2} , mathrm{d}x = -frac{xcos x}{1+xsin x} - x + C. $$ Frankly, I don't feel bad for giving up early, considering this less attractive answer...
$endgroup$
– Sangchul Lee
Jan 23 at 13:08














$begingroup$
Within the solution we can see the substitution employed! $u = 1 + xsin(x)$
$endgroup$
– DavidG
Jan 23 at 13:39




$begingroup$
Within the solution we can see the substitution employed! $u = 1 + xsin(x)$
$endgroup$
– DavidG
Jan 23 at 13:39












$begingroup$
Note - you will have to split the integral in two as $sin(x)$ changes sign over the integral bounds.
$endgroup$
– DavidG
Jan 23 at 13:42




$begingroup$
Note - you will have to split the integral in two as $sin(x)$ changes sign over the integral bounds.
$endgroup$
– DavidG
Jan 23 at 13:42










1 Answer
1






active

oldest

votes


















2












$begingroup$

First, let us try and simplify the integrand a bit. As
begin{align}
frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + x sin x)^2} &= frac{x^2 - x^2 sin^2 x - x sin x - cos x - 1}{(1 + x sin x)^2}\
&= frac{x^2 + x sin x - cos x - (1 + x sin x)^2}{(1 + x sin x)^2}\
&= -1 + frac{x^2 + x sin x - cos x}{(1 + xsin x)^2},
end{align}

we have for the integral
$$I = -pi + int_0^pi frac{x^2 + x sin x - cos x}{(1 + x sin x)^2} = -pi + J.$$



To find the integral $J$ one can make use of the so-called reverse quotient rule (For another example using this method see here).



Recall that if $u$ and $v$ are differentiable functions, from the quotient rule
$$left (frac{u}{v} right )' = frac{u' v - v' u}{v^2},$$
and it is immediate that
$$int frac{u' v - v' u}{v^2} , dx = int left (frac{u}{v} right )' , dx = frac{u}{v} + C. tag1$$



For the integral $J$ we see that $v = 1 + x sin x$. So $v' = sin x + x cos x$. Now for the hard bit. We need to find (conjure up?) a function $u(x)$ such that
$$u' v - v' u = u'(1 + x sin x) - u (sin x + x cos x) = x^2 + x sin x - cos x.$$
After a little trial and error we find that if
$$u = -x cos x,$$
as
$$u' = -cos x + x sin x,$$
this gives
$$u' v - v' u = x^2 + x sin x - cos x,$$
as required.



Our integral can now be readily found as it can be rewritten in the form given by (1). The result is:
begin{align}
I &= -pi + int_0^pi left (frac{-x cos x}{1 + x sin x} right )' , dx\
&= -pi - left [frac{x cos x}{1 + x sin x} right ]_0^pi\
&= -pi + pi\
&= 0,
end{align}

as announced.






share|cite|improve this answer









$endgroup$













    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%2f3084419%2fdefinite-integration-when-denominator-consists-of-x-sin-x-1%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









    2












    $begingroup$

    First, let us try and simplify the integrand a bit. As
    begin{align}
    frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + x sin x)^2} &= frac{x^2 - x^2 sin^2 x - x sin x - cos x - 1}{(1 + x sin x)^2}\
    &= frac{x^2 + x sin x - cos x - (1 + x sin x)^2}{(1 + x sin x)^2}\
    &= -1 + frac{x^2 + x sin x - cos x}{(1 + xsin x)^2},
    end{align}

    we have for the integral
    $$I = -pi + int_0^pi frac{x^2 + x sin x - cos x}{(1 + x sin x)^2} = -pi + J.$$



    To find the integral $J$ one can make use of the so-called reverse quotient rule (For another example using this method see here).



    Recall that if $u$ and $v$ are differentiable functions, from the quotient rule
    $$left (frac{u}{v} right )' = frac{u' v - v' u}{v^2},$$
    and it is immediate that
    $$int frac{u' v - v' u}{v^2} , dx = int left (frac{u}{v} right )' , dx = frac{u}{v} + C. tag1$$



    For the integral $J$ we see that $v = 1 + x sin x$. So $v' = sin x + x cos x$. Now for the hard bit. We need to find (conjure up?) a function $u(x)$ such that
    $$u' v - v' u = u'(1 + x sin x) - u (sin x + x cos x) = x^2 + x sin x - cos x.$$
    After a little trial and error we find that if
    $$u = -x cos x,$$
    as
    $$u' = -cos x + x sin x,$$
    this gives
    $$u' v - v' u = x^2 + x sin x - cos x,$$
    as required.



    Our integral can now be readily found as it can be rewritten in the form given by (1). The result is:
    begin{align}
    I &= -pi + int_0^pi left (frac{-x cos x}{1 + x sin x} right )' , dx\
    &= -pi - left [frac{x cos x}{1 + x sin x} right ]_0^pi\
    &= -pi + pi\
    &= 0,
    end{align}

    as announced.






    share|cite|improve this answer









    $endgroup$


















      2












      $begingroup$

      First, let us try and simplify the integrand a bit. As
      begin{align}
      frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + x sin x)^2} &= frac{x^2 - x^2 sin^2 x - x sin x - cos x - 1}{(1 + x sin x)^2}\
      &= frac{x^2 + x sin x - cos x - (1 + x sin x)^2}{(1 + x sin x)^2}\
      &= -1 + frac{x^2 + x sin x - cos x}{(1 + xsin x)^2},
      end{align}

      we have for the integral
      $$I = -pi + int_0^pi frac{x^2 + x sin x - cos x}{(1 + x sin x)^2} = -pi + J.$$



      To find the integral $J$ one can make use of the so-called reverse quotient rule (For another example using this method see here).



      Recall that if $u$ and $v$ are differentiable functions, from the quotient rule
      $$left (frac{u}{v} right )' = frac{u' v - v' u}{v^2},$$
      and it is immediate that
      $$int frac{u' v - v' u}{v^2} , dx = int left (frac{u}{v} right )' , dx = frac{u}{v} + C. tag1$$



      For the integral $J$ we see that $v = 1 + x sin x$. So $v' = sin x + x cos x$. Now for the hard bit. We need to find (conjure up?) a function $u(x)$ such that
      $$u' v - v' u = u'(1 + x sin x) - u (sin x + x cos x) = x^2 + x sin x - cos x.$$
      After a little trial and error we find that if
      $$u = -x cos x,$$
      as
      $$u' = -cos x + x sin x,$$
      this gives
      $$u' v - v' u = x^2 + x sin x - cos x,$$
      as required.



      Our integral can now be readily found as it can be rewritten in the form given by (1). The result is:
      begin{align}
      I &= -pi + int_0^pi left (frac{-x cos x}{1 + x sin x} right )' , dx\
      &= -pi - left [frac{x cos x}{1 + x sin x} right ]_0^pi\
      &= -pi + pi\
      &= 0,
      end{align}

      as announced.






      share|cite|improve this answer









      $endgroup$
















        2












        2








        2





        $begingroup$

        First, let us try and simplify the integrand a bit. As
        begin{align}
        frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + x sin x)^2} &= frac{x^2 - x^2 sin^2 x - x sin x - cos x - 1}{(1 + x sin x)^2}\
        &= frac{x^2 + x sin x - cos x - (1 + x sin x)^2}{(1 + x sin x)^2}\
        &= -1 + frac{x^2 + x sin x - cos x}{(1 + xsin x)^2},
        end{align}

        we have for the integral
        $$I = -pi + int_0^pi frac{x^2 + x sin x - cos x}{(1 + x sin x)^2} = -pi + J.$$



        To find the integral $J$ one can make use of the so-called reverse quotient rule (For another example using this method see here).



        Recall that if $u$ and $v$ are differentiable functions, from the quotient rule
        $$left (frac{u}{v} right )' = frac{u' v - v' u}{v^2},$$
        and it is immediate that
        $$int frac{u' v - v' u}{v^2} , dx = int left (frac{u}{v} right )' , dx = frac{u}{v} + C. tag1$$



        For the integral $J$ we see that $v = 1 + x sin x$. So $v' = sin x + x cos x$. Now for the hard bit. We need to find (conjure up?) a function $u(x)$ such that
        $$u' v - v' u = u'(1 + x sin x) - u (sin x + x cos x) = x^2 + x sin x - cos x.$$
        After a little trial and error we find that if
        $$u = -x cos x,$$
        as
        $$u' = -cos x + x sin x,$$
        this gives
        $$u' v - v' u = x^2 + x sin x - cos x,$$
        as required.



        Our integral can now be readily found as it can be rewritten in the form given by (1). The result is:
        begin{align}
        I &= -pi + int_0^pi left (frac{-x cos x}{1 + x sin x} right )' , dx\
        &= -pi - left [frac{x cos x}{1 + x sin x} right ]_0^pi\
        &= -pi + pi\
        &= 0,
        end{align}

        as announced.






        share|cite|improve this answer









        $endgroup$



        First, let us try and simplify the integrand a bit. As
        begin{align}
        frac{x^2 cos^2 x - x sin x - cos x - 1}{(1 + x sin x)^2} &= frac{x^2 - x^2 sin^2 x - x sin x - cos x - 1}{(1 + x sin x)^2}\
        &= frac{x^2 + x sin x - cos x - (1 + x sin x)^2}{(1 + x sin x)^2}\
        &= -1 + frac{x^2 + x sin x - cos x}{(1 + xsin x)^2},
        end{align}

        we have for the integral
        $$I = -pi + int_0^pi frac{x^2 + x sin x - cos x}{(1 + x sin x)^2} = -pi + J.$$



        To find the integral $J$ one can make use of the so-called reverse quotient rule (For another example using this method see here).



        Recall that if $u$ and $v$ are differentiable functions, from the quotient rule
        $$left (frac{u}{v} right )' = frac{u' v - v' u}{v^2},$$
        and it is immediate that
        $$int frac{u' v - v' u}{v^2} , dx = int left (frac{u}{v} right )' , dx = frac{u}{v} + C. tag1$$



        For the integral $J$ we see that $v = 1 + x sin x$. So $v' = sin x + x cos x$. Now for the hard bit. We need to find (conjure up?) a function $u(x)$ such that
        $$u' v - v' u = u'(1 + x sin x) - u (sin x + x cos x) = x^2 + x sin x - cos x.$$
        After a little trial and error we find that if
        $$u = -x cos x,$$
        as
        $$u' = -cos x + x sin x,$$
        this gives
        $$u' v - v' u = x^2 + x sin x - cos x,$$
        as required.



        Our integral can now be readily found as it can be rewritten in the form given by (1). The result is:
        begin{align}
        I &= -pi + int_0^pi left (frac{-x cos x}{1 + x sin x} right )' , dx\
        &= -pi - left [frac{x cos x}{1 + x sin x} right ]_0^pi\
        &= -pi + pi\
        &= 0,
        end{align}

        as announced.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 24 at 2:40









        omegadotomegadot

        6,3472828




        6,3472828






























            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%2f3084419%2fdefinite-integration-when-denominator-consists-of-x-sin-x-1%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

            Mario Kart Wii

            What does “Dominus providebit” mean?

            Antonio Litta Visconti Arese