How Do Infinite Series Produce Logarithms and π?

How can an endless sum of simple fractions produce a logarithm—or even the number π? The secret is to turn each fraction into an integral. A geometric series then becomes a tool for evaluating a much less obvious series.

1. Two surprising sums

Consider the alternating harmonic series:

\displaystyle 1-\frac12+\frac13-\frac14+\cdots=\ln 2.

A related series leads to π:

\displaystyle -\frac23+\frac25-\frac27+\frac29-\cdots=\frac\pi2-2.

Why do these familiar constants emerge from fractions? Both identities can be explained using the same method.

2. Fractions as integrals

For any positive number a, elementary calculus gives

\displaystyle \frac1a=\int_0^1 x^{a-1}\,dx.

This is also a Laplace-transform identity in disguise. Substituting x=e^{-t} gives

\displaystyle \frac1a=\int_0^\infty e^{-at}\,dt,\qquad a\gt 0.

Thus, an expression involving reciprocal numbers can be rewritten as an integral involving powers or exponentials. The advantage is that geometric series are easy to sum.

3. First example: where does ln 2 come from?

Start with a finite alternating sum:

\displaystyle S_N=\sum_{n=1}^{N}\frac{(-1)^{n-1}}n=\int_0^1\sum_{n=1}^{N}(-x)^{n-1}\,dx.

For finite N, moving the sum inside the integral is always valid. The finite geometric sum is

\displaystyle \sum_{n=1}^{N}(-x)^{n-1}=\frac{1-(-x)^N}{1+x}.

Consequently,

\displaystyle S_N=\int_0^1\frac{dx}{1+x}-\int_0^1\frac{(-x)^N}{1+x}\,dx.

The absolute value of the last integral is at most 1/(N+1), so it approaches zero. Therefore

\displaystyle \sum_{n=1}^{\infty}\frac{(-1)^{n-1}}n=\int_0^1\frac{dx}{1+x}=\bigl[\ln(1+x)\bigr]_0^1=\boxed{\ln 2}.

The logarithm appears because the geometric series produces the rational function 1/(1+x), whose antiderivative is a logarithm.

4. Second example: where does π come from?

Now consider

\displaystyle T=\sum_{n=1}^{\infty}\frac{(-1)^n}{n+\tfrac12}.

Using 1/(n+\tfrac12)=2/(2n+1), we obtain

\displaystyle T=2\sum_{n=1}^{\infty}\frac{(-1)^n}{2n+1}=2\left(-\frac13+\frac15-\frac17+\cdots\right).

To evaluate it, first look at the finite sum starting at n=0:

\displaystyle \sum_{n=0}^{N}\frac{(-1)^n}{2n+1}=\int_0^1\sum_{n=0}^{N}(-x^2)^n\,dx=\int_0^1\frac{1-(-x^2)^{N+1}}{1+x^2}\,dx.

The remainder integral tends to zero in absolute value, since it is bounded by 1/(2N+3). Taking the limit gives

\displaystyle \sum_{n=0}^{\infty}\frac{(-1)^n}{2n+1}=\int_0^1\frac{dx}{1+x^2}=\bigl[\arctan x\bigr]_0^1=\frac\pi4.

Subtract the first term, which is 1, and multiply by 2:

\displaystyle T=2\left(\frac\pi4-1\right)=\boxed{\frac\pi2-2}.

Here π appears because the geometric series produces 1/(1+x^2), whose antiderivative is an arctangent.

5. Why this is a transform method

The Laplace transform of a function f(t) is defined by

\displaystyle \mathcal L\{f\}(s)=\int_0^\infty e^{-st}f(t)\,dt,

whenever the integral converges. In particular, \mathcal L\{1\}(s)=1/s for s\gt 0. That observation is the starting point of our fraction-to-integral conversion. The substitution x=e^{-t} then transforms exponentials into powers, making the geometric-series step especially transparent.

The method does not say that every infinite series can be evaluated this way. It works particularly well when the transformed terms form a recognizable geometric series and the resulting integral is manageable.

6. A third example: another logarithm

Replace (-1)^{n-1} by (-1)^{n-1}/2^n. The same finite-sum argument gives

\displaystyle \sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n2^n}=\int_0^{1/2}\frac{dx}{1+x}=\boxed{\ln\frac32}.

More generally, for 0\leq r\leq1,

\displaystyle \sum_{n=1}^{\infty}\frac{(-1)^{n-1}r^n}{n}=\ln(1+r).

For 0\leq r\lt 1 the series converges absolutely; at r=1 it converges conditionally.

7. Why we must be careful with infinite sums

In an infinite series, exchanging summation and integration is not automatically allowed. In our two main examples, we avoided that difficulty by integrating finite geometric sums and proving that their remainder integrals approach zero. This makes both derivations rigorous without requiring advanced convergence theorems.

Another important warning: a conditionally convergent series cannot be rearranged arbitrarily without potentially changing its sum. For a different perspective, see Rearranging the Alternating Harmonic Series. Here we keep the terms in their original order.

8. Try it yourself

Exercise 1. Evaluate \sum_{n=1}^\infty (-1)^{n-1}/(n3^n).

Use the logarithm identity with r=1/3: \displaystyle \ln(1+1/3)=\ln(4/3).

Exercise 2. Show that 1-1/3+1/5-\cdots=\pi/4.

Integrate the finite geometric series \sum_{n=0}^{N}(-x^2)^n over [0,1] and bound the remainder by 1/(2N+3). The limiting integral is \arctan(1)=\pi/4.

Exercise 3. Evaluate \sum_{n=0}^\infty (-1)^n/(2n+3).

Shift the arctangent series: \displaystyle \frac13-\frac15+\frac17-\cdots=1-\frac\pi4.

Exercise 4. Find \sum_{n=1}^\infty (-1)^{n-1}/(n4^n).

Use r=1/4 to obtain \ln(5/4).

Challenge. For 0\leq r\leq1, evaluate \sum_{n=0}^\infty (-1)^n r^{2n+1}/(2n+1).

Integrate the finite geometric sum in x^2 from 0 to r and pass to the limit. The answer is \arctan r.

9. The big idea

Infinite sums can hide familiar functions. Turning fractions into integrals reveals the geometric series underneath: one integral produces a logarithm, another produces an arctangent and π. This is a small but powerful illustration of how integral transforms convert difficult-looking summations into simpler problems.

Mathematical Transforms and Their Applications. For another example of a transform simplifying a mathematical problem, read Fibonacci 100 via the Z-Transform.

Reference

James P. Lesko and Wendy D. Smith, “A Laplace Transform Technique for Evaluating Infinite Series,” Mathematics Magazine 76 (2003), 394–398. JSTOR record. The derivations and exercises above are presented independently for an introductory audience.

Leave a Reply

Your email address will not be published. Required fields are marked *