Series for Ψ


By Brad Rodgers on Wednesday, June 20, 2001 - 02:26 am:

What is the series expansion for

Ψ(x)[Ψ(x)=d/dx(ln(Γ(x)))]? Please explain how you obtain it.

Γ(x)= 0 tx-1 e-t dt
Thanks,

Brad


[Editor: See Gamma and Beta functions for a discussion of the above function.]
By David Loeffler on Thursday, June 21, 2001 - 10:31 pm:
Ψ(x)=-1/x-γ+ π2 x/6-ζ(3) x2 +ζ(4) x3 ...

according to MAPLE.

(MAPLE also offers Ψ(x+1)=Ψ(x)+1/x, which can quite easily be proved from the recurrence for the gamma function. So for integer n, Ψ(n) is the sum of n terms of the harmonic series minus γ.


By Michael Doré on Friday, June 22, 2001 - 10:21 pm:

Interesting. Well we know that:

cotx= limN n=-N N1/(x+nπ)

(this is provable by taking logs with Euler's infinite sine product and then differentiating).

If you break up each term in the series using a geometric progression you arrive at:

cotx=1/x-(ζ(2)/ π2 )x-(ζ(4)/ π4 ) x3 -...

Now using David's formula we get:

x(Ψ(-x)-Ψ(x))/2=1-ζ(2) x2 -ζ(4) x4 -...

Also:

xcotx=1-(ζ(2)/ π2 ) x2 -(ζ(4)/ π4 ) x4 -...

So it looks to me like:

πcot(πx)=(Ψ(-x)-Ψ(x))/2

Is this true?


By David Loeffler on Friday, June 22, 2001 - 11:10 pm:

Are you sure about that expansion of the cot function? There seems to be some problem with the constants (did you forget the negative n terms in the product?) The result is actually

Ψ(-x)-Ψ(x)=1/x+πcot(πx)

(again with some help from MAPLE and its ever-useful series() function.)

Can anyone see how we would prove that Ψ(1)=-γ? If we could show that limn Ψ(n)-ln(n)=0 it would follow (and this avoids using any complicated properties of gamma). Any ideas?


By David Loeffler on Friday, June 22, 2001 - 11:32 pm:

Err - sorry to answer my own question, but I have found an argument that sort of suggests why it might be true but an analyst would probably pick holes in it very rapidly.

We have

limx Ψ(x)-ln(x)

= limx d/dx(lnΓ(x))-lnx

= limx d/dx(lnΓ(x)-xlnx+x)

= limx d/dx(ln(Γ(x) ex / xx ))

By Stirling's formula Γ(x) ex / xx =1/x×(x! ex / xx ) is asymptotically 2π/x, so this is

-1/2 limx d/dx(lnx)

=-1/2 limx 1/x

=0

so limx Ψ(x)-ln(x)=0 as required.
Any ideas how we make this properly rigorous?


David


By Brad Rodgers on Saturday, June 23, 2001 - 05:14 am:

I doubt that this shows any promise, but its at least a bit interesting:

From

Ψ=γ'/γ;

Ψ(1)= 0 e-t ln(t)dt

which by integration by parts,

= limt0 [ e-t ln(t)]+ 0 e-t /tdt

As e-t /t=1/t-1+t/2!- t2 /3!+...

And as

0 (-1 )a+1 ta /(a+1)!= limt ta+1 (-1 )a+1 /[(a+1)!(a+1)]

#(sparing the case of 1/t)#

We know that

Ψ(1)= limt0 [ e-t ln(t)]+ 0 e-t /tdt

= limt (ln(1/t)+ limt (ln(t))+ limt ( a=0 ta+1 (-1 )a+1 /[(a+1)!(a+1)])

= limt a=0 ta+1 (-1 )a+1 /[(a+1)!(a+1)]

Which, (aside from being a peculiar result) if someone can relate to γ, we can have a reasonably rigorous proof.


David, what's Stirling's Theorem?

Thanks,

Brad


By Michael Doré on Saturday, June 23, 2001 - 12:34 pm:

Stirling's theorem is:

n! is asymptotic to nn e-n 2πn

(We say f(n) is asymptotic to g(n) if and only if f(n)/g(n)1 as n)

Proof of Stirling's theorem is as follows.

For x>0 we have:

1- x4 <1<1+ x3

Factorise:

(1+x)(1-x+ x2 - x3 )<1<(1+x)(1-x+ x2 )

Divide through by 1+x which is positive:

1-x+ x2 - x3 <1/(1+x)<1-x+ x2

Integrate this from 0 to y to get:

y- y2 /2+ y3 /3- y4 /4<ln(1+y)<y- y2 /2+ y3 /3 (*)

(Can you see why this step is valid? It may help to draw a diagram.)

Now let an =ln(n! en / nn+1/2 ).

Using (*) we get:

1/(12 n2 )-1/(12 n3 )< an - an+1 <1/(12 n2 )+1/(6 n3 )

It follows that for n2 we have:

0< an - an+1 <1/ n2 <1/n(n-1)=1/(n-1)-1/n

Therefore an is decreasing and if you add the inequality to itself for successive values of n you obtain:

a2 - an+1 <1-1/(n+1)<1

so an is bounded below. But it is an axiom of real analysis that any sequence which is bounded below and decreasing is convergent. Hence an L for some L. We then have:

n! en /( nn+1/2 ) eL =M

so n! is asymptotic to nn e-n M (**)

for some M. It suffices to show that M=2π. To do this let In = 0 π/2 sinr tdt. Integration by parts gives Ir =(r-1)/r Ir-2 . So we have: I2n =[(2n)!/( 2n n! )2 ]×π/2 and I2n+1 =( 2n n! )2 /(2n+1)! Since In is decreasing we get:

1< I2n / I2n+1 < I2n-1 / I2n+1 <1+1/2n1

Hence I2n / I2n+1 1 as n. Plug in (**) and you get M=2π as required.


By David Loeffler on Saturday, June 23, 2001 - 11:24 pm:

Brad,


You have lost a ln(t) somewhere, since your series seems to converge to -ln(t)-γ. In fact it converges alarmingly fast, with error about 10-6 for t=10.

(As for the presentation of the proof I think you have to let the upper limit of the integrals be x, then let x at the end, otherwise you are adding a series of terms all of which are actually infinity. But that's a minor quibble.)

However, to show rigorously that your series is -γ-ln(t) looks like it will be very difficult as so little is known about γ other than its definition. That is why I was forced to prove that Ψ(1)=-γ above without actually mentioning γ in the main body of the proof.


By David Loeffler on Saturday, June 23, 2001 - 11:54 pm:

Sorry, please ignore my comment about the presentation of the proof as that's what you've already done.


By Brad Rodgers on Sunday, June 24, 2001 - 01:56 am:

Are you sure I've forgot a ln somewhere? When you try the sum for t=10, it works very well with the ln in there, but for t=100, no such luck.(though it doesn't seem to work any better without the ln) I wouldn't expect the series to converge all that rapidly. I'll double check my work though.

Just wondering, what's unrigorous about your proof. Now that I understand Stirlings theorem, it seems perfectly fine to me (I'm certainly no analyst, though).

Thanks,

Brad


By Brad Rodgers on Sunday, June 24, 2001 - 03:31 am:

Sorry for the earlier post; I did forgot to put in a ln: where one evaluates integral from infinity to 0 of 1/t, two ln(infinity)'s are produced. So the result is

constant

Brad


By Brad Rodgers on Sunday, June 24, 2001 - 03:34 am:

It's interesting that the calculations are so close for t=10, but for t=100, they end up being so far off. It must be because we have to wait for the a!a to be larger than the t^a, which ends up giving too large a number for the t=100 for my computer to use.