0% found this document useful (0 votes)
142 views6 pages

Ramanujan's Summation: 1 Analytic Continuation and The Gamma Function

1. The document discusses Ramanujan's summation formula that 1 + 2 + 3 + ... = -1/12 through the use of analytic continuation and the gamma function. 2. It provides examples of analytic continuation, including extending the domain of the factorial function using the gamma function. 3. The document works through 10 problems applying techniques of analytic continuation to extend functions and evaluate expressions. This includes using Taylor series and functional equations of the gamma function.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
142 views6 pages

Ramanujan's Summation: 1 Analytic Continuation and The Gamma Function

1. The document discusses Ramanujan's summation formula that 1 + 2 + 3 + ... = -1/12 through the use of analytic continuation and the gamma function. 2. It provides examples of analytic continuation, including extending the domain of the factorial function using the gamma function. 3. The document works through 10 problems applying techniques of analytic continuation to extend functions and evaluate expressions. This includes using Taylor series and functional equations of the gamma function.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Ramanujan’s Summation

Eashan Gandotra

1 Analytic Continuation and the Gamma Function


1
Perhaps you have heard of Ramanujan’s now internet-famous result that 1 + 2 + 3 + ... = − 12 . As
bizarre and unintuitive this result may seem, it can be explained by analytic continuation (and is
revisited in section 4). Recall a function f (z) for z ∈ C is analytic on some set S if the derivative of
f exists everywhere in S. That is, for every point z0 ∈ S, f 0 (z0 ) exists in some neighborhood of z0 .
Analytic continuation is a technique used to expand the domain on which a function is analytic.
More formally, suppose we have a function f (z) that is on analytic on some region R. Suppose
there is some region of the plane R1 where f1 (z) = f (z) and another region R2 where f2 (z) = f (z).
Then f1 is the analytic continuation of f2 on the region R1 \R2 and f2 is the analytic continuation
of f1 on the region R2 \R1 . While this definition may seem confusing, it is more easily understood
via the examples in the following section.

One classic example of analytic continuation, which we will use later in section 4, is the gamma
function. It extends the domain of the factorial function (which only takes non-negative integers)
R∞
to C\{n ∈ Z, n ≤ 0}. The gamma function is defined as Γ(z) = 0 xz−1 e−x dx for such z. We can
see this is the factorial function for positive integers using integration by parts. Let n be a positive
integer and u = xn and dv = e−x dx. Then

R∞ R∞
xn e−x dx = uv − vdu = −xn e−x |∞ xn−1 e−x dx = nΓ(n)
R
Γ(n + 1) = 0 0 +n 0

This is the recursive definition of the factorial function (for which the base case is defined as 0! = 1).
This function is explored further in sections 2 and 3.

2 Problems and Examples


Most of the following problems come from Fundamentals of Complex Analysis with Applications
to Engineering and Science by Saff and Snider. All mentions of theorems and corollaries in the
following section refer to this book.

1) Find a function that extends the domain of f (x) = x2 + 1, x ∈ R to the complex numbers.

Note that for g(z) = z 2 +1, z ∈ C we have g(z) = f (z), z ∈ R and g(z) is well-defined (and analytic)
on the complex plane, so it serves as a valid extension. This is a trivial example of extending a
domain, but goes to show how subtle the process can be. It also provides a simple/intuitive way

1
Page 2 Eashan Gandotra

to think about extending domains and the uniqueness of analytic continuations.

2) Given that f (z) is analytic at z = 0 and that f ( n1 ) = 1


n2 , n ∈ 1, 2, ..., find f (z).

Let D be a neighborhood of 0 containing {1, 21 , 31 , ...}. Then suppose we have a function g : D → C


with g(z) = f (z) − z 2 . Since g is analytic and g(z) = 0 for all points in D, f (z) = z 2 . This follows
form the more general theorem that if F is analytic on in a domain D and and vanishes on some
open disk contained in D, then it vanishes throughout D (see Theorem 19). In this case F = f − g.

Pn
3) Prove that if f (z) is analytic and agrees with polynomial j=0 aj xj for z = x on a segment of
Pn
the real axis, then f (z) = j=0 aj z j everywhere.

Note that the segment of the real axis on which f is analytic and agrees with the given polyno-
mial is a closed set with infinitely many points. It follows form corollary 5 of Theorem 19 that
Pn
f (z) = j=0 aj z j everywhere. The proof of this corollary comes from applying theorem 19 (stated
in the previous problem) to the difference of f and the polynomial.

4) Does there exist a function f (z), not identically zero, which is analytic in the open disk
D : |z| < 1 and vanishes at infinitely many points in D.

1 1
Let f (z) = cos( 1−z ). Then since cosine is differentiable everywhere in the complex plane and 1−z ,
the geometric series, is analytic on |z| < 1, f is also analytic on D. Clearly f is not identically zero
as at f ( 12 ) = cos(2) 6= 0. We also have infinitely many points of the form z = 1 − 2nπ
1
, n ∈ Z, n 6= 0.
1 1 1
Since |1 − 2nπ | < 1, such points are in D. Also f (1 − 2πn ) = cos(2πn) = 0. Hence f (z) = cos( 1−z )
serves as an example of a function with the desired qualities.

5) Prove that if f is analytic in a punctured neighborhood of z = 0 and if f ( n1 ) = 0 for all


n = ±1, ±2, ..., then either f is identically zero or f has an essential singularity at z = 0.

Since f is analytic in a neighborhood of 0, f has a singularity at 0. suppose this neighborhood


is D = {z|0 < |z| < m}. If the singularity is removable, we can use a similar approach to in the
second problem. Since the singularity is removable there must be some function g that is equal to
f on D. Then f (z) = g(z) = 0, z ∈ {±1, ± 21 ...}. This is a sequence converging to 0, so, by theorem
22, g(z) = 0 and thus f (z) = 0 on D. Applying theorem 19 again and viewing D as the disk on
which f vanishes, f is identically zero. Clearly f isn’t a pole because f ( n1 ) = 0 for all non-zero
integers n, which means that as z → ∞, |f (z)| doesn’t approach 0. Hence f (z) is identically zero
if 0 is a removable singularity and 0 is an essential singularity otherwise.

P∞
6) Let f (z) = j−0 z j for |z| < 1. For what values of α (|α| < 1) does the Taylor expansion of
f (z) about z = α yield a direct analytic continuation of f (z) to a disk extending outside the circle
|z| < 1.

1
Note that this is simply a geometric series, so f (z) = 1−z , |z| < 1. Then the Taylor series for
j
P∞ P∞ (z−z0 )j
f about z0 is f (z) = j=0 (z−zj!
0)
· (1−zj!0 )j+1 = j=0 (1−z0 )j+1 . This works when the distance
from z0 to the new center and that from the origin are together less than 1 (in other words
Page 3 Eashan Gandotra

|z − z0 | + |z0 |<1). Clearly, since this is a geometric series, the radius of convergence is |1 − z0 |
(you can use ratio test for more rigor). Now we want the region on which this series converges, so
|1 − z0 | > 1 − |z0 | ⇒ |1 − reiθ | > 1 − r ⇒ 1 > cos(θ), which always holds unless θ = 0 + 2πn. Hence
we have analytic continuation extending outside |z| < 1 if z does not lie on the positive real axis
and |z| < 1.

R∞
7) The gamma function is defined as Γ(z) = 0
xz−1 e−x dx for z ∈ C\{n ∈ Z, z ≤ 0}. Show
Γ(z + 1) = zΓ(z).

This follows the same process I used in section 1 to show the gamma function is the factorial
function (shifted over by one) for positive integers. Let u = xz and dv = e−x dx. Then we have
R∞ R ∞ z−1 −x
Γ(z + 1) = 0 xz e−x dz = uv − vdu = −xz e−x |∞
R
0 +z 0 x e dx = zΓ(z).

8) Assuming the Gamma function is analytic in the right half of the plane, use the functional
equation proven in section 1 to analytically continue Γ(z) to the entire plane.

From the last problem, we have Γ(z + 1) = zΓ(z). We can shift the index by 1 to see Γ(z + 2) =
(z + 1)Γ(z + 1) = (z + 1)(z)Γ(z). In general, Γ(z + 1 + n) = (z + n)(z + n − 1)...(z)Γ(z) ⇒
Γ(z+1+n)
Γ(z) = (z+n)(z+n−1)...(z) . Hence we have an analytic continuation for Γ(z) to the entire plane.
The function is analytic everywhere except at the singularities. Setting the denominator to 0
we see the singularities are simply the non-positive integers, as desired. Note this works because
we can choose n such that z +n+1 is in the right half of the plane, which we assumed to be analytic.

9) Evaluate ((− 12 )!)2 .

Using the Gamma function as the to evaluate the factorial at − 21 , we have (− 12 )! = Γ(− 12 + 1) =
R∞ 1 R∞ 1
Γ( 21 ) = 0 x 2 −1 e−x dx = 0 x− 2 e−x dx. Letting u2 = x ⇒ 2udu = dx, the integral becomes
R ∞ −1 −u2 R ∞ −u2 R∞ 2

0
u e · 2udu = 2 0 e du = −∞ e−u du. Using this result, we have:

R∞ R∞ 2 2 R ∞ R 2π −r2 R∞ 2
((− 12 )!)2 = −∞ −∞
e−x e−y dxdy = 0
r 0 e dθdr = 2π 0 re−r dr = 2π · 1
2 =π

Here I use polar coordinates and perform a simple u−substitution with v = −r2 in the last step
(left out for clarity). I find this a neat result!

10) What is the general formula for Γ( n2 ), n ∈ Z, n > 0.

We have two cases. First assume n is even. Then, letting n = 2k, k ∈ Z, we have Γ( n2 ) = Γ(k) =
(k − 1)!. Now suppose n is odd. Then, letting n = 2k + 1, we have Γ( n2 ) = Γ( 12 + k). Using the
functional equation from 8 and the result from 9, this simplifies to Γ( 21 + k) = ( 21 + k − 1)( 12 + k −
√ √ (2k)!
2)...( 21 )Γ( 21 ) = ( 12 )( 32 )...( 2k−1
2 )( π) = π( 22k k! ).

In addition to having a relationship to geometry, suggested by the integrals involving π above,


the Gamma function appears in various other fields of mathematics. One notable example is the
Gamma distribution, which can be used to model elapsed times and various financial variables.
Page 4 Eashan Gandotra

3 Using the Riemann Zeta Function


I’ll start this section with a proof Euler came up with to show there are infinitely many primes.
This relies on the clever insight that 11 + 21 + 13 + ... = p ( 1−1 1 ), where p take each prime value. To
Q
p

see this, first note that by the geometric series formula p 1−1 1 = (1+ 21 + 212 +...)(1+ 31 + 312 +...)....
Q
p
1
Now consider some term n on the left hand side. The Fundamental Theorem of Arithmetic tells
us that n can be expressed as n = pa1 1 pa2 2 ...pamm for primes pi . It follows that 1
n = 1
a
p1 1
· · · pam1m .
Now each term on the left hand side of the original equation is the product of one term in each
1 1 1 1 1 1
(1 + p + p2 ...) for all primes p. Then to get n we can take the term a
pi i
from (1 + pi + p2i
...)
1
for the primes that appear in n, and 1 from the other terms. Hence n appears on the left hand
1
side. Furthermore, since n has a unique prime factorization, n appears exactly once. Since n is
arbitrary, the claim follows. It is well known that the harmonic series 1 + 21 + 13 ... diverges. This
implies our product p ( 1−1 1 ) also diverges. If there were finitely many primes, the product would
Q
p
also be finite. Hence there must be infinitely many primes.

You can only wonder what went on in Euler’s mind that made him come up with such an elegant
proof. You may be thinking "Wow, this is cool... but isn’t there that much simpler way to show
there are infinite primes?" You would be correct. Euclid had argued hundreds of years before
Euler that if you assume finitely many primes p1 , p2 , ..., pn , then p1 p2 ...pn + 1 isn’t divisible by any
pi , and so must be prime itself, contradicting the assumption. Euler’s proof, however, offers far
more insight. Euler could go the other way and argue that since there are infinitely many primes,
1 1 1 1
Q
1 ) diverges, and then so must 1 + 2 + 3 + ....
p ( 1− p A natural follow up to this is to define
1 1 1
P∞ −z
a function ζ(z) = 1z + 2z + 3z + ... = n=1 n and ask for what values of s does this series
diverge/converge. For s ∈ C, this is known as the Riemann zeta function.

Now we will relate the Riemann zeta function to a more easy to evaluate function by the following
proof. We have:
P∞ 1 1 1
P∞ 1
P∞ 2
ζ(z) = n=1 nz ⇒ 2z−1 ζ(z) = 2z−1 n=1 nz = n=1 (2n)z−1

Now we subtract the two equations to get:

1 1 1 1 1
P∞ (−1)n−1
(1 − 2z−1 )ζ(z) = 1z − 2z + 3z − 4z + ... = n=1 nz = η(z)

Simplifying the left-hand side, we get:

(21−z − 1)ζ(z) = η(z)

Note that I ignored the case where 2z−1 − 1 = 0, which would prevent the function from being
analytic, because it can be shown to be a removable singularity. The function we called η(z) is
known as the Dirichlet eta function. The technique used here by subtracting a multiple of a series
from itself can be used to solve general arithmetico-geometric series, many of which are interesting
(see 2018 GT HSMC Free Response #12 for a clever one with Fibonacci numbers). There is one
more relation we need before we can evaluate the zeta function, and it brings back our friend from
section 1, the gamma function: By u−substitution with u = xn and du = ndx:
Page 5 Eashan Gandotra

R∞ R∞ R∞
0
xz−1 e−nx dx = 0
1 u z −u
u(n) e du = 1
nz 0
uz−1 e−u du = 1
nz Γ(z)

1
Then by the geometric series formula on 1−(−ex ) and applying the integral above (the more general
form of which is known as a Mellin transform), we have:

R∞ xz−1
R∞ P∞ n−1 −nx
P∞ (−1)n−1 R∞
0 ex +1 dx = 0
xz−1 n=1 (−1) e dx = n=1 nz 0
xz−1 e−x dx = η(z)Γ(z)

This is yet another beautiful proof that, along with our previous result, allows us to evaluate the
zeta function as follows:

R∞ xz−1
(1 − 2−z )ζ(z)Γ(z) = η(z)Γ(z) = 0 ex +1 dx

We perform integration by parts twice, which increases the input of the gamma function by 2.
1
This will be useful later. First we use u = ex +1 , dv = xz−1 .

R∞ xz−1 xz ∞
R∞ x R∞ x z ex
0 ex +1 dx = z(ex +1) |0 − 0
(− (exe+1)2 )( z1 x2 )dx = 1
z 0 (ex +1)2 dx

1 ex (e2x +2ex +1)−2e2x (ex +1) ex −e3x xz+1


Next we use u = (ex +1)2 ⇒ du = (ex +1)4 = (ex +1)3 and dv = xz ⇒ v = z+1 .

1
R∞ x z ex x
xz+1 ∞
R∞ xz+1 ex −e2x
R∞ xz+1 (e2x −ex )
z 0 (ex +1)2 dx = z1 ( (exe+1)2 · z+1 )|0 − 0 z+1 · (ex +1)3 dx = 1
z(z+1) 0 (ex +1)3

Hence We have

R∞ xz+1 (e2x −ex )


(1 − 21−z )ζ(z)Γ(z)z(z + 1) = (1 − 21−z )ζ(z)Γ(z + 2) = 0 (ex +1)3

Suppose we want to evaluate the expression at −1. Then the integral on the right-hand side is

R∞ xz+1 (e2x −ex ) R∞ e2x −ex


R∞ R∞
0 (ex +1)3 = 0 (ex +1)3 dx = 1
u−1
(u+1)3 du = 2
v−2
v 3 dv = v −2 − v −1 |∞
2 =
1
4

Finally, we can evaluate ζ at −1:

1 1
(1 − 21−z )ζ(z)Γ(z + 2) = (1 − 22 )ζ(−1)Γ(1) = 4 ⇒ ζ(−1) = 4 · − 13 · 1 = − 12
1

P∞
Recall that our definition for the ζ function was ζ(z) = n=1 n−z . It follows that

1
ζ(−1) = 1 + 2 + 3 + ... = − 12

4 Remarks
When looking at proofs for this famous summation, I found many other interesting results along
the way, including a neat functional equation for the Dirichlet eta function due to G.H. Hardy.
While it may seem purely theoretical, many of these results, including this sum, are extremely
useful in modern physics. It’s amazing what people do with series, and I look forward to learning
more about the field. What I find most incredible, however, is that Ramanujan, who was poor and
virtually self-educated, somehow managed to come up with such counter-intuitive and involved
results on his own.
Page 6 Eashan Gandotra

5 References
“Analytic Continuation.” Complex Analysis with Applications in Science and Engineering, by
Harold Cohen, 2nd ed., Springer, 2007, p. 399.

“Analytic Functions.” Complex Variables and Applications, by James Ward Brown and Ruel Vance
Churchill, McGraw-Hill Education, 2014, pp. 37–86.

Andreescu, Titu, and Gabriel Dospinescu. Problems from the Book. XYZ Press, 2010.

Saff, E. B., and Arthur David Snider. Fundamentals of Complex Analysis with Applications to
Engineering and Science. Pearson India Education Services, 2019.

You might also like