Wikipedia:Reference desk/Archives/Mathematics/2020 October 12
Mathematics desk | ||
---|---|---|
< October 11 | << Sep | October | Nov >> | October 13 > |
Welcome to the Wikipedia Mathematics Reference Desk Archives |
---|
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
October 12
editA closely related method can be used to compute the logarithm of integers. Putting in the above series, it follows that:
If the logarithm of a large integer n is known, then this series yields a fast converging series for log(n+1), with a rate of convergence of .
This part is unsourced. I'm looking for its source. Can anyone please help? 14.186.0.207 (talk) 17:50, 12 October 2020 (UTC)
- This goes back to Euler or even earlier. Euler uses this series in the book Introductio in analysin infinitorum to compute logarithms of integers in the way I've explained here. Count Iblis (talk) 18:22, 12 October 2020 (UTC)
- To me the fact that Euler used this idea to compute the log of 2, 3 and 5 is more significant than the series, which is really just a trivial transformation of the series for hyperbolic arctangent. Imo either delete the passage altogether or expand it to include a summary of the SE post. (Not to be use a reliable source btw.) I think it may only be of historical interest now, so maybe also move it into the history section. Euler can be used as a reference but I assume it's in Latin and several hundred years old so that may make the reading rather difficult. An additional source for the historical relevance would be nice as well. --RDBury (talk) 19:08, 12 October 2020 (UTC)
- PS. I found a translation here, Euler does use something very similar to the series, but not quite, toward the end of the chapter. He gives a table of log n to 25 decimals for n=2 to 10; pretty impressive considering the electronic computer won't be invented for another few centuries. Presumably you could get log 11 by expanding the series for log(121/120). --RDBury (talk) 19:35, 12 October 2020 (UTC)
- Does it matter whether is an integer? --Lambiam 21:42, 12 October 2020 (UTC)
- For the series, no. Euler only applied it to integers though. The general formula is
- where arctanh u is computed by the series
- The idea is that with a little manipulation you can reduce the computation of two or more logs to the computation of the same number of logs but with the |a-b|≪a+b so the series converge quickly. The SE post does with with log 2, log 3 and log 5, but you can generate similar examples ad nauseam, e.g.:
- Similarly log 2, log 3, log 5 and log 7 can be written as integer combinations of log(49/48), log(50/49), log(64/63) and log(81/80), starting with
- But I assume this is mainly of historical interest since presumably the methods laid out in the next two sections (AGM and Feynman) supersede this idea. --RDBury (talk) 09:25, 13 October 2020 (UTC)
- For the series, no. Euler only applied it to integers though. The general formula is
- Speaking of Feynman, and reading ahead a bit, is anyone able to find a more concrete description of the Feynman algorithm other than the Physics Today article? The article (or a reasonable facsimile) is available here, but it's very vague about how the algorithm would actually work. Other than a few confused SE posts referencing either that article or the WP article I couldn't find anything any more specific. One of the claims in the PT article, that every number between 1 and 2 has a unique representation as a product of factors of the form (1+2-k) is easy to disprove and is covered in the SE posts. For example:
- The WP article gives somewhat more detail than is given in the PT article, so it's tempting to give it a {{Failed verification}} tag, but it's an edge case. --RDBury (talk) 12:16, 13 October 2020 (UTC)
- @RDBury: doesn’t sound like an edge case to me; rather clear-cut, actually. Certainly worth a talk-page comment! —JBL (talk) 12:05, 14 October 2020 (UTC)
- @JBL:: The thing is the method seems like a valid and efficient way of computing logarithms and probably the only way that the brief outline given in the PT article could be fleshed out into a working method. (Some of the wording, however, might imply the actual representation used is a product of factors of the form (1-2-k)-1, which seems a bit simpler to me.) PT is, by Wikipedia standards, a reliable source, but it's like trying to figure out quantum mechanics from an article about Brian Cox in People magazine. --RDBury (talk) 02:44, 15 October 2020 (UTC)
- PS. I went ahead and added a 'single source' tag. --RDBury (talk) 03:14, 15 October 2020 (UTC)
- @JBL:: The thing is the method seems like a valid and efficient way of computing logarithms and probably the only way that the brief outline given in the PT article could be fleshed out into a working method. (Some of the wording, however, might imply the actual representation used is a product of factors of the form (1-2-k)-1, which seems a bit simpler to me.) PT is, by Wikipedia standards, a reliable source, but it's like trying to figure out quantum mechanics from an article about Brian Cox in People magazine. --RDBury (talk) 02:44, 15 October 2020 (UTC)
- @RDBury: doesn’t sound like an edge case to me; rather clear-cut, actually. Certainly worth a talk-page comment! —JBL (talk) 12:05, 14 October 2020 (UTC)