Natural logarithm of 2

In mathematics, the natural logarithm of 2 is the unique real number argument such that the exponential function equals two. It appears frequently in various formulas and is also given by the alternating harmonic series. The decimal value of the natural logarithm of 2 (sequence A002162 in the OEIS) truncated at 30 decimal places is given by:

The logarithm of 2 in other bases is obtained with the formula

The common logarithm in particular is (OEISA007524)

The inverse of this number is the binary logarithm of 10:

(OEISA020862).

By the Lindemann–Weierstrass theorem, the natural logarithm of any natural number other than 0 and 1 (more generally, of any positive algebraic number other than 1) is a transcendental number. It is also contained in the ring of algebraic periods.

Series representations

Rising alternate factorial

This is the well-known "alternating harmonic series".

Binary rising constant factorial

Other series representations

using
(sums of the reciprocals of decagonal numbers)

Involving the Riemann Zeta function

(γ is the Euler–Mascheroni constant and ζ Riemann's zeta function.)

BBP-type representations

(See more about Bailey–Borwein–Plouffe (BBP)-type representations.)

Applying the three general series for natural logarithm to 2 directly gives:

Applying them to gives:

Applying them to gives:

Applying them to gives:

Representation as integrals

The natural logarithm of 2 occurs frequently as the result of integration. Some explicit formulas for it include:

Other representations

The Pierce expansion is OEISA091846

The Engel expansion is OEISA059180

The cotangent expansion is OEISA081785

The simple continued fraction expansion is OEISA016730

,

which yields rational approximations, the first few of which are 0, 1, 2/3, 7/10, 9/13 and 61/88.

This generalized continued fraction:

,
also expressible as

Bootstrapping other logarithms

Given a value of ln 2, a scheme of computing the logarithms of other integers is to tabulate the logarithms of the prime numbers and in the next layer the logarithms of the composite numbers c based on their factorizations

This employs

In a third layer, the logarithms of rational numbers r =a/b are computed with ln(r) = ln(a) − ln(b), and logarithms of roots via ln nc =1/n ln(c).

The logarithm of 2 is useful in the sense that the powers of 2 are rather densely distributed; finding powers 2i close to powers bj of other numbers b is comparatively easy, and series representations of ln(b) are found by coupling 2 to b with logarithmic conversions.

Example

If ps = qt + d with some small d, then ps/qt = 1 +d/qt and therefore

Selecting q = 2 represents ln p by ln 2 and a series of a parameter d/qt that one wishes to keep small for quick convergence. Taking 32 = 23 + 1, for example, generates

This is actually the third line in the following table of expansions of this type:

Starting from the natural logarithm of q = 10 one might use these parameters:

Known digits

This is a table of recent records in calculating digits of ln 2. As of December 2018, it has been calculated to more digits than any other natural logarithm of a natural number, except that of 1.

See also

References

Uses material from the Wikipedia article Natural logarithm of 2, released under the CC BY-SA 4.0 license.