Harmonic number
From Wikipedia, the free encyclopedia
- The term harmonic number has multiple meanings. For other meanings, see harmonic number (disambiguation).
In mathematics, the n-th harmonic number is the sum of the reciprocals of the first n natural numbers:
This also equals n times the inverse of the harmonic mean of these natural numbers.
Harmonic numbers were studied in antiquity and are important in various branches of number theory. They are sometimes loosely termed harmonic series, are closely related to the Riemann zeta function and appear in various expressions for various special functions.
Contents |
[edit] Calculation
An integral representation is given by Euler:
This representation can be easily shown to satisfy the recurrence relation by the formula
and then
inside the integral.
Hn,1 grows about as fast as the natural logarithm of n. The reason is that the sum is approximated by the integral
whose value is ln(n). More precisely, we have the limit:
(where γ is the Euler-Mascheroni constant ), and the corresponding asymptotic expansion:
[edit] Generating functions
A generating function for the harmonic numbers is
where ln(z) is the logarithm. An exponential generating function is
where Ein(z) is the entire exponential integral. Note that
where Γ(0,z) is the incomplete gamma function.
[edit] Applications
The harmonic numbers appear in several calculation formulas, such as the digamma function:
This relation is also frequently used to define the extension of the harmonic numbers to non-integer n. The harmonic numbers are also frequently used to define γ, using the limit introduced in the previous section, although
converges more quickly.
[edit] Generalization
[edit] Generalized harmonic numbers
The generalized harmonic number of order n of m is given by
Note that the limit as n tends to infinity exists if m > 1.
Other notations occasionally used include
The special case of m = 1 is simply called a harmonic number and is frequently written without the superscript, as
In the limit of , the generalized harmonic number converges to the Riemann zeta function
The related sum occurs in the study of Bernoulli numbers; the harmonic numbers also appear in the study of Stirling numbers.
A generating function for the generalized harmonic numbers is
where Lim(z) is the polylogarithm, and | z | < 1. The generating function given above for m = 1 is a special case of this formula.
[edit] Generalization to the complex plane
Euler's integral formula for the harmonic numbers follows from the integral identity
which holds for general complex-valued s, for the suitably extended binomial coefficients. By choosing a=0, this formula gives both an integral and a series representation for a function that interpolates the harmonic numbers and extends a definition to the complex plane. This integral relation is easily derived by manipulating the Newton series
which is just the Newton's generalized binomial theorem. The interpolating function is in fact just the digamma function:
where ψ(x) is the digamma, and γ is the Euler-Mascheroni constant. The integration process may be repeated to obtain
[edit] References
- Arthur T. Benjamin, Gregory O. Preston, Jennifer J. Quinn, A Stirling Encounter with Harmonic Numbers, (2002) Mathematics Magazine, 75 (2) pp 95-103.
- Donald Knuth. The Art of Computer Programming, Volume 1: Fundamental Algorithms, Third Edition. Addison-Wesley, 1997. ISBN 0-201-89683-4. Section 1.2.7: Harmonic Numbers, pp.75–79.
- Ed Sandifer, How Euler Did It -- Estimating the Basel problem (2003)
- Weisstein, Eric W., Harmonic Number at MathWorld.
- Peter Paule and Carsten Schneider, Computer Proofs of a New Family of Harmonic Number Identities, (2003) Adv. in Appl. Math. 31(2), pp. 359-378.
- Wenchang CHU, A Binomial Coefficient Identity Associated with Beukers' Conjecture on Apery Numbers, (2004) The Electronic Journal of Combinatorics, 11, #N15.
This article incorporates material from Harmonic number on PlanetMath, which is licensed under the GFDL.