Talk:Natural logarithm of 2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

A faster converging series[edit]

Before the new series just added, the two fastest converging series listed had ratios of successive terms which approached 1/9 and 1/16 in the limit. Thus their accuracy would increase by just under 1 decimal digit and just over 1.2 decimal digits respectively per term computed. For the new series, the limit of the ratio of successive terms is 1/961. Thus its accuracy would increase by just under 3 decimal digits per term computed. The new series may be derived as follows — first notice

which is easily verified by counting up the factors of 2, 3, and 5 (these are the only prime factors of these numbers). Thus

Then use the fact that

for n = 15, 80 and 24. JRSpriggs (talk) 00:44, 11 February 2014 (UTC)[reply]

This technique can be generalized to find the natural logarithm of many rational numbers. If A, B and C are integers, then

which uses the same information about series as is required for calculating ln(2) this way. JRSpriggs (talk) 01:48, 12 February 2014 (UTC)[reply]

We could go a stage further and use

which contain the prime factors: 2, 3, 5, 11, and 31. JRSpriggs (talk) 10:31, 21 April 2018 (UTC)[reply]

If we try to calculate an approximate value for the natural logarithm of two using just the first term in each part-series, we get

with correct digits bolded. JRSpriggs (talk) 17:40, 26 April 2018 (UTC)[reply]

Justification of a BBP series formula[edit]

Here is a justification of the series formula

which appears in the article.

1. From

which appears in natural logarithm, we get

2. The second term in the series can be converted to an integral for the time being:

3. From

we get

4. The fourth term in the series becomes another integral

Adding the first and third parts gives

Adding the second and fourth parts gives

Adding all four parts of the series together gives

Then the right hand side of the desired formula becomes

which is what was to be demonstrated. JRSpriggs (talk) 14:23, 13 February 2014 (UTC)[reply]

BBP model: could you check by carrying out k up to 3? Unless I made some gross error, it doesn't check out for me. Thanks. 63.155.84.134 (talk) 17:14, 8 September 2023 (UTC)[reply]

Why is this table here?[edit]

The lead has a table stuck onto the end, with no mention of it in the text, gving irrelevant information about the natural logs of various numbers, while this article is specifically about ln 2. Any objection to my removing the table? If not, I will move it to the article Natural logarithm. Loraof (talk) 02:31, 6 July 2017 (UTC)[reply]

Notice that the table is continued in the section Natural logarithm of 2#Bootstrapping other logarithms.
While this expands beyond the scope suggested by the article's title, I suspect that it would be better tolerated here than in the article natural logarithm which is more a general introduction and methods than about particular numerical values. JRSpriggs (talk) 05:15, 6 July 2017 (UTC)[reply]

How fast or slow is the convergence?[edit]

For the series

I figure that one would have to carry the calculation out to the k=102 term in order to get 100 digits correct to the right of the decimal place.

For the series

I figure that one would have to carry the calculation of the first part (for ln(16/15)) out to k=33, and the second part (for ln(81/80)) out to k=22, and the third part (for ln(25/24)) out to k=29. So while each part would have a significant speed up, taking them together would be only a marginal improvement. JRSpriggs (talk) 10:25, 15 April 2018 (UTC)[reply]

By one hundred digits correct, I mean that the error introduced by truncating the series after the k term would be less than . For the first series above, this means that

.
.
.
.

That is, k = 102.
In the other series, I allowed each of the three parts to have one third of the total permitted error. JRSpriggs (talk) 06:16, 17 April 2018 (UTC)[reply]

None of the series currently listed at Natural logarithm of 2#Rising alternate factorial would converge quickly enough to allow one to calculate one hundred digits correctly within the foreseeable future even with the most powerful computers. That is, as a practical matter, they do not converge. The first one listed would require one to go to the googolth term and the last would require about ten to the seventeenth power terms. Similarly, for series list at Natural logarithm of 2#Other series representations. I do not understand the Riemann-zeta function, so I cannot comment on that section. The series at Natural logarithm of 2#Binary rising constant factorial would converge, but painfully slowly, requiring hundreds of terms. JRSpriggs (talk) 04:06, 18 April 2018 (UTC)[reply]

Applying the three general series to the square of the square-root of 2[edit]

See Natural logarithm#Series for the justification of the three general series.

1. Applying the Taylor series gives:

Then I use the fact that

to get

This is preferable to the first form because it avoids cancellation which would reduce the number of correct significant digits. See loss of significance.

2. Applying the second general series gives:

Using

gives

3. Applying the fast (third) general series gives:

Using

and

gives

OK? JRSpriggs (talk) 05:27, 21 April 2018 (UTC)[reply]

Continued Fraction[edit]

I'm not sure how the notability criteria are applied to content such as this, but would it not be reasonable to include the simple continued fraction expansion of this number on the page? That's certainly what I just came here looking for, and I was surprised that it's missing, when such content appears in, for example: Pi#Continued fractions. The entries of the simple continued fraction of ln(2) are certainly documented in the expected place: OEIS A016730. -GTBacchus(talk) 17:00, 5 May 2018 (UTC)[reply]

There are two continued fraction in the section Natural logarithm of 2#Other representations. And you could copy in and specialize the continued fractions in Natural logarithm#Continued fractions. You are free to segregate these into a new "Continued fractions" section. And to add any for which you can provide reliable secondary sources. Continued fractions are not my thing, so I am not going to do it. JRSpriggs (talk) 04:15, 6 May 2018 (UTC)[reply]
Thank you; I've made an edit. :) -GTBacchus(talk) 20:15, 13 June 2018 (UTC)[reply]

Alternating Harmonic Series[edit]

I'd have said that the most interesting fact (especially for math students) about ln(2) is that it is the sum of a named series, the "alternating harmonic series". I think it should be right in the intro in its expanded form, rather than just being grouped with the other series representations. --Farry (talk) 09:14, 29 June 2018 (UTC)[reply]

Off-topic[edit]

JRSpriggs starts an edit war over several counts at once without an attempt to discuss. There are two principal dubious items: the digression about decimal logarithms and the table of ln n, n ∊ ℕ. “lack of a better place for it” is hypocrisy – firstly, there are such other places as Wikibooks and, secondly, not an sufficient argument anyway to keep off-topic in an article.

Moreover, JRSpriggs restores a mediocre schoolchild’s whitespace in “ln (2)” which is already not far from vandalism – check the changes before saving the edit, next time. Incnis Mrsi (talk) 07:48, 20 July 2019 (UTC)[reply]

Please avoid the personal attacks.
I have edited and used this article for more than five years. This appears to be your first edit of it. You removed material which has been useful to me in calculations which I have carried out.
I am not aware of any other article in wikipedia which contains or reasonably could contain this table. Perhaps this article should be renamed to "Table of natural logarithms" or "List of natural logarithms", but no one has previously suggested that.
By reverting your edit, I was not saying that every single change you made was unacceptable, just that the edit as a whole was unacceptable. Personally, I like to have a blank between the "ln" and the "(2)", but I would not have reverted you if that was the only change you made.
Also, I would not object if you moved the table down to the section Natural logarithm of 2#Bootstrapping other logarithms where the table is continued for some prime numbers. JRSpriggs (talk) 10:12, 21 July 2019 (UTC)[reply]
The snippy tone and edit summary are totally inappropriate. However, the table of natural log values shouldn't be here. It's off-topic for this article, and is especially out of place in the lead. As far as formatting, what I'd really like to see here is to eliminate the parens entirely when they're not needed. There seems to be a lot of people who like them for arguments to logs and trig functions, but for simple arguments, they're just clutter. For example:
ln 2
for <math>...</math> and {{math}} styles, respectively. –Deacon Vorbis (carbon • videos) 14:39, 21 July 2019 (UTC)[reply]
I don’t like full-width spaces, such as U+0020 and U+2003. Thin spaces are better between the function symbol and the argument. Better to ignore the tangent about summaries as Deacon Vorbis did not bother to clarify to which of (the two) edits it refers. Incnis Mrsi (talk) 14:57, 21 July 2019 (UTC)[reply]
I agree that the table of natural logs of other integers shouldn't be here. Perhaps the rows for 2, 3, 5 and 7 could be saved in the table of below, but I'm not convinced we need that table, either. I mean, it does little harm down there, but we don't exactly rely upon log tables to do arithmetic in this stage of history (and when we did, were they suitable for the middle of an encyclopedia article?). Also, having the table of numerical evidence for normal-number status in the lead makes for choppy reading; I'd move that down to the "Known digits" section. XOR'easter (talk) 15:00, 21 July 2019 (UTC)[reply]

Here are some things that are standard and some that are not:

If you write \ln 2 or \ln2 you get a space between ln and 2 that's the same in both cases, and if you write \ln(2) then the space to the right of ln is smaller. The third example among the four above is coded as \text{ln}2, and that does not have context-dependent spacing. The fourth example is coded as ln\,(2). The same thing happens with \exp and \sin and other things.

I don't think there's a need for the parentheses in but I use them in things like . Michael Hardy (talk) 05:10, 23 July 2019 (UTC)[reply]

Let me clarify: I was not using the table of logarithms to do arithmetic. I was using it for other purposes, such as testing the rate that various series converged to a logarithm and whether certain expressions (such as those appearing in this article) for logarithms were actually correct.
If you look at the references, you will see that people calculating logarithms would often calculate the logarithms of several numbers at once and perform an "adjustment" (minimizing the sum of squared errors) to get the best values. The section "Bootstrapping other logarithms" (contributed by someone else) gives a (simplified) taste of what such calculations are like. JRSpriggs (talk) 07:23, 23 July 2019 (UTC)[reply]

Another series for the natural logarithm of 2[edit]

By noting that for , and for , the following formula for can be obtained ():

By replacing x with 2, the following series for can be obtained:

Etewilak (talk) 01:58, 7 July 2021 (UTC)[reply]

Superb. Then with x=sqrt(3), ln(sqrt(3))=1/2 ln(3)= 1/2+1/(3 2^3)+1(5 2^5)+...->ln(3)=1+1/(3 2^2)+1/(5 2^4)+...nicer than (4/5) as base in numerators, and similarly,
with x=sqrt(2), (1/3) would be the base in the numerators 63.155.84.134 (talk) 17:32, 8 September 2023 (UTC)[reply]

Integral representation[edit]

Have you a reference for :? Robert FERREOL (talk) 05:58, 8 October 2023 (UTC)[reply]

Please throw away this garbage pile and write a lexicon article[edit]

A reader can easily decipher its the content of any Britannica article. Because a lexicon is written for lay people. This edit war torn garbage heap can be replaced by something proper... please? --78.54.83.142 (talk) 78.54.83.142 (talk) 11:38, 4 December 2023 (UTC)[reply]