Is there a general pattern for all integrals of the form $sin^{k/2}x$ where $k$ is an integer?











up vote
1
down vote

favorite












Though a CS student, my main hobby is mathematics, and was wondering about the primitives of rational powers of $sin x$.



I solved and found the primitive of the square root of $sin x$ via a series and proceeded to use the same method for $3/2$, then $5/2$ and mostly gave the same results differing in a few key aspects regarding the powers of $sin x$ in the series.










share|cite|improve this question
























  • I write almost all my answers on mobile. With full MathJax. And you should do too.
    – Parcly Taxel
    Oct 30 at 15:29












  • fine ill delete and repost
    – SSBASE
    Oct 30 at 15:32






  • 1




    But I already edited your question to use MathJax.
    – Parcly Taxel
    Oct 30 at 15:32










  • @ParclyTaxel ah i see
    – SSBASE
    Oct 30 at 15:33






  • 1




    You can derive a recursion formula using intergration by parts
    – Dylan
    Oct 30 at 15:59















up vote
1
down vote

favorite












Though a CS student, my main hobby is mathematics, and was wondering about the primitives of rational powers of $sin x$.



I solved and found the primitive of the square root of $sin x$ via a series and proceeded to use the same method for $3/2$, then $5/2$ and mostly gave the same results differing in a few key aspects regarding the powers of $sin x$ in the series.










share|cite|improve this question
























  • I write almost all my answers on mobile. With full MathJax. And you should do too.
    – Parcly Taxel
    Oct 30 at 15:29












  • fine ill delete and repost
    – SSBASE
    Oct 30 at 15:32






  • 1




    But I already edited your question to use MathJax.
    – Parcly Taxel
    Oct 30 at 15:32










  • @ParclyTaxel ah i see
    – SSBASE
    Oct 30 at 15:33






  • 1




    You can derive a recursion formula using intergration by parts
    – Dylan
    Oct 30 at 15:59













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Though a CS student, my main hobby is mathematics, and was wondering about the primitives of rational powers of $sin x$.



I solved and found the primitive of the square root of $sin x$ via a series and proceeded to use the same method for $3/2$, then $5/2$ and mostly gave the same results differing in a few key aspects regarding the powers of $sin x$ in the series.










share|cite|improve this question















Though a CS student, my main hobby is mathematics, and was wondering about the primitives of rational powers of $sin x$.



I solved and found the primitive of the square root of $sin x$ via a series and proceeded to use the same method for $3/2$, then $5/2$ and mostly gave the same results differing in a few key aspects regarding the powers of $sin x$ in the series.







calculus integration power-series taylor-expansion indefinite-integrals






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Oct 30 at 15:29









Parcly Taxel

41k137199




41k137199










asked Oct 30 at 15:28









SSBASE

715




715












  • I write almost all my answers on mobile. With full MathJax. And you should do too.
    – Parcly Taxel
    Oct 30 at 15:29












  • fine ill delete and repost
    – SSBASE
    Oct 30 at 15:32






  • 1




    But I already edited your question to use MathJax.
    – Parcly Taxel
    Oct 30 at 15:32










  • @ParclyTaxel ah i see
    – SSBASE
    Oct 30 at 15:33






  • 1




    You can derive a recursion formula using intergration by parts
    – Dylan
    Oct 30 at 15:59


















  • I write almost all my answers on mobile. With full MathJax. And you should do too.
    – Parcly Taxel
    Oct 30 at 15:29












  • fine ill delete and repost
    – SSBASE
    Oct 30 at 15:32






  • 1




    But I already edited your question to use MathJax.
    – Parcly Taxel
    Oct 30 at 15:32










  • @ParclyTaxel ah i see
    – SSBASE
    Oct 30 at 15:33






  • 1




    You can derive a recursion formula using intergration by parts
    – Dylan
    Oct 30 at 15:59
















I write almost all my answers on mobile. With full MathJax. And you should do too.
– Parcly Taxel
Oct 30 at 15:29






I write almost all my answers on mobile. With full MathJax. And you should do too.
– Parcly Taxel
Oct 30 at 15:29














fine ill delete and repost
– SSBASE
Oct 30 at 15:32




fine ill delete and repost
– SSBASE
Oct 30 at 15:32




1




1




But I already edited your question to use MathJax.
– Parcly Taxel
Oct 30 at 15:32




But I already edited your question to use MathJax.
– Parcly Taxel
Oct 30 at 15:32












@ParclyTaxel ah i see
– SSBASE
Oct 30 at 15:33




@ParclyTaxel ah i see
– SSBASE
Oct 30 at 15:33




1




1




You can derive a recursion formula using intergration by parts
– Dylan
Oct 30 at 15:59




You can derive a recursion formula using intergration by parts
– Dylan
Oct 30 at 15:59










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










In all cases of positive integer $k$, your integral is equivalent to
$$I_k(x)=int_0^xsin^{k/2}(t)dt$$
So let's focus on a different integral for a second:
$$G(x,a,b)=int_0^xsin^a(t)cos^b(t)dt$$
To evaluate this, we make the substitution $u=sin^2(t)$, giving $dt=frac12u^{-1/2}(1-u)^{-1/2}du$, which gives
$$G(x,a,b)=int_0^{sin^2(x)}u^{a/2}(1-u)^{b/2}frac12u^{-1/2}(1-u)^{-1/2}du$$
$$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a-1}2}(1-u)^{frac{b-1}2}du$$
$$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a+1}2-1}(1-u)^{frac{b+1}2-1}du$$
Next we recall the definition of the incomplete beta function:
$$B(x;a,b)=int_0^xt^{a-1}(1-t)^{b-1}dt$$
Which gives our generalized integral:
$$G(x,a,b)=frac12 Bbigg(sin^2(x);frac{a+1}2,frac{b+1}2bigg)$$
Then back to the integral in question:
$$I_k(x)=Gbigg(x,frac k2,0bigg)$$
$$I_k(x)=frac12 Bbigg(sin^2(x);frac{k+2}4,frac12bigg)$$
A Special Value:



Note that
$$B(1;a,b)=frac{Gamma(a)Gamma(b)}{Gamma(a+b)}$$
Where $Gamma(s)$ is the Gamma function.



Therefore,
$$I_kbigg(fracpi2bigg)=frac12 Bbigg(1;frac{k+2}4,frac12bigg)$$
$$I_kbigg(fracpi2bigg)=frac{Gamma(frac{k+2}4)Gamma(frac12)}{2Gamma(frac{k+4}4)}$$
And from $Gamma(frac12)=sqrt{pi}$,
$$I_kbigg(fracpi2bigg)=frac{sqrt{pi},Gamma(frac{k+2}4)}{2Gamma(frac{k+4}4)}$$
Which doesn't really get anymore simplified than that.






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',
    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%2f2977807%2fis-there-a-general-pattern-for-all-integrals-of-the-form-sink-2x-where-k%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    In all cases of positive integer $k$, your integral is equivalent to
    $$I_k(x)=int_0^xsin^{k/2}(t)dt$$
    So let's focus on a different integral for a second:
    $$G(x,a,b)=int_0^xsin^a(t)cos^b(t)dt$$
    To evaluate this, we make the substitution $u=sin^2(t)$, giving $dt=frac12u^{-1/2}(1-u)^{-1/2}du$, which gives
    $$G(x,a,b)=int_0^{sin^2(x)}u^{a/2}(1-u)^{b/2}frac12u^{-1/2}(1-u)^{-1/2}du$$
    $$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a-1}2}(1-u)^{frac{b-1}2}du$$
    $$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a+1}2-1}(1-u)^{frac{b+1}2-1}du$$
    Next we recall the definition of the incomplete beta function:
    $$B(x;a,b)=int_0^xt^{a-1}(1-t)^{b-1}dt$$
    Which gives our generalized integral:
    $$G(x,a,b)=frac12 Bbigg(sin^2(x);frac{a+1}2,frac{b+1}2bigg)$$
    Then back to the integral in question:
    $$I_k(x)=Gbigg(x,frac k2,0bigg)$$
    $$I_k(x)=frac12 Bbigg(sin^2(x);frac{k+2}4,frac12bigg)$$
    A Special Value:



    Note that
    $$B(1;a,b)=frac{Gamma(a)Gamma(b)}{Gamma(a+b)}$$
    Where $Gamma(s)$ is the Gamma function.



    Therefore,
    $$I_kbigg(fracpi2bigg)=frac12 Bbigg(1;frac{k+2}4,frac12bigg)$$
    $$I_kbigg(fracpi2bigg)=frac{Gamma(frac{k+2}4)Gamma(frac12)}{2Gamma(frac{k+4}4)}$$
    And from $Gamma(frac12)=sqrt{pi}$,
    $$I_kbigg(fracpi2bigg)=frac{sqrt{pi},Gamma(frac{k+2}4)}{2Gamma(frac{k+4}4)}$$
    Which doesn't really get anymore simplified than that.






    share|cite|improve this answer



























      up vote
      1
      down vote



      accepted










      In all cases of positive integer $k$, your integral is equivalent to
      $$I_k(x)=int_0^xsin^{k/2}(t)dt$$
      So let's focus on a different integral for a second:
      $$G(x,a,b)=int_0^xsin^a(t)cos^b(t)dt$$
      To evaluate this, we make the substitution $u=sin^2(t)$, giving $dt=frac12u^{-1/2}(1-u)^{-1/2}du$, which gives
      $$G(x,a,b)=int_0^{sin^2(x)}u^{a/2}(1-u)^{b/2}frac12u^{-1/2}(1-u)^{-1/2}du$$
      $$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a-1}2}(1-u)^{frac{b-1}2}du$$
      $$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a+1}2-1}(1-u)^{frac{b+1}2-1}du$$
      Next we recall the definition of the incomplete beta function:
      $$B(x;a,b)=int_0^xt^{a-1}(1-t)^{b-1}dt$$
      Which gives our generalized integral:
      $$G(x,a,b)=frac12 Bbigg(sin^2(x);frac{a+1}2,frac{b+1}2bigg)$$
      Then back to the integral in question:
      $$I_k(x)=Gbigg(x,frac k2,0bigg)$$
      $$I_k(x)=frac12 Bbigg(sin^2(x);frac{k+2}4,frac12bigg)$$
      A Special Value:



      Note that
      $$B(1;a,b)=frac{Gamma(a)Gamma(b)}{Gamma(a+b)}$$
      Where $Gamma(s)$ is the Gamma function.



      Therefore,
      $$I_kbigg(fracpi2bigg)=frac12 Bbigg(1;frac{k+2}4,frac12bigg)$$
      $$I_kbigg(fracpi2bigg)=frac{Gamma(frac{k+2}4)Gamma(frac12)}{2Gamma(frac{k+4}4)}$$
      And from $Gamma(frac12)=sqrt{pi}$,
      $$I_kbigg(fracpi2bigg)=frac{sqrt{pi},Gamma(frac{k+2}4)}{2Gamma(frac{k+4}4)}$$
      Which doesn't really get anymore simplified than that.






      share|cite|improve this answer

























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        In all cases of positive integer $k$, your integral is equivalent to
        $$I_k(x)=int_0^xsin^{k/2}(t)dt$$
        So let's focus on a different integral for a second:
        $$G(x,a,b)=int_0^xsin^a(t)cos^b(t)dt$$
        To evaluate this, we make the substitution $u=sin^2(t)$, giving $dt=frac12u^{-1/2}(1-u)^{-1/2}du$, which gives
        $$G(x,a,b)=int_0^{sin^2(x)}u^{a/2}(1-u)^{b/2}frac12u^{-1/2}(1-u)^{-1/2}du$$
        $$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a-1}2}(1-u)^{frac{b-1}2}du$$
        $$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a+1}2-1}(1-u)^{frac{b+1}2-1}du$$
        Next we recall the definition of the incomplete beta function:
        $$B(x;a,b)=int_0^xt^{a-1}(1-t)^{b-1}dt$$
        Which gives our generalized integral:
        $$G(x,a,b)=frac12 Bbigg(sin^2(x);frac{a+1}2,frac{b+1}2bigg)$$
        Then back to the integral in question:
        $$I_k(x)=Gbigg(x,frac k2,0bigg)$$
        $$I_k(x)=frac12 Bbigg(sin^2(x);frac{k+2}4,frac12bigg)$$
        A Special Value:



        Note that
        $$B(1;a,b)=frac{Gamma(a)Gamma(b)}{Gamma(a+b)}$$
        Where $Gamma(s)$ is the Gamma function.



        Therefore,
        $$I_kbigg(fracpi2bigg)=frac12 Bbigg(1;frac{k+2}4,frac12bigg)$$
        $$I_kbigg(fracpi2bigg)=frac{Gamma(frac{k+2}4)Gamma(frac12)}{2Gamma(frac{k+4}4)}$$
        And from $Gamma(frac12)=sqrt{pi}$,
        $$I_kbigg(fracpi2bigg)=frac{sqrt{pi},Gamma(frac{k+2}4)}{2Gamma(frac{k+4}4)}$$
        Which doesn't really get anymore simplified than that.






        share|cite|improve this answer














        In all cases of positive integer $k$, your integral is equivalent to
        $$I_k(x)=int_0^xsin^{k/2}(t)dt$$
        So let's focus on a different integral for a second:
        $$G(x,a,b)=int_0^xsin^a(t)cos^b(t)dt$$
        To evaluate this, we make the substitution $u=sin^2(t)$, giving $dt=frac12u^{-1/2}(1-u)^{-1/2}du$, which gives
        $$G(x,a,b)=int_0^{sin^2(x)}u^{a/2}(1-u)^{b/2}frac12u^{-1/2}(1-u)^{-1/2}du$$
        $$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a-1}2}(1-u)^{frac{b-1}2}du$$
        $$G(x,a,b)=frac12int_0^{sin^2(x)}u^{frac{a+1}2-1}(1-u)^{frac{b+1}2-1}du$$
        Next we recall the definition of the incomplete beta function:
        $$B(x;a,b)=int_0^xt^{a-1}(1-t)^{b-1}dt$$
        Which gives our generalized integral:
        $$G(x,a,b)=frac12 Bbigg(sin^2(x);frac{a+1}2,frac{b+1}2bigg)$$
        Then back to the integral in question:
        $$I_k(x)=Gbigg(x,frac k2,0bigg)$$
        $$I_k(x)=frac12 Bbigg(sin^2(x);frac{k+2}4,frac12bigg)$$
        A Special Value:



        Note that
        $$B(1;a,b)=frac{Gamma(a)Gamma(b)}{Gamma(a+b)}$$
        Where $Gamma(s)$ is the Gamma function.



        Therefore,
        $$I_kbigg(fracpi2bigg)=frac12 Bbigg(1;frac{k+2}4,frac12bigg)$$
        $$I_kbigg(fracpi2bigg)=frac{Gamma(frac{k+2}4)Gamma(frac12)}{2Gamma(frac{k+4}4)}$$
        And from $Gamma(frac12)=sqrt{pi}$,
        $$I_kbigg(fracpi2bigg)=frac{sqrt{pi},Gamma(frac{k+2}4)}{2Gamma(frac{k+4}4)}$$
        Which doesn't really get anymore simplified than that.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Nov 14 at 21:40

























        answered Oct 30 at 16:23









        clathratus

        1,843219




        1,843219






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2977807%2fis-there-a-general-pattern-for-all-integrals-of-the-form-sink-2x-where-k%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

            Plaza Victoria

            Puebla de Zaragoza

            Musa