Analytic continuation of harmonic series












6














Is there an accepted analytic continuation of $sum_{n=1}^m frac{1}{n}$? Even a continuation to positive reals would be of interested, though negative and complex arguments would also be interesting.



I don't have a specific application in mind, but I'd very much like to understand how / if such a continuation could be accomplished. I've Googled but haven't come up with anything meaningful - perhaps because it's not possible?



ADDENDUM



@Noble below suggests $frac{Gamma'(x)}{Gamma(x)}$. But this produces the following mismatched plots:



enter image description here



Can anyone explain?










share|cite|improve this question




















  • 3




    As is the case with the Gamma function, it would help to specify what properties you want the analytic continuation to retain. For instance, Euler tells us that $H_n=int_0^1 frac {1-x^n}{1-x}dx$. Replacing $n$ by a continuous parameter gives you an analytic continuation (at least for $n>0$). Is it useful?
    – lulu
    2 days ago












  • @Richard Burke-Ward Here's the explanation: the correct comparison is: Plot[{EulerGamma + Gamma'[z + 1]/Gamma[z + 1], HarmonicNumber[z]}, {z, -1, 5}]
    – Dr. Wolfgang Hintze
    2 days ago


















6














Is there an accepted analytic continuation of $sum_{n=1}^m frac{1}{n}$? Even a continuation to positive reals would be of interested, though negative and complex arguments would also be interesting.



I don't have a specific application in mind, but I'd very much like to understand how / if such a continuation could be accomplished. I've Googled but haven't come up with anything meaningful - perhaps because it's not possible?



ADDENDUM



@Noble below suggests $frac{Gamma'(x)}{Gamma(x)}$. But this produces the following mismatched plots:



enter image description here



Can anyone explain?










share|cite|improve this question




















  • 3




    As is the case with the Gamma function, it would help to specify what properties you want the analytic continuation to retain. For instance, Euler tells us that $H_n=int_0^1 frac {1-x^n}{1-x}dx$. Replacing $n$ by a continuous parameter gives you an analytic continuation (at least for $n>0$). Is it useful?
    – lulu
    2 days ago












  • @Richard Burke-Ward Here's the explanation: the correct comparison is: Plot[{EulerGamma + Gamma'[z + 1]/Gamma[z + 1], HarmonicNumber[z]}, {z, -1, 5}]
    – Dr. Wolfgang Hintze
    2 days ago
















6












6








6


1





Is there an accepted analytic continuation of $sum_{n=1}^m frac{1}{n}$? Even a continuation to positive reals would be of interested, though negative and complex arguments would also be interesting.



I don't have a specific application in mind, but I'd very much like to understand how / if such a continuation could be accomplished. I've Googled but haven't come up with anything meaningful - perhaps because it's not possible?



ADDENDUM



@Noble below suggests $frac{Gamma'(x)}{Gamma(x)}$. But this produces the following mismatched plots:



enter image description here



Can anyone explain?










share|cite|improve this question















Is there an accepted analytic continuation of $sum_{n=1}^m frac{1}{n}$? Even a continuation to positive reals would be of interested, though negative and complex arguments would also be interesting.



I don't have a specific application in mind, but I'd very much like to understand how / if such a continuation could be accomplished. I've Googled but haven't come up with anything meaningful - perhaps because it's not possible?



ADDENDUM



@Noble below suggests $frac{Gamma'(x)}{Gamma(x)}$. But this produces the following mismatched plots:



enter image description here



Can anyone explain?







sequences-and-series harmonic-functions harmonic-numbers analytic-continuation






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 2 days ago









Richard Burke-Ward

3338




3338








  • 3




    As is the case with the Gamma function, it would help to specify what properties you want the analytic continuation to retain. For instance, Euler tells us that $H_n=int_0^1 frac {1-x^n}{1-x}dx$. Replacing $n$ by a continuous parameter gives you an analytic continuation (at least for $n>0$). Is it useful?
    – lulu
    2 days ago












  • @Richard Burke-Ward Here's the explanation: the correct comparison is: Plot[{EulerGamma + Gamma'[z + 1]/Gamma[z + 1], HarmonicNumber[z]}, {z, -1, 5}]
    – Dr. Wolfgang Hintze
    2 days ago
















  • 3




    As is the case with the Gamma function, it would help to specify what properties you want the analytic continuation to retain. For instance, Euler tells us that $H_n=int_0^1 frac {1-x^n}{1-x}dx$. Replacing $n$ by a continuous parameter gives you an analytic continuation (at least for $n>0$). Is it useful?
    – lulu
    2 days ago












  • @Richard Burke-Ward Here's the explanation: the correct comparison is: Plot[{EulerGamma + Gamma'[z + 1]/Gamma[z + 1], HarmonicNumber[z]}, {z, -1, 5}]
    – Dr. Wolfgang Hintze
    2 days ago










3




3




As is the case with the Gamma function, it would help to specify what properties you want the analytic continuation to retain. For instance, Euler tells us that $H_n=int_0^1 frac {1-x^n}{1-x}dx$. Replacing $n$ by a continuous parameter gives you an analytic continuation (at least for $n>0$). Is it useful?
– lulu
2 days ago






As is the case with the Gamma function, it would help to specify what properties you want the analytic continuation to retain. For instance, Euler tells us that $H_n=int_0^1 frac {1-x^n}{1-x}dx$. Replacing $n$ by a continuous parameter gives you an analytic continuation (at least for $n>0$). Is it useful?
– lulu
2 days ago














@Richard Burke-Ward Here's the explanation: the correct comparison is: Plot[{EulerGamma + Gamma'[z + 1]/Gamma[z + 1], HarmonicNumber[z]}, {z, -1, 5}]
– Dr. Wolfgang Hintze
2 days ago






@Richard Burke-Ward Here's the explanation: the correct comparison is: Plot[{EulerGamma + Gamma'[z + 1]/Gamma[z + 1], HarmonicNumber[z]}, {z, -1, 5}]
– Dr. Wolfgang Hintze
2 days ago












2 Answers
2






active

oldest

votes


















5














I am not sure if this is what you meant, but Wolfram Alpha has an analytic formula for the $n^{text{th}}$ harmonic number:



enter image description here



Here, the digamma function is $psi_0(x)=frac{Gamma'(x)}{Gamma(x)}$, which I believe is defined for all numbers in the complex plane except for negative real integers.






share|cite|improve this answer





















  • Hi @Noble. The two don't seem to match when plotted - see my addendum to the OP. Many thanks though!
    – Richard Burke-Ward
    2 days ago






  • 2




    @RichardBurke-Ward I am sorry, but you plotted the wrong function. You plotted just $phi_0(n)$ vs $H_n$. However, what I proposed was $gamma+phi_0(n+1)$ vs $H_n$. Here is the correct plot on Wolfram Alpha: wolframalpha.com/input/… As you can see, the two plots coincide.
    – Noble Mushtak
    2 days ago










  • Understood. Appreciated, both of you.
    – Richard Burke-Ward
    yesterday



















9














Let's try it in an elementary manner




  1. We can use the defining recursion of the harmonic number valid for $nin Z^{+}$


$$H_{n} = H_{n-1} + frac{1}{n}, H_{1}=1tag{1a}$$



also for any complex $z$



$$H_{z} = H_{z-1} + frac{1}{z}, H_{1}=1tag{1b}$$



For instance for $z=1$ we obtain $$H_{1} = H_{0} + frac{1}{1}$$



from which we conclude that $H_{0}=0$.



If we try to find $H_{-1}$ we encounter the problem that from $H_0 = 0 = lim_{zto0}(H_{-1+z} + frac{1}{z})$ we find that $H_{z} simeq frac{1}{z}$ for $zsimeq 0$. In other words, $H_{z}$ has a simple pole at $z=-1$.



Hence we cannot continue in this manner to go to further into the region of negative $z$, so let us move to the following general approach.




  1. Starting with this formula for the harmonic number which is valid for $nin Z^{+}$


$$H_{n} = frac{1}{2}+ ... + frac{1}{n}\\=frac{1}{1}+ frac{1}{2}+ ... + frac{1}{n} +frac{1}{1+n}+frac{1}{n+2} + ... \;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-frac{1}{1+n}- frac{1}{n+2} + ...\=sum_{k=0}^infty left(frac{1}{k}-frac{1}{ (k+n)}right)tag{2}$$



The sum can be written as



$$H_{n}= sum_{k=1}^infty frac{n}{k (k+n)}tag{3}$$



and this can be extended immediately to complex values $z$ in place of $n$



$$H_{z}= sum_{k=1}^infty frac{z}{k (k+z)}=sum_{k=1}^infty left(frac{1}{k} -frac{1}{k+z}right)tag{4}$$



This sum is convergent (the proof is left to the reader) for any $z$ except for $z=-1, -2, ...$ where $H_{z}$ has simple poles with residue $-1$.



Hence $(4)$ gives the analytic continuation.



For instance close to $z=0$ we have as in 1. that



$$H_{z} simeq z sum_{k=1}^infty frac{1}{k^2} = z;zeta(2) =z;frac{pi^2}{6}to 0 $$



We can also derive an integral representation from the second form of $(4)$ writing



$$frac{1}{k} -frac{1}{k+z} =int_0^1 (x^{k-1}-x^{z+k-1}),dx $$



Performing the sum under the integral is just doing a geometric sum and gives



$$H_{z} = int_0^1 frac{1-x^{z}}{1-x},dx tag{5}$$





  1. $H_{z}$ at negativ half integers ($z = -frac{1}{2}, -frac{3}{2}, ...$)


These can be calculated from $(1b)$ as soon as $H_{frac{1}{2}}$ is known.



So let us calculate $H_frac{1}{2}$.



Consider



$$H_{2n} = frac{1}{1} + frac{1}{2} + frac{1}{3} + ... + frac{1}{2n}$$



Splitting even and odd terms gives



$$H_{2n}=
frac{1}{1} + frac{1}{3} + frac{1}{5} + ... + frac{1}{2n-1}\+
frac{1}{2} + frac{1}{4} + ... + frac{1}{2n}\=
sum_{k=1}^n frac{1}{2k-1} + frac{1}{2} H_{n}tag{6}$$



Now for the sum of the odd terms we write as in $(1)$



$$O_{n} = sum_{k=1}^infty left(frac{1}{2k-1} - frac{1}{2(n+k)-1}right)tag{7}$$



This can be anlytically continued to any complex $nto z$.



Replacing as before the summand by an integral and doing the summation under the integral gives



$$O_{z} = int_0^1 frac{1-x^{2z}}{1-x^2},dxtag{8} $$



Substituting $x to sqrt{t}$ we find



$$O_{z} = frac{1}{2}int_0^1 frac{1}{sqrt{t}}frac{1-t^{z}}{1-t},dt\=
frac{1}{2}int_0^1 frac{1-t^{z-frac{1}{2}}}{1-t},dt-
frac{1}{2}int_0^1 frac{1-t^{-frac{1}{2}}}{1-t},dt\
=frac{1}{2}H_{z-frac{1}{2}}+log{2}tag{9}$$



Hence $(6)$ can be written as



$$H_{2z} = frac{1}{2} H_{z} +frac{1}{2} H_{z-frac{1}{2}}+log{2}tag{10} $$



Letting $z=1$ this gives



$$H_{2} = frac{1}{2} H_{1} +frac{1}{2} H_{frac{1}{2}}+log{2} $$



from which we deduce finally



$$H_{frac{1}{2}} = 2(1-log{2})simeq 0.613706 tag{11}$$



EDIT



Altenatively, the calculation of $H_{frac{1}{2}}$ can be done using $(5)$ with the substitution $(xto t^2)$:



$$H_{frac{1}{2}} = int_0^1 frac{1-x^{frac{1}{2}}}{1-x},dx
= 2int_0^1 t frac{(1-t)}{{1-t^2}},dt = 2int_0^1 t frac{(1-t)}{(1+t)(1-t)},dt \=2int_0^1 frac{t}{{1+t}},dt=2int_0^1 frac{1+t}{{1+t}},dt -2int_0^1 frac{1}{{1+t}},dt = 2 - 2 log(2)$$



and we have recovered $(11)$.



As an exercise calculate $H_{frac{1}{n}}$ for $n =3, 4,...$.



I found that Mathematica returns explicit expression up to $n=12$ except for the case $n=5$. I have not yet unerstood the reason for this exception. Maybe someone else can explain it?






share|cite|improve this answer























  • I think there's a typo in (2) and similar, the sums should start from 1, not 0.
    – Bladewood
    2 days ago










  • @Bladewood You are right. Thanks. Have corrected it.
    – Dr. Wolfgang Hintze
    2 days ago











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%2f3058500%2fanalytic-continuation-of-harmonic-series%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














I am not sure if this is what you meant, but Wolfram Alpha has an analytic formula for the $n^{text{th}}$ harmonic number:



enter image description here



Here, the digamma function is $psi_0(x)=frac{Gamma'(x)}{Gamma(x)}$, which I believe is defined for all numbers in the complex plane except for negative real integers.






share|cite|improve this answer





















  • Hi @Noble. The two don't seem to match when plotted - see my addendum to the OP. Many thanks though!
    – Richard Burke-Ward
    2 days ago






  • 2




    @RichardBurke-Ward I am sorry, but you plotted the wrong function. You plotted just $phi_0(n)$ vs $H_n$. However, what I proposed was $gamma+phi_0(n+1)$ vs $H_n$. Here is the correct plot on Wolfram Alpha: wolframalpha.com/input/… As you can see, the two plots coincide.
    – Noble Mushtak
    2 days ago










  • Understood. Appreciated, both of you.
    – Richard Burke-Ward
    yesterday
















5














I am not sure if this is what you meant, but Wolfram Alpha has an analytic formula for the $n^{text{th}}$ harmonic number:



enter image description here



Here, the digamma function is $psi_0(x)=frac{Gamma'(x)}{Gamma(x)}$, which I believe is defined for all numbers in the complex plane except for negative real integers.






share|cite|improve this answer





















  • Hi @Noble. The two don't seem to match when plotted - see my addendum to the OP. Many thanks though!
    – Richard Burke-Ward
    2 days ago






  • 2




    @RichardBurke-Ward I am sorry, but you plotted the wrong function. You plotted just $phi_0(n)$ vs $H_n$. However, what I proposed was $gamma+phi_0(n+1)$ vs $H_n$. Here is the correct plot on Wolfram Alpha: wolframalpha.com/input/… As you can see, the two plots coincide.
    – Noble Mushtak
    2 days ago










  • Understood. Appreciated, both of you.
    – Richard Burke-Ward
    yesterday














5












5








5






I am not sure if this is what you meant, but Wolfram Alpha has an analytic formula for the $n^{text{th}}$ harmonic number:



enter image description here



Here, the digamma function is $psi_0(x)=frac{Gamma'(x)}{Gamma(x)}$, which I believe is defined for all numbers in the complex plane except for negative real integers.






share|cite|improve this answer












I am not sure if this is what you meant, but Wolfram Alpha has an analytic formula for the $n^{text{th}}$ harmonic number:



enter image description here



Here, the digamma function is $psi_0(x)=frac{Gamma'(x)}{Gamma(x)}$, which I believe is defined for all numbers in the complex plane except for negative real integers.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 2 days ago









Noble Mushtak

14.8k1735




14.8k1735












  • Hi @Noble. The two don't seem to match when plotted - see my addendum to the OP. Many thanks though!
    – Richard Burke-Ward
    2 days ago






  • 2




    @RichardBurke-Ward I am sorry, but you plotted the wrong function. You plotted just $phi_0(n)$ vs $H_n$. However, what I proposed was $gamma+phi_0(n+1)$ vs $H_n$. Here is the correct plot on Wolfram Alpha: wolframalpha.com/input/… As you can see, the two plots coincide.
    – Noble Mushtak
    2 days ago










  • Understood. Appreciated, both of you.
    – Richard Burke-Ward
    yesterday


















  • Hi @Noble. The two don't seem to match when plotted - see my addendum to the OP. Many thanks though!
    – Richard Burke-Ward
    2 days ago






  • 2




    @RichardBurke-Ward I am sorry, but you plotted the wrong function. You plotted just $phi_0(n)$ vs $H_n$. However, what I proposed was $gamma+phi_0(n+1)$ vs $H_n$. Here is the correct plot on Wolfram Alpha: wolframalpha.com/input/… As you can see, the two plots coincide.
    – Noble Mushtak
    2 days ago










  • Understood. Appreciated, both of you.
    – Richard Burke-Ward
    yesterday
















Hi @Noble. The two don't seem to match when plotted - see my addendum to the OP. Many thanks though!
– Richard Burke-Ward
2 days ago




Hi @Noble. The two don't seem to match when plotted - see my addendum to the OP. Many thanks though!
– Richard Burke-Ward
2 days ago




2




2




@RichardBurke-Ward I am sorry, but you plotted the wrong function. You plotted just $phi_0(n)$ vs $H_n$. However, what I proposed was $gamma+phi_0(n+1)$ vs $H_n$. Here is the correct plot on Wolfram Alpha: wolframalpha.com/input/… As you can see, the two plots coincide.
– Noble Mushtak
2 days ago




@RichardBurke-Ward I am sorry, but you plotted the wrong function. You plotted just $phi_0(n)$ vs $H_n$. However, what I proposed was $gamma+phi_0(n+1)$ vs $H_n$. Here is the correct plot on Wolfram Alpha: wolframalpha.com/input/… As you can see, the two plots coincide.
– Noble Mushtak
2 days ago












Understood. Appreciated, both of you.
– Richard Burke-Ward
yesterday




Understood. Appreciated, both of you.
– Richard Burke-Ward
yesterday











9














Let's try it in an elementary manner




  1. We can use the defining recursion of the harmonic number valid for $nin Z^{+}$


$$H_{n} = H_{n-1} + frac{1}{n}, H_{1}=1tag{1a}$$



also for any complex $z$



$$H_{z} = H_{z-1} + frac{1}{z}, H_{1}=1tag{1b}$$



For instance for $z=1$ we obtain $$H_{1} = H_{0} + frac{1}{1}$$



from which we conclude that $H_{0}=0$.



If we try to find $H_{-1}$ we encounter the problem that from $H_0 = 0 = lim_{zto0}(H_{-1+z} + frac{1}{z})$ we find that $H_{z} simeq frac{1}{z}$ for $zsimeq 0$. In other words, $H_{z}$ has a simple pole at $z=-1$.



Hence we cannot continue in this manner to go to further into the region of negative $z$, so let us move to the following general approach.




  1. Starting with this formula for the harmonic number which is valid for $nin Z^{+}$


$$H_{n} = frac{1}{2}+ ... + frac{1}{n}\\=frac{1}{1}+ frac{1}{2}+ ... + frac{1}{n} +frac{1}{1+n}+frac{1}{n+2} + ... \;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-frac{1}{1+n}- frac{1}{n+2} + ...\=sum_{k=0}^infty left(frac{1}{k}-frac{1}{ (k+n)}right)tag{2}$$



The sum can be written as



$$H_{n}= sum_{k=1}^infty frac{n}{k (k+n)}tag{3}$$



and this can be extended immediately to complex values $z$ in place of $n$



$$H_{z}= sum_{k=1}^infty frac{z}{k (k+z)}=sum_{k=1}^infty left(frac{1}{k} -frac{1}{k+z}right)tag{4}$$



This sum is convergent (the proof is left to the reader) for any $z$ except for $z=-1, -2, ...$ where $H_{z}$ has simple poles with residue $-1$.



Hence $(4)$ gives the analytic continuation.



For instance close to $z=0$ we have as in 1. that



$$H_{z} simeq z sum_{k=1}^infty frac{1}{k^2} = z;zeta(2) =z;frac{pi^2}{6}to 0 $$



We can also derive an integral representation from the second form of $(4)$ writing



$$frac{1}{k} -frac{1}{k+z} =int_0^1 (x^{k-1}-x^{z+k-1}),dx $$



Performing the sum under the integral is just doing a geometric sum and gives



$$H_{z} = int_0^1 frac{1-x^{z}}{1-x},dx tag{5}$$





  1. $H_{z}$ at negativ half integers ($z = -frac{1}{2}, -frac{3}{2}, ...$)


These can be calculated from $(1b)$ as soon as $H_{frac{1}{2}}$ is known.



So let us calculate $H_frac{1}{2}$.



Consider



$$H_{2n} = frac{1}{1} + frac{1}{2} + frac{1}{3} + ... + frac{1}{2n}$$



Splitting even and odd terms gives



$$H_{2n}=
frac{1}{1} + frac{1}{3} + frac{1}{5} + ... + frac{1}{2n-1}\+
frac{1}{2} + frac{1}{4} + ... + frac{1}{2n}\=
sum_{k=1}^n frac{1}{2k-1} + frac{1}{2} H_{n}tag{6}$$



Now for the sum of the odd terms we write as in $(1)$



$$O_{n} = sum_{k=1}^infty left(frac{1}{2k-1} - frac{1}{2(n+k)-1}right)tag{7}$$



This can be anlytically continued to any complex $nto z$.



Replacing as before the summand by an integral and doing the summation under the integral gives



$$O_{z} = int_0^1 frac{1-x^{2z}}{1-x^2},dxtag{8} $$



Substituting $x to sqrt{t}$ we find



$$O_{z} = frac{1}{2}int_0^1 frac{1}{sqrt{t}}frac{1-t^{z}}{1-t},dt\=
frac{1}{2}int_0^1 frac{1-t^{z-frac{1}{2}}}{1-t},dt-
frac{1}{2}int_0^1 frac{1-t^{-frac{1}{2}}}{1-t},dt\
=frac{1}{2}H_{z-frac{1}{2}}+log{2}tag{9}$$



Hence $(6)$ can be written as



$$H_{2z} = frac{1}{2} H_{z} +frac{1}{2} H_{z-frac{1}{2}}+log{2}tag{10} $$



Letting $z=1$ this gives



$$H_{2} = frac{1}{2} H_{1} +frac{1}{2} H_{frac{1}{2}}+log{2} $$



from which we deduce finally



$$H_{frac{1}{2}} = 2(1-log{2})simeq 0.613706 tag{11}$$



EDIT



Altenatively, the calculation of $H_{frac{1}{2}}$ can be done using $(5)$ with the substitution $(xto t^2)$:



$$H_{frac{1}{2}} = int_0^1 frac{1-x^{frac{1}{2}}}{1-x},dx
= 2int_0^1 t frac{(1-t)}{{1-t^2}},dt = 2int_0^1 t frac{(1-t)}{(1+t)(1-t)},dt \=2int_0^1 frac{t}{{1+t}},dt=2int_0^1 frac{1+t}{{1+t}},dt -2int_0^1 frac{1}{{1+t}},dt = 2 - 2 log(2)$$



and we have recovered $(11)$.



As an exercise calculate $H_{frac{1}{n}}$ for $n =3, 4,...$.



I found that Mathematica returns explicit expression up to $n=12$ except for the case $n=5$. I have not yet unerstood the reason for this exception. Maybe someone else can explain it?






share|cite|improve this answer























  • I think there's a typo in (2) and similar, the sums should start from 1, not 0.
    – Bladewood
    2 days ago










  • @Bladewood You are right. Thanks. Have corrected it.
    – Dr. Wolfgang Hintze
    2 days ago
















9














Let's try it in an elementary manner




  1. We can use the defining recursion of the harmonic number valid for $nin Z^{+}$


$$H_{n} = H_{n-1} + frac{1}{n}, H_{1}=1tag{1a}$$



also for any complex $z$



$$H_{z} = H_{z-1} + frac{1}{z}, H_{1}=1tag{1b}$$



For instance for $z=1$ we obtain $$H_{1} = H_{0} + frac{1}{1}$$



from which we conclude that $H_{0}=0$.



If we try to find $H_{-1}$ we encounter the problem that from $H_0 = 0 = lim_{zto0}(H_{-1+z} + frac{1}{z})$ we find that $H_{z} simeq frac{1}{z}$ for $zsimeq 0$. In other words, $H_{z}$ has a simple pole at $z=-1$.



Hence we cannot continue in this manner to go to further into the region of negative $z$, so let us move to the following general approach.




  1. Starting with this formula for the harmonic number which is valid for $nin Z^{+}$


$$H_{n} = frac{1}{2}+ ... + frac{1}{n}\\=frac{1}{1}+ frac{1}{2}+ ... + frac{1}{n} +frac{1}{1+n}+frac{1}{n+2} + ... \;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-frac{1}{1+n}- frac{1}{n+2} + ...\=sum_{k=0}^infty left(frac{1}{k}-frac{1}{ (k+n)}right)tag{2}$$



The sum can be written as



$$H_{n}= sum_{k=1}^infty frac{n}{k (k+n)}tag{3}$$



and this can be extended immediately to complex values $z$ in place of $n$



$$H_{z}= sum_{k=1}^infty frac{z}{k (k+z)}=sum_{k=1}^infty left(frac{1}{k} -frac{1}{k+z}right)tag{4}$$



This sum is convergent (the proof is left to the reader) for any $z$ except for $z=-1, -2, ...$ where $H_{z}$ has simple poles with residue $-1$.



Hence $(4)$ gives the analytic continuation.



For instance close to $z=0$ we have as in 1. that



$$H_{z} simeq z sum_{k=1}^infty frac{1}{k^2} = z;zeta(2) =z;frac{pi^2}{6}to 0 $$



We can also derive an integral representation from the second form of $(4)$ writing



$$frac{1}{k} -frac{1}{k+z} =int_0^1 (x^{k-1}-x^{z+k-1}),dx $$



Performing the sum under the integral is just doing a geometric sum and gives



$$H_{z} = int_0^1 frac{1-x^{z}}{1-x},dx tag{5}$$





  1. $H_{z}$ at negativ half integers ($z = -frac{1}{2}, -frac{3}{2}, ...$)


These can be calculated from $(1b)$ as soon as $H_{frac{1}{2}}$ is known.



So let us calculate $H_frac{1}{2}$.



Consider



$$H_{2n} = frac{1}{1} + frac{1}{2} + frac{1}{3} + ... + frac{1}{2n}$$



Splitting even and odd terms gives



$$H_{2n}=
frac{1}{1} + frac{1}{3} + frac{1}{5} + ... + frac{1}{2n-1}\+
frac{1}{2} + frac{1}{4} + ... + frac{1}{2n}\=
sum_{k=1}^n frac{1}{2k-1} + frac{1}{2} H_{n}tag{6}$$



Now for the sum of the odd terms we write as in $(1)$



$$O_{n} = sum_{k=1}^infty left(frac{1}{2k-1} - frac{1}{2(n+k)-1}right)tag{7}$$



This can be anlytically continued to any complex $nto z$.



Replacing as before the summand by an integral and doing the summation under the integral gives



$$O_{z} = int_0^1 frac{1-x^{2z}}{1-x^2},dxtag{8} $$



Substituting $x to sqrt{t}$ we find



$$O_{z} = frac{1}{2}int_0^1 frac{1}{sqrt{t}}frac{1-t^{z}}{1-t},dt\=
frac{1}{2}int_0^1 frac{1-t^{z-frac{1}{2}}}{1-t},dt-
frac{1}{2}int_0^1 frac{1-t^{-frac{1}{2}}}{1-t},dt\
=frac{1}{2}H_{z-frac{1}{2}}+log{2}tag{9}$$



Hence $(6)$ can be written as



$$H_{2z} = frac{1}{2} H_{z} +frac{1}{2} H_{z-frac{1}{2}}+log{2}tag{10} $$



Letting $z=1$ this gives



$$H_{2} = frac{1}{2} H_{1} +frac{1}{2} H_{frac{1}{2}}+log{2} $$



from which we deduce finally



$$H_{frac{1}{2}} = 2(1-log{2})simeq 0.613706 tag{11}$$



EDIT



Altenatively, the calculation of $H_{frac{1}{2}}$ can be done using $(5)$ with the substitution $(xto t^2)$:



$$H_{frac{1}{2}} = int_0^1 frac{1-x^{frac{1}{2}}}{1-x},dx
= 2int_0^1 t frac{(1-t)}{{1-t^2}},dt = 2int_0^1 t frac{(1-t)}{(1+t)(1-t)},dt \=2int_0^1 frac{t}{{1+t}},dt=2int_0^1 frac{1+t}{{1+t}},dt -2int_0^1 frac{1}{{1+t}},dt = 2 - 2 log(2)$$



and we have recovered $(11)$.



As an exercise calculate $H_{frac{1}{n}}$ for $n =3, 4,...$.



I found that Mathematica returns explicit expression up to $n=12$ except for the case $n=5$. I have not yet unerstood the reason for this exception. Maybe someone else can explain it?






share|cite|improve this answer























  • I think there's a typo in (2) and similar, the sums should start from 1, not 0.
    – Bladewood
    2 days ago










  • @Bladewood You are right. Thanks. Have corrected it.
    – Dr. Wolfgang Hintze
    2 days ago














9












9








9






Let's try it in an elementary manner




  1. We can use the defining recursion of the harmonic number valid for $nin Z^{+}$


$$H_{n} = H_{n-1} + frac{1}{n}, H_{1}=1tag{1a}$$



also for any complex $z$



$$H_{z} = H_{z-1} + frac{1}{z}, H_{1}=1tag{1b}$$



For instance for $z=1$ we obtain $$H_{1} = H_{0} + frac{1}{1}$$



from which we conclude that $H_{0}=0$.



If we try to find $H_{-1}$ we encounter the problem that from $H_0 = 0 = lim_{zto0}(H_{-1+z} + frac{1}{z})$ we find that $H_{z} simeq frac{1}{z}$ for $zsimeq 0$. In other words, $H_{z}$ has a simple pole at $z=-1$.



Hence we cannot continue in this manner to go to further into the region of negative $z$, so let us move to the following general approach.




  1. Starting with this formula for the harmonic number which is valid for $nin Z^{+}$


$$H_{n} = frac{1}{2}+ ... + frac{1}{n}\\=frac{1}{1}+ frac{1}{2}+ ... + frac{1}{n} +frac{1}{1+n}+frac{1}{n+2} + ... \;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-frac{1}{1+n}- frac{1}{n+2} + ...\=sum_{k=0}^infty left(frac{1}{k}-frac{1}{ (k+n)}right)tag{2}$$



The sum can be written as



$$H_{n}= sum_{k=1}^infty frac{n}{k (k+n)}tag{3}$$



and this can be extended immediately to complex values $z$ in place of $n$



$$H_{z}= sum_{k=1}^infty frac{z}{k (k+z)}=sum_{k=1}^infty left(frac{1}{k} -frac{1}{k+z}right)tag{4}$$



This sum is convergent (the proof is left to the reader) for any $z$ except for $z=-1, -2, ...$ where $H_{z}$ has simple poles with residue $-1$.



Hence $(4)$ gives the analytic continuation.



For instance close to $z=0$ we have as in 1. that



$$H_{z} simeq z sum_{k=1}^infty frac{1}{k^2} = z;zeta(2) =z;frac{pi^2}{6}to 0 $$



We can also derive an integral representation from the second form of $(4)$ writing



$$frac{1}{k} -frac{1}{k+z} =int_0^1 (x^{k-1}-x^{z+k-1}),dx $$



Performing the sum under the integral is just doing a geometric sum and gives



$$H_{z} = int_0^1 frac{1-x^{z}}{1-x},dx tag{5}$$





  1. $H_{z}$ at negativ half integers ($z = -frac{1}{2}, -frac{3}{2}, ...$)


These can be calculated from $(1b)$ as soon as $H_{frac{1}{2}}$ is known.



So let us calculate $H_frac{1}{2}$.



Consider



$$H_{2n} = frac{1}{1} + frac{1}{2} + frac{1}{3} + ... + frac{1}{2n}$$



Splitting even and odd terms gives



$$H_{2n}=
frac{1}{1} + frac{1}{3} + frac{1}{5} + ... + frac{1}{2n-1}\+
frac{1}{2} + frac{1}{4} + ... + frac{1}{2n}\=
sum_{k=1}^n frac{1}{2k-1} + frac{1}{2} H_{n}tag{6}$$



Now for the sum of the odd terms we write as in $(1)$



$$O_{n} = sum_{k=1}^infty left(frac{1}{2k-1} - frac{1}{2(n+k)-1}right)tag{7}$$



This can be anlytically continued to any complex $nto z$.



Replacing as before the summand by an integral and doing the summation under the integral gives



$$O_{z} = int_0^1 frac{1-x^{2z}}{1-x^2},dxtag{8} $$



Substituting $x to sqrt{t}$ we find



$$O_{z} = frac{1}{2}int_0^1 frac{1}{sqrt{t}}frac{1-t^{z}}{1-t},dt\=
frac{1}{2}int_0^1 frac{1-t^{z-frac{1}{2}}}{1-t},dt-
frac{1}{2}int_0^1 frac{1-t^{-frac{1}{2}}}{1-t},dt\
=frac{1}{2}H_{z-frac{1}{2}}+log{2}tag{9}$$



Hence $(6)$ can be written as



$$H_{2z} = frac{1}{2} H_{z} +frac{1}{2} H_{z-frac{1}{2}}+log{2}tag{10} $$



Letting $z=1$ this gives



$$H_{2} = frac{1}{2} H_{1} +frac{1}{2} H_{frac{1}{2}}+log{2} $$



from which we deduce finally



$$H_{frac{1}{2}} = 2(1-log{2})simeq 0.613706 tag{11}$$



EDIT



Altenatively, the calculation of $H_{frac{1}{2}}$ can be done using $(5)$ with the substitution $(xto t^2)$:



$$H_{frac{1}{2}} = int_0^1 frac{1-x^{frac{1}{2}}}{1-x},dx
= 2int_0^1 t frac{(1-t)}{{1-t^2}},dt = 2int_0^1 t frac{(1-t)}{(1+t)(1-t)},dt \=2int_0^1 frac{t}{{1+t}},dt=2int_0^1 frac{1+t}{{1+t}},dt -2int_0^1 frac{1}{{1+t}},dt = 2 - 2 log(2)$$



and we have recovered $(11)$.



As an exercise calculate $H_{frac{1}{n}}$ for $n =3, 4,...$.



I found that Mathematica returns explicit expression up to $n=12$ except for the case $n=5$. I have not yet unerstood the reason for this exception. Maybe someone else can explain it?






share|cite|improve this answer














Let's try it in an elementary manner




  1. We can use the defining recursion of the harmonic number valid for $nin Z^{+}$


$$H_{n} = H_{n-1} + frac{1}{n}, H_{1}=1tag{1a}$$



also for any complex $z$



$$H_{z} = H_{z-1} + frac{1}{z}, H_{1}=1tag{1b}$$



For instance for $z=1$ we obtain $$H_{1} = H_{0} + frac{1}{1}$$



from which we conclude that $H_{0}=0$.



If we try to find $H_{-1}$ we encounter the problem that from $H_0 = 0 = lim_{zto0}(H_{-1+z} + frac{1}{z})$ we find that $H_{z} simeq frac{1}{z}$ for $zsimeq 0$. In other words, $H_{z}$ has a simple pole at $z=-1$.



Hence we cannot continue in this manner to go to further into the region of negative $z$, so let us move to the following general approach.




  1. Starting with this formula for the harmonic number which is valid for $nin Z^{+}$


$$H_{n} = frac{1}{2}+ ... + frac{1}{n}\\=frac{1}{1}+ frac{1}{2}+ ... + frac{1}{n} +frac{1}{1+n}+frac{1}{n+2} + ... \;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-frac{1}{1+n}- frac{1}{n+2} + ...\=sum_{k=0}^infty left(frac{1}{k}-frac{1}{ (k+n)}right)tag{2}$$



The sum can be written as



$$H_{n}= sum_{k=1}^infty frac{n}{k (k+n)}tag{3}$$



and this can be extended immediately to complex values $z$ in place of $n$



$$H_{z}= sum_{k=1}^infty frac{z}{k (k+z)}=sum_{k=1}^infty left(frac{1}{k} -frac{1}{k+z}right)tag{4}$$



This sum is convergent (the proof is left to the reader) for any $z$ except for $z=-1, -2, ...$ where $H_{z}$ has simple poles with residue $-1$.



Hence $(4)$ gives the analytic continuation.



For instance close to $z=0$ we have as in 1. that



$$H_{z} simeq z sum_{k=1}^infty frac{1}{k^2} = z;zeta(2) =z;frac{pi^2}{6}to 0 $$



We can also derive an integral representation from the second form of $(4)$ writing



$$frac{1}{k} -frac{1}{k+z} =int_0^1 (x^{k-1}-x^{z+k-1}),dx $$



Performing the sum under the integral is just doing a geometric sum and gives



$$H_{z} = int_0^1 frac{1-x^{z}}{1-x},dx tag{5}$$





  1. $H_{z}$ at negativ half integers ($z = -frac{1}{2}, -frac{3}{2}, ...$)


These can be calculated from $(1b)$ as soon as $H_{frac{1}{2}}$ is known.



So let us calculate $H_frac{1}{2}$.



Consider



$$H_{2n} = frac{1}{1} + frac{1}{2} + frac{1}{3} + ... + frac{1}{2n}$$



Splitting even and odd terms gives



$$H_{2n}=
frac{1}{1} + frac{1}{3} + frac{1}{5} + ... + frac{1}{2n-1}\+
frac{1}{2} + frac{1}{4} + ... + frac{1}{2n}\=
sum_{k=1}^n frac{1}{2k-1} + frac{1}{2} H_{n}tag{6}$$



Now for the sum of the odd terms we write as in $(1)$



$$O_{n} = sum_{k=1}^infty left(frac{1}{2k-1} - frac{1}{2(n+k)-1}right)tag{7}$$



This can be anlytically continued to any complex $nto z$.



Replacing as before the summand by an integral and doing the summation under the integral gives



$$O_{z} = int_0^1 frac{1-x^{2z}}{1-x^2},dxtag{8} $$



Substituting $x to sqrt{t}$ we find



$$O_{z} = frac{1}{2}int_0^1 frac{1}{sqrt{t}}frac{1-t^{z}}{1-t},dt\=
frac{1}{2}int_0^1 frac{1-t^{z-frac{1}{2}}}{1-t},dt-
frac{1}{2}int_0^1 frac{1-t^{-frac{1}{2}}}{1-t},dt\
=frac{1}{2}H_{z-frac{1}{2}}+log{2}tag{9}$$



Hence $(6)$ can be written as



$$H_{2z} = frac{1}{2} H_{z} +frac{1}{2} H_{z-frac{1}{2}}+log{2}tag{10} $$



Letting $z=1$ this gives



$$H_{2} = frac{1}{2} H_{1} +frac{1}{2} H_{frac{1}{2}}+log{2} $$



from which we deduce finally



$$H_{frac{1}{2}} = 2(1-log{2})simeq 0.613706 tag{11}$$



EDIT



Altenatively, the calculation of $H_{frac{1}{2}}$ can be done using $(5)$ with the substitution $(xto t^2)$:



$$H_{frac{1}{2}} = int_0^1 frac{1-x^{frac{1}{2}}}{1-x},dx
= 2int_0^1 t frac{(1-t)}{{1-t^2}},dt = 2int_0^1 t frac{(1-t)}{(1+t)(1-t)},dt \=2int_0^1 frac{t}{{1+t}},dt=2int_0^1 frac{1+t}{{1+t}},dt -2int_0^1 frac{1}{{1+t}},dt = 2 - 2 log(2)$$



and we have recovered $(11)$.



As an exercise calculate $H_{frac{1}{n}}$ for $n =3, 4,...$.



I found that Mathematica returns explicit expression up to $n=12$ except for the case $n=5$. I have not yet unerstood the reason for this exception. Maybe someone else can explain it?







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited 2 days ago

























answered 2 days ago









Dr. Wolfgang Hintze

3,255617




3,255617












  • I think there's a typo in (2) and similar, the sums should start from 1, not 0.
    – Bladewood
    2 days ago










  • @Bladewood You are right. Thanks. Have corrected it.
    – Dr. Wolfgang Hintze
    2 days ago


















  • I think there's a typo in (2) and similar, the sums should start from 1, not 0.
    – Bladewood
    2 days ago










  • @Bladewood You are right. Thanks. Have corrected it.
    – Dr. Wolfgang Hintze
    2 days ago
















I think there's a typo in (2) and similar, the sums should start from 1, not 0.
– Bladewood
2 days ago




I think there's a typo in (2) and similar, the sums should start from 1, not 0.
– Bladewood
2 days ago












@Bladewood You are right. Thanks. Have corrected it.
– Dr. Wolfgang Hintze
2 days ago




@Bladewood You are right. Thanks. Have corrected it.
– Dr. Wolfgang Hintze
2 days ago


















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%2f3058500%2fanalytic-continuation-of-harmonic-series%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

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

Origin of the phrase “under your belt”?