Integration of powers of trigonometric function with linear term












1














I got stuck trying to find a general formula for the following integral
$$int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt =
4 int_0^{pi/2} t cdotcos^{2n}t ,dt ; , ; text{ for } n in mathbb{N}.$$

It doesn't seem to be listed on Wikipedias Lists of integrals. After playing around for a while I found the following potentially useful identities$$begin{align}
int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt &=
frac{(2n-1)!!}{(2n)!!} pi^2 - 4int_{0}^{pi/2}{int_0^{t} cos^{2n}{tau} , dtau} , dt \
&= frac{(2n-1)!!}{(2n)!!}cdot left( frac{pi^2}{2} - sum_{k=1}^n frac{(2k)!!}{(2k-1)!! , k^2} right) ,,
end{align}$$

where I would consider the last line a solution if one was able to find a closed formula for the sum that is not given in terms of another integral or another horrible function like Wolfram Alpha suggests.






Edits:




  • Moved the power closer to $cos$ to avoid confusion.

  • Corrected some constants in the identities.

  • Emphasized that $n in mathbb{N}$.










share|cite|improve this question
























  • Is $cos$ raised to the power of $2n$ or $t$?
    – DavidG
    Jan 3 at 3:16










  • If $n in mathbb{N}$ there are some nice closed solutions (I believe).
    – DavidG
    Jan 3 at 3:43










  • Numerical results of your identities don't hold up, I think you need $pi^{2}/2$ instead.
    – Ininterrompue
    Jan 3 at 6:34










  • @Ininterrompue, thank you! I fixed the constants now.
    – chickenNinja123
    2 days ago
















1














I got stuck trying to find a general formula for the following integral
$$int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt =
4 int_0^{pi/2} t cdotcos^{2n}t ,dt ; , ; text{ for } n in mathbb{N}.$$

It doesn't seem to be listed on Wikipedias Lists of integrals. After playing around for a while I found the following potentially useful identities$$begin{align}
int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt &=
frac{(2n-1)!!}{(2n)!!} pi^2 - 4int_{0}^{pi/2}{int_0^{t} cos^{2n}{tau} , dtau} , dt \
&= frac{(2n-1)!!}{(2n)!!}cdot left( frac{pi^2}{2} - sum_{k=1}^n frac{(2k)!!}{(2k-1)!! , k^2} right) ,,
end{align}$$

where I would consider the last line a solution if one was able to find a closed formula for the sum that is not given in terms of another integral or another horrible function like Wolfram Alpha suggests.






Edits:




  • Moved the power closer to $cos$ to avoid confusion.

  • Corrected some constants in the identities.

  • Emphasized that $n in mathbb{N}$.










share|cite|improve this question
























  • Is $cos$ raised to the power of $2n$ or $t$?
    – DavidG
    Jan 3 at 3:16










  • If $n in mathbb{N}$ there are some nice closed solutions (I believe).
    – DavidG
    Jan 3 at 3:43










  • Numerical results of your identities don't hold up, I think you need $pi^{2}/2$ instead.
    – Ininterrompue
    Jan 3 at 6:34










  • @Ininterrompue, thank you! I fixed the constants now.
    – chickenNinja123
    2 days ago














1












1








1


1





I got stuck trying to find a general formula for the following integral
$$int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt =
4 int_0^{pi/2} t cdotcos^{2n}t ,dt ; , ; text{ for } n in mathbb{N}.$$

It doesn't seem to be listed on Wikipedias Lists of integrals. After playing around for a while I found the following potentially useful identities$$begin{align}
int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt &=
frac{(2n-1)!!}{(2n)!!} pi^2 - 4int_{0}^{pi/2}{int_0^{t} cos^{2n}{tau} , dtau} , dt \
&= frac{(2n-1)!!}{(2n)!!}cdot left( frac{pi^2}{2} - sum_{k=1}^n frac{(2k)!!}{(2k-1)!! , k^2} right) ,,
end{align}$$

where I would consider the last line a solution if one was able to find a closed formula for the sum that is not given in terms of another integral or another horrible function like Wolfram Alpha suggests.






Edits:




  • Moved the power closer to $cos$ to avoid confusion.

  • Corrected some constants in the identities.

  • Emphasized that $n in mathbb{N}$.










share|cite|improve this question















I got stuck trying to find a general formula for the following integral
$$int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt =
4 int_0^{pi/2} t cdotcos^{2n}t ,dt ; , ; text{ for } n in mathbb{N}.$$

It doesn't seem to be listed on Wikipedias Lists of integrals. After playing around for a while I found the following potentially useful identities$$begin{align}
int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt &=
frac{(2n-1)!!}{(2n)!!} pi^2 - 4int_{0}^{pi/2}{int_0^{t} cos^{2n}{tau} , dtau} , dt \
&= frac{(2n-1)!!}{(2n)!!}cdot left( frac{pi^2}{2} - sum_{k=1}^n frac{(2k)!!}{(2k-1)!! , k^2} right) ,,
end{align}$$

where I would consider the last line a solution if one was able to find a closed formula for the sum that is not given in terms of another integral or another horrible function like Wolfram Alpha suggests.






Edits:




  • Moved the power closer to $cos$ to avoid confusion.

  • Corrected some constants in the identities.

  • Emphasized that $n in mathbb{N}$.







integration indefinite-integrals trigonometric-integrals






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 2 days ago

























asked Jan 2 at 23:38









chickenNinja123

959




959












  • Is $cos$ raised to the power of $2n$ or $t$?
    – DavidG
    Jan 3 at 3:16










  • If $n in mathbb{N}$ there are some nice closed solutions (I believe).
    – DavidG
    Jan 3 at 3:43










  • Numerical results of your identities don't hold up, I think you need $pi^{2}/2$ instead.
    – Ininterrompue
    Jan 3 at 6:34










  • @Ininterrompue, thank you! I fixed the constants now.
    – chickenNinja123
    2 days ago


















  • Is $cos$ raised to the power of $2n$ or $t$?
    – DavidG
    Jan 3 at 3:16










  • If $n in mathbb{N}$ there are some nice closed solutions (I believe).
    – DavidG
    Jan 3 at 3:43










  • Numerical results of your identities don't hold up, I think you need $pi^{2}/2$ instead.
    – Ininterrompue
    Jan 3 at 6:34










  • @Ininterrompue, thank you! I fixed the constants now.
    – chickenNinja123
    2 days ago
















Is $cos$ raised to the power of $2n$ or $t$?
– DavidG
Jan 3 at 3:16




Is $cos$ raised to the power of $2n$ or $t$?
– DavidG
Jan 3 at 3:16












If $n in mathbb{N}$ there are some nice closed solutions (I believe).
– DavidG
Jan 3 at 3:43




If $n in mathbb{N}$ there are some nice closed solutions (I believe).
– DavidG
Jan 3 at 3:43












Numerical results of your identities don't hold up, I think you need $pi^{2}/2$ instead.
– Ininterrompue
Jan 3 at 6:34




Numerical results of your identities don't hold up, I think you need $pi^{2}/2$ instead.
– Ininterrompue
Jan 3 at 6:34












@Ininterrompue, thank you! I fixed the constants now.
– chickenNinja123
2 days ago




@Ininterrompue, thank you! I fixed the constants now.
– chickenNinja123
2 days ago










3 Answers
3






active

oldest

votes


















1














The integral probably does not have a closed form in terms of something simpler than the hypergeometric ${}_{3}F_{2}$ unless something amazing happens with the series. I don't think you can do much better than



$$begin{aligned} I_{n} &= frac{(2n-1)!!}{(2n)!!}frac{sqrt{pi},Gamma^{2}(n+1)}{Gamma(n+3/2)Gamma(n+2)}{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right) \
&= frac{{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right)}{(n+1)(n+1/2)} end{aligned}$$



where I have used the double factorial identity



$$ frac{(2n-1)!!}{(2n)!!} = frac{(2n)!}{2^{2n}(n!)^{2}}$$



and Legendre's duplication formula to simplify the gamma functions and factorials. The hypergeometric function reduces to elementary functions in $x^{2}$ when $n$ is an integer; for example, Mathematica gives the $n=1$ and $n=2$ cases as



$$begin{aligned} {}_{3}F_{2}left(1, 2, 2; 5/2, 3; x^{2}right) &= frac{3}{x^{2}}left(frac{arcsin^{2}x}{x^{2}} - 1right) \
{}_{3}F_{2}left(1, 3, 3; 7/2, 4; x^{2}right) &= frac{15}{8x^{2}}left(frac{3arcsin^{2}x}{x^{4}} - frac{3}{x^{2}} - 1right). end{aligned}$$



The linear term makes things more difficult. By making the substitution $x mapsto pi/2 - x$, one can use the beta function and Legendre's duplication formula to show that the related integral has a nice form



$$begin{aligned} int_{0}^{pi/2}4xleft(cos^{2n}x + sin^{2n}xright)mathrm{d}x &= 2piint_{0}^{pi/2}sin^{2n}x,mathrm{d}x = pi,frac{Gamma(1/2)Gamma(1/2+n)}{Gamma(1+n)} \ &= frac{pi^{2}}{2^{2n}}frac{(2n)!}{(n!)^{2}} = pi^{2}frac{(2n-1)!!}{(2n)!!}. end{aligned}$$



Lastly, the tangent half-angle substitution can be used to write the integral in the form



$$ I_{n} = int_{0}^{pi/2}xcos^{2n}x,mathrm{d}x = int_{0}^{infty}frac{tan^{-1}x}{(1+x^{2})^{n+1}},mathrm{d}x $$



but I do not believe this is much easier than the original integral.






share|cite|improve this answer























  • If you have a closed formula for $_3F_2(1,n+1,n+1;n+3/2,n+2;1)$ for $n in mathbb{N}$ then that's exactly what I was looking for!
    – chickenNinja123
    2 days ago



















3














NOT A FULL SOLUTION:



Here, complex analysis (if permitted) is your friend (sort of):



begin{equation}
Releft[tcdot e^{-t^n i} right] = t cdot cosleft(t^nright)
end{equation}



Thus,



begin{align}
I = int_{0}^{pi} t cdot cosleft(t^nright) = Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright]
end{align}



Here let $u = t^{n}i$ to yield:



begin{align}
I &= Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright] = Releft[int_{0}^{pi^ni} left(frac{u}{i} right)^{frac{1}{n}}cdot e^{-u} cdot frac{du}{left(frac{u}{i} right)^{frac{n - 1}{n}}}right] \
&= Releft[ i^{1 - frac{2}{n}} int_{0}^{pi^ni} u^{frac{2}{n} - 1}e^{-u}:duright] \&= Releft[i^{1 - frac{2}{n}} gammaleft(u^{frac{2}{n}}, pi^niright)right]
end{align}



Where $gamma(a,b)$ is the lower incomplete gamma function.






share|cite|improve this answer





















  • I'm terribly sorry I didn't make it clear enough where I wanted the powers to be. :/ I do like your approach, though.
    – chickenNinja123
    2 days ago










  • @chickenNinja123 - No worries mate!
    – DavidG
    2 days ago










  • first time I see the lower gamma function defined for some non-real upper bound. I had to go to wikipedia to check it, and it is fine!
    – Masacroso
    2 days ago





















1














One more version - in case it is useful for further simplifications.



Use
$$
cos^{2n}left(frac{t}{2}right)=frac1{2^{2 n}}binom{2 n}{n}+frac1{2^{2 n-1}}{sum _{j=1}^nbinom{2 n}{n-j} cos (jt)}
$$

and
$$
int_0^{pi} t cosleft(ntright) , dt=begin{cases}
frac{pi^2}2,&n=0,\
-frac2{(2k-1)^2},&n=2k-1,\
0,&n=2k>0
end{cases}
$$

to obtain
$$int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt=
frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}}{sum _{k=1}^{left[frac{n+1}2right]} frac1{(2k-1)^2}binom{2 n}{n+2k-1}}.$$

Mathematica handles the last sum as
$$
frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}} binom{2 n}{n+1} , _5F_4left(frac{1}{2},frac{1}{2},1,frac{1}{2}-frac{n}{2},1-frac{n}{2};frac{3}{2},frac{3}{2},frac{n}{2}+1,frac{n}{2}+frac{3}{2};1right)
$$

(which is no better than the sum itself).






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%2f3060103%2fintegration-of-powers-of-trigonometric-function-with-linear-term%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    The integral probably does not have a closed form in terms of something simpler than the hypergeometric ${}_{3}F_{2}$ unless something amazing happens with the series. I don't think you can do much better than



    $$begin{aligned} I_{n} &= frac{(2n-1)!!}{(2n)!!}frac{sqrt{pi},Gamma^{2}(n+1)}{Gamma(n+3/2)Gamma(n+2)}{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right) \
    &= frac{{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right)}{(n+1)(n+1/2)} end{aligned}$$



    where I have used the double factorial identity



    $$ frac{(2n-1)!!}{(2n)!!} = frac{(2n)!}{2^{2n}(n!)^{2}}$$



    and Legendre's duplication formula to simplify the gamma functions and factorials. The hypergeometric function reduces to elementary functions in $x^{2}$ when $n$ is an integer; for example, Mathematica gives the $n=1$ and $n=2$ cases as



    $$begin{aligned} {}_{3}F_{2}left(1, 2, 2; 5/2, 3; x^{2}right) &= frac{3}{x^{2}}left(frac{arcsin^{2}x}{x^{2}} - 1right) \
    {}_{3}F_{2}left(1, 3, 3; 7/2, 4; x^{2}right) &= frac{15}{8x^{2}}left(frac{3arcsin^{2}x}{x^{4}} - frac{3}{x^{2}} - 1right). end{aligned}$$



    The linear term makes things more difficult. By making the substitution $x mapsto pi/2 - x$, one can use the beta function and Legendre's duplication formula to show that the related integral has a nice form



    $$begin{aligned} int_{0}^{pi/2}4xleft(cos^{2n}x + sin^{2n}xright)mathrm{d}x &= 2piint_{0}^{pi/2}sin^{2n}x,mathrm{d}x = pi,frac{Gamma(1/2)Gamma(1/2+n)}{Gamma(1+n)} \ &= frac{pi^{2}}{2^{2n}}frac{(2n)!}{(n!)^{2}} = pi^{2}frac{(2n-1)!!}{(2n)!!}. end{aligned}$$



    Lastly, the tangent half-angle substitution can be used to write the integral in the form



    $$ I_{n} = int_{0}^{pi/2}xcos^{2n}x,mathrm{d}x = int_{0}^{infty}frac{tan^{-1}x}{(1+x^{2})^{n+1}},mathrm{d}x $$



    but I do not believe this is much easier than the original integral.






    share|cite|improve this answer























    • If you have a closed formula for $_3F_2(1,n+1,n+1;n+3/2,n+2;1)$ for $n in mathbb{N}$ then that's exactly what I was looking for!
      – chickenNinja123
      2 days ago
















    1














    The integral probably does not have a closed form in terms of something simpler than the hypergeometric ${}_{3}F_{2}$ unless something amazing happens with the series. I don't think you can do much better than



    $$begin{aligned} I_{n} &= frac{(2n-1)!!}{(2n)!!}frac{sqrt{pi},Gamma^{2}(n+1)}{Gamma(n+3/2)Gamma(n+2)}{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right) \
    &= frac{{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right)}{(n+1)(n+1/2)} end{aligned}$$



    where I have used the double factorial identity



    $$ frac{(2n-1)!!}{(2n)!!} = frac{(2n)!}{2^{2n}(n!)^{2}}$$



    and Legendre's duplication formula to simplify the gamma functions and factorials. The hypergeometric function reduces to elementary functions in $x^{2}$ when $n$ is an integer; for example, Mathematica gives the $n=1$ and $n=2$ cases as



    $$begin{aligned} {}_{3}F_{2}left(1, 2, 2; 5/2, 3; x^{2}right) &= frac{3}{x^{2}}left(frac{arcsin^{2}x}{x^{2}} - 1right) \
    {}_{3}F_{2}left(1, 3, 3; 7/2, 4; x^{2}right) &= frac{15}{8x^{2}}left(frac{3arcsin^{2}x}{x^{4}} - frac{3}{x^{2}} - 1right). end{aligned}$$



    The linear term makes things more difficult. By making the substitution $x mapsto pi/2 - x$, one can use the beta function and Legendre's duplication formula to show that the related integral has a nice form



    $$begin{aligned} int_{0}^{pi/2}4xleft(cos^{2n}x + sin^{2n}xright)mathrm{d}x &= 2piint_{0}^{pi/2}sin^{2n}x,mathrm{d}x = pi,frac{Gamma(1/2)Gamma(1/2+n)}{Gamma(1+n)} \ &= frac{pi^{2}}{2^{2n}}frac{(2n)!}{(n!)^{2}} = pi^{2}frac{(2n-1)!!}{(2n)!!}. end{aligned}$$



    Lastly, the tangent half-angle substitution can be used to write the integral in the form



    $$ I_{n} = int_{0}^{pi/2}xcos^{2n}x,mathrm{d}x = int_{0}^{infty}frac{tan^{-1}x}{(1+x^{2})^{n+1}},mathrm{d}x $$



    but I do not believe this is much easier than the original integral.






    share|cite|improve this answer























    • If you have a closed formula for $_3F_2(1,n+1,n+1;n+3/2,n+2;1)$ for $n in mathbb{N}$ then that's exactly what I was looking for!
      – chickenNinja123
      2 days ago














    1












    1








    1






    The integral probably does not have a closed form in terms of something simpler than the hypergeometric ${}_{3}F_{2}$ unless something amazing happens with the series. I don't think you can do much better than



    $$begin{aligned} I_{n} &= frac{(2n-1)!!}{(2n)!!}frac{sqrt{pi},Gamma^{2}(n+1)}{Gamma(n+3/2)Gamma(n+2)}{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right) \
    &= frac{{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right)}{(n+1)(n+1/2)} end{aligned}$$



    where I have used the double factorial identity



    $$ frac{(2n-1)!!}{(2n)!!} = frac{(2n)!}{2^{2n}(n!)^{2}}$$



    and Legendre's duplication formula to simplify the gamma functions and factorials. The hypergeometric function reduces to elementary functions in $x^{2}$ when $n$ is an integer; for example, Mathematica gives the $n=1$ and $n=2$ cases as



    $$begin{aligned} {}_{3}F_{2}left(1, 2, 2; 5/2, 3; x^{2}right) &= frac{3}{x^{2}}left(frac{arcsin^{2}x}{x^{2}} - 1right) \
    {}_{3}F_{2}left(1, 3, 3; 7/2, 4; x^{2}right) &= frac{15}{8x^{2}}left(frac{3arcsin^{2}x}{x^{4}} - frac{3}{x^{2}} - 1right). end{aligned}$$



    The linear term makes things more difficult. By making the substitution $x mapsto pi/2 - x$, one can use the beta function and Legendre's duplication formula to show that the related integral has a nice form



    $$begin{aligned} int_{0}^{pi/2}4xleft(cos^{2n}x + sin^{2n}xright)mathrm{d}x &= 2piint_{0}^{pi/2}sin^{2n}x,mathrm{d}x = pi,frac{Gamma(1/2)Gamma(1/2+n)}{Gamma(1+n)} \ &= frac{pi^{2}}{2^{2n}}frac{(2n)!}{(n!)^{2}} = pi^{2}frac{(2n-1)!!}{(2n)!!}. end{aligned}$$



    Lastly, the tangent half-angle substitution can be used to write the integral in the form



    $$ I_{n} = int_{0}^{pi/2}xcos^{2n}x,mathrm{d}x = int_{0}^{infty}frac{tan^{-1}x}{(1+x^{2})^{n+1}},mathrm{d}x $$



    but I do not believe this is much easier than the original integral.






    share|cite|improve this answer














    The integral probably does not have a closed form in terms of something simpler than the hypergeometric ${}_{3}F_{2}$ unless something amazing happens with the series. I don't think you can do much better than



    $$begin{aligned} I_{n} &= frac{(2n-1)!!}{(2n)!!}frac{sqrt{pi},Gamma^{2}(n+1)}{Gamma(n+3/2)Gamma(n+2)}{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right) \
    &= frac{{}_{3}F_{2}left(1, n+1, n+1; n+3/2, n+2; 1right)}{(n+1)(n+1/2)} end{aligned}$$



    where I have used the double factorial identity



    $$ frac{(2n-1)!!}{(2n)!!} = frac{(2n)!}{2^{2n}(n!)^{2}}$$



    and Legendre's duplication formula to simplify the gamma functions and factorials. The hypergeometric function reduces to elementary functions in $x^{2}$ when $n$ is an integer; for example, Mathematica gives the $n=1$ and $n=2$ cases as



    $$begin{aligned} {}_{3}F_{2}left(1, 2, 2; 5/2, 3; x^{2}right) &= frac{3}{x^{2}}left(frac{arcsin^{2}x}{x^{2}} - 1right) \
    {}_{3}F_{2}left(1, 3, 3; 7/2, 4; x^{2}right) &= frac{15}{8x^{2}}left(frac{3arcsin^{2}x}{x^{4}} - frac{3}{x^{2}} - 1right). end{aligned}$$



    The linear term makes things more difficult. By making the substitution $x mapsto pi/2 - x$, one can use the beta function and Legendre's duplication formula to show that the related integral has a nice form



    $$begin{aligned} int_{0}^{pi/2}4xleft(cos^{2n}x + sin^{2n}xright)mathrm{d}x &= 2piint_{0}^{pi/2}sin^{2n}x,mathrm{d}x = pi,frac{Gamma(1/2)Gamma(1/2+n)}{Gamma(1+n)} \ &= frac{pi^{2}}{2^{2n}}frac{(2n)!}{(n!)^{2}} = pi^{2}frac{(2n-1)!!}{(2n)!!}. end{aligned}$$



    Lastly, the tangent half-angle substitution can be used to write the integral in the form



    $$ I_{n} = int_{0}^{pi/2}xcos^{2n}x,mathrm{d}x = int_{0}^{infty}frac{tan^{-1}x}{(1+x^{2})^{n+1}},mathrm{d}x $$



    but I do not believe this is much easier than the original integral.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Jan 3 at 7:39

























    answered Jan 3 at 7:21









    Ininterrompue

    6139




    6139












    • If you have a closed formula for $_3F_2(1,n+1,n+1;n+3/2,n+2;1)$ for $n in mathbb{N}$ then that's exactly what I was looking for!
      – chickenNinja123
      2 days ago


















    • If you have a closed formula for $_3F_2(1,n+1,n+1;n+3/2,n+2;1)$ for $n in mathbb{N}$ then that's exactly what I was looking for!
      – chickenNinja123
      2 days ago
















    If you have a closed formula for $_3F_2(1,n+1,n+1;n+3/2,n+2;1)$ for $n in mathbb{N}$ then that's exactly what I was looking for!
    – chickenNinja123
    2 days ago




    If you have a closed formula for $_3F_2(1,n+1,n+1;n+3/2,n+2;1)$ for $n in mathbb{N}$ then that's exactly what I was looking for!
    – chickenNinja123
    2 days ago











    3














    NOT A FULL SOLUTION:



    Here, complex analysis (if permitted) is your friend (sort of):



    begin{equation}
    Releft[tcdot e^{-t^n i} right] = t cdot cosleft(t^nright)
    end{equation}



    Thus,



    begin{align}
    I = int_{0}^{pi} t cdot cosleft(t^nright) = Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright]
    end{align}



    Here let $u = t^{n}i$ to yield:



    begin{align}
    I &= Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright] = Releft[int_{0}^{pi^ni} left(frac{u}{i} right)^{frac{1}{n}}cdot e^{-u} cdot frac{du}{left(frac{u}{i} right)^{frac{n - 1}{n}}}right] \
    &= Releft[ i^{1 - frac{2}{n}} int_{0}^{pi^ni} u^{frac{2}{n} - 1}e^{-u}:duright] \&= Releft[i^{1 - frac{2}{n}} gammaleft(u^{frac{2}{n}}, pi^niright)right]
    end{align}



    Where $gamma(a,b)$ is the lower incomplete gamma function.






    share|cite|improve this answer





















    • I'm terribly sorry I didn't make it clear enough where I wanted the powers to be. :/ I do like your approach, though.
      – chickenNinja123
      2 days ago










    • @chickenNinja123 - No worries mate!
      – DavidG
      2 days ago










    • first time I see the lower gamma function defined for some non-real upper bound. I had to go to wikipedia to check it, and it is fine!
      – Masacroso
      2 days ago


















    3














    NOT A FULL SOLUTION:



    Here, complex analysis (if permitted) is your friend (sort of):



    begin{equation}
    Releft[tcdot e^{-t^n i} right] = t cdot cosleft(t^nright)
    end{equation}



    Thus,



    begin{align}
    I = int_{0}^{pi} t cdot cosleft(t^nright) = Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright]
    end{align}



    Here let $u = t^{n}i$ to yield:



    begin{align}
    I &= Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright] = Releft[int_{0}^{pi^ni} left(frac{u}{i} right)^{frac{1}{n}}cdot e^{-u} cdot frac{du}{left(frac{u}{i} right)^{frac{n - 1}{n}}}right] \
    &= Releft[ i^{1 - frac{2}{n}} int_{0}^{pi^ni} u^{frac{2}{n} - 1}e^{-u}:duright] \&= Releft[i^{1 - frac{2}{n}} gammaleft(u^{frac{2}{n}}, pi^niright)right]
    end{align}



    Where $gamma(a,b)$ is the lower incomplete gamma function.






    share|cite|improve this answer





















    • I'm terribly sorry I didn't make it clear enough where I wanted the powers to be. :/ I do like your approach, though.
      – chickenNinja123
      2 days ago










    • @chickenNinja123 - No worries mate!
      – DavidG
      2 days ago










    • first time I see the lower gamma function defined for some non-real upper bound. I had to go to wikipedia to check it, and it is fine!
      – Masacroso
      2 days ago
















    3












    3








    3






    NOT A FULL SOLUTION:



    Here, complex analysis (if permitted) is your friend (sort of):



    begin{equation}
    Releft[tcdot e^{-t^n i} right] = t cdot cosleft(t^nright)
    end{equation}



    Thus,



    begin{align}
    I = int_{0}^{pi} t cdot cosleft(t^nright) = Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright]
    end{align}



    Here let $u = t^{n}i$ to yield:



    begin{align}
    I &= Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright] = Releft[int_{0}^{pi^ni} left(frac{u}{i} right)^{frac{1}{n}}cdot e^{-u} cdot frac{du}{left(frac{u}{i} right)^{frac{n - 1}{n}}}right] \
    &= Releft[ i^{1 - frac{2}{n}} int_{0}^{pi^ni} u^{frac{2}{n} - 1}e^{-u}:duright] \&= Releft[i^{1 - frac{2}{n}} gammaleft(u^{frac{2}{n}}, pi^niright)right]
    end{align}



    Where $gamma(a,b)$ is the lower incomplete gamma function.






    share|cite|improve this answer












    NOT A FULL SOLUTION:



    Here, complex analysis (if permitted) is your friend (sort of):



    begin{equation}
    Releft[tcdot e^{-t^n i} right] = t cdot cosleft(t^nright)
    end{equation}



    Thus,



    begin{align}
    I = int_{0}^{pi} t cdot cosleft(t^nright) = Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright]
    end{align}



    Here let $u = t^{n}i$ to yield:



    begin{align}
    I &= Releft[int_{0}^{pi} tcdot e^{-t^n i} :dtright] = Releft[int_{0}^{pi^ni} left(frac{u}{i} right)^{frac{1}{n}}cdot e^{-u} cdot frac{du}{left(frac{u}{i} right)^{frac{n - 1}{n}}}right] \
    &= Releft[ i^{1 - frac{2}{n}} int_{0}^{pi^ni} u^{frac{2}{n} - 1}e^{-u}:duright] \&= Releft[i^{1 - frac{2}{n}} gammaleft(u^{frac{2}{n}}, pi^niright)right]
    end{align}



    Where $gamma(a,b)$ is the lower incomplete gamma function.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Jan 3 at 3:39









    DavidG

    1,811620




    1,811620












    • I'm terribly sorry I didn't make it clear enough where I wanted the powers to be. :/ I do like your approach, though.
      – chickenNinja123
      2 days ago










    • @chickenNinja123 - No worries mate!
      – DavidG
      2 days ago










    • first time I see the lower gamma function defined for some non-real upper bound. I had to go to wikipedia to check it, and it is fine!
      – Masacroso
      2 days ago




















    • I'm terribly sorry I didn't make it clear enough where I wanted the powers to be. :/ I do like your approach, though.
      – chickenNinja123
      2 days ago










    • @chickenNinja123 - No worries mate!
      – DavidG
      2 days ago










    • first time I see the lower gamma function defined for some non-real upper bound. I had to go to wikipedia to check it, and it is fine!
      – Masacroso
      2 days ago


















    I'm terribly sorry I didn't make it clear enough where I wanted the powers to be. :/ I do like your approach, though.
    – chickenNinja123
    2 days ago




    I'm terribly sorry I didn't make it clear enough where I wanted the powers to be. :/ I do like your approach, though.
    – chickenNinja123
    2 days ago












    @chickenNinja123 - No worries mate!
    – DavidG
    2 days ago




    @chickenNinja123 - No worries mate!
    – DavidG
    2 days ago












    first time I see the lower gamma function defined for some non-real upper bound. I had to go to wikipedia to check it, and it is fine!
    – Masacroso
    2 days ago






    first time I see the lower gamma function defined for some non-real upper bound. I had to go to wikipedia to check it, and it is fine!
    – Masacroso
    2 days ago













    1














    One more version - in case it is useful for further simplifications.



    Use
    $$
    cos^{2n}left(frac{t}{2}right)=frac1{2^{2 n}}binom{2 n}{n}+frac1{2^{2 n-1}}{sum _{j=1}^nbinom{2 n}{n-j} cos (jt)}
    $$

    and
    $$
    int_0^{pi} t cosleft(ntright) , dt=begin{cases}
    frac{pi^2}2,&n=0,\
    -frac2{(2k-1)^2},&n=2k-1,\
    0,&n=2k>0
    end{cases}
    $$

    to obtain
    $$int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt=
    frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}}{sum _{k=1}^{left[frac{n+1}2right]} frac1{(2k-1)^2}binom{2 n}{n+2k-1}}.$$

    Mathematica handles the last sum as
    $$
    frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}} binom{2 n}{n+1} , _5F_4left(frac{1}{2},frac{1}{2},1,frac{1}{2}-frac{n}{2},1-frac{n}{2};frac{3}{2},frac{3}{2},frac{n}{2}+1,frac{n}{2}+frac{3}{2};1right)
    $$

    (which is no better than the sum itself).






    share|cite|improve this answer




























      1














      One more version - in case it is useful for further simplifications.



      Use
      $$
      cos^{2n}left(frac{t}{2}right)=frac1{2^{2 n}}binom{2 n}{n}+frac1{2^{2 n-1}}{sum _{j=1}^nbinom{2 n}{n-j} cos (jt)}
      $$

      and
      $$
      int_0^{pi} t cosleft(ntright) , dt=begin{cases}
      frac{pi^2}2,&n=0,\
      -frac2{(2k-1)^2},&n=2k-1,\
      0,&n=2k>0
      end{cases}
      $$

      to obtain
      $$int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt=
      frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}}{sum _{k=1}^{left[frac{n+1}2right]} frac1{(2k-1)^2}binom{2 n}{n+2k-1}}.$$

      Mathematica handles the last sum as
      $$
      frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}} binom{2 n}{n+1} , _5F_4left(frac{1}{2},frac{1}{2},1,frac{1}{2}-frac{n}{2},1-frac{n}{2};frac{3}{2},frac{3}{2},frac{n}{2}+1,frac{n}{2}+frac{3}{2};1right)
      $$

      (which is no better than the sum itself).






      share|cite|improve this answer


























        1












        1








        1






        One more version - in case it is useful for further simplifications.



        Use
        $$
        cos^{2n}left(frac{t}{2}right)=frac1{2^{2 n}}binom{2 n}{n}+frac1{2^{2 n-1}}{sum _{j=1}^nbinom{2 n}{n-j} cos (jt)}
        $$

        and
        $$
        int_0^{pi} t cosleft(ntright) , dt=begin{cases}
        frac{pi^2}2,&n=0,\
        -frac2{(2k-1)^2},&n=2k-1,\
        0,&n=2k>0
        end{cases}
        $$

        to obtain
        $$int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt=
        frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}}{sum _{k=1}^{left[frac{n+1}2right]} frac1{(2k-1)^2}binom{2 n}{n+2k-1}}.$$

        Mathematica handles the last sum as
        $$
        frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}} binom{2 n}{n+1} , _5F_4left(frac{1}{2},frac{1}{2},1,frac{1}{2}-frac{n}{2},1-frac{n}{2};frac{3}{2},frac{3}{2},frac{n}{2}+1,frac{n}{2}+frac{3}{2};1right)
        $$

        (which is no better than the sum itself).






        share|cite|improve this answer














        One more version - in case it is useful for further simplifications.



        Use
        $$
        cos^{2n}left(frac{t}{2}right)=frac1{2^{2 n}}binom{2 n}{n}+frac1{2^{2 n-1}}{sum _{j=1}^nbinom{2 n}{n-j} cos (jt)}
        $$

        and
        $$
        int_0^{pi} t cosleft(ntright) , dt=begin{cases}
        frac{pi^2}2,&n=0,\
        -frac2{(2k-1)^2},&n=2k-1,\
        0,&n=2k>0
        end{cases}
        $$

        to obtain
        $$int_0^{pi} t cdotcos^{2n}{left(frac{t}{2}right)} , dt=
        frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}}{sum _{k=1}^{left[frac{n+1}2right]} frac1{(2k-1)^2}binom{2 n}{n+2k-1}}.$$

        Mathematica handles the last sum as
        $$
        frac{pi^2}{2^{2 n+1}}binom{2 n}{n}-frac1{2^{2 n-2}} binom{2 n}{n+1} , _5F_4left(frac{1}{2},frac{1}{2},1,frac{1}{2}-frac{n}{2},1-frac{n}{2};frac{3}{2},frac{3}{2},frac{n}{2}+1,frac{n}{2}+frac{3}{2};1right)
        $$

        (which is no better than the sum itself).







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited 2 days ago

























        answered 2 days ago









        მამუკა ჯიბლაძე

        747817




        747817






























            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%2f3060103%2fintegration-of-powers-of-trigonometric-function-with-linear-term%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

            1300-talet

            1300-talet

            Has there ever been an instance of an active nuclear power plant within or near a war zone?