evaluate the expression [1]:
∞∑n=1(1n−1n+x)
where x is a real number, 0≤x≤1, and x is rounded to 3 digits.
For example, when x=0.500, the expression is [2]:
(11−11.5)+(12−12.5)+(13−13.5)+...
For a given x, how can I evaluate it?
The answer must be rounded to more than 12 digits.
Answer
∞∑n=1(1n−1n+x)=∞∑n=1xn(n+x)
It is known that the sum is
∞∑n=1xn(n+x)=ψ(x+1)+γ
where ψ is the digamma function
γ is the Euler constant .
Added :
We can easily prove that for x=0.5 we have
ψ(1.5)=2−γ−log(4)
Hence the sum is equal to
2−log(4)
No comments:
Post a Comment