Formula for harmonic progression $sum _{k=1}^n frac{1}{a k+b}$.











up vote
18
down vote

favorite
10












Can anyone prove this formula for the harmonic progression easily?




For $a$ and $b$ integers:
begin{multline}sum _{k=1}^n frac{1}{a k+b}=-frac{1}{2b}+frac{1}{2(a n+b)}\+int_0^1 2pi (1-u)sin[a npi u]sin[(a n+2b)pi u]cot[api u],duend{multline}




PS This formula was created by me, am just looking for an indirect proof to show its validity (not sure if it's a good idea to divulge it before publishing the result but anyway, perhaps being here already shows I am the creator).



Now, even more surprising are the patterns of the higher orders:




$$sum_{k=1}^n frac{1}{(a k+b)^3}=-frac{1}{2 b^3}+frac{1}{2(a n+b)^3}\-frac{4pi ^3}{3}int _0^1 left(-u+u^3right) sin{[a npi(1-u)]}sin{[(a n+2b)pi(1-u)]}cot[api (1-u)]du$$




The general formula for odd powers is:




$$sum_{j=1}^{n}frac{1}{(a j+b)^{2k+1}}=-frac{1}{2b^{2k+1}}+frac{1}{2(a n+b)^{2k+1}}\+(-1)^{k}(2pi)^{2k+1}int_{0}^{1}sum_{j=0}^{k}frac{B_{2k-2j}left(2-2^{2k-2j}right)}{(2k-2j)!(2j+1)!}u^{2j+1}f(u,n),du$$




where
$f(u,n)=sin{[a npi(1-u)]}sin{[(a n+2b)pi(1-u)]}cot[api (1-u)]$,



and the general formula for even powers is:




$$sum_{j=1}^{n}frac{1}{(a j+b)^{2k}}=-frac{1}{2b^{2k}}+frac{1}{2(a n+b)^{2k}}\-(-1)^{k}(2pi)^{2k}int_{0}^{1}sum_{j=0}^{k}frac{B_{2k-2j}left(2-2^{2k-2j}right)}{(2k-2j)!(2j)!}u^{2j}g(u,n),du$$




where
$g(u,n)=sin{[a npi(1-u)]}cos{[(a n+2b)pi(1-u)]}cot[api (1-u)]$



These formulae work for the harmonic numbers too ($a=1,b=0$), if term $-1/(2b^k)$ is discarded.










share|cite|improve this question




















  • 2




    If anyone wants to have at go—pull the sine out of the cotangent, use the geometric series formulae to expand the factor like $tfrac{sin mx/2}{sin x/2}$ into a Fourier series, use the product-to-sum formula for trig functions twice, and integrate by parts. I expect that'll turn the integral into a generalized harmonic series.
    – K B Dave
    Nov 22 at 6:43






  • 1




    You are welcome dear :)
    – Nosrati
    Nov 23 at 7:28






  • 1




    Some easy algebra with the digamma function $psi$ gives that the sum can be written $frac{1}{a}left[psileft(frac{b}{a} + n + 1right) - psileft(frac{b}{a} + 1right)right]$, so one could just as well view this problem as showing an integral identity for $psi$. NB there are some nice integral representations of $psi$, so perhaps one of those could be manipulated to show this one.
    – Travis
    Nov 23 at 9:44






  • 1




    In accordance with the comment of Travis, for $mgeq 2$ you can use the Hurwitz zeta function : $enspacedisplaystylesumlimits_{k=1}^nfrac{1}{(ak+b)^m}=frac{1}{a^m}left(zeta(m,1+frac{b}{a})-zeta(m,1+frac{b}{a}+n)right)$ . Maybe there are some integrals which will help you.
    – user90369
    Nov 23 at 10:04








  • 1




    And if I would like to proof such formulas, I would simply substitute $sin x$ by $frac{e^{ix}-e^{-ix}}{i2}$ and $cot x$ by $ifrac{e^{ix}+e^{-ix}}{e^{ix}-e^{-ix}}$ . Then check what comes out. :)
    – user90369
    Nov 23 at 10:15

















up vote
18
down vote

favorite
10












Can anyone prove this formula for the harmonic progression easily?




For $a$ and $b$ integers:
begin{multline}sum _{k=1}^n frac{1}{a k+b}=-frac{1}{2b}+frac{1}{2(a n+b)}\+int_0^1 2pi (1-u)sin[a npi u]sin[(a n+2b)pi u]cot[api u],duend{multline}




PS This formula was created by me, am just looking for an indirect proof to show its validity (not sure if it's a good idea to divulge it before publishing the result but anyway, perhaps being here already shows I am the creator).



Now, even more surprising are the patterns of the higher orders:




$$sum_{k=1}^n frac{1}{(a k+b)^3}=-frac{1}{2 b^3}+frac{1}{2(a n+b)^3}\-frac{4pi ^3}{3}int _0^1 left(-u+u^3right) sin{[a npi(1-u)]}sin{[(a n+2b)pi(1-u)]}cot[api (1-u)]du$$




The general formula for odd powers is:




$$sum_{j=1}^{n}frac{1}{(a j+b)^{2k+1}}=-frac{1}{2b^{2k+1}}+frac{1}{2(a n+b)^{2k+1}}\+(-1)^{k}(2pi)^{2k+1}int_{0}^{1}sum_{j=0}^{k}frac{B_{2k-2j}left(2-2^{2k-2j}right)}{(2k-2j)!(2j+1)!}u^{2j+1}f(u,n),du$$




where
$f(u,n)=sin{[a npi(1-u)]}sin{[(a n+2b)pi(1-u)]}cot[api (1-u)]$,



and the general formula for even powers is:




$$sum_{j=1}^{n}frac{1}{(a j+b)^{2k}}=-frac{1}{2b^{2k}}+frac{1}{2(a n+b)^{2k}}\-(-1)^{k}(2pi)^{2k}int_{0}^{1}sum_{j=0}^{k}frac{B_{2k-2j}left(2-2^{2k-2j}right)}{(2k-2j)!(2j)!}u^{2j}g(u,n),du$$




where
$g(u,n)=sin{[a npi(1-u)]}cos{[(a n+2b)pi(1-u)]}cot[api (1-u)]$



These formulae work for the harmonic numbers too ($a=1,b=0$), if term $-1/(2b^k)$ is discarded.










share|cite|improve this question




















  • 2




    If anyone wants to have at go—pull the sine out of the cotangent, use the geometric series formulae to expand the factor like $tfrac{sin mx/2}{sin x/2}$ into a Fourier series, use the product-to-sum formula for trig functions twice, and integrate by parts. I expect that'll turn the integral into a generalized harmonic series.
    – K B Dave
    Nov 22 at 6:43






  • 1




    You are welcome dear :)
    – Nosrati
    Nov 23 at 7:28






  • 1




    Some easy algebra with the digamma function $psi$ gives that the sum can be written $frac{1}{a}left[psileft(frac{b}{a} + n + 1right) - psileft(frac{b}{a} + 1right)right]$, so one could just as well view this problem as showing an integral identity for $psi$. NB there are some nice integral representations of $psi$, so perhaps one of those could be manipulated to show this one.
    – Travis
    Nov 23 at 9:44






  • 1




    In accordance with the comment of Travis, for $mgeq 2$ you can use the Hurwitz zeta function : $enspacedisplaystylesumlimits_{k=1}^nfrac{1}{(ak+b)^m}=frac{1}{a^m}left(zeta(m,1+frac{b}{a})-zeta(m,1+frac{b}{a}+n)right)$ . Maybe there are some integrals which will help you.
    – user90369
    Nov 23 at 10:04








  • 1




    And if I would like to proof such formulas, I would simply substitute $sin x$ by $frac{e^{ix}-e^{-ix}}{i2}$ and $cot x$ by $ifrac{e^{ix}+e^{-ix}}{e^{ix}-e^{-ix}}$ . Then check what comes out. :)
    – user90369
    Nov 23 at 10:15















up vote
18
down vote

favorite
10









up vote
18
down vote

favorite
10






10





Can anyone prove this formula for the harmonic progression easily?




For $a$ and $b$ integers:
begin{multline}sum _{k=1}^n frac{1}{a k+b}=-frac{1}{2b}+frac{1}{2(a n+b)}\+int_0^1 2pi (1-u)sin[a npi u]sin[(a n+2b)pi u]cot[api u],duend{multline}




PS This formula was created by me, am just looking for an indirect proof to show its validity (not sure if it's a good idea to divulge it before publishing the result but anyway, perhaps being here already shows I am the creator).



Now, even more surprising are the patterns of the higher orders:




$$sum_{k=1}^n frac{1}{(a k+b)^3}=-frac{1}{2 b^3}+frac{1}{2(a n+b)^3}\-frac{4pi ^3}{3}int _0^1 left(-u+u^3right) sin{[a npi(1-u)]}sin{[(a n+2b)pi(1-u)]}cot[api (1-u)]du$$




The general formula for odd powers is:




$$sum_{j=1}^{n}frac{1}{(a j+b)^{2k+1}}=-frac{1}{2b^{2k+1}}+frac{1}{2(a n+b)^{2k+1}}\+(-1)^{k}(2pi)^{2k+1}int_{0}^{1}sum_{j=0}^{k}frac{B_{2k-2j}left(2-2^{2k-2j}right)}{(2k-2j)!(2j+1)!}u^{2j+1}f(u,n),du$$




where
$f(u,n)=sin{[a npi(1-u)]}sin{[(a n+2b)pi(1-u)]}cot[api (1-u)]$,



and the general formula for even powers is:




$$sum_{j=1}^{n}frac{1}{(a j+b)^{2k}}=-frac{1}{2b^{2k}}+frac{1}{2(a n+b)^{2k}}\-(-1)^{k}(2pi)^{2k}int_{0}^{1}sum_{j=0}^{k}frac{B_{2k-2j}left(2-2^{2k-2j}right)}{(2k-2j)!(2j)!}u^{2j}g(u,n),du$$




where
$g(u,n)=sin{[a npi(1-u)]}cos{[(a n+2b)pi(1-u)]}cot[api (1-u)]$



These formulae work for the harmonic numbers too ($a=1,b=0$), if term $-1/(2b^k)$ is discarded.










share|cite|improve this question















Can anyone prove this formula for the harmonic progression easily?




For $a$ and $b$ integers:
begin{multline}sum _{k=1}^n frac{1}{a k+b}=-frac{1}{2b}+frac{1}{2(a n+b)}\+int_0^1 2pi (1-u)sin[a npi u]sin[(a n+2b)pi u]cot[api u],duend{multline}




PS This formula was created by me, am just looking for an indirect proof to show its validity (not sure if it's a good idea to divulge it before publishing the result but anyway, perhaps being here already shows I am the creator).



Now, even more surprising are the patterns of the higher orders:




$$sum_{k=1}^n frac{1}{(a k+b)^3}=-frac{1}{2 b^3}+frac{1}{2(a n+b)^3}\-frac{4pi ^3}{3}int _0^1 left(-u+u^3right) sin{[a npi(1-u)]}sin{[(a n+2b)pi(1-u)]}cot[api (1-u)]du$$




The general formula for odd powers is:




$$sum_{j=1}^{n}frac{1}{(a j+b)^{2k+1}}=-frac{1}{2b^{2k+1}}+frac{1}{2(a n+b)^{2k+1}}\+(-1)^{k}(2pi)^{2k+1}int_{0}^{1}sum_{j=0}^{k}frac{B_{2k-2j}left(2-2^{2k-2j}right)}{(2k-2j)!(2j+1)!}u^{2j+1}f(u,n),du$$




where
$f(u,n)=sin{[a npi(1-u)]}sin{[(a n+2b)pi(1-u)]}cot[api (1-u)]$,



and the general formula for even powers is:




$$sum_{j=1}^{n}frac{1}{(a j+b)^{2k}}=-frac{1}{2b^{2k}}+frac{1}{2(a n+b)^{2k}}\-(-1)^{k}(2pi)^{2k}int_{0}^{1}sum_{j=0}^{k}frac{B_{2k-2j}left(2-2^{2k-2j}right)}{(2k-2j)!(2j)!}u^{2j}g(u,n),du$$




where
$g(u,n)=sin{[a npi(1-u)]}cos{[(a n+2b)pi(1-u)]}cot[api (1-u)]$



These formulae work for the harmonic numbers too ($a=1,b=0$), if term $-1/(2b^k)$ is discarded.







sequences-and-series summation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 28 at 15:40









Asaf Karagila

300k32422752




300k32422752










asked Nov 22 at 5:33







user618463















  • 2




    If anyone wants to have at go—pull the sine out of the cotangent, use the geometric series formulae to expand the factor like $tfrac{sin mx/2}{sin x/2}$ into a Fourier series, use the product-to-sum formula for trig functions twice, and integrate by parts. I expect that'll turn the integral into a generalized harmonic series.
    – K B Dave
    Nov 22 at 6:43






  • 1




    You are welcome dear :)
    – Nosrati
    Nov 23 at 7:28






  • 1




    Some easy algebra with the digamma function $psi$ gives that the sum can be written $frac{1}{a}left[psileft(frac{b}{a} + n + 1right) - psileft(frac{b}{a} + 1right)right]$, so one could just as well view this problem as showing an integral identity for $psi$. NB there are some nice integral representations of $psi$, so perhaps one of those could be manipulated to show this one.
    – Travis
    Nov 23 at 9:44






  • 1




    In accordance with the comment of Travis, for $mgeq 2$ you can use the Hurwitz zeta function : $enspacedisplaystylesumlimits_{k=1}^nfrac{1}{(ak+b)^m}=frac{1}{a^m}left(zeta(m,1+frac{b}{a})-zeta(m,1+frac{b}{a}+n)right)$ . Maybe there are some integrals which will help you.
    – user90369
    Nov 23 at 10:04








  • 1




    And if I would like to proof such formulas, I would simply substitute $sin x$ by $frac{e^{ix}-e^{-ix}}{i2}$ and $cot x$ by $ifrac{e^{ix}+e^{-ix}}{e^{ix}-e^{-ix}}$ . Then check what comes out. :)
    – user90369
    Nov 23 at 10:15
















  • 2




    If anyone wants to have at go—pull the sine out of the cotangent, use the geometric series formulae to expand the factor like $tfrac{sin mx/2}{sin x/2}$ into a Fourier series, use the product-to-sum formula for trig functions twice, and integrate by parts. I expect that'll turn the integral into a generalized harmonic series.
    – K B Dave
    Nov 22 at 6:43






  • 1




    You are welcome dear :)
    – Nosrati
    Nov 23 at 7:28






  • 1




    Some easy algebra with the digamma function $psi$ gives that the sum can be written $frac{1}{a}left[psileft(frac{b}{a} + n + 1right) - psileft(frac{b}{a} + 1right)right]$, so one could just as well view this problem as showing an integral identity for $psi$. NB there are some nice integral representations of $psi$, so perhaps one of those could be manipulated to show this one.
    – Travis
    Nov 23 at 9:44






  • 1




    In accordance with the comment of Travis, for $mgeq 2$ you can use the Hurwitz zeta function : $enspacedisplaystylesumlimits_{k=1}^nfrac{1}{(ak+b)^m}=frac{1}{a^m}left(zeta(m,1+frac{b}{a})-zeta(m,1+frac{b}{a}+n)right)$ . Maybe there are some integrals which will help you.
    – user90369
    Nov 23 at 10:04








  • 1




    And if I would like to proof such formulas, I would simply substitute $sin x$ by $frac{e^{ix}-e^{-ix}}{i2}$ and $cot x$ by $ifrac{e^{ix}+e^{-ix}}{e^{ix}-e^{-ix}}$ . Then check what comes out. :)
    – user90369
    Nov 23 at 10:15










2




2




If anyone wants to have at go—pull the sine out of the cotangent, use the geometric series formulae to expand the factor like $tfrac{sin mx/2}{sin x/2}$ into a Fourier series, use the product-to-sum formula for trig functions twice, and integrate by parts. I expect that'll turn the integral into a generalized harmonic series.
– K B Dave
Nov 22 at 6:43




If anyone wants to have at go—pull the sine out of the cotangent, use the geometric series formulae to expand the factor like $tfrac{sin mx/2}{sin x/2}$ into a Fourier series, use the product-to-sum formula for trig functions twice, and integrate by parts. I expect that'll turn the integral into a generalized harmonic series.
– K B Dave
Nov 22 at 6:43




1




1




You are welcome dear :)
– Nosrati
Nov 23 at 7:28




You are welcome dear :)
– Nosrati
Nov 23 at 7:28




1




1




Some easy algebra with the digamma function $psi$ gives that the sum can be written $frac{1}{a}left[psileft(frac{b}{a} + n + 1right) - psileft(frac{b}{a} + 1right)right]$, so one could just as well view this problem as showing an integral identity for $psi$. NB there are some nice integral representations of $psi$, so perhaps one of those could be manipulated to show this one.
– Travis
Nov 23 at 9:44




Some easy algebra with the digamma function $psi$ gives that the sum can be written $frac{1}{a}left[psileft(frac{b}{a} + n + 1right) - psileft(frac{b}{a} + 1right)right]$, so one could just as well view this problem as showing an integral identity for $psi$. NB there are some nice integral representations of $psi$, so perhaps one of those could be manipulated to show this one.
– Travis
Nov 23 at 9:44




1




1




In accordance with the comment of Travis, for $mgeq 2$ you can use the Hurwitz zeta function : $enspacedisplaystylesumlimits_{k=1}^nfrac{1}{(ak+b)^m}=frac{1}{a^m}left(zeta(m,1+frac{b}{a})-zeta(m,1+frac{b}{a}+n)right)$ . Maybe there are some integrals which will help you.
– user90369
Nov 23 at 10:04






In accordance with the comment of Travis, for $mgeq 2$ you can use the Hurwitz zeta function : $enspacedisplaystylesumlimits_{k=1}^nfrac{1}{(ak+b)^m}=frac{1}{a^m}left(zeta(m,1+frac{b}{a})-zeta(m,1+frac{b}{a}+n)right)$ . Maybe there are some integrals which will help you.
– user90369
Nov 23 at 10:04






1




1




And if I would like to proof such formulas, I would simply substitute $sin x$ by $frac{e^{ix}-e^{-ix}}{i2}$ and $cot x$ by $ifrac{e^{ix}+e^{-ix}}{e^{ix}-e^{-ix}}$ . Then check what comes out. :)
– user90369
Nov 23 at 10:15






And if I would like to proof such formulas, I would simply substitute $sin x$ by $frac{e^{ix}-e^{-ix}}{i2}$ and $cot x$ by $ifrac{e^{ix}+e^{-ix}}{e^{ix}-e^{-ix}}$ . Then check what comes out. :)
– user90369
Nov 23 at 10:15












1 Answer
1






active

oldest

votes

















up vote
4
down vote



accepted










Looks like my post was vandalized.
I'm able to edit this answer though, so let me include a link to the paper on arXiv, which has now been accepted.



https://arxiv.org/abs/1811.11305






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%2f3008775%2fformula-for-harmonic-progression-sum-k-1n-frac1a-kb%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
    4
    down vote



    accepted










    Looks like my post was vandalized.
    I'm able to edit this answer though, so let me include a link to the paper on arXiv, which has now been accepted.



    https://arxiv.org/abs/1811.11305






    share|cite|improve this answer



























      up vote
      4
      down vote



      accepted










      Looks like my post was vandalized.
      I'm able to edit this answer though, so let me include a link to the paper on arXiv, which has now been accepted.



      https://arxiv.org/abs/1811.11305






      share|cite|improve this answer

























        up vote
        4
        down vote



        accepted







        up vote
        4
        down vote



        accepted






        Looks like my post was vandalized.
        I'm able to edit this answer though, so let me include a link to the paper on arXiv, which has now been accepted.



        https://arxiv.org/abs/1811.11305






        share|cite|improve this answer














        Looks like my post was vandalized.
        I'm able to edit this answer though, so let me include a link to the paper on arXiv, which has now been accepted.



        https://arxiv.org/abs/1811.11305







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Nov 29 at 1:38

























        answered Nov 26 at 23:33







        user618463





































            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%2f3008775%2fformula-for-harmonic-progression-sum-k-1n-frac1a-kb%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

            Bundesstraße 106

            Verónica Boquete

            Ida-Boy-Ed-Garten