Array ( [0] => {{short description|Mathematical function, inverse of an exponential function}} [1] => {{Use dmy dates|date=June 2020}} [2] => {{Use American English|date=January 2024}} [3] => [4] => [[File:Logarithm plots.png|right|thumb|upright=1.35|Plots of logarithm functions, with three commonly used bases. The special points {{math|log''b'' ''b'' {{=}} 1}} are indicated by dotted lines, and all curves intersect in {{math|1=log''b'' 1 = 0}}.]] [5] => [6] => {{Arithmetic operations}} [7] => In [[mathematics]], the '''logarithm''' is the [[inverse function]] to [[exponentiation]]. That means that the logarithm of a number {{mvar|x}} to the '''base''' {{mvar|b}} is the [[exponent]] to which {{mvar|b}} must be raised to produce {{mvar|x}}. For example, since {{math|1000 {{=}} 103}}, the ''logarithm base'' 10 of {{math|1000}} is {{math|3}}, or {{math|log10 (1000) {{=}} 3}}. The logarithm of {{mvar|x}} to ''base'' {{mvar|b}} is denoted as {{math|log''b'' (''x'')}}, or without parentheses, {{math|log''b'' ''x''}}. When the base is clear from the context or is irrelevant, such as in [[big O notation]], it is sometimes written {{math|log ''x''}}. [8] => [9] => The logarithm base {{math|10}} is called the ''decimal'' or [[common logarithm|''common'' logarithm]] and is commonly used in science and engineering. The [[natural logarithm|''natural'' logarithm]] has the number [[e (mathematical constant)|{{math|''e'' ≈ 2.718}}]] as its base; its use is widespread in mathematics and [[physics]], because of its very simple [[derivative]]. The [[binary logarithm|''binary'' logarithm]] uses base {{math|2}} and is frequently used in [[computer science]]. [10] => [11] => Logarithms were introduced by [[John Napier]] in 1614 as a means of simplifying calculations.{{citation|url=http://archive.org/details/johnnapierinvent00hobsiala|title=John Napier and the invention of logarithms, 1614; a lecture|last=Hobson|first=Ernest William|date=1914|publisher=Cambridge : University Press|others=University of California Libraries}} They were rapidly adopted by navigators, scientists, engineers, [[Surveying|surveyors]], and others to perform high-accuracy computations more easily. Using [[Mathematical_table#Tables_of_logarithms|logarithm tables]], tedious multi-digit multiplication steps can be replaced by table look-ups and simpler addition. This is possible because the logarithm of a [[product (mathematics)|product]] is the [[summation|sum]] of the logarithms of the factors: [12] => \log_b(xy) = \log_b x + \log_b y, [13] => provided that {{mvar|b}}, {{mvar|x}} and {{mvar|y}} are all positive and {{math|''b'' ≠ 1}}. The [[slide rule]], also based on logarithms, allows quick calculations without tables, but at lower precision. The present-day notion of logarithms comes from [[Leonhard Euler]], who connected them to the [[exponential function]] in the 18th century, and who also introduced the letter {{mvar|e}} as the base of natural logarithms.{{citation|title=Theory of complex functions|last=Remmert, Reinhold.|date=1991|publisher=Springer-Verlag|isbn=0387971955|location=New York|oclc=21118309}} [14] => [15] => [[Logarithmic scale]]s reduce wide-ranging quantities to smaller scopes. For example, the [[decibel]] (dB) is a [[Units of measurement|unit]] used to express [[Level (logarithmic quantity)|ratio as logarithms]], mostly for signal power and amplitude (of which [[sound pressure]] is a common example). In chemistry, [[pH]] is a logarithmic measure for the [[acid]]ity of an [[aqueous solution]]. Logarithms are commonplace in scientific [[formula]]e, and in measurements of the [[Computational complexity theory|complexity of algorithms]] and of geometric objects called [[fractal]]s. They help to describe [[frequency]] ratios of [[Interval (music)|musical intervals]], appear in formulas counting [[prime number]]s or [[Stirling's approximation|approximating]] [[factorial]]s, inform some models in [[psychophysics]], and can aid in [[forensic accounting]]. [16] => [17] => The concept of logarithm as the inverse of exponentiation extends to other mathematical structures as well. However, in general settings, the logarithm tends to be a multi-valued function. For example, the [[complex logarithm]] is the multi-valued [[inverse function|inverse]] of the complex exponential function. Similarly, the [[discrete logarithm]] is the multi-valued inverse of the exponential function in finite groups; it has uses in [[public-key cryptography]]. [18] => [19] => ==Motivation== [20] => [[File: Binary logarithm plot with grid.png|right|thumb|upright=1.35|alt=Graph showing a logarithmic curve, crossing the ''x''-axis at ''x''= 1 and approaching minus infinity along the ''y''-axis.|The [[graph of a function|graph]] of the logarithm base 2 crosses the [[x axis|''x''-axis]] at {{math|''x'' {{=}} 1}} and passes through the points {{nowrap|(2, 1)}}, {{nowrap|(4, 2)}}, and {{nowrap|(8, 3)}}, depicting, e.g., {{math|log2(8) {{=}} 3}} and {{math|23 {{=}} 8}}. The graph gets arbitrarily close to the {{mvar|y}}-axis, but [[asymptotic|does not meet it]].]] [21] => [[Addition]], [[multiplication]], and [[exponentiation]] are three of the most fundamental arithmetic operations. The inverse of addition is subtraction, and the inverse of multiplication is [[division (mathematics)|division]]. Similarly, a logarithm is the inverse operation of [[exponentiation]]. Exponentiation is when a number {{mvar|b}}, the ''base'', is raised to a certain power {{mvar|y}}, the ''exponent'', to give a value {{mvar|x}}; this is denoted [22] => b^y=x. [23] => For example, raising {{math|2}} to the power of {{math|3}} gives {{math|8}}: 2^3 = 8. [24] => [25] => The logarithm of base {{mvar|b}} is the inverse operation, that provides the output {{mvar|y}} from the input {{mvar|x}}. That is, y = \log_b x is equivalent to x=b^y if {{mvar|b}} is a positive [[real number]]. (If {{mvar|b}} is not a positive real number, both exponentiation and logarithm can be defined but may take several values, which makes definitions much more complicated.) [26] => [27] => One of the main historical motivations of introducing logarithms is the formula [28] => \log_b(xy)=\log_b x + \log_b y, [29] => by which [[logarithm table|tables of logarithms]] allow multiplication and division to be reduced to addition and subtraction, a great aid to calculations before the invention of computers. [30] => [31] => ==Definition== [32] => Given a positive [[real number]] {{mvar|b}} such that {{math|''b'' ≠ 1}}, the ''logarithm'' of a positive real number {{mvar|x}} with respect to base {{mvar|b}}{{refn|The restrictions on {{mvar|x}} and {{mvar|b}} are explained in the section [[#Analytic properties|"Analytic properties"]].|group=nb}} is the exponent by which {{mvar|b}} must be raised to yield {{mvar|x}}. In other words, the logarithm of {{mvar|x}} to base {{mvar|b}} is the unique real number {{mvar|y}} such that b^y = x.{{Citation|last1=Kate|first1=S.K.|last2=Bhapkar|first2=H.R.|title=Basics Of Mathematics|location=Pune|publisher=Technical Publications|isbn=978-81-8431-755-8|year=2009 }}, chapter 1 [33] => [34] => The logarithm is denoted "{{math|log''b'' ''x''}}" (pronounced as "the logarithm of {{mvar|x}} to base {{mvar|b}}", "the {{nowrap|base-{{mvar|b}}}} logarithm of {{mvar|x}}", or most commonly "the log, base {{mvar|b}}, of {{mvar|x}}"). [35] => [36] => An equivalent and more succinct definition is that the function {{math|log''b''}} is the [[inverse function]] to the function x\mapsto b^x. [37] => [38] => ===Examples=== [39] => * {{math|1=log2 16 = 4}}, since {{math|1=24 = 2 × 2 × 2 × 2 = 16}}. [40] => * Logarithms can also be negative: \log_2 \! \frac{1}{2} = -1 since 2^{-1} = \frac{1}{2^1} = \frac{1}{2}. [41] => * {{math|log10 150}} is approximately 2.176, which lies between 2 and 3, just as 150 lies between {{math|1=102 = 100}} and {{math|1=103 = 1000}}. [42] => * For any base {{mvar|b}}, {{math|1=log''b'' ''b'' = 1}} and {{math|1= log''b'' 1 = 0}}, since {{math|1=''b''1 = {{mvar|b}}}} and {{math|1=''b''0 = 1}}, respectively. [43] => [44] => ==Logarithmic identities== [45] => {{Main|List of logarithmic identities}} [46] => [47] => Several important formulas, sometimes called ''logarithmic identities'' or ''logarithmic laws'', relate logarithms to one another.All statements in this section can be found in {{Harvard citations|last1=Downing| first1=Douglas |year=2003|loc=p. 275|nb=yes}} or {{Harvard citations|last1=Kate|last2=Bhapkar|year=2009|loc=p. 1-1|nb=yes}}, for example. [48] => [49] => ===Product, quotient, power, and root=== [50] => The logarithm of a product is the sum of the logarithms of the numbers being multiplied; the logarithm of the ratio of two numbers is the difference of the logarithms. The logarithm of the {{Mvar|p}}-th power of a number is ''{{Mvar|p}} ''times the logarithm of the number itself; the logarithm of a {{Mvar|p}}-th root is the logarithm of the number divided by {{Mvar|p}}. The following table lists these identities with examples. Each of the identities can be derived after substitution of the logarithm definitions x = b^{\, \log_b x} or y = b^{\, \log_b y} in the left hand sides. [51] => [52] => {| class="wikitable" style="margin: 0 auto;" [53] => |- [54] => ! !! Formula !! Example [55] => |- [56] => | Product|| \log_b(x y) = \log_b x + \log_b y [57] => | \log_3 243 = \log_3 (9 \cdot 27) = \log_3 9 + \log_3 27 = 2 + 3 = 5 [58] => |- [59] => | Quotient || \log_b \!\frac{x}{y} = \log_b x - \log_b y [60] => | \log_2 16 = \log_2 \!\frac{64}{4} = \log_2 64 - \log_2 4 = 6 - 2 = 4 [61] => |- [62] => | Power || \log_b\left(x^p\right) = p \log_b x [63] => | \log_2 64 = \log_2 \left(2^6\right) = 6 \log_2 2 = 6 [64] => |- [65] => | Root || \log_b \sqrt[p]{x} = \frac{\log_b x}{p} [66] => | \log_{10} \sqrt{1000} = \frac{1}{2}\log_{10} 1000 = \frac{3}{2} = 1.5 [67] => |} [68] => [69] => ===Change of base=== [70] => The logarithm {{math|log''b'' ''x''}} can be computed from the logarithms of {{mvar|x}} and {{mvar|b}} with respect to an arbitrary base {{Mvar|k}} using the following formula:{{refn|group=nb|''Proof:'' [71] => Taking the logarithm to base {{mvar|k}} of the defining identity x = b^{\log_b x}, one gets [72] => \log_k x = \log_k \left(b^{\log_b x}\right) = \log_b x \cdot \log_k b. [73] => The formula follows by solving for \log_b x.}} [74] => \log_b x = \frac{\log_k x}{\log_k b}. [75] => [76] => Typical [[scientific calculators]] calculate the logarithms to bases 10 and {{mvar|[[e (mathematical constant)|e]]}}.{{Citation | last1=Bernstein | first1=Stephen | last2=Bernstein | first2=Ruth | title=Schaum's outline of theory and problems of elements of statistics. I, Descriptive statistics and probability | publisher=[[McGraw-Hill]] | location=New York | series=Schaum's outline series | isbn=978-0-07-005023-5 | year=1999 | url=https://archive.org/details/schaumsoutlineof00bern }}, p. 21 Logarithms with respect to any base {{mvar|b}} can be determined using either of these two logarithms by the previous formula: [77] => \log_b x = \frac{\log_{10} x}{\log_{10} b} = \frac{\log_{e} x}{\log_{e} b}. [78] => [79] => Given a number {{mvar|x}} and its logarithm {{math|1=''y'' = log''b'' ''x''}} to an unknown base {{mvar|b}}, the base is given by: [80] => [81] => b = x^\frac{1}{y}, [82] => [83] => which can be seen from taking the defining equation x = b^{\,\log_b x} = b^y to the power of \tfrac{1}{y}. [84] => [85] => ==Particular bases== [86] => [[File:Log4.svg|thumb|upright=1.2|Overlaid graphs of the logarithm for bases {{sfrac| 1 | 2 }}, 2, and {{mvar|e}}]] [87] => [88] => Among all choices for the base, three are particularly common. These are {{math| ''b'' {{=}} 10}}, {{math| ''b'' {{=}} [[e (mathematical constant)|''e'']]}} (the [[Irrational number|irrational]] mathematical constant {{nobr|{{math|[[e (mathematical constant)|''e'']] ≈ 2.71828183 }} ),}} and {{math| ''b'' {{=}} 2}} (the [[binary logarithm]]). In [[mathematical analysis]], the logarithm base {{mvar|e}} is widespread because of analytical properties explained below. On the other hand, {{nobr|base 10}} logarithms (the [[common logarithm]]) are easy to use for manual calculations in the [[decimal]] number system: [89] => {{cite book [90] => |last=Downing |first=Douglas [91] => |year=2003 [92] => |title=Algebra the Easy Way [93] => |at=chapter 17, p. 275 [94] => |series=Barron's Educational Series [95] => |location=Hauppauge, NY [96] => |publisher=Barron's [97] => |isbn=978-0-7641-1972-9 [98] => |url=https://archive.org/details/algebraeasyway00down_0 [99] => }} [100] => [101] => [102] => :\ \log_{10}(\ 10\ x\ )\ =\ \log_{10} 10\ +\ \log_{10} x\ =\ 1\ +\ \log_{10} x ~. [103] => [104] => Thus, {{math|log10 (''x'')}} is related to the number of [[decimal digit]]s of a positive integer {{mvar|x}}: The number of digits is the smallest [[integer]] strictly bigger than {{nobr| {{math| log10 (''x'')}} .}} [105] => {{cite book [106] => |last = Wegener |first = Ingo [107] => |year = 2005 [108] => |title = Complexity Theory: Exploring the limits of efficient algorithms [109] => |publisher = [[Springer-Verlag]] [110] => |location = Berlin, DE / New York, NY [111] => |isbn = 978-3-540-21045-0 [112] => |page = 20 [113] => }} [114] => [115] => For example, {{math|log10(5986)}} is approximately 3.78 . The [[Floor and ceiling functions|next integer above]] it is 4, which is the number of digits of 5986. Both the natural logarithm and the binary logarithm are used in [[information theory]], corresponding to the use of [[nat (unit)|nat]]s or [[bit]]s as the fundamental units of information, respectively. [116] => {{cite book [117] => |first = Jan C.A. |last = van der Lubbe [118] => |year = 1997 [119] => |title = Information Theory [120] => |publisher = Cambridge University Press [121] => |isbn = 978-0-521-46760-5 [122] => |page = 3 [123] => |url = {{google books |plainurl=y |id=tBuI_6MQTcwC|page=3}} [124] => }} [125] => [126] => Binary logarithms are also used in [[computer science]], where the [[binary numeral system|binary system]] is ubiquitous; in [[music theory]], where a pitch ratio of two (the [[octave]]) is ubiquitous and the number of [[cent (music)|cents]] between any two pitches is a scaled version of the binary logarithm, or log 2 times 1200, of the pitch ratio (that is, 100 cents per [[semitone]] in [[12 tone equal temperament|conventional equal temperament]]), or equivalently the log base {{nobr| {{math|2{{sup|1/1200}} }} ;}} and in [[photography]] rescaled base 2 logarithms are used to measure [[exposure value]]s, [[luminance|light levels]], [[exposure time]]s, lens [[aperture]]s, and [[film speed]]s in "stops". [127] => {{cite book [128] => |first1 = Elizabeth |last1 = Allen [129] => |first2 = Sophie |last2 = Triantaphillidou [130] => |year = 2011 [131] => |title = The Manual of Photography [132] => |publisher = Taylor & Francis [133] => |isbn = 978-0-240-52037-7 [134] => |page = 228 [135] => |url = {{google books |plainurl=y |id=IfWivY3mIgAC|page=228}} [136] => }} [137] => [138] => [139] => Many disciplines write {{nobr| {{math|log ''x''}} }} as an abbreviation for {{nobr|{{math|log''b'' ''x''}} }} when the intended base can be inferred based on the context or discipline (or when the base is indeterminate or immaterial). In computer science, {{Math|log}} usually refers to {{math|log2}}, and in mathematics {{math|log}} usually refers to {{nobr| {{math|log''e''}} .}} [140] => {{cite book [141] => |first1 = Michael T. |last1 = Goodrich |author1-link = Michael T. Goodrich [142] => |first2 = Roberto |last2 = Tamassia |author2-link = Roberto Tamassia [143] => |year = 2002 [144] => |title = Algorithm Design: Foundations, analysis, and internet examples [145] => |publisher = John Wiley & Sons [146] => |page = 23 [147] => |quote = One of the interesting and sometimes even surprising aspects of the analysis of data structures and algorithms is the ubiquitous presence of logarithms ... As is the custom in the computing literature, we omit writing the base {{mvar|b}} of the logarithm when {{nobr| {{math| ''b'' {{=}} 2}} .}} [148] => }} [149] => [150] => In other contexts, {{math|log}} often means {{nobr| {{math|log{{sub|10}} }} .}} [151] => {{cite book [152] => |first = David F. |last = Parkhurst [153] => |year = 2007 [154] => |title = Introduction to Applied Mathematics for Environmental Science |edition=illustrated [155] => |publisher = Springer Science & Business Media [156] => |isbn = 978-0-387-34228-3 [157] => |page = 288 [158] => |url = {{google books |plainurl=y |id=h6yq_lOr8Z4C|page=288 }} [159] => }} [160] => [161] => The following table lists common notations for logarithms to these bases and the fields where they are used. The "ISO notation" column lists designations suggested by the [[International Organization for Standardization]]. [162] => {{cite report [163] => |department = Quantities and units [164] => |title = {{grey|[title not cited]}} [165] => |section = Part 2: Mathematics [166] => |year = 2019 [167] => |id = {{nobr| [[ISO 80000-2|ISO 80000-2]]:2019 }} / {{nobr| EN [[ISO 80000-2|ISO 80000-2]] }} [168] => |publisher=[[International Organization for Standardization]] [169] => }} [170] => : [171] => ''See also'' [[ISO 80000-2]] . [172] => [173] => [174] => :{| class="wikitable" style="text-align:center; margin:1em auto 1em auto;" [175] => |- [176] => !scope="col"| Base {{mvar|b}} [177] => !scope="col"| Name for log''b'' ''x'' [178] => !scope="col"| ISO notation [179] => !scope="col"| Other notations [180] => !scope="col"| Used in [181] => |- [182] => !scope="row"| 2 [183] => | [[binary logarithm]] [184] => | {{math|lb ''x''}} [185] => {{cite book [186] => | last = Gullberg | first = Jan [187] => | year = 1997 [188] => | title = Mathematics: From the birth of numbers [189] => | location = New York, NY [190] => | publisher = W.W. Norton & Co [191] => | isbn = 978-0-393-04002-9 [192] => | url-access = registration [193] => | url = https://archive.org/details/mathematicsfromb1997gull [194] => }} [195] => [196] => | {{math|ld ''x''}}, {{math|log ''x''}}, {{math|lg ''x''}}, [197] => {{cite journal [198] => | last1 = Perl |first1 = Yehoshua [199] => | last2 = Reingold |first2 = Edward M. [200] => | date = December 1977 [201] => | title = Understanding the complexity of interpolation search [202] => | journal = [[Information Processing Letters]] [203] => | volume = 6 |issue = 6 |pages = 219–222 ; footnote 1 [204] => | doi = 10.1016/0020-0190(77)90072-2 [205] => }} [206] => {{math|log2 ''x''}} [207] => | [[computer science]], [[information theory]], [[bioinformatics]], [[music theory]], [[photography]] [208] => |- [209] => ! scope="row"|{{mvar|e}} [210] => | [[natural logarithm]] [211] => | {{math|ln ''x''}} {{refn|name=adaa|group=nb|z [212] => Some mathematicians disapprove of this notation. In his 1985 autobiography, [[Paul Halmos]] criticized what he considered the "childish {{math|ln}} notation", which he said no mathematician had ever used. [213] => {{cite book [214] => |first = P. |last = Halmos |author-link = Paul Halmos [215] => |year = 1985 [216] => |title = I Want to be a Mathematician: An automathography [217] => |publisher = Springer-Verlag [218] => |location = Berlin, DE / New York, NY [219] => |isbn = 978-0-387-96078-4 [220] => }} [221] => The notation was invented by the 19th century mathematician [[Irving Stringham|I. Stringham]]. [222] => {{cite book [223] => |first = I. |last = Stringham |author-link=Irving Stringham [224] => |year = 1893 [225] => |title = Uniplanar Algebra [226] => |publisher = The Berkeley Press [227] => |page = {{mvar|xiii}} [228] => |url = {{google books |plainurl=y |id=hPEKAQAAIAAJ|page=13}} [229] => |quote = Being part I of a propædeutic to the higher mathematical analysis [230] => }} [231] => [232] => {{cite book [233] => |first = Roy S. |last=Freedman [234] => |year = 2006 [235] => |title = Introduction to Financial Technology [236] => |publisher = Academic Press [237] => |location=Amsterdam [238] => |isbn=978-0-12-370478-8 [239] => |page = 59 [240] => |url = {{google books |plainurl=y |id=APJ7QeR_XPkC|page=5}} [241] => }} [242] => [243] => }} [244] => | {{math|log {{mvar|x}}}}
(in mathematics [245] => {{cite book [246] => |last = Rudin |first = Walter [247] => |year = 1984 [248] => |section = Theorem 3.29 [249] => |title = Principles of Mathematical Analysis |edition=3rd ed., International student [250] => |publisher = McGraw-Hill International [251] => |location = Auckland, NZ [252] => |isbn = 978-0-07-085613-4 [253] => |url = https://archive.org/details/principlesofmath00rudi [254] => }} [255] => and many [[programming language]]s{{refn|group=nb| [256] => For example [[C (programming language)|C]], [[Java (programming language)|Java]], [[Haskell (programming language)|Haskell]], and [[BASIC programming language|BASIC]]. [257] => }}), {{math|log''e'' ''x''}} [258] => | mathematics, physics, chemistry,
[[statistics]], [[economics]], information theory, and engineering [259] => |- [260] => !scope="row"| 10 [261] => | [[common logarithm]] [262] => | {{math|lg ''x''}} [263] => | {{math|log ''x''}}, {{math|log10 ''x''}}
(in engineering, biology, astronomy) [264] => | various [[engineering]] fields (see [[decibel]] and see below),
logarithm [[Mathematical table|tables]], handheld [[Scientific calculator|calculators]], [[spectroscopy]] [265] => |- [266] => !scope="row"| {{mvar|b}} [267] => | logarithm to base {{mvar|b}} [268] => | {{math|log''b'' ''x''}} [269] => | [270] => | mathematics [271] => |} [272] => [273] => ==History== [274] => {{Main|History of logarithms}} [275] => The history of logarithms in seventeenth-century Europe saw the discovery of a new [[function (mathematics)|function]] that extended the realm of analysis beyond the scope of algebraic methods. The method of logarithms was publicly propounded by [[John Napier]] in 1614, in a book titled ''[[Mirifici Logarithmorum Canonis Descriptio]]'' (''Description of the Wonderful Canon of Logarithms'').{{citation |first=John |last=Napier |author-link=John Napier |title=Mirifici Logarithmorum Canonis Descriptio |trans-title=The Description of the Wonderful Canon of Logarithms |language=la |location=Edinburgh, Scotland |publisher=Andrew Hart |year=1614 |url=http://gdz.sub.uni-goettingen.de/dms/load/img/?PPN=PPN527914568&DMDID=DMDLOG_0001&LOGID=LOG_0001&PHYSID=PHYS_0001 }} {{pb}} The sequel ''... Constructio'' was published posthumously: {{pb}} {{citation |first=John |last=Napier |author-link=John Napier |title=Mirifici Logarithmorum Canonis Constructio |trans-title=The Construction of the Wonderful Rule of Logarithms |language=la |location=Edinburgh |publisher=Andrew Hart |year=1619 }} {{pb}} Ian Bruce has made an [http://17centurymaths.com/contents/napiercontents.html annotated translation of both books] (2012), available from 17centurymaths.com.{{Citation|first=Ernest William |last=Hobson|title=John Napier and the invention of logarithms, 1614|year=1914|publisher=The University Press|location=Cambridge|url=https://archive.org/details/johnnapierinvent00hobsiala}} Prior to Napier's invention, there had been other techniques of similar scopes, such as the [[prosthaphaeresis]] or the use of tables of progressions, extensively developed by [[Jost Bürgi]] around 1600.{{citation | last1 = Folkerts | first1 = Menso | last2 = Launert | first2 = Dieter | last3 = Thom | first3 = Andreas | arxiv = 1510.03180 | doi = 10.1016/j.hm.2016.03.001 | issue = 2 | journal = [[Historia Mathematica]] | mr = 3489006 | pages = 133–147 | title = Jost Bürgi's method for calculating sines | volume = 43 | year = 2016| s2cid = 119326088 }}{{mactutor|id=Burgi|title=Jost Bürgi (1552 – 1632)}} Napier coined the term for logarithm in Middle Latin, "logarithmus," derived from the Greek, literally meaning, "ratio-number," from ''logos'' "proportion, ratio, word" + ''arithmos'' "number". [276] => [277] => The [[common logarithm]] of a number is the index of that power of ten which equals the number.William Gardner (1742) ''Tables of Logarithms'' Speaking of a number as requiring so many figures is a rough allusion to common logarithm, and was referred to by [[Archimedes]] as the "order of a number".{{citation | last = Pierce | first = R. C. Jr. | date = January 1977 | doi = 10.2307/3026878 | issue = 1 | journal = [[The Two-Year College Mathematics Journal]] | jstor = 3026878 | pages = 22–26 | title = A brief history of logarithms | volume = 8}} The first real logarithms were heuristic methods to turn multiplication into addition, thus facilitating rapid computation. Some of these methods used tables derived from trigonometric identities.Enrique Gonzales-Velasco (2011) ''Journey through Mathematics – Creative Episodes in its History'', §2.4 Hyperbolic logarithms, p. 117, Springer {{isbn|978-0-387-92153-2}} Such methods are called [[prosthaphaeresis]]. [278] => [279] => Invention of the [[function (mathematics)|function]] now known as the [[natural logarithm]] began as an attempt to perform a [[quadrature (mathematics)|quadrature]] of a rectangular [[hyperbola]] by [[Grégoire de Saint-Vincent]], a Belgian Jesuit residing in Prague. Archimedes had written ''[[The Quadrature of the Parabola]]'' in the third century BC, but a quadrature for the hyperbola eluded all efforts until Saint-Vincent published his results in 1647. The relation that the logarithm provides between a [[geometric progression]] in its [[argument of a function|argument]] and an [[arithmetic progression]] of values, prompted [[A. A. de Sarasa]] to make the connection of Saint-Vincent's quadrature and the tradition of logarithms in [[prosthaphaeresis]], leading to the term "hyperbolic logarithm", a synonym for natural logarithm. Soon the new function was appreciated by [[Christiaan Huygens]], and [[James Gregory (mathematician)|James Gregory]]. The notation Log y was adopted by [[Gottfried Wilhelm Leibniz|Leibniz]] in 1675,[[Florian Cajori]] (1913) "History of the exponential and logarithm concepts", [[American Mathematical Monthly]] 20: 5, 35, 75, 107, 148, 173, 205. and the next year he connected it to the [[integral calculus|integral]] \int \frac{dy}{y} . [280] => [281] => Before Euler developed his modern conception of complex natural logarithms, [[Roger Cotes#Mathematics|Roger Cotes]] had a nearly equivalent result when he showed in 1714 that{{citation |last1=Stillwell |first1=J. |title=Mathematics and Its History |date=2010 |publisher=Springer |edition=3rd}} [282] => \log(\cos \theta + i\sin \theta) = i\theta. [283] => [284] => ==Logarithm tables, slide rules, and historical applications{{anchor|Antilogarithm}}== [285] => [[Image:Logarithms Britannica 1797.png|thumb|360px|right|The 1797 ''[[Encyclopædia Britannica]]'' explanation of logarithms]] [286] => [287] => By simplifying difficult calculations before calculators and computers became available, logarithms contributed to the advance of science, especially [[astronomy]]. They were critical to advances in [[surveying]], [[celestial navigation]], and other domains. [[Pierre-Simon Laplace]] called logarithms [288] => [289] => ::"...[a]n admirable artifice which, by reducing to a few days the labour of many months, doubles the life of the astronomer, and spares him the errors and disgust inseparable from long calculations."{{Citation |last1=Bryant |first1=Walter W. |title=A History of Astronomy |url=https://archive.org/stream/ahistoryastrono01bryagoog#page/n72/mode/2up |publisher=Methuen & Co|location=London |year=1907 }}, p. 44 [290] => [291] => As the function {{math|''f''(''x'') {{=}} {{mvar|b}}''x''}} is the inverse function of {{math|1=log''b'' ''x''}}, it has been called an '''antilogarithm'''.{{Citation|editor1-last=Abramowitz|editor1-first=Milton|editor1-link=Milton Abramowitz|editor2-last=Stegun|editor2-first=Irene A.|editor2-link=Irene Stegun|title=Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables|publisher=[[Dover Publications]]|location=New York|isbn=978-0-486-61272-0|edition=10th|year=1972|title-link=Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables}}, section 4.7., p. 89 Nowadays, this function is more commonly called an [[exponential function]]. [292] => [293] => ===Log tables=== [294] => A key tool that enabled the practical use of logarithms was the ''[[log table|table of logarithms]]''.{{Citation | last1=Campbell-Kelly | first1=Martin | title=The history of mathematical tables: from Sumer to spreadsheets|title-link= The History of Mathematical Tables | publisher=[[Oxford University Press]] | series=Oxford scholarship online | isbn=978-0-19-850841-0 | year=2003}}, section 2 The first such table was compiled by [[Henry Briggs (mathematician)|Henry Briggs]] in 1617, immediately after Napier's invention but with the innovation of using 10 as the base. Briggs' first table contained the [[common logarithm]]s of all integers in the range from 1 to 1000, with a precision of 14 digits. Subsequently, tables with increasing scope were written. These tables listed the values of {{math|log10 ''x''}} for any number {{mvar|x}} in a certain range, at a certain precision. Base-10 logarithms were universally used for computation, hence the name common logarithm, since numbers that differ by factors of 10 have logarithms that differ by integers. The common logarithm of {{mvar|x}} can be separated into an [[integer part]] and a [[fractional part]], known as the characteristic and [[mantissa (logarithm)|mantissa]]. Tables of logarithms need only include the mantissa, as the characteristic can be easily determined by counting digits from the decimal point.{{Citation | last1=Spiegel | first1=Murray R. | last2=Moyer | first2=R.E. | title=Schaum's outline of college algebra | publisher=[[McGraw-Hill]] | location=New York | series=Schaum's outline series | isbn=978-0-07-145227-4 | year=2006}}, p. 264 The characteristic of {{math|10 · {{mvar|x}}}} is one plus the characteristic of {{mvar|x}}, and their mantissas are the same. Thus using a three-digit log table, the logarithm of 3542 is approximated by [295] => [296] => \log_{10}3542 = \log_{10}(1000 \cdot 3.542) = 3 + \log_{10}3.542 \approx 3 + \log_{10}3.54 [297] => [298] => Greater accuracy can be obtained by [[interpolation]]: [299] => [300] => \log_{10}3542 \approx 3 + \log_{10}3.54 + 0.2 (\log_{10}3.55-\log_{10}3.54) [301] => [302] => The value of {{math|10''x''}} can be determined by reverse look up in the same table, since the logarithm is a [[monotonic function]]. [303] => [304] => ===Computations=== [305] => The product and quotient of two positive numbers {{Mvar|c}} and ''{{Mvar|d}}'' were routinely calculated as the sum and difference of their logarithms. The product {{Math|''cd''}} or quotient {{Math|''c''/''d''}} came from looking up the antilogarithm of the sum or difference, via the same table: [306] => [307] => cd = 10^{\, \log_{10} c} \, 10^{\,\log_{10} d} = 10^{\,\log_{10} c \, + \, \log_{10} d} [308] => and [309] => \frac c d = c d^{-1} = 10^{\, \log_{10}c \, - \, \log_{10}d}. [310] => [311] => For manual calculations that demand any appreciable precision, performing the lookups of the two logarithms, calculating their sum or difference, and looking up the antilogarithm is much faster than performing the multiplication by earlier methods such as [[prosthaphaeresis]], which relies on [[trigonometric identities]]. [312] => [313] => Calculations of powers and [[nth root|roots]] are reduced to multiplications or divisions and lookups by [314] => c^d = \left(10^{\, \log_{10} c}\right)^d = 10^{\, d \log_{10} c} [315] => [316] => and [317] => \sqrt[d]{c} = c^\frac{1}{d} = 10^{\frac{1}{d} \log_{10} c}. [318] => [319] => Trigonometric calculations were facilitated by tables that contained the common logarithms of [[trigonometric function]]s. [320] => [321] => ===Slide rules=== [322] => Another critical application was the [[slide rule]], a pair of logarithmically divided scales used for calculation. The non-sliding logarithmic scale, [[Gunter's rule]], was invented shortly after Napier's invention. [[William Oughtred]] enhanced it to create the slide rule—a pair of logarithmic scales movable with respect to each other. Numbers are placed on sliding scales at distances proportional to the differences between their logarithms. Sliding the upper scale appropriately amounts to mechanically adding logarithms, as illustrated here: [323] => [324] => [[Image:Slide rule example2 with labels.svg|center|thumb|550px|Schematic depiction of a slide rule. Starting from 2 on the lower scale, add the distance to 3 on the upper scale to reach the product 6. The slide rule works because it is marked such that the distance from 1 to {{mvar|x}} is proportional to the logarithm of {{mvar|x}}.|alt=A slide rule: two rectangles with logarithmically ticked axes, arrangement to add the distance from 1 to 2 to the distance from 1 to 3, indicating the product 6.]] [325] => [326] => For example, adding the distance from 1 to 2 on the lower scale to the distance from 1 to 3 on the upper scale yields a product of 6, which is read off at the lower part. The slide rule was an essential calculating tool for engineers and scientists until the 1970s, because it allows, at the expense of precision, much faster computation than techniques based on tables.{{Citation|last1=Maor|first1=Eli|title=E: The Story of a Number|publisher=[[Princeton University Press]]|isbn=978-0-691-14134-3|year=2009|at=sections 1, 13}} [327] => [328] => ==Analytic properties== [329] => A deeper study of logarithms requires the concept of a ''[[function (mathematics)|function]]''. A function is a rule that, given one number, produces another number.{{citation | last1=Devlin | first1=Keith | author1-link=Keith Devlin | title=Sets, functions, and logic: an introduction to abstract mathematics | publisher=Chapman & Hall/CRC | location=Boca Raton, Fla | edition=3rd | series=Chapman & Hall/CRC mathematics | isbn=978-1-58488-449-1 | year=2004 | url={{google books |plainurl=y |id=uQHF7bcm4k4C}}}}, or see the references in [[function (mathematics)|function]] An example is the function producing the {{mvar|x}}-th power of {{mvar|b}} from any real number {{mvar|x}}, where the base {{mvar|b}} is a fixed number. This function is written as {{math|1=''f''(''x'') = {{mvar|b}} ''x''}}. When {{mvar|b}} is positive and unequal to 1, we show below that {{Mvar|f}} is invertible when considered as a function from the reals to the positive reals. [330] => [331] => ===Existence=== [332] => Let {{mvar|b}} be a positive real number not equal to 1 and let {{math|1=''f''(''x'') = {{mvar|b}} ''x''}}. [333] => [334] => It is a standard result in real analysis that any continuous strictly monotonic function is bijective between its domain and range. This fact follows from the [[intermediate value theorem]].{{Citation|last1=Lang|first1=Serge|title=Undergraduate analysis|year=1997|series=[[Undergraduate Texts in Mathematics]]|edition=2nd|location=Berlin, New York|publisher=[[Springer-Verlag]]|doi=10.1007/978-1-4757-2698-5|isbn=978-0-387-94841-6|mr=1476913|author1-link=Serge Lang}}, section III.3 Now, {{mvar|f}} is [[monotonic function|strictly increasing]] (for {{math|''b'' > 1}}), or strictly decreasing (for {{math|0 < {{mvar|b}} < 1}}),{{Harvard citations|last1=Lang|year=1997|nb=yes|loc=section IV.2}} is continuous, has domain \R, and has range \R_{> 0}. Therefore, {{Mvar|f}} is a bijection from \R to \R_{>0}. In other words, for each positive real number {{Mvar|y}}, there is exactly one real number {{Mvar|x}} such that b^x = y. [335] => [336] => We let \log_b\colon\R_{>0}\to\R denote the inverse of {{Mvar|f}}. That is, {{math|log''b'' ''y''}} is the unique real number {{mvar|x}} such that b^x = y. This function is called the base-{{Mvar|b}} ''logarithm function'' or ''logarithmic function'' (or just ''logarithm''). [337] => [338] => === Characterization by the product formula === [339] => The function {{math|log''b'' ''x''}} can also be essentially characterized by the product formula [340] => \log_b(xy) = \log_b x + \log_b y. [341] => More precisely, the logarithm to any base {{math|''b'' > 1}} is the only [[increasing function]] ''f'' from the positive reals to the reals satisfying {{math|1=''f''(''b'') = 1}} and{{citation| title=Foundations of Modern Analysis |volume=1 |last=Dieudonné |first=Jean |page=84 |year=1969 |publisher=Academic Press }} item (4.3.1)f(xy)=f(x)+f(y). [342] => [343] => ===Graph of the logarithm function=== [344] => [[File:Logarithm inversefunctiontoexp.svg|right|thumb|The graph of the logarithm function {{math|log''b'' (''x'')}} (blue) is obtained by [[Reflection (mathematics)|reflecting]] the graph of the function {{math|''b''''x''}} (red) at the diagonal line ({{math|1=''x'' = {{mvar|y}}}}).|alt=The graphs of two functions.]] [345] => As discussed above, the function {{math|log''b''}} is the inverse to the exponential function x\mapsto b^x. Therefore, their [[graph of a function|graphs]] correspond to each other upon exchanging the {{mvar|x}}- and the {{mvar|y}}-coordinates (or upon reflection at the diagonal line {{Math|1=''x'' = ''y''}}), as shown at the right: a point {{math|1=(''t'', ''u'' = {{mvar|b}}''t'')}} on the graph of {{Mvar|f}} yields a point {{math|1=(''u'', ''t'' = log''b'' ''u'')}} on the graph of the logarithm and vice versa. As a consequence, {{math|log''b'' (''x'')}} [[divergent sequence|diverges to infinity]] (gets bigger than any given number) if {{mvar|x}} grows to infinity, provided that {{mvar|b}} is greater than one. In that case, {{math|log''b''(''x'')}} is an [[increasing function]]. For {{math|''b'' < 1}}, {{math|log''b'' (''x'')}} tends to minus infinity instead. When {{mvar|x}} approaches zero, {{math|log''b'' ''x''}} goes to minus infinity for {{math|''b'' > 1}} (plus infinity for {{math|''b'' < 1}}, respectively). [346] => [347] => ===Derivative and antiderivative=== [348] => [[File:Logarithm derivative.svg|right|thumb|220px|The graph of the [[natural logarithm]] (green) and its tangent at {{math|''x'' {{=}} 1.5}} (black)|alt=A graph of the logarithm function and a line touching it in one point.]] [349] => Analytic properties of functions pass to their inverses. Thus, as {{math|1=''f''(''x'') = {{mvar|b}}''x''}} is a continuous and [[differentiable function]], so is {{math|log''b'' ''y''}}. Roughly, a continuous function is differentiable if its graph has no sharp "corners". Moreover, as the [[derivative]] of {{math|''f''(''x'')}} evaluates to {{math|ln(''b'') ''b''''x''}} by the properties of the [[exponential function]], the [[chain rule]] implies that the derivative of {{math|log''b'' ''x''}} is given by{{citation |work=Wolfram Alpha |title=Calculation of ''d/dx(Log(b,x))'' |publisher=[[Wolfram Research]] |access-date=15 March 2011 |url=http://www.wolframalpha.com/input/?i=d/dx(Log(b,x)) }} [350] => \frac{d}{dx} \log_b x = \frac{1}{x\ln b}. [351] => That is, the [[slope]] of the [[tangent]] touching the graph of the {{math|base-''b''}} logarithm at the point {{math|(''x'', log''b'' (''x''))}} equals {{math|1/(''x'' ln(''b''))}}. [352] => [353] => The derivative of {{Math|ln(''x'')}} is {{Math|1/''x''}}; this implies that {{Math|ln(''x'')}} is the unique [[antiderivative]] of {{math|1/''x''}} that has the value 0 for {{math|1=''x'' = 1}}. It is this very simple formula that motivated to qualify as "natural" the natural logarithm; this is also one of the main reasons of the importance of the [[E (mathematical constant)|constant {{Mvar|e}}]]. [354] => [355] => The derivative with a generalized functional argument {{math|''f''(''x'')}} is [356] => \frac{d}{dx} \ln f(x) = \frac{f'(x)}{f(x)}. [357] => The quotient at the right hand side is called the [[logarithmic derivative]] of ''{{Mvar|f}}''. Computing {{math|''f'''(''x'')}} by means of the derivative of {{math|ln(''f''(''x''))}} is known as [[logarithmic differentiation]].{{Citation | last1=Kline | first1=Morris | author1-link=Morris Kline | title=Calculus: an intuitive and physical approach | publisher=[[Dover Publications]] | location=New York | series=Dover books on mathematics | isbn=978-0-486-40453-0 | year=1998}}, p. 386 The antiderivative of the [[natural logarithm]] {{math|ln(''x'')}} is:{{citation |work=Wolfram Alpha |title=Calculation of ''Integrate(ln(x))'' |publisher=Wolfram Research |access-date=15 March 2011 |url=http://www.wolframalpha.com/input/?i=Integrate(ln(x)) }} [358] => \int \ln(x) \,dx = x \ln(x) - x + C. [359] => [[List of integrals of logarithmic functions|Related formulas]], such as antiderivatives of logarithms to other bases can be derived from this equation using the change of bases.{{Harvard citations|editor1-last=Abramowitz|editor2-last=Stegun|year=1972 |nb=yes|loc=p. 69}} [360] => [361] => ===Integral representation of the natural logarithm=== [362] => [[File:Natural logarithm integral.svg|right|thumb|The [[natural logarithm]] of ''{{Mvar|t}}'' is the shaded area underneath the graph of the function {{math|1=''f''(''x'') = 1/''x''}} (reciprocal of {{mvar|x}}).|alt=A hyperbola with part of the area underneath shaded in grey.]] [363] => The [[natural logarithm]] of {{Mvar|t}} can be defined as the [[definite integral]]: [364] => [365] => \ln t = \int_1^t \frac{1}{x} \, dx. [366] => This definition has the advantage that it does not rely on the exponential function or any trigonometric functions; the definition is in terms of an integral of a simple reciprocal. As an integral, {{math|ln(''t'')}} equals the area between the {{mvar|x}}-axis and the graph of the function {{math|1/''x''}}, ranging from {{math|1=''x'' = 1}} to {{math|1=''x'' = ''t''}}. This is a consequence of the [[fundamental theorem of calculus]] and the fact that the derivative of {{math|ln(''x'')}} is {{math|1/''x''}}. Product and power logarithm formulas can be derived from this definition.{{Citation|last1=Courant|first1=Richard|title=Differential and integral calculus. Vol. I|publisher=[[John Wiley & Sons]]|location=New York|series=Wiley Classics Library|isbn=978-0-471-60842-4|mr=1009558|year=1988}}, section III.6 For example, the product formula {{math|1=ln(''tu'') = ln(''t'') + ln(''u'')}} is deduced as: [367] => [368] => \ln(tu) = \int_1^{tu} \frac{1}{x} \, dx \ \stackrel {(1)} = \int_1^{t} \frac{1}{x} \, dx + \int_t^{tu} \frac{1}{x} \, dx \ \stackrel {(2)} = \ln(t) + \int_1^u \frac{1}{w} \, dw = \ln(t) + \ln(u). [369] => [370] => The equality (1) splits the integral into two parts, while the equality (2) is a change of variable ({{math|1=''w'' = {{mvar|x}}/''t''}}). In the illustration below, the splitting corresponds to dividing the area into the yellow and blue parts. Rescaling the left hand blue area vertically by the factor {{Mvar|t}} and shrinking it by the same factor horizontally does not change its size. Moving it appropriately, the area fits the graph of the function {{math|1=''f''(''x'') = 1/''x''}} again. Therefore, the left hand blue area, which is the integral of {{math|''f''(''x'')}} from {{Mvar|t}} to {{Mvar|tu}} is the same as the integral from 1 to {{Mvar|u}}. This justifies the equality (2) with a more geometric proof. [371] => [372] => [[File:Natural logarithm product formula proven geometrically.svg|thumb|center|500px|A visual proof of the product formula of the natural logarithm|alt=The hyperbola depicted twice. The area underneath is split into different parts.]] [373] => [374] => The power formula {{math|1=ln(''t''''r'') = ''r'' ln(''t'')}} may be derived in a similar way: [375] => [376] => [377] => \ln(t^r) = \int_1^{t^r} \frac{1}{x}dx = \int_1^t \frac{1}{w^r} \left(rw^{r - 1} \, dw\right) = r \int_1^t \frac{1}{w} \, dw = r \ln(t). [378] => [379] => The second equality uses a change of variables ([[integration by substitution]]), {{math|1=''w'' = {{mvar|x}}1/''r''}}. [380] => [381] => The sum over the reciprocals of natural numbers, [382] => 1 + \frac 1 2 + \frac 1 3 + \cdots + \frac 1 n = \sum_{k=1}^n \frac{1}{k}, [383] => is called the [[harmonic series (mathematics)|harmonic series]]. It is closely tied to the [[natural logarithm]]: as {{Mvar|n}} tends to [[infinity]], the difference, [384] => \sum_{k=1}^n \frac{1}{k} - \ln(n), [385] => [[limit of a sequence|converges]] (i.e. gets arbitrarily close) to a number known as the [[Euler–Mascheroni constant]] {{math|1 = ''γ'' = 0.5772...}}. This relation aids in analyzing the performance of algorithms such as [[quicksort]].{{Citation|last1=Havil|first1=Julian|title=Gamma: Exploring Euler's Constant|publisher=[[Princeton University Press]]|isbn=978-0-691-09983-5|year=2003}}, sections 11.5 and 13.8 [386] => [387] => ===Transcendence of the logarithm=== [388] => [[Real number]]s that are not [[Algebraic number|algebraic]] are called [[transcendental number|transcendental]];{{citation|title=Selected papers on number theory and algebraic geometry|volume=172|first1=Katsumi|last1=Nomizu|author-link=Katsumi Nomizu|location=Providence, RI|publisher=AMS Bookstore|year=1996|isbn=978-0-8218-0445-2|page=21|url={{google books |plainurl=y |id=uDDxdu0lrWAC|page=21}}}} for example, [[Pi|{{pi}}]] and ''[[e (mathematical constant)|e]]'' are such numbers, but \sqrt{2-\sqrt 3} is not. [[Almost all]] real numbers are transcendental. The logarithm is an example of a [[transcendental function]]. The [[Gelfond–Schneider theorem]] asserts that logarithms usually take transcendental, i.e. "difficult" values.{{Citation|last1=Baker|first1=Alan|author1-link=Alan Baker (mathematician)|title=Transcendental number theory|publisher=[[Cambridge University Press]]|isbn=978-0-521-20461-3|year=1975}}, p. 10 [389] => [390] => ==Calculation== [391] => [[File:Logarithm keys.jpg|thumb|The logarithm keys (LOG for base 10 and LN for base {{mvar|e}}) on a [[TI-83 series|TI-83 Plus]] graphing calculator]] [392] => Logarithms are easy to compute in some cases, such as {{math|1=log10 (1000) = 3}}. In general, logarithms can be calculated using [[power series]] or the [[arithmetic–geometric mean]], or be retrieved from a precalculated [[logarithm table]] that provides a fixed precision.{{Citation | last1=Muller | first1=Jean-Michel | title=Elementary functions | publisher=Birkhäuser Boston | location=Boston, MA | edition=2nd | isbn=978-0-8176-4372-0 | year=2006}}, sections 4.2.2 (p. 72) and 5.5.2 (p. 95){{Citation |last1=Hart |last2=Cheney |last3=Lawson |year=1968|publisher=John Wiley|location=New York|title=Computer Approximations|series=SIAM Series in Applied Mathematics|display-authors=etal}}, section 6.3, pp. 105–11 [[Newton's method]], an iterative method to solve equations approximately, can also be used to calculate the logarithm, because its inverse function, the exponential function, can be computed efficiently.{{Citation|last1=Zhang |first1=M. |last2=Delgado-Frias |first2=J.G. |last3=Vassiliadis |first3=S. |title=Table driven Newton scheme for high precision logarithm generation |doi=10.1049/ip-cdt:19941268 |journal= IEE Proceedings - Computers and Digital Techniques|issn=1350-2387 |volume=141 |year=1994 |issue=5 |pages=281–92 }}, section 1 for an overview Using look-up tables, [[CORDIC]]-like methods can be used to compute logarithms by using only the operations of addition and [[Arithmetic shift|bit shifts]].{{Citation |first=J.E.|last=Meggitt|title=Pseudo Division and Pseudo Multiplication Processes|journal= IBM Journal of Research and Development|date=April 1962|doi=10.1147/rd.62.0210|volume=6|issue=2|pages=210–26|s2cid=19387286}}{{Citation |last=Kahan |first=W. |author-link= William Kahan |title=Pseudo-Division Algorithms for Floating-Point Logarithms and Exponentials |date= 20 May 2001 }} Moreover, the [[Binary logarithm#Algorithm|binary logarithm algorithm]] calculates {{math|lb(''x'')}} [[recursion|recursively]], based on repeated squarings of {{mvar|x}}, taking advantage of the relation [393] => \log_2\left(x^2\right) = 2 \log_2 |x|. [394] => [395] => ===Power series=== [396] => ====Taylor series==== [397] => [398] => [[File:Taylor approximation of natural logarithm.gif|right|thumb|The Taylor series of {{math|ln(''z'')}} centered at {{math|''z'' {{=}} 1}}. The animation shows the first 10 approximations along with the 99th and 100th. The approximations do not converge beyond a distance of 1 from the center.|alt=An animation showing increasingly good approximations of the logarithm graph.]] [399] => For any real number {{mvar|z}} that satisfies {{math|0 < ''z'' ≤ 2}}, the following formula holds:{{refn|The same series holds for the principal value of the complex logarithm for complex numbers {{mvar|z}} satisfying {{math|{{!}}''z'' − 1{{!}} < 1}}.|group=nb}}{{Harvard citations|editor1-last=Abramowitz|editor2-last=Stegun|year=1972 |nb=yes|loc=p. 68}} [400] => [401] => [402] => \begin{align}\ln (z) &= \frac{(z-1)^1}{1} - \frac{(z-1)^2}{2} + \frac{(z-1)^3}{3} - \frac{(z-1)^4}{4} + \cdots \\ [403] => &= \sum_{k=1}^\infty (-1)^{k+1}\frac{(z-1)^k}{k}. [404] => \end{align} [405] => [406] => [407] => Equating the function {{math|ln(''z'')}} to this infinite sum ([[series (mathematics)|series]]) is shorthand for saying that the function can be approximated to a more and more accurate value by the following expressions (known as [[partial sum]]s): [408] => [409] => [410] => (z-1),\ \ (z-1) - \frac{(z-1)^2}{2},\ \ (z-1) - \frac{(z-1)^2}{2} + \frac{(z-1)^3}{3},\ \ldots [411] => [412] => [413] => For example, with {{math|''z'' {{=}} 1.5}} the third approximation yields {{math|0.4167}}, which is about {{math|0.011}} greater than {{math|ln(1.5) {{=}} 0.405465}}, and the ninth approximation yields {{math|0.40553}}, which is only about {{math|0.0001}} greater. The {{mvar|n}}th partial sum can approximate {{math|ln(''z'')}} with arbitrary precision, provided the number of summands {{mvar|n}} is large enough. [414] => [415] => In elementary calculus, the series is said to [[convergent series|converge]] to the function {{math|ln(''z'')}}, and the function is the [[limit (mathematics)|limit]] of the series. It is the [[Taylor series]] of the [[natural logarithm]] at {{math|1=''z'' = 1}}. The Taylor series of {{math|ln(''z'')}} provides a particularly useful approximation to {{math|ln(1 + ''z'')}} when {{mvar|z}} is small, {{math|{{!}}''z''{{!}} < 1}}, since then [416] => [417] => \ln (1+z) = z - \frac{z^2}{2} +\frac{z^3}{3} -\cdots \approx z. [418] => [419] => [420] => For example, with {{math|1=''z'' = 0.1}} the first-order approximation gives {{math|ln(1.1) ≈ 0.1}}, which is less than {{math|5%}} off the correct value {{math|0.0953}}. [421] => [422] => ====Inverse hyperbolic tangent==== [423] => Another series is based on the [[area hyperbolic tangent#Inverse_hyperbolic_tangent|inverse hyperbolic tangent]] function: [424] => [425] => \ln (z) = 2\cdot\operatorname{artanh}\,\frac{z-1}{z+1} = 2 \left ( \frac{z-1}{z+1} + \frac{1}{3}{\left(\frac{z-1}{z+1}\right)}^3 + \frac{1}{5}{\left(\frac{z-1}{z+1}\right)}^5 + \cdots \right ), [426] => [427] => for any real number {{math|''z'' > 0}}.{{refn|The same series holds for the principal value of the complex logarithm for complex numbers {{mvar|z}} with positive real part.|group=nb}} Using [[sigma notation]], this is also written as [428] => \ln (z) = 2\sum_{k=0}^\infty\frac{1}{2k+1}\left(\frac{z-1}{z+1}\right)^{2k+1}. [429] => This series can be derived from the above Taylor series. It converges quicker than the Taylor series, especially if {{mvar|z}} is close to 1. For example, for {{math|1=''z'' = 1.5}}, the first three terms of the second series approximate {{math|ln(1.5)}} with an error of about {{val|3|e=-6}}. The quick convergence for {{mvar|z}} close to 1 can be taken advantage of in the following way: given a low-accuracy approximation {{math|''y'' ≈ ln(''z'')}} and putting [430] => A = \frac z{\exp(y)}, [431] => the logarithm of {{mvar|z}} is: [432] => \ln (z)=y+\ln (A). [433] => The better the initial approximation {{mvar|y}} is, the closer {{mvar|A}} is to 1, so its logarithm can be calculated efficiently. {{mvar|A}} can be calculated using the [[exponential function|exponential series]], which converges quickly provided {{mvar|y}} is not too large. Calculating the logarithm of larger {{mvar|z}} can be reduced to smaller values of {{mvar|z}} by writing {{math|''z'' {{=}} ''a'' · 10''b''}}, so that {{math|ln(''z'') {{=}} ln(''a'') + {{mvar|b}} · ln(10)}}. [434] => [435] => A closely related method can be used to compute the logarithm of integers. Putting \textstyle z=\frac{n+1}{n} in the above series, it follows that: [436] => \ln (n+1) = \ln(n) + 2\sum_{k=0}^\infty\frac{1}{2k+1}\left(\frac{1}{2 n+1}\right)^{2k+1}. [437] => If the logarithm of a large integer {{mvar|n}} is known, then this series yields a fast converging series for {{math|log(''n''+1)}}, with a [[rate of convergence]] of \left(\frac{1}{2 n+1}\right)^{2}. [438] => [439] => ===Arithmetic–geometric mean approximation=== [440] => The [[arithmetic–geometric mean]] yields high-precision approximations of the [[natural logarithm]]. Sasaki and Kanada showed in 1982 that it was particularly fast for precisions between 400 and 1000 decimal places, while Taylor series methods were typically faster when less precision was needed. In their work {{math|ln(''x'')}} is approximated to a precision of {{math|2−''p''}} (or {{Mvar|p}} precise bits) by the following formula (due to [[Carl Friedrich Gauss]]):{{Citation |first1=T. |last1=Sasaki |first2=Y. |last2=Kanada |title=Practically fast multiple-precision evaluation of log(x) |journal=Journal of Information Processing |volume=5|issue=4 |pages=247–50 |year=1982 | url=http://ci.nii.ac.jp/naid/110002673332 | access-date=30 March 2011}}{{Citation |first1=Timm |title=Stacs 99|last1=Ahrendt|publisher=Springer|location=Berlin, New York|series=Lecture notes in computer science|doi=10.1007/3-540-49116-3_28|volume=1564|year=1999|pages=302–12|isbn=978-3-540-65691-3|chapter=Fast Computations of the Exponential Function}} [441] => [442] => \ln (x) \approx \frac{\pi}{2\, \mathrm{M}\!\left(1, 2^{2 - m}/x \right)} - m \ln(2). [443] => [444] => Here {{math|M(''x'', ''y'')}} denotes the [[arithmetic–geometric mean]] of {{mvar|x}} and {{mvar|y}}. It is obtained by repeatedly calculating the average {{Math|(''x'' + ''y'')/2}} ([[arithmetic mean]]) and \sqrt{xy} ([[geometric mean]]) of {{mvar|x}} and {{mvar|y}} then let those two numbers become the next {{mvar|x}} and {{mvar|y}}. The two numbers quickly converge to a common limit which is the value of {{math|M(''x'', ''y'')}}. {{mvar|m}} is chosen such that [445] => [446] => x \,2^m > 2^{p/2}.\, [447] => [448] => to ensure the required precision. A larger {{mvar|m}} makes the {{math|M(''x'', ''y'')}} calculation take more steps (the initial {{mvar|x}} and {{mvar|y}} are farther apart so it takes more steps to converge) but gives more precision. The constants {{math|{{pi}}}} and {{math|ln(2)}} can be calculated with quickly converging series. [449] => [450] => ===Feynman's algorithm=== [451] => While at [[Los Alamos National Laboratory]] working on the [[Manhattan Project]], [[Richard Feynman]] developed a bit-processing algorithm to compute the logarithm that is similar to long division and was later used in the [[Connection Machine]]. The algorithm relies on the fact that every real number x where {{Math|1 < ''x'' < 2}} can be represented as a product of distinct factors of the form {{Math|1 + 2−''k''}}. The algorithm sequentially builds that product {{Mvar|P}}, starting with {{math|''P'' {{=}} 1}} and {{math|''k'' {{=}} 1}}: if {{math|''P'' · (1 + 2−''k'') < ''x''}}, then it changes {{Mvar|P}} to {{math|''P'' · (1 + 2−''k'')}}. It then increases k by one regardless. The algorithm stops when {{Mvar|k}} is large enough to give the desired accuracy. Because {{Math|log(''x'')}} is the sum of the terms of the form {{Math|log(1 + 2−''k'')}} corresponding to those {{Mvar|k}} for which the factor {{Math|1 + 2−''k''}} was included in the product {{Mvar|P}}, {{Math|log(''x'')}} may be computed by simple addition, using a table of {{Math|log(1 + 2−''k'')}} for all {{Mvar|k}}. Any base may be used for the logarithm table.{{citation |first=Danny |last=Hillis |author-link=Danny Hillis |title=Richard Feynman and The Connection Machine |journal=Physics Today |volume= 42|issue= 2|page= 78|date=15 January 1989 |doi=10.1063/1.881196|bibcode=1989PhT....42b..78H}} [452] => [453] => ==Applications== [454] => [[File:NautilusCutawayLogarithmicSpiral.jpg|thumb|A [[nautilus]] shell displaying a logarithmic spiral|alt=A photograph of a nautilus' shell.]] [455] => Logarithms have many applications inside and outside mathematics. Some of these occurrences are related to the notion of [[scale invariance]]. For example, each chamber of the shell of a [[nautilus]] is an approximate copy of the next one, scaled by a constant factor. This gives rise to a [[logarithmic spiral]].{{Harvard citations [456] => |last1=Maor [457] => |year=2009 [458] => |nb=yes [459] => |loc=p. 135 [460] => }} [[Benford's law]] on the distribution of leading digits can also be explained by scale invariance.{{Citation | last1=Frey | first1=Bruce | title=Statistics hacks | publisher=[[O'Reilly Media|O'Reilly]]|location=Sebastopol, CA| series=Hacks Series |url={{google books |plainurl=y |id=HOPyiNb9UqwC|page=275}}| isbn=978-0-596-10164-0 | year=2006}}, chapter 6, section 64 Logarithms are also linked to [[self-similarity]]. For example, logarithms appear in the analysis of algorithms that solve a problem by dividing it into two similar smaller problems and patching their solutions.{{Citation | last1=Ricciardi | first1=Luigi M. | title=Lectures in applied mathematics and informatics | url={{google books |plainurl=y |id=Cw4NAQAAIAAJ}} | publisher=Manchester University Press | location=Manchester | isbn=978-0-7190-2671-3 | year=1990}}, p. 21, section 1.3.2 The dimensions of self-similar geometric shapes, that is, shapes whose parts resemble the overall picture are also based on logarithms. [[Logarithmic scale]]s are useful for quantifying the relative change of a value as opposed to its absolute difference. Moreover, because the logarithmic function {{math|log(''x'')}} grows very slowly for large {{mvar|x}}, logarithmic scales are used to compress large-scale scientific data. Logarithms also occur in numerous scientific formulas, such as the [[Tsiolkovsky rocket equation]], the [[Fenske equation]], or the [[Nernst equation]]. [461] => [462] => ===Logarithmic scale=== [463] => {{Main|Logarithmic scale}} [464] => [[File:Germany Hyperinflation.svg|A logarithmic chart depicting the value of one [[German gold mark|Goldmark]] in [[German Papiermark|Papiermarks]] during the [[Inflation in the Weimar Republic|German hyperinflation in the 1920s]]|right|thumb|alt=A graph of the value of one mark over time. The line showing its value is increasing very quickly, even with logarithmic scale.]] [465] => Scientific quantities are often expressed as logarithms of other quantities, using a ''logarithmic scale''. For example, the [[decibel]] is a [[unit of measurement]] associated with [[logarithmic-scale]] [[level quantity|quantities]]. It is based on the common logarithm of [[ratio]]s—10 times the common logarithm of a [[power (physics)|power]] ratio or 20 times the common logarithm of a [[voltage]] ratio. It is used to quantify the loss of voltage levels in transmitting electrical signals,{{cn|date=April 2024}} to describe power levels of sounds in [[acoustics]],{{Citation|last1=Maling|first1=George C.|editor1-last=Rossing|editor1-first=Thomas D.|title=Springer handbook of acoustics|publisher=[[Springer-Verlag]]|location=Berlin, New York|isbn=978-0-387-30446-5|year=2007|chapter=Noise}}, section 23.0.2 and the [[absorbance]] of light in the fields of [[spectrometer|spectrometry]] and [[optics]]. The [[signal-to-noise ratio]] describing the amount of unwanted [[noise (electronic)|noise]] in relation to a (meaningful) [[signal (information theory)|signal]] is also measured in decibels.{{Citation | last1=Tashev | first1=Ivan Jelev | title=Sound Capture and Processing: Practical Approaches | publisher=[[John Wiley & Sons]] | location=New York | isbn=978-0-470-31983-3 | year=2009|url={{google books |plainurl=y |id=plll9smnbOIC|page=48}}|page=98}} In a similar vein, the [[peak signal-to-noise ratio]] is commonly used to assess the quality of sound and [[image compression]] methods using the logarithm.{{Citation | last1=Chui | first1=C.K. | title=Wavelets: a mathematical tool for signal processing | publisher=[[Society for Industrial and Applied Mathematics]] | location=Philadelphia | series=SIAM monographs on mathematical modeling and computation | isbn=978-0-89871-384-8 | year=1997|url={{google books |plainurl=y |id=N06Gu433PawC|page=180}}}} [466] => [467] => The strength of an earthquake is measured by taking the common logarithm of the energy emitted at the quake. This is used in the [[moment magnitude scale]] or the [[Richter magnitude scale]]. For example, a 5.0 earthquake releases 32 times {{math|(101.5)}} and a 6.0 releases 1000 times {{math|(103)}} the energy of a 4.0.{{Citation|last1=Crauder|first1=Bruce|last2=Evans|first2=Benny|last3=Noell|first3=Alan|title=Functions and Change: A Modeling Approach to College Algebra|publisher=Cengage Learning|location=Boston|edition=4th|isbn=978-0-547-15669-9|year=2008}}, section 4.4. [[Apparent magnitude]] measures the brightness of stars logarithmically.{{Citation|last1=Bradt|first1=Hale|title=Astronomy methods: a physical approach to astronomical observations|publisher=[[Cambridge University Press]]|series=Cambridge Planetary Science|isbn=978-0-521-53551-9|year=2004}}, section 8.3, p. 231 In [[chemistry]] the negative of the decimal logarithm, the decimal '''{{vanchor|cologarithm}}''', is indicated by the letter p.{{cite journal|author=Nørby, Jens|year=2000|title=The origin and the meaning of the little p in pH|journal=Trends in Biochemical Sciences|volume=25|issue=1|pages=36–37|doi=10.1016/S0968-0004(99)01517-0|pmid=10637613}} For instance, [[pH]] is the decimal cologarithm of the [[Activity (chemistry)|activity]] of [[hydronium]] ions (the form [[hydrogen]] [[ion]]s {{chem|H|+|}} take in water).{{Citation|author=IUPAC|title=Compendium of Chemical Terminology ("Gold Book")|edition=2nd|editor=A. D. McNaught, A. Wilkinson|publisher=Blackwell Scientific Publications| location=Oxford| year=1997| url=http://goldbook.iupac.org/P04524.html|isbn=978-0-9678550-9-7|doi=10.1351/goldbook|author-link=IUPAC|doi-access=free}} The activity of hydronium ions in neutral water is 10−7 [[molar concentration|mol·L−1]], hence a pH of 7. Vinegar typically has a pH of about 3. The difference of 4 corresponds to a ratio of 104 of the activity, that is, vinegar's hydronium ion activity is about {{math|10−3 mol·L−1}}. [468] => [469] => [[Semi-log plot|Semilog]] (log–linear) graphs use the logarithmic scale concept for visualization: one axis, typically the vertical one, is scaled logarithmically. For example, the chart at the right compresses the steep increase from 1 million to 1 trillion to the same space (on the vertical axis) as the increase from 1 to 1 million. In such graphs, [[exponential function]]s of the form {{math|1=''f''(''x'') = ''a'' · ''b''{{i sup|''x''}}}} appear as straight lines with [[slope]] equal to the logarithm of {{mvar|b}}. [[Log-log plot|Log-log]] graphs scale both axes logarithmically, which causes functions of the form {{math|1=''f''(''x'') = ''a'' · ''x''{{i sup|''k''}}}} to be depicted as straight lines with slope equal to the exponent {{mvar|k}}. This is applied in visualizing and analyzing [[power law]]s.{{Citation|last1=Bird|first1=J.O.|title=Newnes engineering mathematics pocket book |publisher=Newnes|location=Oxford|edition=3rd|isbn=978-0-7506-4992-6|year=2001}}, section 34 [470] => [471] => ===Psychology=== [472] => Logarithms occur in several laws describing [[human perception]]:{{Citation | last1=Goldstein | first1=E. Bruce | title=Encyclopedia of Perception | url={{google books |plainurl=y |id=Y4TOEN4f5ZMC}} | publisher=Sage | location=Thousand Oaks, CA | isbn=978-1-4129-4081-8 | year=2009}}, pp. 355–56{{Citation | last1=Matthews | first1=Gerald | title=Human Performance: Cognition, Stress, and Individual Differences | url={{google books |plainurl=y |id=0XrpulSM1HUC}} | publisher=Psychology Press | location=Hove | isbn=978-0-415-04406-6 | year=2000}}, p. 48 [[Hick's law]] proposes a logarithmic relation between the time individuals take to choose an alternative and the number of choices they have.{{Citation|last1=Welford|first1=A.T.|title=Fundamentals of skill|publisher=Methuen|location=London|isbn=978-0-416-03000-6 |oclc=219156|year=1968}}, p. 61 [[Fitts's law]] predicts that the time required to rapidly move to a target area is a logarithmic function of the distance to and the size of the target.{{Citation|author=Paul M. Fitts|date=June 1954|title=The information capacity of the human motor system in controlling the amplitude of movement|journal=Journal of Experimental Psychology|volume=47|issue=6|pages=381–91 | pmid=13174710 | doi =10.1037/h0055392 |s2cid=501599}}, reprinted in {{Citation|journal=Journal of Experimental Psychology: General|volume=121|issue=3|pages=262–69|year=1992 | pmid=1402698 | url=http://sing.stanford.edu/cs303-sp10/papers/1954-Fitts.pdf | access-date=30 March 2011 |title=The information capacity of the human motor system in controlling the amplitude of movement|author=Paul M. Fitts|doi=10.1037/0096-3445.121.3.262}} In [[psychophysics]], the [[Weber–Fechner law]] proposes a logarithmic relationship between [[stimulus (psychology)|stimulus]] and [[sensation (psychology)|sensation]] such as the actual vs. the perceived weight of an item a person is carrying.{{Citation | last1=Banerjee | first1=J.C. | title=Encyclopaedic dictionary of psychological terms | publisher=M.D. Publications | location=New Delhi | isbn=978-81-85880-28-0 | oclc=33860167 | year=1994|url={{google books |plainurl=y |id=Pwl5U2q5hfcC|page=306}} |page=304}} (This "law", however, is less realistic than more recent models, such as [[Stevens's power law]].{{Citation|last1=Nadel|first1=Lynn|author1-link=Lynn Nadel|title=Encyclopedia of cognitive science|publisher=[[John Wiley & Sons]]|location=New York|isbn=978-0-470-01619-0|year=2005}}, lemmas ''Psychophysics'' and ''Perception: Overview'') [473] => [474] => Psychological studies found that individuals with little mathematics education tend to estimate quantities logarithmically, that is, they position a number on an unmarked line according to its logarithm, so that 10 is positioned as close to 100 as 100 is to 1000. Increasing education shifts this to a linear estimate (positioning 1000 10 times as far away) in some circumstances, while logarithms are used when the numbers to be plotted are difficult to plot linearly. [475] => {{Citation|doi=10.1111/1467-9280.02438|last1=Siegler|first1=Robert S.|last2=Opfer|first2=John E.|title=The Development of Numerical Estimation. Evidence for Multiple Representations of Numerical Quantity|volume=14|issue=3|pages=237–43|year=2003|journal=Psychological Science|url=http://www.psy.cmu.edu/~siegler/sieglerbooth-cd04.pdf|pmid=12741747|citeseerx=10.1.1.727.3696|s2cid=9583202|access-date=7 January 2011|archive-url=https://web.archive.org/web/20110517002232/http://www.psy.cmu.edu/~siegler/sieglerbooth-cd04.pdf|archive-date=17 May 2011|url-status=dead}} [476] => {{Citation|last1=Dehaene| first1=Stanislas|last2=Izard|first2=Véronique |last3=Spelke| first3=Elizabeth|last4=Pica| first4=Pierre| title=Log or Linear? Distinct Intuitions of the Number Scale in Western and Amazonian Indigene Cultures|volume=320|issue=5880|pages=1217–20|doi=10.1126/science.1156540|pmc=2610411|pmid=18511690| year=2008|journal=Science|bibcode=2008Sci...320.1217D| citeseerx=10.1.1.362.2390}} [477] => [478] => ===Probability theory and statistics=== [479] => [[File:PDF-log normal distributions.svg|thumb|right|alt=Three asymmetric PDF curves|Three [[probability density function]]s (PDF) of random variables with log-normal distributions. The location parameter {{math|μ}}, which is zero for all three of the PDFs shown, is the mean of the logarithm of the random variable, not the mean of the variable itself.]] [480] => [[File:Benfords law illustrated by world's countries population.svg|Distribution of first digits (in %, red bars) in the [[List of countries by population|population of the 237 countries]] of the world. Black dots indicate the distribution predicted by Benford's law.|thumb|right|alt=A bar chart and a superimposed second chart. The two differ slightly, but both decrease in a similar fashion.]] [481] => [482] => Logarithms arise in [[probability theory]]: the [[law of large numbers]] dictates that, for a [[fair coin]], as the number of coin-tosses increases to infinity, the observed proportion of heads [[binomial distribution|approaches one-half]]. The fluctuations of this proportion about one-half are described by the [[law of the iterated logarithm]].{{Citation | last1=Breiman | first1=Leo | title=Probability | publisher=[[Society for Industrial and Applied Mathematics]] | location=Philadelphia | series=Classics in applied mathematics | isbn=978-0-89871-296-4 | year=1992}}, section 12.9 [483] => [484] => Logarithms also occur in [[log-normal distribution]]s. When the logarithm of a [[random variable]] has a [[normal distribution]], the variable is said to have a log-normal distribution.{{Citation|last1=Aitchison|first1=J.|last2=Brown|first2=J.A.C.|title=The lognormal distribution|publisher=[[Cambridge University Press]]|isbn=978-0-521-04011-2 |oclc=301100935|year=1969}} Log-normal distributions are encountered in many fields, wherever a variable is formed as the product of many independent positive random variables, for example in the study of turbulence. [485] => {{Citation [486] => | title = An introduction to turbulent flow [487] => | author = Jean Mathieu and Julian Scott [488] => | publisher = Cambridge University Press [489] => | year = 2000 [490] => | isbn = 978-0-521-77538-0 [491] => | page = 50 [492] => | url = {{google books |plainurl=y |id=nVA53NEAx64C|page=50}} [493] => }} [494] => [495] => Logarithms are used for [[maximum-likelihood estimation]] of parametric [[statistical model]]s. For such a model, the [[likelihood function]] depends on at least one [[parametric model|parameter]] that must be estimated. A maximum of the likelihood function occurs at the same parameter-value as a maximum of the logarithm of the likelihood (the "''log likelihood''"), because the logarithm is an increasing function. The log-likelihood is easier to maximize, especially for the multiplied likelihoods for [[independence (probability)|independent]] random variables.{{Citation|last1=Rose|first1=Colin|last2=Smith|first2=Murray D.|title=Mathematical statistics with Mathematica|publisher=[[Springer-Verlag]]|location=Berlin, New York|series=Springer texts in statistics|isbn=978-0-387-95234-5|year=2002}}, section 11.3 [496] => [497] => [[Benford's law]] describes the occurrence of digits in many [[data set]]s, such as heights of buildings. According to Benford's law, the probability that the first decimal-digit of an item in the data sample is {{Mvar|d}} (from 1 to 9) equals {{math|log10 (''d'' + 1) − log10 (''d'')}}, ''regardless'' of the unit of measurement.{{Citation|last1=Tabachnikov|first1=Serge|author-link1=Sergei Tabachnikov|title=Geometry and Billiards|publisher=[[American Mathematical Society]]|location=Providence, RI|isbn=978-0-8218-3919-5|year=2005|pages=36–40}}, section 2.1 Thus, about 30% of the data can be expected to have 1 as first digit, 18% start with 2, etc. Auditors examine deviations from Benford's law to detect fraudulent accounting.{{citation |title=The Effective Use of Benford's Law in Detecting Fraud in Accounting Data |first1=Cindy |last1=Durtschi |first2=William |last2=Hillison |first3=Carl |last3=Pacini |url=http://faculty.usfsp.edu/gkearns/Articles_Fraud/Benford%20Analysis%20Article.pdf |volume=V |pages=17–34 |year=2004 |journal=Journal of Forensic Accounting |archive-url=https://web.archive.org/web/20170829062510/http://faculty.usfsp.edu/gkearns/Articles_Fraud/Benford%20Analysis%20Article.pdf |archive-date=29 August 2017 |access-date=28 May 2018}} [498] => [499] => The [[logarithm transformation]] is a type of [[data transformation (statistics)|data transformation]] used to bring the empirical distribution closer to the assumed one. [500] => [501] => ===Computational complexity=== [502] => [[Analysis of algorithms]] is a branch of [[computer science]] that studies the [[time complexity|performance]] of [[algorithm]]s (computer programs solving a certain problem).{{Citation|last1=Wegener|first1=Ingo| title=Complexity theory: exploring the limits of efficient algorithms|publisher=[[Springer-Verlag]]|location=Berlin, New York|isbn=978-3-540-21045-0|year=2005}}, pp. 1–2 Logarithms are valuable for describing algorithms that [[Divide and conquer algorithm|divide a problem]] into smaller ones, and join the solutions of the subproblems.{{Citation|last1=Harel|first1=David|last2=Feldman|first2=Yishai A.|title=Algorithmics: the spirit of computing|location=New York|publisher=[[Addison-Wesley]]|isbn=978-0-321-11784-7|year=2004}}, p. 143 [503] => [504] => For example, to find a number in a sorted list, the [[binary search algorithm]] checks the middle entry and proceeds with the half before or after the middle entry if the number is still not found. This algorithm requires, on average, {{math|log2 (''N'')}} comparisons, where {{mvar|N}} is the list's length.{{citation | last = Knuth | first = Donald | author-link = Donald Knuth | title = The Art of Computer Programming | publisher = Addison-Wesley |location=Reading, MA | year= 1998| isbn = 978-0-201-89685-5 | title-link = The Art of Computer Programming }}, section 6.2.1, pp. 409–26 Similarly, the [[merge sort]] algorithm sorts an unsorted list by dividing the list into halves and sorting these first before merging the results. Merge sort algorithms typically require a time [[big O notation|approximately proportional to]] {{math|''N'' · log(''N'')}}.{{Harvard citations|last = Knuth | first = Donald|year=1998|loc=section 5.2.4, pp. 158–68|nb=yes}} The base of the logarithm is not specified here, because the result only changes by a constant factor when another base is used. A constant factor is usually disregarded in the analysis of algorithms under the standard [[uniform cost model]].{{Citation|last1=Wegener|first1=Ingo| title=Complexity theory: exploring the limits of efficient algorithms|publisher=[[Springer-Verlag]]|location=Berlin, New York|isbn=978-3-540-21045-0|year=2005|page=20}} [505] => [506] => A function {{math|''f''(''x'')}} is said to [[Logarithmic growth|grow logarithmically]] if {{math|''f''(''x'')}} is (exactly or approximately) proportional to the logarithm of {{mvar|x}}. (Biological descriptions of organism growth, however, use this term for an exponential function.{{Citation|last1=Mohr|first1=Hans|last2=Schopfer|first2=Peter|title=Plant physiology|publisher=Springer-Verlag|location=Berlin, New York|isbn=978-3-540-58016-4|year=1995|url-access=registration|url=https://archive.org/details/plantphysiology0000mohr}}, chapter 19, p. 298) For example, any [[natural number]] {{mvar|N}} can be represented in [[Binary numeral system|binary form]] in no more than {{math|log2 ''N'' + 1}} [[bit]]s. In other words, the amount of [[memory (computing)|memory]] needed to store {{mvar|N}} grows logarithmically with {{mvar|N}}. [507] => [508] => ===Entropy and chaos=== [509] => [[File:Chaotic Bunimovich stadium.svg|right|thumb|[[Dynamical billiards|Billiards]] on an oval [[billiard table]]. Two particles, starting at the center with an angle differing by one degree, take paths that diverge chaotically because of [[reflection (physics)|reflections]] at the boundary.|alt=An oval shape with the trajectories of two particles.]] [510] => [511] => [[Entropy]] is broadly a measure of the disorder of some system. In [[statistical thermodynamics]], the entropy ''S'' of some physical system is defined as [512] => S = - k \sum_i p_i \ln(p_i).\, [513] => The sum is over all possible states {{Mvar|i}} of the system in question, such as the positions of gas particles in a container. Moreover, {{math|''p''''i''}} is the probability that the state {{Mvar|i}} is attained and {{mvar|k}} is the [[Boltzmann constant]]. Similarly, [[entropy (information theory)|entropy in information theory]] measures the quantity of information. If a message recipient may expect any one of {{mvar|N}} possible messages with equal likelihood, then the amount of information conveyed by any one such message is quantified as {{math|log2 ''N''}} bits.{{Citation|last1=Eco|first1=Umberto|author1-link=Umberto Eco|title=The open work |publisher=[[Harvard University Press]]|isbn=978-0-674-63976-8|year=1989}}, section III.I [514] => [515] => [[Lyapunov exponent]]s use logarithms to gauge the degree of chaoticity of a [[dynamical system]]. For example, for a particle moving on an oval billiard table, even small changes of the initial conditions result in very different paths of the particle. Such systems are [[chaos theory|chaotic]] in a [[Deterministic system|deterministic]] way, because small measurement errors of the initial state predictably lead to largely different final states.{{Citation | last1=Sprott | first1=Julien Clinton | title=Elegant Chaos: Algebraically Simple Chaotic Flows | journal=Elegant Chaos: Algebraically Simple Chaotic Flows. Edited by Sprott Julien Clinton. Published by World Scientific Publishing Co. Pte. Ltd | url={{google books |plainurl=y |id=buILBDre9S4C}} | publisher=[[World Scientific]] |location=New Jersey|isbn=978-981-283-881-0| year=2010| bibcode=2010ecas.book.....S | doi=10.1142/7183 }}, section 1.9 At least one Lyapunov exponent of a deterministically chaotic system is positive. [516] => [517] => ===Fractals=== [518] => [[File:Sierpinski dimension.svg|The Sierpinski triangle (at the right) is constructed by repeatedly replacing [[equilateral triangle]]s by three smaller ones.|right|thumb|400px|alt=Parts of a triangle are removed in an iterated way.]] [519] => [520] => Logarithms occur in definitions of the [[fractal dimension|dimension]] of [[fractal]]s.{{Citation|last1=Helmberg|first1=Gilbert|title=Getting acquainted with fractals|publisher=Walter de Gruyter|series=De Gruyter Textbook|location=Berlin, New York|isbn=978-3-11-019092-2|year=2007}} Fractals are geometric objects that are self-similar in the sense that small parts reproduce, at least roughly, the entire global structure. The [[Sierpinski triangle]] (pictured) can be covered by three copies of itself, each having sides half the original length. This makes the [[Hausdorff dimension]] of this structure {{math|1=ln(3)/ln(2) ≈ 1.58}}. Another logarithm-based notion of dimension is obtained by [[box-counting dimension|counting the number of boxes]] needed to cover the fractal in question. [521] => [522] => ===Music=== [523] => {{multiple image [524] => | direction = vertical [525] => | width = 350 [526] => | footer = Four different octaves shown on a linear scale, then shown on a logarithmic scale (as the ear hears them) [527] => | image1 = 4Octaves.and.Frequencies.svg [528] => | alt1 = Four different octaves shown on a linear scale. [529] => | image2 = 4Octaves.and.Frequencies.Ears.svg [530] => | alt2 = Four different octaves shown on a logarithmic scale [531] => }} [532] => [533] => Logarithms are related to musical tones and [[interval (music)|intervals]]. In [[equal temperament]], the frequency ratio depends only on the interval between two tones, not on the specific frequency, or [[pitch (music)|pitch]], of the individual tones. For example, the [[a (musical note)|note ''A'']] has a frequency of 440 [[Hertz|Hz]] and [[B♭ (musical note)|''B-flat'']] has a frequency of 466 Hz. The interval between ''A'' and ''B-flat'' is a [[semitone]], as is the one between ''B-flat'' and [[b (musical note)|''B'']] (frequency 493 Hz). Accordingly, the frequency ratios agree: [534] => \frac{466}{440} \approx \frac{493}{466} \approx 1.059 \approx \sqrt[12]2. [535] => Therefore, logarithms can be used to describe the intervals: an interval is measured in semitones by taking the {{Nowrap|base-{{math|21/12}}}} logarithm of the [[frequency]] ratio, while the {{Nowrap|base-{{math|21/1200}}}} logarithm of the frequency ratio expresses the interval in [[cent (music)|cents]], hundredths of a semitone. The latter is used for finer encoding, as it is needed for non-equal temperaments.{{Citation|last1=Wright|first1=David|title=Mathematics and music|location=Providence, RI|publisher=AMS Bookstore|isbn=978-0-8218-4873-9|year=2009}}, chapter 5 [536] => [537] => {| class="wikitable" style="text-align:center; margin:1em auto 1em auto;" [538] => |- [539] => ||'''Interval'''
(the two tones are played at the same time) [540] => ||[[72 tone equal temperament|1/12 tone]] {{audio|1_step_in_72-et_on_C.mid|play}} [541] => ||[[Semitone]] {{audio|help=no|Minor_second_on_C.mid|play}} [542] => ||[[Just major third]] {{audio|help=no|Just_major_third_on_C.mid|play}} [543] => ||[[Major third]] {{audio|help=no|Major_third_on_C.mid|play}} [544] => ||[[Tritone]] {{audio|help=no|Tritone_on_C.mid|play}} [545] => ||[[Octave]] {{audio|help=no|Perfect_octave_on_C.mid|play}} [546] => |- [547] => || '''Frequency ratio''' ''r'' [548] => || 2^{\frac 1 {72}} \approx 1.0097 [549] => || 2^{\frac 1 {12}} \approx 1.0595 [550] => || \tfrac 5 4 = 1.25 [551] => || \begin{align} 2^{\frac 4 {12}} & = \sqrt[3] 2 \\ & \approx 1.2599 \end{align} [552] => || \begin{align} 2^{\frac 6 {12}} & = \sqrt 2 \\ & \approx 1.4142 \end{align} [553] => || 2^{\frac {12} {12}} = 2 [554] => |- [555] => || '''Corresponding number of semitones'''
\log_{\sqrt[12] 2}(r) = 12 \log_2 (r) [556] => || \tfrac 1 6 [557] => || 1 [558] => || \approx 3.8631 [559] => || 4 [560] => || 6 [561] => || 12 [562] => |- [563] => || '''Corresponding number of cents'''
\log_{\sqrt[1200] 2}(r) = 1200 \log_2 (r) [564] => || 16 \tfrac 2 3 [565] => || 100 [566] => || \approx 386.31 [567] => || 400 [568] => || 600 [569] => || 1200 [570] => |} [571] => [572] => ===Number theory=== [573] => [[Natural logarithm]]s are closely linked to [[prime-counting function|counting prime numbers]] (2, 3, 5, 7, 11, ...), an important topic in [[number theory]]. For any [[integer]] {{mvar|x}}, the quantity of [[prime number]]s less than or equal to {{mvar|x}} is denoted {{math|[[prime-counting function|{{pi}}(''x'')]]}}. The [[prime number theorem]] asserts that {{math|{{pi}}(''x'')}} is approximately given by [574] => \frac{x}{\ln(x)}, [575] => in the sense that the ratio of {{math|{{pi}}(''x'')}} and that fraction approaches 1 when {{mvar|x}} tends to infinity.{{Citation|last1=Bateman|first1=P.T.|last2=Diamond|first2=Harold G.|title=Analytic number theory: an introductory course|publisher=[[World Scientific]]|location=New Jersey|isbn=978-981-256-080-3 |oclc=492669517|year=2004}}, theorem 4.1 As a consequence, the probability that a randomly chosen number between 1 and {{mvar|x}} is prime is inversely [[proportionality (mathematics)|proportional]] to the number of decimal digits of {{mvar|x}}. A far better estimate of {{math|{{pi}}(''x'')}} is given by the [[logarithmic integral function|offset logarithmic integral]] function {{math|Li(''x'')}}, defined by [576] => \mathrm{Li}(x) = \int_2^x \frac1{\ln(t)} \,dt. [577] => The [[Riemann hypothesis]], one of the oldest open mathematical [[conjecture]]s, can be stated in terms of comparing {{math|{{pi}}(''x'')}} and {{math|Li(''x'')}}.{{Harvard citations|last1=Bateman|first1=P. T.|last2=Diamond|year=2004|nb=yes |loc=Theorem 8.15}} The [[Erdős–Kac theorem]] describing the number of distinct [[prime factor]]s also involves the [[natural logarithm]]. [578] => [579] => The logarithm of ''n'' [[factorial]], {{math|1=''n''! = 1 · 2 · ... · ''n''}}, is given by [580] => \ln (n!) = \ln (1) + \ln (2) + \cdots + \ln (n). [581] => This can be used to obtain [[Stirling's formula]], an approximation of {{math|''n''!}} for large {{mvar|n}}.{{Citation|last1=Slomson|first1=Alan B.|title=An introduction to combinatorics|publisher=[[CRC Press]]|location=London|isbn=978-0-412-35370-3|year=1991}}, chapter 4 [582] => [583] => ==Generalizations== [584] => [585] => ===Complex logarithm=== [586] => {{Main|Complex logarithm}} [587] => [[File:Complex number illustration multiple arguments.svg|thumb|right|Polar form of {{math|''z {{=}} x + iy''}}. Both {{mvar|φ}} and {{mvar|φ'}} are arguments of {{mvar|z}}.|alt=An illustration of the polar form: a point is described by an arrow or equivalently by its length and angle to the x-axis.]] [588] => [589] => All the [[complex number]]s {{mvar|a}} that solve the equation [590] => [591] => e^a=z [592] => [593] => are called ''complex logarithms'' of {{mvar|z}}, when {{mvar|z}} is (considered as) a complex number. A complex number is commonly represented as {{math|''z {{=}} x + iy''}}, where {{mvar|x}} and {{mvar|y}} are real numbers and {{mvar|i}} is an [[imaginary unit]], the square of which is −1. Such a number can be visualized by a point in the [[complex plane]], as shown at the right. The [[polar form]] encodes a non-zero complex number {{mvar|z}} by its [[absolute value]], that is, the (positive, real) distance {{Mvar|r}} to the [[origin (mathematics)|origin]], and an angle between the real ({{mvar|x}}) axis'' ''{{Math|Re}} and the line passing through both the origin and {{mvar|z}}. This angle is called the [[Argument (complex analysis)|argument]] of {{mvar|z}}. [594] => [595] => The absolute value {{mvar|r}} of {{mvar|z}} is given by [596] => [597] => \textstyle r=\sqrt{x^2+y^2}. [598] => [599] => Using the geometrical interpretation of [[sine]] and [[cosine]] and their periodicity in {{Math|2{{pi}}}}, any complex number {{mvar|z}} may be denoted as [600] => [601] => z = x + iy = r (\cos \varphi + i \sin \varphi )= r (\cos (\varphi + 2k\pi) + i \sin (\varphi + 2k\pi)), [602] => [603] => for any integer number {{mvar|k}}. Evidently the argument of {{mvar|z}} is not uniquely specified: both {{mvar|φ}} and {{Math|1=''φ''' = ''φ'' + 2''k''{{pi}}}} are valid arguments of {{mvar|z}} for all integers {{mvar|k}}, because adding {{Math|2''k''{{pi}}}} [[radian|radians]] or ''k''⋅360°{{refn|See [[radian]] for the conversion between 2[[pi|{{pi}}]] and 360 [[degree (angle)|degree]].|group=nb}} to {{mvar|φ}} corresponds to "winding" around the origin counter-clock-wise by {{mvar|k}} [[Turn (geometry)|turns]]. The resulting complex number is always {{mvar|z}}, as illustrated at the right for {{math|''k'' {{=}} 1}}. One may select exactly one of the possible arguments of {{mvar|z}} as the so-called ''principal argument'', denoted {{math|Arg(''z'')}}, with a capital {{math|A}}, by requiring {{mvar|φ}} to belong to one, conveniently selected turn, e.g. {{Math|−{{pi}} < ''φ'' ≤ {{pi}}}}{{Citation|last1=Ganguly|location=Kolkata|first1=S.|title=Elements of Complex Analysis|publisher=Academic Publishers|isbn=978-81-87504-86-3|year=2005}}, Definition 1.6.3 or {{Math|0 ≤ ''φ'' < 2{{pi}}}}.{{Citation|last1=Nevanlinna|first1=Rolf Herman|author1-link=Rolf Nevanlinna|last2=Paatero|first2=Veikko|title=Introduction to complex analysis|journal=London: Hilger|location=Providence, RI|publisher=AMS Bookstore|isbn=978-0-8218-4399-4|year=2007|bibcode=1974aitc.book.....W}}, section 5.9 These regions, where the argument of {{mvar|z}} is uniquely determined are called [[principal branch|''branches'']] of the argument function. [604] => [605] => [[File:Complex log domain.svg|right|thumb|The principal branch (-{{pi}}, {{pi}}) of the complex logarithm, {{math|Log(''z'')}}. The black point at {{math|''z'' {{=}} 1}} corresponds to absolute value zero and brighter colors refer to bigger absolute values. The [[hue]] of the color encodes the argument of {{math|Log(''z'')}}.|alt=A density plot. In the middle there is a black point, at the negative axis the hue jumps sharply and evolves smoothly otherwise.]] [606] => [607] => [[Euler's formula]] connects the [[trigonometric functions]] [[sine]] and [[cosine]] to the [[complex exponential]]: [608] => e^{i\varphi} = \cos \varphi + i\sin \varphi . [609] => [610] => Using this formula, and again the periodicity, the following identities hold:{{Citation|last1=Moore|first1=Theral Orvis|last2=Hadlock|first2=Edwin H.|title=Complex analysis|publisher=[[World Scientific]]|location=Singapore|isbn=978-981-02-0246-0|year=1991}}, section 1.2 [611] => [612] => \begin{array}{lll}z& = & r \left (\cos \varphi + i \sin \varphi\right) \\ [613] => & = & r \left (\cos(\varphi + 2k\pi) + i \sin(\varphi + 2k\pi)\right) \\ [614] => & = & r e^{i (\varphi + 2k\pi)} \\ [615] => & = & e^{\ln(r)} e^{i (\varphi + 2k\pi)} \\ [616] => & = & e^{\ln(r) + i(\varphi + 2k\pi)} = e^{a_k}, [617] => \end{array} [618] => [619] => [620] => where {{math|ln(''r'')}} is the unique real natural logarithm, {{math|''a''''k''}} denote the complex logarithms of {{mvar|z}}, and {{mvar|k}} is an arbitrary integer. Therefore, the complex logarithms of {{mvar|z}}, which are all those complex values {{math|''a''''k''}} for which the {{math|''a''''k''-th}} power of {{mvar|e}} equals {{mvar|z}}, are the infinitely many values [621] => [622] => {{block indent|indent=1|a_k = \ln (r) + i ( \varphi + 2 k \pi ),\quad for arbitrary integers {{mvar|k}}.}} [623] => [624] => Taking {{mvar|k}} such that {{Math|''φ'' + 2''k''{{pi}}}} is within the defined interval for the principal arguments, then {{math|''a''''k''}} is called the ''principal value'' of the logarithm, denoted {{math|Log(''z'')}}, again with a capital {{math|L}}. The principal argument of any positive real number {{mvar|x}} is 0; hence {{math|Log(''x'')}} is a real number and equals the real (natural) logarithm. However, the above formulas for logarithms of products and powers [[Exponentiation#Failure of power and logarithm identities|do ''not'' generalize]] to the principal value of the complex logarithm.{{Citation | last1=Wilde | first1=Ivan Francis | title=Lecture notes on complex analysis | publisher=Imperial College Press | location=London | isbn=978-1-86094-642-4 | year=2006|url=https://books.google.com/books?id=vrWES2W6vG0C&q=complex+logarithm&pg=PA97}}, theorem 6.1. [625] => [626] => The illustration at the right depicts {{math|Log(''z'')}}, confining the arguments of {{mvar|z}} to the interval {{open-closed|−π, π}}. This way the corresponding branch of the complex logarithm has discontinuities all along the negative real {{mvar|x}} axis, which can be seen in the jump in the hue there. This discontinuity arises from jumping to the other boundary in the same branch, when crossing a boundary, i.e. not changing to the corresponding {{mvar|k}}-value of the continuously neighboring branch. Such a locus is called a [[branch cut]]. Dropping the range restrictions on the argument makes the relations "argument of {{mvar|z}}", and consequently the "logarithm of {{mvar|z}}", [[multi-valued function]]s. [627] => [628] => ===Inverses of other exponential functions=== [629] => Exponentiation occurs in many areas of mathematics and its inverse function is often referred to as the logarithm. For example, the [[logarithm of a matrix]] is the (multi-valued) inverse function of the [[matrix exponential]].{{Citation|last1=Higham|first1=Nicholas|author1-link=Nicholas Higham|title=Functions of Matrices. Theory and Computation|location=Philadelphia, PA|publisher=[[Society for Industrial and Applied Mathematics|SIAM]]|isbn=978-0-89871-646-7|year=2008}}, chapter 11. Another example is the [[p-adic logarithm function|''p''-adic logarithm]], the inverse function of the [[p-adic exponential function|''p''-adic exponential]]. Both are defined via Taylor series analogous to the real case.{{Neukirch ANT|mode=cs2}}, section II.5. In the context of [[differential geometry]], the [[exponential map (Riemannian geometry)|exponential map]] maps the [[tangent space]] at a point of a [[differentiable manifold|manifold]] to a [[neighborhood (mathematics)|neighborhood]] of that point. Its inverse is also called the logarithmic (or log) map.{{Citation|last1=Hancock|first1=Edwin R.|last2=Martin|first2=Ralph R.|last3=Sabin|first3=Malcolm A.|title=Mathematics of Surfaces XIII: 13th IMA International Conference York, UK, September 7–9, 2009 Proceedings|url=https://books.google.com/books?id=0cqCy9x7V_QC&pg=PA379|publisher=Springer|year=2009|page=379|isbn=978-3-642-03595-1}} [630] => [631] => In the context of [[finite group]]s exponentiation is given by repeatedly multiplying one group element {{mvar|b}} with itself. The [[discrete logarithm]] is the integer ''{{mvar|n}}'' solving the equation [632] => b^n = x, [633] => where {{mvar|x}} is an element of the group. Carrying out the exponentiation can be done efficiently, but the discrete logarithm is believed to be very hard to calculate in some groups. This asymmetry has important applications in [[public key cryptography]], such as for example in the [[Diffie–Hellman key exchange]], a routine that allows secure exchanges of [[cryptography|cryptographic]] keys over unsecured information channels.{{Citation|last1=Stinson|first1=Douglas Robert|title=Cryptography: Theory and Practice|publisher=[[CRC Press]]|location=London|edition=3rd|isbn=978-1-58488-508-5|year=2006}} [[Zech's logarithm]] is related to the discrete logarithm in the multiplicative group of non-zero elements of a [[finite field]].{{Citation|last1=Lidl|first1=Rudolf|last2=Niederreiter|first2=Harald|author2-link=Harald Niederreiter|title=Finite fields|publisher=Cambridge University Press|isbn=978-0-521-39231-0|year=1997|url-access=registration|url=https://archive.org/details/finitefields0000lidl_a8r3}} [634] => [635] => {{anchor|double logarithm}}Further logarithm-like inverse functions include the ''double logarithm'' {{math|ln(ln(''x''))}}, the ''[[super-logarithm|super- or hyper-4-logarithm]]'' (a slight variation of which is called [[iterated logarithm]] in computer science), the [[Lambert W function]], and the [[logit]]. They are the inverse functions of the [[double exponential function]], [[tetration]], of {{math|''f''(''w'') {{=}} ''wew''}},{{Citation | last1=Corless | first1=R. | last2=Gonnet | first2=G. | last3=Hare | first3=D. | last4=Jeffrey | first4=D. | last5=Knuth | first5=Donald | author5-link=Donald Knuth | title=On the Lambert ''W'' function | url=http://www.apmaths.uwo.ca/~djeffrey/Offprints/W-adv-cm.pdf | year=1996 | journal=Advances in Computational Mathematics | issn=1019-7168 | volume=5 | pages=329–59 | doi=10.1007/BF02124750 | s2cid=29028411 | access-date=13 February 2011 | archive-url=https://web.archive.org/web/20101214110615/http://www.apmaths.uwo.ca/~djeffrey/Offprints/W-adv-cm.pdf | archive-date=14 December 2010 | url-status=dead}} and of the [[logistic function]], respectively.{{Citation | last1=Cherkassky | first1=Vladimir | last2=Cherkassky | first2=Vladimir S. | last3=Mulier | first3=Filip | title=Learning from data: concepts, theory, and methods | publisher=[[John Wiley & Sons]] | location=New York | series=Wiley series on adaptive and learning systems for signal processing, communications, and control | isbn=978-0-471-68182-3 | year=2007}}, p. 357 [636] => [637] => ===Related concepts=== [638] => From the perspective of [[group theory]], the identity {{math|log(''cd'') {{=}} log(''c'') + log(''d'')}} expresses a [[group isomorphism]] between positive [[real number|reals]] under multiplication and reals under addition. Logarithmic functions are the only continuous isomorphisms between these groups.{{Citation|last1=Bourbaki|first1=Nicolas|author1-link=Nicolas Bourbaki|title=General topology. Chapters 5–10|publisher=[[Springer-Verlag]]|location=Berlin, New York|series=Elements of Mathematics|isbn=978-3-540-64563-4|mr=1726872|year=1998}}, section V.4.1 By means of that isomorphism, the [[Haar measure]] ([[Lebesgue measure]]) {{math|''dx''}} on the reals corresponds to the Haar measure {{math|''dx''/''x''}} on the positive reals.{{Citation|last1=Ambartzumian|first1=R.V.|author-link=Rouben V. Ambartzumian|title=Factorization calculus and geometric probability|publisher=[[Cambridge University Press]]|isbn=978-0-521-34535-4|year=1990|url-access=registration|url=https://archive.org/details/factorizationcal0000amba}}, section 1.4 The non-negative reals not only have a multiplication, but also have addition, and form a [[semiring]], called the [[probability semiring]]; this is in fact a [[semifield]]. The logarithm then takes multiplication to addition (log multiplication), and takes addition to log addition ([[LogSumExp]]), giving an [[isomorphism]] of semirings between the probability semiring and the [[log semiring]]. [639] => [640] => [[logarithmic form|Logarithmic one-forms ]]{{math|''df''/''f''}} appear in [[complex analysis]] and [[algebraic geometry]] as [[differential form]]s with logarithmic [[Pole (complex analysis)|poles]].{{Citation|last1=Esnault|first1=Hélène|last2=Viehweg|first2=Eckart|title=Lectures on vanishing theorems|location=Basel, Boston|publisher=Birkhäuser Verlag|series=DMV Seminar|isbn=978-3-7643-2822-1|mr=1193913|year=1992|volume=20|doi=10.1007/978-3-0348-8600-0|citeseerx=10.1.1.178.3227}}, section 2 [641] => [642] => The [[polylogarithm]] is the function defined by [643] => [644] => \operatorname{Li}_s(z) = \sum_{k=1}^\infty {z^k \over k^s}. [645] => [646] => It is related to the [[natural logarithm]] by {{math|1=Li1 (''z'') = −ln(1 − ''z'')}}. Moreover, {{math|Li''s'' (1)}} equals the [[Riemann zeta function]] {{math|ζ(''s'')}}.{{dlmf|id= 25.12|first= T.M.|last= Apostol}} [647] => [648] => ==See also== [649] => {{Portal|Mathematics|Arithmetic|Chemistry|Geography|Engineering}} [650] => * [[Decimal exponent]] (dex) [651] => * [[Exponential function]] [652] => * [[Index of logarithm articles]] [653] => [654] => ==Notes== [655] => {{reflist|group=nb|30em}} [656] => [657] => ==References== [658] => {{Reflist}} [659] => [660] => ==External links== [661] => * {{Commons category-inline}} [662] => * {{Wiktionary-inline}} [663] => *{{sister-inline [664] => |project=v [665] => |links=[[v:Speak Math Now!/Week 9: Six rules of Exponents/Logarithms|A lesson on logarithms can be found on Wikiversity]] [666] => |short=yes [667] => }} [668] => * {{MathWorld|Logarithm|Logarithm|mode=cs2}} [669] => * [https://web.archive.org/web/20121218200616/http://www.khanacademy.org/math/algebra/logarithms-tutorial Khan Academy: Logarithms, free online micro lectures] [670] => * {{springer|title=Logarithmic function|id=p/l060600}} [671] => * {{Citation|author=Colin Byfleet|url=http://mediasite.oddl.fsu.edu/mediasite/Viewer/?peid=003298f9a02f468c8351c50488d6c479|title=Educational video on logarithms|access-date=12 October 2010}} [672] => * {{Citation|author=Edward Wright |url=http://www.johnnapier.com/table_of_logarithms_001.htm |title=Translation of Napier's work on logarithms |access-date=12 October 2010 |url-status=unfit |archive-url=https://web.archive.org/web/20021203005508/http://www.johnnapier.com/table_of_logarithms_001.htm |archive-date=3 December 2002 }} [673] => * {{Cite EB1911|wstitle=Logarithm |volume=16 |pages=868–77 |first=James Whitbread Lee |last=Glaisher|mode=cs2}} [674] => [675] => {{Hyperoperations}} [676] => {{Featured article}} [677] => {{Authority control}} [678] => [679] => [[Category:Logarithms| ]] [680] => [[Category:Elementary special functions]] [681] => [[Category:Scottish inventions]] [682] => [[Category:Additive functions]] [] => )
good wiki

Logarithm

A logarithm is a mathematical function that quantifies how many times a particular number, known as the base, must be multiplied by itself to obtain a given number. It is the inverse operation of exponentiation.

More about us

About

It is the inverse operation of exponentiation. Logarithms are widely used in various fields of science, engineering, and mathematics. The concept of logarithms was developed by Scottish mathematician John Napier in the 16th century as a means to simplify complex calculations. Logarithms have multiple applications, such as in solving exponential equations, expressing exponential growth or decay, calculating compound interest, and scaling values on various measurement scales. The logarithm function is defined as log_b(x), where "log" represents logarithm, "b" is the base, and "x" is the argument. The base can be any positive number except 1, and typically common bases such as 10 (common logarithm) and Euler's number "e" (natural logarithm) are used. Logarithmic properties and identities help to simplify complex mathematical expressions and solve equations involving logarithmic functions. The history of logarithms includes contributions from mathematicians like John Napier, Henry Briggs, and Leonhard Euler. Napier's work on logarithms primarily focused on the base 10 (common logarithm) and its application in mathematical tables, while Briggs extended logarithms to other bases and made further advancements. Euler used logarithms extensively and established many fundamental properties and formulas. Logarithms have wide-ranging real-world applications beyond mathematics. They are used in signal processing, computer science, statistics, physics, chemistry, engineering, biology, economics, and many other fields. Logarithmic scales, such as the Richter scale for measuring earthquake magnitudes, pH scale for measuring acidity, and the decibel scale for measuring sound intensity, are commonly used due to their ability to represent a large range of values in a more manageable scale. The Wikipedia page on logarithm provides detailed information on the history, properties, applications, and various branches of logarithms, including common logarithms, natural logarithms, logarithmic functions, logarithmic equations, and logarithmic identities. It also covers related topics, such as exponential functions and their relationship to logarithms.

Expert Team

Vivamus eget neque lacus. Pellentesque egauris ex.

Award winning agency

Lorem ipsum, dolor sit amet consectetur elitorceat .

10 Year Exp.

Pellen tesque eget, mauris lorem iupsum neque lacus.

You might be interested in