Series Expansion of Reciprocal of Gamma...

23
11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions with Integers as Roots Function f z with negative integers as roots can be described as follows. f() z = 1+ 1 z 1+ 2 z 1+ 3 z = Π n =1 1+ n z However, this infinite product diverges. That is, such a function cannot exist alone. So, let us consider the following function which added compensation to each factor. Π n =1 1+ n z e - n z Then, this infinite product uniformly converges for arbitrary z and results in function e z / 1+ z . This was shown by Weierstrass. If the functions with various integers as roots are shown, it is as follows. In addition, these left sides can be expanded to series of z . So, we call the formulas factorization around 0. Formula 11.1.1 (factorization around 0) When is Euler-Mascheroni constant and z is the Gamma function, the following expressions hold. Π n =1 1+ n z e - n z = ( ) 1+ z e - z (1,1 - ) Π n =1 1- n z e n z = ( ) 1- z e z (1,1 + ) Π n =1 1+ 2n z e - 2n z = ( ) 1+ z/2 1 e - 2 z (1,2 - ) Π n =1 1- 2n z e 2n z = ( ) 1- z/2 1 e 2 z (1,2 + ) Π n =1 1+ 2n -1 z e - 2n -1 z = ( ) 1+ z /2 e - 2 +log 2 z (1,3 - ) Π n =1 1- 2n -1 z e 2n -1 z = ( ) 1- z /2 e 2 +log 2 z (1,3 + ) Π n =1 1+ 2n -1 z e - 2n z = ( ) 1+ z /2 e - 2 z (1,4 - ) Π n =1 1- 2n -1 z e 2n z = ( ) 1- z /2 e 2 z (1,4 + ) Proof Weierstrass expression on the gamma function was as follows. () z 1 = e z z Π n =1 1+ n z e - n z - 1 -

Transcript of Series Expansion of Reciprocal of Gamma...

Page 1: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

11 Series Expansion of Reciprocal of Gamma Function

11.1 Functions with Integers as Roots

Function f z with negative integers as roots can be described as follows.

f( )z = 1+1z 1+

2z 1+

3z = Π

n =1

1+nz

However, this infinite product diverges. That is, such a function cannot exist alone. So, let us consider the

following function which added compensation to each factor.

Πn =1

1+nz

e-

n

z

Then, this infinite product uniformly converges for arbitrary z and results in function e z/ 1+z .

This was shown by Weierstrass. If the functions with various integers as roots are shown, it is as follows.

In addition, these left sides can be expanded to series of z . So, we call the formulas factorization around 0.

Formula 11.1.1 (factorization around 0)

When is Euler-Mascheroni constant and z is the Gamma function, the following expressions hold.

Πn =1

1+nz

e-

n

z

= ( )1+ze- z

(1,1-)

Πn =1

1-nz

e n

z

= ( )1-ze z

(1,1+)

Πn =1

1+2nz

e-

2n

z

= ( )1+z/21

e-

2 z

(1,2-)

Πn =1

1-2nz

e 2n

z

= ( )1-z/21

e 2 z

(1,2+)

Πn =1

1+2n-1

ze

-2n-1

z

= ( )1+z /2

e- 2

+log2 z

(1,3-)

Πn =1

1-2n-1

ze 2n-1

z

= ( )1-z /2

e 2

+log2 z(1,3+)

Πn =1

1+2n-1

ze

-2n

z

= ( )1+z /2

e-

2 z

(1,4-)

Πn =1

1-2n-1

ze 2n

z

= ( )1-z /2

e 2 z

(1,4+)

Proof

Weierstrass expression on the gamma function was as follows.

( )z1

= e z z Πn =1

1+nz

e-

n

z

- 1 -

Page 2: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

From this, (1,1-) is obtained immediately. Reversing the sign of z in (1,1-) , we obtain (1,1+) .

Replacing z with z /2 in (1,1-) and (1,1+) , we obtain (1,2-) and (1,2+) .

Next, dividing (1,1-) by (1,2-) ,

Πn =1

1+2n-1

ze

-2n-1

z

= ( )1+z( )1+z/2

e- z/2

e- z

= 2( )z( )z/2

e-

2 z

Here, using the Legendre duplication formula,

2( )z( )z/2

= 2z

( )1+z /2

1 = ( )1+z /2

e-zlog2

Substituting this for the above,

Πn =1

1+2n-1

ze

-2n-1

z

= ( )1+z /2

e- 2

+log2 z

(1,3-)

And, reversing the sign of z , we obtain (1,3+) .

Next,

Πn =1

e 2n-1

z

e-

2n

z

= ez 1-

2

1+

3

1-

4

1+-

= ez log2

Multiplying each side of (1,3-) by this,

Πn =1

1+2n-1

ze

-2n

z

= ( )1+z /2

e-

2 z

(1.4-)

And, reversing the sign of z , we obtain (1,4+) .

Giving z =1 to the formulas, we obtain the following special values.

Special Values

Πn =1

1+n1

e-

n

1

= e- = 0.56145948 (1.11- )

Πn =1

1+2n1

e-

2n

1

=

2e

-2

= 0.84550128 (1.21- )

Πn =1

1-2n1

e 2n

1

=

1e 2

= 0.75294950 (1.21+)

Πn =1

1+2n-1

1e

-2n-1

1

= 2

e-

2

= 0.66405515 (1.31- )

Πn =1

1+2n-1

1e

-2n

1

= e-

2

= 1.32811030 (1.41- )

From Formula 11.1.1 , the following corollary is derived

- 2 -

Page 3: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Corollary 11.1.1

Πn =1

1+nz 1-

nz

= ( )1+z ( )1-z1

= zsin z

(1.1)

Πn =1

1+2nz 1-

2nz

= 1+

2z 1-

2z

1 = z

2sin

2 z

(1.2)

Πn =1

1+2n-1

z 1-2n-1

z =

21+z 2

1-z

= cos2 z

(1.3)

Πn =1

1+2n-1

z 1-2nz

= 2

1+z 1-2z

(1-2+)

Πn =1

1-2n-1

z 1+2nz

= 2

1-z 1+2z

(1+2-)

(1.1) is a function with all Integers as roots. (1.2) is a function with all even numbers as roots, and (1.3) is a

function with all odd numbers as roots. These are all expressed with an elementary function.

(1-2+) is a function with negative odd numbers and positive even numbers as froots. (1+2-) is a function with

positive odd numbers and negative even numbers as froots. These cannot be expressed with an elementary

function.

If both sides of (1+2-) are illustrated, it is as follows. The product is calculated 500 terms. Since both sides are

overlapped exactly, the left side (blue) is not visible.

Compensation Term

We discuss (1,1-) as an example.

( )1+ze- z

= Πn =1

1+nz

e-

n

z

(1,1-)

- 3 -

Page 4: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Although the compensation term is e -z/n, the compensation term is not necessarily limited to this. First of all,

the complete compensation term for the right side isΠn =1

1+nz -1

. However, if such a compensation term

is adopted, the function of the left side becomes a constant function and the utility value disappears. This is the

reason why the compensation term like e -z/n is adopted.

In fact, if the body and the compensation term are illustrated, it is as follows. The products are calculated

10000 terms respectively. Both are very close but they do not overlap.

Even from this figure, it is hard to consider compensation term other than an exponential function. On the other

hand, it seems that it may be other exponential functions. So let us consider the following exponential function.

f( )z = Πn =1

1+nz

c-

n

z

c > 1

The necessity for the condition c > 1 is obvious. Anything is okay as long as this is satisfied. For example,

if f z is illustrated for c =2.4 , c =2.71828 , c =3.2 , it is as follows.

We can see that the maximum value of f z is minimum at c = e . Actually, If c deviates from e greatly,

the maximum value of f z becomes large surprising. Considering this, e -z/n seems to be optimal as a

compensation term.

- 4 -

Page 5: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

11.2 Maclaurin Expansion

Since the reciprocal of the gamma function is holomorphic over the whole complex plane, the Maclaurinexpansion should be possible. In this section, treating the divergent product and divergent series as numbersor functions, we aim at the Maclaurin expansion of the reciprocal of gamma function.

Formula 11.1.2 When is Euler-Mascheroni constant , z is the Gamma function, Hn is a harmonic number and H is

a harmonic series , the following expressions hold.

1+z

1 =1 + z + 2!

2

+2

H2

-Σn =1

n

Hnz 2

+ 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-Hz 3 + (2.1-)

1-z

1 =1 - z + 2!

2

+2

H2

-Σn =1

n

Hnz 2

- 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-Hz 3 +- (2.1+)

1+z/21

=1 + 2

z + 22

1 2!2

+2

H2

-Σn=1

n

Hnz 2

+ 23

1 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-Hz 3 + (2.2-)

1-z/21

=1 - 2

z + 22

1 2!2

+2

H2

-Σn=1

n

Hnz 2

- 23

1 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-Hz 3 +- (2.2+)

Proof

From the Weierstrass expression on the gamma function,

( )1+z1

= e zΠn =1

1+nz

e-

n

z

(2.1-)

When Hn is a harmonic number and H is a harmonic series, the compensation term is

Πn =1

e-

n

z

= e-zΣ

n=1

n

1

= e-Hz

Then

e zΠn =1

e-

n

z

= e -H z = 1 + 1!-H

z 1 + 2! -H 2

z 2 + 3! -H 3

z 3+ (2.1e)

Next, assume that the body is expanded as follows.

Πn =1

1+nz

= 1+1z 1+

2z 1+

3z 1+

4z

= 1 + a1z1 + a2z2 + a3z3 +

- 5 -

Page 6: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Then, from Vieta's formulas,

a1 = 11

+21

+31

+ = H

a2 = 11 2

1+

31

+41

+ +21 3

1+

41

+51

+ +31 4

1+

51

+61

+ +

= 1

H-H1+

2

H-H2+

3

H-H3+ = Σ

n =1

n

H-Hn

a3 = 11

21 3

1+

41

+51

+ +11

31 4

1+

51

+61

+ +11

41 5

1+

61

+71

+ +

+21

31 4

1+

51

+61

+ +21

41 5

1+

61

+71

+ +21

51 6

1+

71

+81

+ +

+31

41 5

1+

61

+71

+ +31

51 6

1+

71

+81

+ +31

61 7

1+

81

+91

+ +

+

= 11

21 H-H2 +

11

31 H-H3 +

11

41 H-H4 +

+21

31 H-H3 +

21

41 H-H4 +

21

51 H-H5 +

+31

41 H-H4 +

31

51 H-H5 +

31

61 H-H6 +

+

Rearranging this along the diagonal line,

a3 = 11

21 H-H2 + 1

1+

21

31 H-H3 + 1

1+

21

+31

41 H-H4 +

= H1 21 H-H2 +H2 3

1 H-H3 +H3 4

1 H-H4 + = Σ

n =1

n +1

Hn H-Hn+1

Thus,

Πn =1

1+nz

= 1 + z H + z 2Σn =1

n

H-Hn + z 3Σ

n=1

n +1

Hn H-Hn+1 + (2.1p)

The right side of (2.1-) is a product of (2.1e) and (2.1p) . That is

e zΠn =1

e-

n

z

= 1 + 1!-H

z 1 + 2! -H 2

z 2 + 3! -H 3

z 3+ (2.1e)

Πn =1

1+nz

= 1 + z H + z 2Σn =1

n

H-Hn + z 3

Σn=1

n +1

Hn H-Hn+1 + (2.1p)

Taking the Cauchy product,

- 6 -

Page 7: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

The coefficient of z 1is

H+1!-H

=

The coefficient of z 2is

Σn =1

n

H-Hn+

1!

H -H+

2! -H 2

= H2-Σn=1

n

Hn+

1!H

-1!H2

+2!

2-2H+H2

= 2!2

+2

H2

-Σn =1

n

Hn

The coefficient of z 3is

Σn =1

n +1

Hn H-Hn+1+

1!-H

Σn =1

n

H-Hn+

2!

H -H 2

+3! -H 3

= Σn =1

n +1

Hn H-Hn+1+

1!-H

Σn =1

nH

-Σn =1

n

-H Hn+

2!H -H 2

+3! -H 3

= 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-H

Then

1+z

1 =1 + z + 2!

2

+2

H2

-Σn =1

n

Hnz 2

+ 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-Hz 3 + (2.1-)

(2.1+), (2.1-) and (2.2+) are easily derived from this.

Verification

The ordinary Maclaurin expansion of the left side of (2.1-) is as follows. In addition, n z is a polygamma

function.

1+z

1 =1 + z + 2!

2

-12 2

z 2 + 3!3

-12 2

-6

2( )1z 3 +

= 1 + 0.5772157 z - 0.6558781 z 2 - 0.04200264 z 3 +Therefore, the following equations must hold.

2!2

+2

H2

-Σn =1

n

Hn =

2!2

-12 2

= -0.655878

3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-H =

3!3

-12 2

-6

2( )1

= -0.0420026

Since the harmonic series is infinite, we use the following limit value for the verification.

limm 2

H2m

-Σn =1

m

n

Hn

- 7 -

Page 8: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Calculating these with the formula manipulation software Mathematica, we obtained the following result.

The coefficients of each term are almost consistent with the above values, so, the correctness of this formula

was numerically verified.

Also, the following special values were obtained.

Special Values

H2 - 2!Σn=1

n

Hn = -

6 2

= -( )2 : Riemann Zeta (2.3)

4H3 - 3!Σn =1

Hn n +1

H-Hn+1+

nH

= 2( )1 = -2.404113 (2.4)

If easier (2.3) is written down, it is as follows.

1+21

+31

+2

- 2! 11 1

+

21 1+

21

+31 1+

21

+31

+ = -( )2

Note

A double series of H and Hn appears in the coefficient of z 4, and a triple series appears in the coefficient

of z 5. These are far more complicated than notation by polygamma function. So, these are not calculated in

this chapter..

- 8 -

Page 9: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

11.3 Factorization around 1

Replacing z with z -1 in Formula 11.1.1 , we obtain the following formula. These left sides can be expand-

ed to power series of z -1 . So, we call the formulas factorization around 1.

Formula 11.3.1

When is Euler-Mascheroni constant and z is the Gamma function, the following expressions hold.

( )z1

= e z-1 Πn =1

1+n

z-1e

-n

z-1

(3.1-)

( )2-z1

= e- z-1 Πn =1

1-n

z-1e n

z-1

(3.1+)

( )1+z /21

= e 2

z-1

Πn =1

1+2nz-1

e-

2n

z-1

(3.2-)

( )3-z /21

= e-

2

z-1

Πn =1

1-2nz-1

e 2n

z-1

(3.2+)

( )z/21

=

1e 2

+log2 z-1

Πn =1

1+2n-1z-1

e-

2n-1

z-1

(3.3-)

( )1-z/21

=

1e

- 2

+log2 z-1

Πn =1

1-2n-1z-1

e 2n-1

z-1

(3.2+)

( )z/21

=

1e 2

z-1

Πn =1

1+2n-1z-1

e-

2n

z-1

(3.4-)

( )1-z/21

=

1e

-2

z-1

Πn =1

1-2n-1z-1

e 2n

z-1

(3.4+)

From this formula, the following formula is further derived.

Formula 11.3.2

When is Euler-Mascheroni constant and z is the Gamma function, the following expressions hold.

( )1+z1

= e -1 z-1Πn =1

1+n+1z-1

e-

n+1

z-1

(3.5-)

( )1-z1

= -( )z-1 e- z-1 Πn =1

1-n

z-1e n

z-1

(3.5+)

( )1+z/21

=

2e 2

+log2 -1 z-1

Πn =1

1+2n+1z-1

e-

2n+1

z-1

(3.6-)

( )1+z/21

=

2e 2

z-1

Πn =1

1+2n +1z-1

e-

2n

z-1

(3.7-)

- 9 -

Page 10: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Proof

Dividing both sides of (3.1-) by z ,

z( )z1

= e z-1

z1 1+

1z-1

e-

1

z-1

Πn =1

1+n+1z-1

e-

n+1

z-1

i.e.

( )1+z1

= e -1 z-1Πn =1

1+n+1z-1

e-

n+1

z-1

(3.5-)

Multiplying both sides of (3.1+) by 1-z ,

( )2-z1-z

= -( )z-1 e- z-1 Πn =1

1-n

z-1e n

z-1

i.e.

( )1-z1

= -( )z-1 e- z-1 Πn =1

1-n

z-1e n

z-1

(3.5+)

Dividing both sides of (3.3-) by z /2 ,

( )z/2 ( )z/21

=

2e 2

+log2 ( )z-1

z

1 1+

21-1

z -1e

-21-1

z-1

Πn =1

1+2n +1

z -1e

-2n+1

z-1

i.e.

( )1+z/21

=

2e 2

+log2 -1 z-1

Πn =1

1+2n+1z-1

e-

2n+1

z-1

(3.6-)

Dividing both sides of (3.4-) by z /2 ,

( )z/2 ( )z/21

=

2e 2

z-1

z1 1+

21-1

z-1Πn =1

1+2n+1z-1

e-

2n

z-1

i.e.

( )1+z/21

=

2e 2

z-1

Πn =1

1+2n+1z-1

e-

2n

z-1

(3.7-)

Giving z =2 to (3.5-) , (3.6-) , (3.7-) , we obtain the following special values.

Special Values

Πn =1

1+n +1

1e

-n+1

1

= 2

e1-

= 0.763102 (3.52- )

Πn =1

1+2n+1

1e

-2n+1

1

= 4

e- 2

-1

= 0.902544 (3.62- )

Πn =1

1+2n+1

1e

-2n

1

= 2

e-

2

= 0.664055 (3.72- )

- 10 -

Page 11: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

11.4 Taylor Expansion (Part 1)

Formula 11.4.1 When is Euler-Mascheroni constant , z is the Gamma function, Hn is a harmonic number and H is

a harmonic series , the following expressions hold.

z1

=1 + ( )z-1 + 2!2

+2

H2

-Σn =1

n

Hn ( )z-1 2

+ 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-H( )z-1 3 + (4.1-)

2-z

1 =1 - ( )z-1 + 2!

2

+2

H2

-Σn =1

n

Hn ( )z-1 2

- 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-H( )z-1 3 +- (4.1+)

1+z /21

=1 + 2 z -1 +

22

1 2!2

+2

H2

-Σn =1

n

Hn z -1 2

+ 23

1 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-H z -1 3 + (4.2-)

3-z /21

=1 - 2 z -1 +

22

1 2!2

+2

H2

-Σn =1

n

Hn z -1 2

- 23

1 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-H z -1 3 +- (4.2+)

1-z

1 = - z -1 + ( )z-1 2 - 2!

2

+2

H2

-Σn =1

n

Hn ( )z-1 3

+ 3!3

+2

H2

-3

2H3

+Σn =1

Hn n +1

H-Hn+1-

n

-H( )z-1 4 -+ (4.5+)

Proof

Replacing z with z -1 in Formula 11.2.1 (2.1-) ~ (2.2+) , we obtain (4.1-) ~ (4.2+) . Multiplying both sides

of (4.1+) by 1-z , we obtain (4.5+) .

Formula 11.4.2 When is Euler-Mascheroni constant , z is the Gamma function, Hn is a harmonic number and H is

a harmonic series , the following expression holds.

1+z

1 =1 - 1-

1! z-1 + 1-

1!

+2! 2

+2!H2

-Σn =1

n

Hn z-1 2

- 1-1!

+2!2

-3!3

+2

H2 1-+

32H3

-Σn =1

Hn n+1

H-Hn+1+

n

1- +H z-1 3 +

(4.5-)

- 11 -

Page 12: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Proof

Formula 11.3.2 (3.5-) was as follows.

( )1+z1

= e -1 z-1Πn =1

1+n +1z-1

e-

n+1

z-1

(3.5-)

At first, the compensation term is

Πn =1

e-

n+1

z-1

= e- z-1 Σ

n=1

n+1

1

= e z-1 - z-1 Σ

n=1

n

1

= e- H-1 z-1

Then,

e -1 z-1Πn =1

e

-n+1

z-1

= e -1 z-1 e- H-1 z-1 = e -H z-1

Expanding this,

e -1 z-1Πn =1

e

-n+1

z-1 = 1+

1!-H

( )z-1 1 + 2! -H 2

( )z-1 2 + 3! -H 3

( )z-1 3 +

(4.1e)

Let the body be

Πn =1

1+n +1z-1

= 1+2

z-1 1+

3z-1

1+4

z-1 1+

5z-1

= 1 + a1( )z-1 1 + a2( )z-1 2 + a3( )z-1 3 +Then, from Vieta's formulas,

a1 = 21

+31

+41

+ = H-1

a2 = 21 3

1+

41

+51

+ +31 4

1+

51

+61

+ +41 5

1+

61

+71

+ +

= 1

H-H1+

2

H-H2+

3

H-H3+ -

1H-1

= Σn =1

n

H-Hn-

1H-1

a3 = 21

31 H-H3 +

21

41 H-H4 +

21

51 H-H5 +

+31

41 H-H4 +

31

51 H-H5 +

31

61 H-H6 +

+41

51 H-H5 +

41

61 H-H6 +

41

71 H-H7 +

+

= 11

21 H-H2 +

11

31 H-H3 +

11

41 H-H4 +

+21

31 H-H3 +

21

41 H-H4 +

21

51 H-H5 +

+31

41 H-H4 +

31

51 H-H5 +

31

61 H-H6 +

- 12 -

Page 13: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

+

-11

21 H-H2 -

11

31 H-H3 -

11

41 H-H4 -

Rearranging this along the diagonal line,

a3 = 11

21 H-H2 + 1

1+

21

31 H-H3 + 1

1+

21

+31

41 H-H4 +

-11

21 H-H2 -

11

31 H-H3 -

11

41 H-H4 -

= Σn =1

n+1

Hn H-Hn+1 - Σ

n =1

n +1

H-Hn+1 = Σ

n =1

n +1 Hn-1 H-Hn+1

Thus,

Πn =1

1+n +1

z -1 = 1 + z -1 H-1 + z -1 2 Σ

n =1

n

H-Hn-

1

H-1

+ z -1 3Σn =1

n +1 Hn-1 H-Hn+1

+ (4.1p)

The right side of (3.5-) is a product of (4.1e) and (4.1p) . That is

e -1 z-1Πn =1

e

-n+1

z-1 = 1+

1!-H

( )z-1 1 + 2! -H 2

( )z-1 2 + 3! -H 3

( )z-1 3 +

Πn =1

1+n +1z -1

= 1 + ( )z-1 H-1 + ( )z-1 2 Σn =1

n

H-Hn-

1H-1

+ z -1 3Σn =1

n +1 Hn-1 H-Hn+1

+

Taking the Cauchy product,

The coefficient of z -1 1 is

1!-H

+H-1 = - 1-1!

The coefficient of z -1 2 is

Σn =1

n

H-Hn-

1H-1

+1!

-H H-1+

2! -H 2

= -Σn =1

n

Hn+H2-

1

H-1+

1! H-1

-1!

H H-1+

2! -H 2

= 1-1!

+2!2

+ 2

H2

-Σn =1

n

Hn

The coefficient of z -1 3 is as follows.

Σn =1

n +1 Hn-1 H-Hn+1

+1!-H Σ

n =1

n

H-Hn-

1H-1

+2!

-H 2 H-1+

3! -H 3

Here,

- 13 -

Page 14: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Σn =1

n

H-Hn = H2-Σ

n =1

n

Hn

Σn =1

n +1 Hn-1 H-Hn+1

= Σn =1

n +1

Hn H-Hn+1-Σ

n =1

n +1H

+Σn =1

n +1

Hn+1

= Σn =1

n +1

Hn H-Hn+1-H Σ

n =1

n

1-1 +Σ

n =1

n

Hn-

1

H1

= Σn =1

Hn n +1

H-Hn+1+

n

1-H2+H-1

Then,

Σn =1

n +1 Hn-1 H-Hn+1

+1!-H Σ

n =1

n

H-Hn-

1

H-1+

2! -H 2 H-1

+3! -H 3

= Σn =1

Hn n +1

H-Hn+1+

n

1-H2+H-1+

1!-H H2-Σ

n =1

n

Hn-

1H-1

+2!

-H 2 H-1+

3! -H 3

= Σn =1

Hn n +1

H-Hn+1+

n

1-r +H-H2+H-1+

1!-H H2-

1

H-1

+2!

-H 2 H-1+

3! -H 3

= - 1-1! +

2!2

-3!3

- 2

H2 1-

-3

2H3

+Σn =1

Hn n +1

H-Hn+1+

n

1-+H

Therefore,

1+z

1 =1 - 1-

1! z-1 + 1-

1!

+2! 2

+2!H2

-Σn =1

n

Hn z-1 2

- 1-1!

+2!2

-3!3

+2

H2 1-+

32H3

-Σn =1

Hn n+1

H-Hn+1+

n

1- +H z-1 3 +

Verification

The ordinary Taylor expansion of the left side of (4.5-) is as follows. Where, n z is a polygamma function.

1+z

1 =1 - 1-

1! z -1 + 1-

1!

+2!2

-12 2

z -1 2

- 1-1!

+2!2

-3!3

- 12

1- 2

+6

2( )1 z -1 3 +-

= 1-0.4227843 z -1 -0.2330937 z -1 2 +0.1910911 z -1 3 +

Therefore, the following equations must hold.

1-1!

+2!2

+2

H2

-Σn =1

n

Hn = 1-

1!

+2!2

-12 2

= -0.233093

- 14 -

Page 15: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

- 1-1!

+2!2

-3!3

- 2

H2 1-

-3

2H3

+Σn =1

Hn n +1

H-Hn+1+

n

1-+H

= - 1-1!

+2!2

-3!3

+ 12

1- 2

-6

2( )1 = 0.191091

Calculating these with the formula manipulation software Mathematica, we obtained the following result.

The coefficients of each term are almost consistent with the above values.

- 15 -

Page 16: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

11.5 Taylor Expansion (Part 2)

Odd Harmonic Number & Odd Harmonic Series (definition)

We define odd harmonic number hn and odd harmonic series h as follows.

hn = 1+31

+51

++2n-1

1 = H2n-1 -

2

Hn-1(5.hn)

h = h = 2H

+ log2 (5.h)

Formula 11.5.1 When is Euler-Mascheroni constant , z is the Gamma function, hn is an odd harmonic number and

h is an odd harmonic series , the following expressions hold.

( )z/2

= 1 + c1( )z-1 1 + c2( )z-1 2 + c3( )z-1 3 + (5.3-)

( )1-z/2

= 1 - c1( )z-1 1 + c2( )z-1 2 - c3( )z-1 3 +- (5.3+)

Where,

c1 = 2

+log2

c2 = 2!1 2

+log22

+2h 2

-Σn =1

2n -1

hn

c3 = 3!1 2

+log23

+2h 2

2

+log2 -3

2h 3

+Σn =1

hn 2n+1

h-hn+1-

2n-1

1 2

+log2-h

Proof

From Formula 11.3.1 (3.3-)

( )z/2

= e 2

+log2 z-1

Πn =1

1+2n -1z-1

e-

2n-1

z-1

(5.3-)

At first, the compensation term is

Πn =1

e-

2n-1

z-1

= e- z-1 Σ

n=1

2n-1

1

= e-h z-1

Then,

e 2

+log2 z-1

Πn =1

e-

2n-1

z-1

= e 2

+log2 z-1e-h z-1 = e 2

+log2 -h z-1

Expanding this,

e 2

+log2 ( )z-1

Πn =1

e

-2n-1

z-1

= 1+1!1 2

+log2 -h z -1 1 +2!1 2

+log2 -h2 z -1 2

+ 3!1 2

+log2 -h3 z -1 3+ (5.1e)

- 16 -

Page 17: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Let the body be

Πn =1

1+2n-1z-1

= 1+1

z-1 1+

3z-1

1+5

z-1 1+

7z-1

= 1 + a1( )z-1 1 + a2( )z-1 2 + a3( )z-1 3 +Then, from Vieta's formulas,

a1 = 11

+31

+51

+ = h

a2 = 11 3

1+

51

+71

+ +31 5

1+

71

+91

+ +51 7

1+

91

+111

+ +

= 1

h -h1+

3

h -h2+

5

h -h3+ = Σ

n =1

2n -1

h -hn

a3 = 11

31 h -h2 +

11

51 h -h3 +

11

71 h -h4 +

+31

51 h -h3 +

31

71 h -h4 +

31

91 h -h5 +

+51

71 h -h4 +

51

91 h -h5 +

51

111 h -h6 +

+

Rearranging this along the diagonal line,

a3 = 11

31 h -h2 + 1

1+

31

51 h -h3 + 1

1+

31

+51

71 h -h4 +

= Σn =1

2n +1

hn h -hn+1

Thus,

Πn =1

1+2n -1

z -1 = 1 + z -1 h + z -1 2Σ

n =1

2n -1

h -hn + z -1 3Σ

n =1

2n +1

hn h -hn+1 +

(5.1p)

The right side of (5.3-) is a product of (5.1e) and (5.1p) . That is

e 2

+log2 ( )z-1

Πn =1

e

-2n-1

z-1

= 1+1!1 2

+log2 -h z -1 1 +2!1 2

+log2 -h2 z -1 2

+ 3!1 2

+log2 -h3 z -1 3+

Πn =1

1+2n -1

z -1 = 1 + z -1 h + z -1 2Σ

n =1

2n -1

h -hn + z -1 3Σ

n =1

2n +1

hn h -hn+1 +

Taking the Cauchy product,

The coefficient of z -1 1 is

1!1 2

+log2 -h +h = 2

+ log2

- 17 -

Page 18: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

The coefficient of z -1 2 is

Σn =1

2n -1

h -hn+

1!h 2

+log2 -h +2!1 2

+log2 -h2

= -Σn =1

2n -1

hn+h 2+ 2

+log2 h-h 2+

21 2

+log22

- 2

+log2 h+2h 2

= 2!1 2

+log22

+ 2h 2

-Σn =1

2n -1

hn

The coefficient of z -1 3 is as follows in a similar way.

3!1 2

+log23

+2h 2

2

+log2 -3

2h 3

+Σn =1

hn 2n+1

h-hn+1-

2n-1

1 2

+log2-h

Then,

z/2

= 1 + 2

+log2 z-1 + 2!1 2

+log22

+2h 2

-Σn =1

2n -1

hn z-1 2

+ 3!1 2

+log23

+2h 2

2

+log2 -3

2h 3

+Σn =1

hn 2n+1

h-hn+1-

2n-1

1 2

+log2-h z-1 2+

And, changing this to alternating series, we obtain (5.3+) .

Verification

The ordinary Taylor expansion of the left side of (5.3-) is as follows. Where, n z is a polygamma function.

z/2

=1 - 210 2

1 z -1 +

2!1 4

10

2 21

-8 2

z -1 2

+ 3!1 16

3 20 2

1-

810

3 21

-812 2

1 z -1 3 +

= 1+0.981755 z -1 -0.134928 z -1 2 -0.097286 z -1 3 +Therefore, the following equations must hold.

2

+ log 2 = -210 2

1 = 0.981755

2!1 2

+ log22

+2h 2

-Σn =1

2n-1

hn =

2!1 4

10

2 21

-8 2

= -0.134928

3!1 2

+ log23

+2h 2

2

+ log2 -3

2h 3

+Σn =1

hn 2n+1

h-hn+1-

2n-1

1 2

+ log2-h

= 3!1 16

3 20 2

1-

810

3 21

-812 2

1 = -0.0972863

Calculating these with the formula manipulation software Mathematica, we obtained the following result.

The coefficients of each term are almost consistent with the above values.

- 18 -

Page 19: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Also, the following special values were obtained.

Special Values

h 2 -2!Σn =1

2n -1

hn = -

8 2

= -( )2 : Dirichlet Lambda (5.4)

4h 3 -3!Σn =1

hn 2n +1

h -hn+1+

2n -1h

= 23

12 2

1 = -2.10359958 (5.5)

If easier (5.4) is written down, it is as follows.

1+31

+51

+2

- 2! 11 1

+

31 1+

31

+51 1+

31

+51

+ = -( )2

Formula 11.5.2 When is Euler-Mascheroni constant , z is the Gamma function, hn is an odd harmonic number and

h is an odd harmonic series , the following expression holds.

2( )1+z/2

= 1 - c1( )z-1 1 + c2( )z-1 2 - c3( )z-1 3 + (5.6-)

Where,

c1 = 1-2

-log2

c2 = 1-1!1 2

+log2 +2!1 2

+log22

+2h 2

-Σn =1

2n -1

hn

c3 = 1-1!1 2

+log2 +2!1 2

+log22

-3!1 2

+log23

+2h 2

1-2

-log2

+3

2h 3

-Σn =1

hn 2n+1

h-hn+1+

2n-1

1 1-

2

-log2+h

Proof

In a similar way as the proof of Formula 11.4.2 , we obtain the desired expression.

- 19 -

Page 20: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Verification

If the left side of (5.6-) is expanded to Taylor series with the formula manipulation software Mathematica,

it is as follows.

2 1+z/2

= 1 - 0.01824 z -1 1 - 0.11668 z -1 2 + 0.01939 z -1 3 +

On the other hand, calculating c1 , c2 , c3 according to the formula, we obtained the following results.

Both values are approximately equal.

- 20 -

Page 21: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

11.6 Euler-Mascheroni Constant Function

Until the previous section, treating the divergent product and divergent series as numbers or functions,

we performed a series expansion of the reciprocal of the gamma function. Although we succeeded in deriving

the power series from the infinite product, we could not get the general formula.

However, there are not few merits of treating the divergent product and divergent series as numbers or functions

In this section, I will present one example.

Formula 11.6.1

When is Euler-Mascheroni constant and z is the Gamma function, the following expressions hold.

= Σn =1

n1

-z1

log 1+nz

- z

log( )1+z g( )z Re( )z > -1 (6.1)

= Σn =1

n1

- log 1+n1

(6.1')

limz0Σn =1

n1

-z1

log 1+nz

= 0 (6.2)

limz0

z

log( )1+z = - (6.3)

Proof

Formula 11.1.1 (1.1-) was as follows.

Πn =1

1+nz

e-

n

z

= ( )1+ze- z

(1.1-)

The left side can be transformed as follows.

Πn =1

1+nz

e-

n

z

= elogΠ

n =1

1+nz

e-Σ

n =1

nz

= elogΠ

n =1

1+nz

- Σn =1

nz

The right side can also be transformed as follows.

( )1+ze- z

= e-log( )1+ z e- z = e-log( )1+ z - z

Then,

elogΠ

n =1

1+nz

- Σn =1

nz

= e-log( )1+ z - z

Taking the logarithm of both sides and inverting the signs,

z + log( )1+z = Σn =1

nz

- logΠn =1

1+nz

From this,

= Σn =1

n1

-z1

log 1+nz

- z

log( )1+zRe( )z > -1 (6.1)

Especially, when z =1 ,

= Σn =1

n1

- log 1+n1

(6.1')

- 21 -

Page 22: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

Next, replacing z with z in the left side of (6.3) ,

limz0 z

log 1+ z = dz

dlog( )z

z=1 = ( )1

'( )1 = ( )1 = -

Then, (6.3) holds. And (6.2) is derived from this and (6.1).

3D figure of (6.1) is as follows. The left figure is the real part and the right figure is the imaginary part.

The domain is Re z > -1 . Anywhere on this half plane, the real part is 0.57721566 and the imaginary

part is 0 . That is, this function g z is a constant function which gives the Euler-Mascheroni constant .

In order to obtain , any value on this half plane may be chosen, and (6.1') is one of them. However, consider-

ing the convergence speed, (6.1') is not a good choice. The following is a study of the value of z and the number

of terms necessary to obtain 5 significant digits.

According to this, in order to obtain effective 5 digits, 35,000 terms are required when z =1 , and 3 terms

are sufficient when z =0.0001 . The reasons are (6.2) and (6.3). When this is illustrated clearly, it's as follows.

- 22 -

Page 23: Series Expansion of Reciprocal of Gamma Functionfractional-calculus.com/series_expansion_reciprocal... · 2016-12-22 · 11 Series Expansion of Reciprocal of Gamma Function 11.1 Functions

The first term of the function g z is blue and the second term is yellow green. These are the line symmetry

around g =/2 . Therefore, the function value of g z is regardless of the value of z . So, we call the

function g z Euler-Mascheroni Constant Function .

Although g z = for any z s.t. Re z > -1 , especially when z =0 , the first term is 0 and the

second term is . That is, in the vicinity of 0 , the role of the first term is small. That is why convergence of

the first term is fast in the vicinity of 0 .

By reference, giving z =0.000018 to (6.3) , we obtain -0.577201 with the same precision as the above.

Note

(6.1') can also be obtained directly from Euler's definition.

= limm Σ

n =1

m

n1

- log m = limm Σ

n =1

m

n1

- log 12

23

34

m-1m

= limm Σ

n =1

m

n1

- Σn =1

m -1

log 1+n1

= Σn =1

n1

- log 1+n1

2016.12.20

Kano. Kono

Alien's Mathematics

- 23 -