Jump to content

Natural logarithm of 2: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m r2.5.2) (robot Modifying: zh:2的自然对数
Line 96: Line 96:
The cotangent expansion is {{OEIS2C|A081785}}
The cotangent expansion is {{OEIS2C|A081785}}
:<math> \log 2 = \cot (\arccot 0 -\arccot 1 +\arccot 5 -\arccot 55 +\arccot 14187 -\ldots) </math>.
:<math> \log 2 = \cot (\arccot 0 -\arccot 1 +\arccot 5 -\arccot 55 +\arccot 14187 -\ldots) </math>.
As an infinite sum of fractions<ref>"The Penguin's Dictionary of Curious and Interesting Numbers" by David Wells, page 29.</ref>:
:<math> \log 2 = \frac{1}{1} -\frac{1}{2} +\frac{1}{3} -\frac{1}{4} +\frac{1}{5} -\ldots </math>.
These [[generalized continued fraction]]s:
These [[generalized continued fraction]]s:
:<math> \log 2 = \log (1+1) = \cfrac{2} {2+\cfrac{1} {1+\cfrac{1} {6+\cfrac{2} {1+\cfrac{2} {10+\cfrac{3} {1+\cfrac{3} {14+\cfrac{4} {1+\ddots}}}}}}}}
:<math> \log 2 = \log (1+1) = \cfrac{2} {2+\cfrac{1} {1+\cfrac{1} {6+\cfrac{2} {1+\cfrac{2} {10+\cfrac{3} {1+\cfrac{3} {14+\cfrac{4} {1+\ddots}}}}}}}}

Revision as of 04:00, 15 January 2011

The decimal value of the natural logarithm of 2 (sequence A002162 in the OEIS) is approximately

as shown in the first line of the table below. The logarithm 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).

class="wikitable "

Series representations

( is the Euler-Mascheroni constant and Riemann's zeta function).

Some BBP type representations fall also into this category.

Representation as integrals

( is the Euler-Mascheroni constant).

Other representations

The Pierce expansion is OEISA091846

.

The Engel expansion is OEISA059180

.

The cotangent expansion is OEISA081785

.

As an infinite sum of fractions[1]:

.

These generalized continued fractions:

Bootstrapping other logarithms

Given a value of , 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 based on their factorizations

Apart from the logarithms of 2, 3, 5 and 7 shown above, this employs class="wikitable "

In a third layer, the logarithms of rational numbers are computed with , and logarithms of roots via .

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

Example

If with some small , then and therefore

.

Selecting represents by and a series of a parameter that one wishes to keep small for quick convergence. Taking , for example, generates

This is actually the third line in the following table of expansions of this type: class="wikitable "

Starting from the natural logarithm of one might use these parameters: class="wikitable "

Natural logarithm of 10

The natural logarithm of 10 (OEISA002392) plays a role for example in computation of natural logarithms of numbers represented in the Scientific notation, a mantissa mutliplied by a power of 10:

By this scaling, the algorithm may reduce the logarithm of all positive real numbers to an algorithm for natural logarithms in the range .

References

  • Brent, Richard P. (1976). "Fast multiple-precision evaluation of elementary functions". J. ACM. 23 (2): 242–251. doi:10.1145/321941.321944. MR0395314.
  • Uhler, Horace S. (1940). "Recalculation and extension of the modulus and of the logarithms of 2, 3, 5, 7 and 17". Proc. Nat. Acac. Sci. U. S. A. 26: 205–212. MR0001523.
  • Sweeney, Dura W. (1963). "On the computation of Euler's constant". Mathematics of Computation. 17. MR0160308.
  • Chamberland, Marc (2003). "Binary BBP-formulae for logarithms and generalized Gaussian-Mersenne primes" (PDF). Journal of Integer Sequences. 6: 03.3.7. MR2046407.
  • Gourévitch, Boris; Guillera Goyanes, Jesus (2007). "Construction of binomial sums for π and polylogarithmic constants inspired by BBP formulas" (PDF). Applied Math. E-Notes. 7: 237–246. MR2346048.{{cite journal}}: CS1 maint: multiple names: authors list (link)
  • Wu, Qiang (2003). "On the linear independence measure of logarithms of rational numbers". Mathematics of Computation. 72 (242): 901–911. doi:10.1090/S0025-5718-02-01442-4.

External links

  1. ^ "The Penguin's Dictionary of Curious and Interesting Numbers" by David Wells, page 29.