Harmonic series (mathematics)

From testwiki
Revision as of 18:14, 8 January 2025 by imported>Cewbot (Fixing broken anchor: Remove 1 notification (When checking links to Mathematics))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

n=11n=1+12+13+14+15+

Divergent means that as you add more terms the sum never stops getting bigger. It does not go towards a single finite value.

Infinite means that you can always add another term. There is no final term to the series.

Its name comes from the idea of harmonics in music: the wavelengths of the overtones of a vibrating string are 12, 13, 14, etc., of the string's fundamental wavelength. Apart from the first term, every term of the series is the harmonic mean of the terms either side of it. The phrase harmonic mean also comes from music.

History

The fact that the harmonic series diverges was first proven in the 14th century by Nicole Oresme,[1] but was forgotten. Proofs were given in the 17th century by Pietro Mengoli,[2] Johann Bernoulli,[3] and Jacob Bernoulli.[4][5]

Harmonic sequences have been used by architects. In the Baroque period architects used them in the proportions of floor plans, elevations, and in the relationships between architectural details of churches and palaces.[6]

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, where each denominator is replaced with the next-largest power of two:

1+12+13+14+15+16+17+18+19+1+12+1𝟒+14+1𝟖+1𝟖+1𝟖+18+1𝟏𝟔+

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 or equal to the sum of the second series. However, the sum of the second series is infinite:

1+(12)+(14+14)+(18+18+18+18)+(116++116)+=1+12+12+12+12+=

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

n=12k1n1+k2

for every positive integer k.

This proof, proposed by Nicole Oresme in around 1350, is considered to be a high point of medieval mathematics. It is still a standard proof taught in mathematics classes today.

Integral test

Illustration of the integral test.

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

area ofrectangles=1+12+13+14+15+

The total area under the curve y=1x from 1 to infinity is given by a divergent improper integral:

area undercurve=11xdx=.

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

n=1k1n>1k+11xdx=ln(k+1).

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 1043 terms is less than 100.[7] This is because the partial sums of the series have logarithmic growth. In particular,

n=1k1n=lnk+γ+εk(lnk)+1

where γ is the Euler–Mascheroni constant and εk12k which approaches 0 as k goes to infinity. Leonhard Euler proved both this and also that the sum which includes only the sum of the reciprocals of the primes diverges also diverges, that is:

p prime 1p=12+13+15+17+111+113+117+=.

Partial sums

Template:Main

Template:Small
n Partial sum of the harmonic series, Hn
expressed as a fraction decimal relative size
1 1 Template:0Template:Bartable
2 3 /2 Template:0Template:Bartable
3 11 /6 ~Template:Bartable
4 25 /12 ~Template:Bartable
5 137 /60 ~Template:Bartable
6 49 /20 Template:0Template:Bartable
7 363 /140 ~Template:Bartable
8 761 /280 ~Template:Bartable
9 Template:Val /Template:Val ~Template:Bartable
10 Template:Val /Template:Val ~Template:Bartable
11 Template:Val /Template:Val ~Template:Bartable
12 Template:Val /Template:Val ~Template:Bartable
13 Template:Val /Template:Val ~Template:Bartable
14 Template:Val /Template:Val ~Template:Bartable
15 Template:Val /Template:Val ~Template:Bartable
16 Template:Val /Template:Val ~Template:Bartable
17 Template:Val /Template:Val ~Template:Bartable
18 Template:Val /Template:Val ~Template:Bartable
19 Template:Val /Template:Val ~Template:Bartable
20 Template:Val /Template:Val ~Template:Bartable
21 Template:Val /Template:Val ~Template:Bartable
22 Template:Val /Template:Val ~Template:Bartable
23 Template:Val /Template:Val ~Template:Bartable
24 Template:Val /Template:Val ~Template:Bartable
25 Template:Val /Template:Val ~Template:Bartable
26 Template:Val /Template:Val ~Template:Bartable
27 Template:Val /Template:Val ~Template:Bartable
28 Template:Val /Template:Val ~Template:Bartable
29 Template:Val /Template:Val ~Template:Bartable
30 Template:Val /Template:Val ~Template:Bartable

The finite partial sums of the diverging harmonic series,

Hn=k=1n1k,

are called harmonic numbers.

The difference between Hn and ln n converges to the Euler–Mascheroni constant. The difference between any two harmonic numbers is never an integer. No harmonic numbers are integers, except for H1=1.[8]Template:Rp[9]Template:Rp

Alternating harmonic series

Template:See also

The first fourteen partial sums of the alternating harmonic series (black line segments) shown converging to the natural logarithm of 2 (red line).

The series

n=1(1)n+1n=112+1314+15

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:

112+1314+15=ln2.

The alternating harmonic series, while conditionally convergent, is not absolutely convergent: if the terms in the series are systematically rearranged, in general the sum becomes different and, dependent on the rearrangement, possibly even infinite.

The alternating harmonic series formula is a special case of the Mercator series, the Taylor series for the natural logarithm.

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

n=0(1)n2n+1=113+1517+=π4.

This is known as the Leibniz series.

General harmonic series

The general harmonic series is of the form

n=01an+b,

where a0 and b are real numbers, and ba is not zero or a negative integer.

By the limit comparison test with the harmonic series, all general harmonic series also diverge.

Template:Anchor

p-series

A generalization of the harmonic series is the p-series (or hyperharmonic series), defined as

n=11np

for any 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 p1. 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; Leonhard Euler showed it is π26. The value of the sum for p=3 is called Apéry's constant, since Roger Apéry proved that it is an irrational number.

ln-series

Related to the p-series is the ln-series, defined as

n=21n(lnn)p

for any positive real number p. This can be shown by the integral test to diverge for p1 but converge for all p>1.

φ-series

For any convex, real-valued function φ such that

lim supu0+φ(u2)φ(u)<12,

the series

n=1φ(1n)

is convergent.Template:Citation needed

Random harmonic series

The random harmonic series

n=1snn,

where the sn are independent, identically distributed random variables taking the values +1 and −1 with equal probability 12, 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[10] the properties of the random harmonic series, and showed that the convergent series 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:Val..., differing from 18 by less than 10−42. Schmuland's paper explains why this probability is so close to, but not exactly, 18. The exact value of this probability is given by the infinite cosine product integral C2[11] divided by Template:Pi.

Depleted harmonic series

Template: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.[12] In fact, when all the terms containing any particular string of digits (in any base) are removed the series converges.

Applications

The harmonic series can be counterintuitive. This is because it is a divergent series even though the terms of the series get smaller and go towards zero. The divergence of the harmonic series is the source of some paradoxes.

  • The "worm on the rubber band".[13] Suppose that a worm crawls along an infinitely-elastic one-meter rubber band at the same time as the rubber band is uniformly stretched. If the worm travels 1 centimeter per minute and the band stretches 1 meter 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
1100k=1n1k.

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 e100, a number exceeding 1043 minutes (1037 years). Although the harmonic series does diverge, it does so very slowly.

  • The Jeep problem asks how much total fuel is required for a car with a limited fuel-carrying capacity to cross a desert leaving fuel drops along the route. The distance the car can go with a given amount of fuel is related to the partial sums of the harmonic series, which grow logarithmically. And so the fuel required increases exponentially with the desired distance.
The block-stacking problem: blocks aligned according to the harmonic series bridges cleavages of any width.
  • The block-stacking problem: given a collection of identical dominoes, it is 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 they can be stacked in a way that makes the overhang as large as you want. That is, provided there are enough dominoes.[13][14]
  • A swimmer that goes faster each time they touch the wall of the pool. The swimmer starts crossing a 10-meter pool at a speed of 2 m/s, and with every crossing, 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 (ignoring special relativity), the swimmer needs to cross the pool 150 million times. Contrary to this large number, the time needed to reach a given speed depends on the sum of the series at any given number of pool crosses:
102k=1n1k.

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

References

Template:Reflist

Other websites

Template:Commons category

  1. Template:Cite book
  2. Template:Cite book
    Mengoli's proof is by contradiction:
    Let S denote the sum of the series. Group the terms of the series in triplets: S=1+(12+13+14)+(15+16+17)+(18+19+110)+ Since for x>1, 1x1+1x+1x+1>3x, then S>1+33+36+39+=1+1+12+13+=1+S, which is false for any finite S. Therefore, the series diverges.
  3. Template:Cite book
  4. Template:Cite book
  5. Template:Cite book
    From p. 250, prop. 16:
    "XVI. Summa serei infinita harmonicè progressionalium, 11+12+13+14+15 [et]c. est infinita. Id primus deprehendit Frater:…"
    [XVI. The sum of an infinite series of harmonic progression, 11+12+13+14+15+, is infinite. My brother first discovered this:…]
  6. Template:Cite book
  7. Template:Cite OEIS
  8. Julian Havil, Gamma: Exploring Euler’s Constant, Princeton University Press, 2009.
  9. Thomas J. Osler, “Partial sums of series that cannot be an integer”, The Mathematical Gazette 96, November 2012, 515–519. https://www.jstor.org/stable/24496876?seq=1#page_scan_tab_contents
  10. Template:Cite journal
  11. Template:MathWorld
  12. Template:Cite web
  13. 13.0 13.1 Template:Citation
  14. Template:Cite journal