# Harmonic series (mathematics)

{{#invoke: Sidebar | collapsible }}

In mathematics, the **harmonic series** is the divergent infinite series:

Its name derives from the concept of overtones, or harmonics in music: the wavelengths of the overtones of a vibrating string are 1/2, 1/3, 1/4, etc., of the string's fundamental wavelength. Every term of the series after the first is the harmonic mean of the neighboring terms; the phrase *harmonic mean* likewise derives from music.

## History

The fact that the harmonic series diverges was first proven in the 14th century by Nicole Oresme,^{[1]} but this achievement fell into obscurity. Proofs were given in the 17th century by Pietro Mengoli,^{[2]} Johann Bernoulli,^{[3]} and Jacob Bernoulli.^{[4]}

Historically, harmonic sequences have had a certain popularity with architects. This was so particularly in the Baroque period, when architects used them to establish the proportions of floor plans, of elevations, and to establish harmonic relationships between both interior and exterior architectural details of churches and palaces.^{[5]}

## Paradoxes

The harmonic series is counterintuitive to students first encountering it, because it is a divergent series though the limit of the *n*th term as *n* goes to infinity is zero. The divergence of the harmonic series is also the source of some apparent paradoxes. One example of these is the "worm on the rubber band".^{[6]} Suppose that a worm crawls along a 1 metre rubber band at the same time as the rubber band is uniformly stretched. If the worm travels 1 centimetre per minute and the band stretches 1 metre per minute, will the worm ever reach the end of the rubber band? The answer, counterintuitively, is "yes", for after *n* minutes, the ratio of the distance travelled by the worm to the total length of the rubber band is

(In fact the actual ratio is greater than this sum as the band expands continuously)

Because the series gets arbitrarily large as *n* becomes larger, eventually this ratio must exceed 1, which implies that the worm reaches the end of the rubber band. However, the value of *n* at which this occurs must be extremely large: approximately *e*^{100}, a number exceeding 10^{40}. Although the harmonic series does diverge, it does so very slowly.

Another example is: given a collection of identical dominoes, it is clearly possible to stack them at the edge of a table so that they hang over the edge of the table without falling. The counterintuitive result is that one can stack them in such a way as to make the overhang arbitrarily large, provided there are enough dominoes.^{[6]}^{[7]}

A simpler example, on the other hand, is the swimmer that keeps adding more speed when touching the walls of the pool. The swimmer starts crossing a 10 meter pool at a speed of 2 m/s, and with every cross, another 2 m/s is added to the speed. In theory, the swimmer's speed is unlimited, but the number of pool crosses needed to get to that speed becomes very large, for instance to get to the speed of light (theoretically) the swimmer needs to cross the pool 150 million times. Contrary to this large number, the "time" required to reach a given speed depends on the sum of the series at any given number of pool crosses (iterations):

Calculating the sum (iteratively) shows that to get to the speed of light the time required is only 97 seconds.

## Divergence

There are several well-known proofs of the divergence of the harmonic series. A few of them are given below.

### Comparison test

One way to prove divergence is to compare the harmonic series with another divergent series:

Each term of the harmonic series is greater than or equal to the corresponding term of the second series, and therefore the sum of the harmonic series must be greater than the sum of the second series. However, the sum of the second series is infinite:

It follows (by the comparison test) that the sum of the harmonic series must be infinite as well. More precisely, the comparison above proves that

This proof, due to Nicole Oresme, is considered by many in the mathematical community to be a high point of medieval mathematics. It is still a standard proof taught in mathematics classes today. Cauchy's condensation test is a generalization of this argument.

### Integral test

It is possible to prove that the harmonic series diverges by comparing its sum with an improper integral. Specifically, consider the arrangement of rectangles shown in the figure to the right. Each rectangle is 1 unit wide and 1 / *n* units high, so the total area of the rectangles is the sum of the harmonic series:

However, the total area under the curve *y* = 1 / *x* from 1 to infinity is given by an improper integral:

Since this area is entirely contained within the rectangles, the total area of the rectangles must be infinite as well. More precisely, this proves that

The generalization of this argument is known as the integral test.

## Rate of divergence

The harmonic series diverges very slowly. For example, the sum of the first 10^{43} terms is less than 100.^{[8]} This is because the partial sums of the series have logarithmic growth. In particular,

where is the Euler–Mascheroni constant and which approaches 0 as goes to infinity. Leonhard Euler proved both this and also the more striking fact that the sum which includes only the reciprocals of primes also diverges, i.e.

## Partial sums

The *n*th partial sum of the diverging harmonic series,

is called the *n*th **harmonic number**.

The difference between the *n*th harmonic number and the natural logarithm of *n* converges to the Euler–Mascheroni constant.

The difference between distinct harmonic numbers is never an integer.

No harmonic numbers are integers, except for *n* = 1.^{[9]}

## Related series

### Alternating harmonic series

The series

is known as the **alternating harmonic series**. This series converges by the alternating series test. In particular, the sum is equal to the natural logarithm of 2:

This formula is a special case of the Mercator series, the Taylor series for the natural logarithm. A proof without words that the sum is was shown by Matt Hudelson.^{[10]}

A related series can be derived from the Taylor series for the arctangent:

This is known as the Leibniz Series.

### General harmonic series

The **general harmonic series** is of the form

By the comparison test, all general harmonic series diverge.
^{[11]}

*P*-series

A generalization of the harmonic series is the ** p-series** (or

**hyperharmonic series**), defined as:

for any positive real number *p*. When *p* = 1, the *p*-series is the harmonic series, which diverges. Either the integral test or the Cauchy condensation test shows that the *p*-series converges for all *p* > 1 (in which case it is called the **over-harmonic series**) and diverges for all *p* ≤ 1. If *p* > 1 then the sum of the *p*-series is ζ(*p*), i.e., the Riemann zeta function evaluated at *p*.

The problem of finding the sum for *p* = 2 is called the Basel problem. The value of the sum for *p* = 3 is called Apéry's constant.

### φ-series

For any convex, real-valued function φ such that

the series ∑_{n≥1} φ(*n*^{−1}) is convergent.

### Random harmonic series

The random harmonic series

where the *s*_{n} are independent, identically distributed random variables taking the values +1 and −1 with equal probability 1/2, is a well-known example in probability theory for a series of random variables that converges with probability 1. The fact of this convergence is an easy consequence of either the Kolmogorov three-series theorem or of the closely related Kolmogorov maximal inequality. Byron Schmuland of the University of Alberta further examined^{[12]}^{[13]} the properties of the random harmonic series, and showed that the convergent is a random variable with some interesting properties. In particular, the probability density function of this random variable evaluated at +2 or at −2 takes on the value Template:Gaps, differing from 1/8 by less than 10^{−42}. Schmuland's paper explains why this probability is so close to, but not exactly, 1/8. The exact value of this probability is given by the infinite cosine product integral ^{[14]} divided by π.

### Depleted harmonic series

{{#invoke:main|main}}
The depleted harmonic series where all of the terms in which the digit 9 appears anywhere in the denominator are removed can be shown to converge and its value is less than 80.^{[15]} In fact when terms containing any particular string of digits are removed the series converges.

## See also

## References

- ↑ Nicole Oresme (ca. 1360)
*Quastiones super Geometriam Euclidis*(Questions concerning Euclid's Geometry). - ↑ Pietro Mengoli,
*Novæ quadraturæ arithmeticæ, seu De additione fractionum*[New arithmetic quadrature (i.e., integration), or On the addition of fractions] (Bologna ("Bononiæ"), (Italy): Giacomo Monti ("Jacobi Monti"), 1650). The proof of the divergence of the harmonic series is presented in the book's preface (Præfatio).

Mengoli's proof is by contradiction:

Let S denote the sum of the series. Group the terms of the series in triplets:

S = 1 + (1/2 + 1/3 + 1/4) + (1/5 + 1/6 + 1/7) + (1/8 + 1/9 + 1/10) + …

Since for x > 1, 1/(x-1) + 1/x + 1/(x+1) > 3/x, then

S > 1 + (3/3) + (3/6) + (3/9) + … = 1 + 1 + 1/2 + 1/3 + … = 1 + S, which is false for any finite S. Therefore, the series diverges. - ↑ See: Corollary III of
*De seriebus varia*in: Johannis Bernoulli,*Opera Omnia*(Lausanne & Basel, Switzerland: Marc-Michel Bousquet & Co., 1742), vol. 4, p. 8, Corollary III. - ↑ See:
- Jacob Bernoulli,
*Propositiones arithmeticae de seriebus inﬁnitis earumque summa ﬁnita*[Arithmetical propositions about infinite series and their finite sums] (Basel, Switzerland: J. Conrad, 1689). - Jacob Bernoulli,
*Ars conjectandi, opus posthumum. Accedit Tractatus de seriebus infinitis*… [Theory of inference, posthumous work. With the "Treatise on infinite series" joined … ] (Basel, Switzerland: Thurneysen, 1713), pp. 250-251. From page 250, proposition 16:*"XVI. Summa serei infinita harmonicè progressionalium, 1/1 + 1/2 + 1/3 + 1/4 + 1/5 &c. est infinita.*

*Id primus deprehendit Frater: … "*

[My] brother first discovered it [i.e., this proof].) - Jacob Bernoulli,
- ↑ George L. Hersey,
*Architecture and Geometry in the Age of the Baroque*, p 11-12 and p37-51. - ↑
^{6.0}^{6.1}{{#invoke:citation/CS1|citation |CitationClass=citation }} - ↑ {{#invoke:citation/CS1|citation |CitationClass=citation }}
- ↑ Template:SloanesRef
- ↑ Template:Cite web
- ↑ {{#invoke:Citation/CS1|citation |CitationClass=journal }}
- ↑ Art of Problem Solving: "General Harmonic Series"
- ↑ "Random Harmonic Series",
*American Mathematical Monthly*110, 407-416, May 2003 - ↑ Schmuland's preprint of
*Random Harmonic Series* - ↑ Weisstein, Eric W. “Infinite Cosine Product Integral.” From MathWorld – a Wolfram Web Resource. http://mathworld.wolfram.com/InfiniteCosineProductIntegral.html accessed 11/14/2010
- ↑ Nick's Mathematical Puzzles: Solution 72

## External links

- {{#invoke:citation/CS1|citation

|CitationClass=citation }}

- "The Harmonic Series Diverges Again and Again",
*The AMATYC Review*, 27 (2006), pp. 31–43. Many proofs of divergence of harmonic series. - Weisstein, Eric W., "Harmonic Series",
*MathWorld*. - Weisstein, Eric W., "Book Stacking Problem",
*MathWorld*.