Logarithm: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Milton Beychok
m (→‎History: Added a paragraph about Henry Briggs)
mNo edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{subpages}}
{{subpages}}
[[Image:Logarithms2.png|right|thumb|284px|{{#ifexist:Template:Logarithms2.png/credit|{{Logarithms2.png/credit}}<br/>|}}Logarithmic function of real argument for the three most common values of base.]]
{{Image|Logarithms2.png|right|284px|Logarithmic function of real argument for the three most common values of base.}}


Computing '''logarithms''' is the inverse of exponentiation, as subtraction is the inverse of addition and division is the inverse of multiplication. For example, since <font style="vertical-align:+20%;"><math>343 = 7^3</math></font>, then the base-7 logarithm of 343 is 3.  In general, if <font style="vertical-align:+10%;"><math>a = b^c</math></font>, then <math>\log_b(a) = c,</math> where <math>b</math> is called the ''base'' and <font style="vertical-align:-5%;"><math>c</math></font> is the logarithm. In other words, the logarithm <font style="vertical-align:-5%;"><math>c</math></font> is the [[Power law|exponential power]] to which the base must be raised to produce the number <font style="vertical-align:-5%;"><math>a</math></font>.
Computing '''logarithms''' is the inverse of exponentiation, as subtraction is the inverse of addition and division is the inverse of multiplication. For example, since <font style="vertical-align:+20%;"><math>343 = 7^3</math></font>, then the base-7 logarithm of 343 is 3.  In general, if <font style="vertical-align:+10%;"><math>a = b^c</math></font>, then <math>\log_b(a) = c,</math> where <math>b</math> is called the ''base'' and <font style="vertical-align:-5%;"><math>c</math></font> is the logarithm. In other words, the logarithm <font style="vertical-align:-5%;"><math>c</math></font> is the [[Power law|exponential power]] to which the base must be raised to produce the number <font style="vertical-align:-5%;"><math>a</math></font>.
Line 8: Line 8:
== Logarithms of intermediate and fractional values ==
== Logarithms of intermediate and fractional values ==


Because we use a base-10 number system, it is often convenient to use 10 as the base of the logarithm. It's easy to find the base-10 logarithm of a number such as 1000, because <math>1000 = 10^3,</math> therefore <math>\log_{10}(1000) = 3.</math>  (The value of the logarithmic function is the number that appeared as an exponent in the other equation.)  But what is the logarithm of a number such as 43, or 0.001?
Because we use a base-10 number system, it is often convenient to use 10 as the base of the logarithm. It's easy to find the base-10 logarithm of a number such as 1000, because <math>1000 = 10^3,</math> therefore <math>\log_{10}(1000) = 3</math>. (The value of the logarithmic function is the number that appeared as an exponent in the other equation.)  But what is the logarithm of a number such as 43, or 0.001?


We know from the study of [[exponent]]s that, for example, <math>10^\frac{1}{2}</math> is <math>\sqrt{10}</math> and this then supplies a value for <math>\log_{10}(\sqrt{10}) = 0.5.</math> Values for many other numbers can be worked out similarly using cube roots and so on, and values for all real numbers can then be defined using limits.    For example, <math>\log_{10}(43)</math> is approximately equal to 1.63347. Multiplying a number by 10 appends a zero to the numeral and adds 1 to the base-10 logarithm, therefore <math>\log_{10}(430)</math> is approximately 2.63347.
We know from the study of [[exponent]]s that, for example, <math>10^\frac{1}{2}</math> is <math>\sqrt{10}</math> and this then supplies a value for <math>\log_{10}(\sqrt{10}) = 0.5</math>. Values for many other numbers can be worked out similarly using cube roots and so on, and values for all real numbers can then be defined using limits.    For example, <math>\log_{10}(43)</math> is approximately equal to 1.63347. Multiplying a number by 10 appends a zero to the numeral and adds 1 to the base-10 logarithm, therefore <math>\log_{10}(430)</math> is approximately 2.63347.
<!--  :<math>b^x b^y = b^{x + y}.</math>  -->
<!--  :<math>b^x b^y = b^{x + y}.</math>  -->


Line 65: Line 65:
The base  must not be 0 nor 1. The most widely used bases for logarithms are 10, 2 and the transcendental number <math>e</math> (also known as [[Euler's number]]) which is approximately 2.7182818284.
The base  must not be 0 nor 1. The most widely used bases for logarithms are 10, 2 and the transcendental number <math>e</math> (also known as [[Euler's number]]) which is approximately 2.7182818284.


When logarithms are used to measure physical values (e.g., when noise is measured in deciBels) it is common to use 10 as a base, and in these contexts, the notation <math>\log x</math> means <math>\log_{10} \,x</math>.  
When logarithms are used to measure physical values (e.g., when noise is measured in decibels) it is common to use 10 as a base, and in these contexts, the notation <math>\log x</math> means <math>\log_{10} \,x</math>.  


Mathematicians and physicists often find, however, that <math>e</math> is more convenient as a base for a logarithmic function. The logarithmic function with <math>e</math> as a base is called the '''natural logarithm'''; it has the special property that its derivative is <math>1/x</math>. The notation <font style="vertical-align:+5%;"><math>\ln x</math></font> is often used for natural logarithms, but in mathematics it is just as common to use the notation <math>\log\, x</math> and write logarithms to base 10 using the full notation <math>\log_{10}\, x</math>.  
Mathematicians and physicists often find, however, that <math>e</math> is more convenient as a base for a logarithmic function. The logarithmic function with <math>e</math> as a base is called the '''natural logarithm'''; it has the special property that its derivative is <math>1/x</math>. The notation <font style="vertical-align:+5%;"><math>\ln x</math></font> is often used for natural logarithms, but in mathematics it is just as common to use the notation <math>\log\, x</math> and write logarithms to base 10 using the full notation <math>\log_{10}\, x</math>.  


Computer science adds a whole new wrinkle because, in some cases, it is most useful to consider logarithms to base 2, and this has led to a new notation <math>\mathrm{lg} \,x</math> which become common for logarithms to a base of 2. Finally, the notation <math>\log\, x</math> is sometimes used for logarithms to base 2, but this is usage is less common.
Computer science adds a whole new wrinkle because, in some cases, it is most useful to consider logarithms to base 2, and this has led to a new notation <math>\mathrm{lg}\,x</math> which become common for logarithms to a base of 2. Finally, the notation <math>\log\, x</math> is sometimes used for logarithms to base 2, but this is usage is less common.


In German and Russian literature, <math>lg</math> is used to mean the common logarithm <math>log_{10}(x)</math>.<ref>[http://mathworld.wolfram.com/Lg.html Lg at Mathworld]</ref> The advice of the [[United States Department of Commerce]]'s [[National Institute of Standards and Technology]] is to follow the [[International Organization for Standardization|ISO]] standard ''Mathematical signs and symbols for use in physical sciences and technology, ISO 31-11:1992'', which suggests these notations:<ref>{{cite web | title = Guide for the Use of the International System of Units (SI) | author = B. N. Taylor | work = NIST Special Publication 811, 1995 Edition | publisher = US Department of Commerce | year = 1995 | url = http://physics.nist.gov/Pubs/SP811/sec10.html#10.1.2}}</ref>  
In German and Russian literature, <math>\lg</math> is used to mean the common logarithm <math>\log_{10}(x)</math>.<ref>[http://mathworld.wolfram.com/Lg.html Lg at Mathworld]</ref> The advice of the [[United States Department of Commerce]]'s [[National Institute of Standards and Technology]] is to follow the [[International Organization for Standardization|ISO]] standard ''Mathematical signs and symbols for use in physical sciences and technology, ISO 31-11:1992'', which suggests these notations:<ref>{{cite web | title = Guide for the Use of the International System of Units (SI) | author = B. N. Taylor | work = NIST Special Publication 811, 1995 Edition | publisher = US Department of Commerce | year = 1995 | url = http://physics.nist.gov/Pubs/SP811/sec10.html#10.1.2}}</ref>  


* The notation <math>ln(x)</math> means <math>log_e(x)</math>
* The notation <math>\ln(x)</math> means <math>\log_e(x)</math>
* The notation <math>lg(x)</math> means <math>log_{10}(x)</math>
* The notation <math>\lg(x)</math> means <math>\log_{10}(x)</math>
* The notation <math>lb(x)</math> means <math>log_2(x)</math>
* The notation <math>\mathrm{lb}(x)</math> means <math>\log_2(x)</math>


It is obvious that, until a standard such as the ISO standard is universally accepted, perhaps the surest way to avoid confusion is to always use the notation of <math>log_e (x)</math>, <math>log_{10}(x)</math>, or <math>log_2(x)</math>, whichever is applicable.
It is obvious that, until a standard such as the ISO standard is universally accepted, perhaps the surest way to avoid confusion is to always use the notation of <math>\log_e (x)</math>, <math>\log_{10}(x)</math>, or <math>\log_2(x)</math>, whichever is applicable.


==Complex numbers and logarithms ==
==Complex numbers and logarithms ==
[[Image:Logez02.jpg|200px|right|thumb|<math>~f=\ln(z)~</math> with lines
{{Image|Logez02.jpg|right|200px|<math>~f=\ln(z)~</math> with lines
<math>~\Re(f)=\rm const~</math> and lines
<math>~\Re(f)=\rm const~</math> and lines
<math>~\Im(f)=\rm const~</math> in the complex <math>~z~</math>-plane. <!--The cut is assumed along the negative part of the real axis. in such a way the logarithmic function is interpreted by the most of software.!-->]]
<math>~\Im(f)=\rm const~</math> in the complex <math>~z~</math>-plane. <!--The cut is assumed along the negative part of the real axis. in such a way the logarithmic function is interpreted by the most of software.!-->}}


The exponential function of an imaginary number is given as
The exponential function of an imaginary number is given as
Line 88: Line 88:
:<math>e^{ix} = \cos(x) + i\sin(x).\,</math>
:<math>e^{ix} = \cos(x) + i\sin(x).\,</math>


Consequently if ''a'' and ''b'' are real numbers then
Consequently if ''u'' and ''v'' are real numbers then


:<math>e^{u + vi} = e^u(\cos(v) + i\sin(v)).\,</math>
:<math>e^{u + vi} = e^u(\cos(v) + i\sin(v)).\,</math>
Line 116: Line 116:
[[Image:Napier Portrait.jpg|right|thumb|200px|{{#ifexist:Template:Napier Portrait.jpg/credit|{{Napier Portrait.jpg/credit}}<br/>|}}Portrait of John Napier.<ref>[http://www.thocp.net/biographies/napier_john.html John Napier] The History of Computing Project</ref>]]  
[[Image:Napier Portrait.jpg|right|thumb|200px|{{#ifexist:Template:Napier Portrait.jpg/credit|{{Napier Portrait.jpg/credit}}<br/>|}}Portrait of John Napier.<ref>[http://www.thocp.net/biographies/napier_john.html John Napier] The History of Computing Project</ref>]]  


The method of logarithms was first publicly propounded in [[1614]], in a book entitled ''Mirifici Logarithmorum Canonis Descriptio,'' by [[John Napier]], Baron of Merchiston, in [[Scotland]].<ref>[http://ualr.edu/lasmoller/napier.html Did you know?] (Website of the [[University of Arkansas]] at [[Little Rock]], [[Arkansas]])</ref>
The method of logarithms was first publicly propounded in 1614, in a book entitled ''Mirifici Logarithmorum Canonis Descriptio,'' by [[John Napier]], Baron of Merchiston, in [[Scotland]].<ref>[http://ualr.edu/lasmoller/napier.html Did you know?] (Website of the [[University of Arkansas]] at [[Little Rock]], [[Arkansas (U.S. state)]])</ref>


[[Jost Bürgi]], a [[Swiss]] mathematician, independently discovered logarithms but did not publish his discovery until four years after Napier.<ref>[http://turnbull.mcs.st-and.ac.uk/history/Biographies/Burgi.html Jost Bürgi] (Website of the [[University of St. Andrews]], Scotland)</ref>  
[[Jost Bürgi]], a [[Swiss]] mathematician, independently discovered logarithms but did not publish his discovery until four years after Napier.<ref>[http://turnbull.mcs.st-and.ac.uk/history/Biographies/Burgi.html Jost Bürgi] (Website of the [[University of St. Andrews]], Scotland)</ref>  
Line 125: Line 125:


The use of logarithms contributed to the advance of science, and especially of [[astronomy]], by making some difficult calculations possible.  Prior to the advent of [[electronic calculators]] and [[computer]]s, logarithms were used extensively in [[surveying]], [[navigation]], [[engineering]], [[chemistry]] and many other disciplines.
The use of logarithms contributed to the advance of science, and especially of [[astronomy]], by making some difficult calculations possible.  Prior to the advent of [[electronic calculators]] and [[computer]]s, logarithms were used extensively in [[surveying]], [[navigation]], [[engineering]], [[chemistry]] and many other disciplines.
== The importance of logarithms ==
The development of electronic [[calculator]]s and [[computer]]s in the mid-1900's reduced the importance of logarithms for computations but not the importance of logarithmic functions. Thus, we should discuss the importance of logarithms before and after the advent of electronic calculators and computers.
=== Before the advent of calculators and computers ===
The operations of addition and subtraction are much easier to perform than are the operations of multiplication and division. Logarithms were characterized by [[Pierre-Simon Laplace]], the [[France|French]] mathematician and astronomer, as "doubling the life of an astronomer". The [[Germany|German]] mathematician, [[Karl Friedrich Gauss]], who also did work in physics and astronomy, is said to have memorized a table of logarithms to save the time required to look up a logarithm each time he needed one.<ref>{{cite book|author=R.A. Rosenbaun and G.P. Johnson|title=Calculus: Basic Concepts and Applications|edition=|publisher=Cambridge University Press|year=1984|id=ISBN 0-521-25012-9}}</ref>
The use of logarithms was widespread because of their relative simplicity  compared to multiplication, division, or raising numbers
numbers to an exponential power. A few numerical examples, using base-10 logarithms (to eight decimal places) will illustrate that simplicity.
'''''Example 1:''''' Calculate 112.76 × 3,085.31 by using <math>\log_b(xy) = \log_b(x) + \log_b(y):</math><BR><BR>
:log<sub>10</sub>(112.76) + log<sub>10</sub>(3085.31 = 2.05215507 + 3.48929881 = 5.54145387
:antilog<sub>10</sub>(5.54145387) = 347,899.55
The answer would be 347,899.56 by using an electronic calculator.
'''''Example 2:''''' Calculate 47.53 ÷ 860.22 by using <math>\log_b (x / y) = \log_b (x) - \log_b (y):</math><BR><BR>
:log<sub>10</sub>(47.53) − log<sub>10</sub>(860.22) = 1.67696781 − 2.93460954 = −1.25764172
:antilog<sub>10</sub>(−1.25764172) = 0.05525233
The answer would be 0.05525233 by using an electronic calculator.
'''''Example 3:''''' Calculate 963.64<sup>1/3</sup> using <math>\log_b (x^y)= y \log_b (x):</math><BR><BR>
:(1/3) × log<sub>10</sub>(963.64) = (1/3) × 2.98391482 = 0.99463827
:antilog<sub>10</sub> (0.99463827) = 9.87730064
The answer would be 9.87730064 by using an electronic calculator.
Note: The antilog of x is simply the logarithm base raised to the power of x which, in the above examples, is 10<sup>x</sup>.
=== After the advent of calculators and computers ===
Although calculators and computers have essentially replaced the use of logarithms for arithmetic computations (multiplication, division, finding roots, exponentiation, etc.), they are still used for various purposes in many fields. For example:
*In chemistry, the acidity or alkalinity of a solution is expressed in terms of the [[pH]] scale and pH is defined as <math>\mbox{pH} = -\log_{10} \alpha_{\mathrm{H}^+}</math> &nbsp;where <font style="vertical-align:-10%;"><math>\alpha_{\mathrm{H}^+}</math></font> is the [[chemistry (activity)|activity]] of dissolved [[hydrogen ion]]s in the solution.<ref>{{cite book|author=R.Lawn and E. Prichard|title= Measurement of pH (Practical Laboratory Skills Training Guide)|edition=1st Edition|publisher=Royal Society of Chemistry|year=2003|id=ISBN 0-85404-473-6}}</ref>
*In the field of [[acoustics]], [[sound pressure level]] (SPL) or [[sound level]] <math>L_p</math> is a logarithmic measure of the [[root mean square]] (rms) sound [[pressure]] of a sound relative to a reference value. It is measured in [[decibel]]s (dB) and defined as <math>L_p = 20 \log_{10}(p_{\mathrm{rms}}/p_{\mathrm{ref}})</math> &nbsp;where <font style="vertical-align:-15%;"><math>p_{\mathrm{ref}}</math></font> is the reference sound pressure and <font style="vertical-align:-15%;"><math>p_{\mathrm{rms}}</math></font> is the rms sound pressure being measured.<ref>{{cite book|author=Thomas D. Rossing and Neville H. Fletcher|title=Principles of Vibration and Sound|edition=2nd Edition|publisher=Springer|year=2004|id=ISBN 0-387-40556-9}}</ref>
*In the field of [[seismology]], the magnitude of seismic events such as [[earthquakes]] are measured on a logarithmic scale. Each whole number increase in magnitude represents a tenfold increase in the [[amplitude]] of the earthquake. In terms of [[energy]], each whole number increase corresponds to an increase of about 31.6 times the energy released. Each two number increase corresponds to about 1000 times the energy released.<ref>{{cite book|author=Peter M. Shearer|title=Introduction to Seismology|edition=|publisher= Cambridge Press|year=1999|id=ISBN 0-521-66953-7}}</ref>
*The [[Clausius-Clapeyron equation]] used to characterize the  transition between [[vapor]] and [[liquid]] phases of a substance in the fields of [[thermodynamics]], [[physical chemistry]] and [[chemical engineering]] involves a logarithmic function. The [[Antoine equation]] for determining the [[vapor pressure]]s of liquids also involves a logarithmic function.
*The [[log-normal distribution]] equations used in the field of [[statistics]] are logarithmic functions.
*The [[Fenske equation]] used for calculating the minimum number of [[theoretical equilibrium stage]]s required to separate a binary liquid mixture in a [[continuous distillation column]] involves logarithms.
*The equation defining the relation between the [[radioactive half-life]] and the [[radioactive decay constant]] of a [[radioactive]] substance involves the logarithm of 2.<ref>[http://hyperphysics.phy-astr.gsu.edu/Hbase/Nuclear/halfli2.html#c1 Radioactive Half-life] (From the website of the [[Georgia State University]])</ref>
*A great many sets of scientific data are correlated by plotting the data in graphs that use one or two axes that are logarithmic (referred to as semi-log or log-log graphs).
*There are quite literally hundreds of other equations used in [[mathematics]], [[physics]], [[chemistry]], [[engineering]], [[biology]], and statistics that involve logarithms.


==References==
==References==


{{reflist}}
{{reflist}}[[Category:Suggestion Bot Tag]]

Latest revision as of 06:00, 13 September 2024

This article is developing and not approved.
Main Article
Discussion
Related Articles  [?]
Bibliography  [?]
External Links  [?]
Citable Version  [?]
 
This editable Main Article is under development and subject to a disclaimer.
(PD) Image: Fredrik Johansson
Logarithmic function of real argument for the three most common values of base.

Computing logarithms is the inverse of exponentiation, as subtraction is the inverse of addition and division is the inverse of multiplication. For example, since Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 343 = 7^3} , then the base-7 logarithm of 343 is 3. In general, if Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a = b^c} , then Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b(a) = c,} where Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} is called the base and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} is the logarithm. In other words, the logarithm Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} is the exponential power to which the base must be raised to produce the number Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a} .

Logarithms show up in a variety of scientific formulas: for example, the number of bits required to represent the address of a particular location in computer memory is equal to the base-2 logarithm (rounded upwards) of the number of possible locations. Logarithms are also useful for representing large numbers in a more manageable form.

Logarithms of intermediate and fractional values

Because we use a base-10 number system, it is often convenient to use 10 as the base of the logarithm. It's easy to find the base-10 logarithm of a number such as 1000, because Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1000 = 10^3,} therefore Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_{10}(1000) = 3} . (The value of the logarithmic function is the number that appeared as an exponent in the other equation.) But what is the logarithm of a number such as 43, or 0.001?

We know from the study of exponents that, for example, Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 10^\frac{1}{2}} is Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sqrt{10}} and this then supplies a value for Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_{10}(\sqrt{10}) = 0.5} . Values for many other numbers can be worked out similarly using cube roots and so on, and values for all real numbers can then be defined using limits. For example, Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_{10}(43)} is approximately equal to 1.63347. Multiplying a number by 10 appends a zero to the numeral and adds 1 to the base-10 logarithm, therefore Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_{10}(430)} is approximately 2.63347.

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 10^{-3} = \frac{10}{10^4} = 0.001}

and it then follows that

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_{10}(0.001) = -3,}

or in general,

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b\left(\frac{1}{x}\right) = - \log_b(x).}

By a similar argument it can be established that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b^0 = 1} for any base Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b>1} and therefore that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b(1) = 0.}

Thus, logarithms of numbers between 0 and 1 are negative numbers, the logarithm of 1 is 0, and logarithms of numbers greater than 1 are positive real numbers as seen in the image below.

Shape of the logarithm function

Consider the function Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x) = \log_b(x)} where b is a real-number base greater than 1 of the logarithm. Since any positive real number raised to the exponent zero is 1, the logarithm of 1 is zero. To the right of 1 on the x-axis, the function Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f} continually increases, but increases more and more slowly as Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} heads towards infinity. Between 1 and 0, the logarithmic function has negative values, and asymptotically approaches minus infinity as Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} approaches zero. For negative values of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} , there is no defined value of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)} within the real numbers — but using complex numbers a value can be found, as will be discussed further below.

Manipulating logarithms

Suppose we know the logarithm of a number using one base Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} , and we want to find the logarithm using a different base Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c}  :

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b(x) = y}
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_c(x) = } ?

Suppose we know Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} , Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b} and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle c} and we want to find Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_c(x)} . We need to look up the value of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_c(b)} , and then by multiplying we can find the desired quantity:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_c(x) = \log_c(b)\log_b(x) }

This formula can be established using the definition of logarithms and the rule for multiplying exponents:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x = b^{\log_bx}}
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b = c^{\log_cb}}

Substituting for b,

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x = (c^{\log_cb})^{\log_bx}}
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x = c^{\log_c(b) \log_b(x)}}

Therefore Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_c(x) = \log_c(b)\log_b(x) } , the formula we wished to prove.

A useful formula for Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log(xy)} can be derived using the rule for adding exponents:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle b^{\log_b(xy)} = xy = b^{\log_bx}b^{\log_by} = b^{\log_bx + \log_by}}

Therefore :

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b(xy) = \log_b(x) + \log_b(y)}

Other useful formulas include these identities:

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b (x / y) = \log_b (x) - \log_b (y)}
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b (x^y)= y \log_b (x)}
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b (\sqrt[y]{x}) = \frac{\log_b (x)}{y}}

Bases and notational variants

The base must not be 0 nor 1. The most widely used bases for logarithms are 10, 2 and the transcendental number Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle e} (also known as Euler's number) which is approximately 2.7182818284.

When logarithms are used to measure physical values (e.g., when noise is measured in decibels) it is common to use 10 as a base, and in these contexts, the notation Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log x} means Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_{10} \,x} .

Mathematicians and physicists often find, however, that is more convenient as a base for a logarithmic function. The logarithmic function with as a base is called the natural logarithm; it has the special property that its derivative is . The notation is often used for natural logarithms, but in mathematics it is just as common to use the notation and write logarithms to base 10 using the full notation .

Computer science adds a whole new wrinkle because, in some cases, it is most useful to consider logarithms to base 2, and this has led to a new notation which become common for logarithms to a base of 2. Finally, the notation is sometimes used for logarithms to base 2, but this is usage is less common.

In German and Russian literature, is used to mean the common logarithm .[1] The advice of the United States Department of Commerce's National Institute of Standards and Technology is to follow the ISO standard Mathematical signs and symbols for use in physical sciences and technology, ISO 31-11:1992, which suggests these notations:[2]

  • The notation means
  • The notation means
  • The notation means

It is obvious that, until a standard such as the ISO standard is universally accepted, perhaps the surest way to avoid confusion is to always use the notation of , , or , whichever is applicable.

Complex numbers and logarithms

with lines and lines in the complex -plane.

The exponential function of an imaginary number is given as

Consequently if u and v are real numbers then

The sine and cosine functions are not one-to-one and hence neither is this complex exponential function. Therefore it has no inverse function, as the concept of "function" is generally defined in the present day. However, one may speak of the logarithm as being a multiple-valued function (strictly speaking, an oxymoronic term by current conventions).

To find the logarithm of a complex number , it is convenient to express the number in polar coordinates where and . (Intuitively, is the length of the line segment joining the number to the origin in the complex plane, and is the angle that line segment makes with the -axis). The equivalence of the two notations is given by

Let us define so that . Using the formula for the exponential function above,

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a + bi = e^{c + di} = e^ce^{di} = e^c(\cos(d) + i \sin(d)).\,}

It can be seen from similarity with the above formula for polar coordinates that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle r = e^c} and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle d = \theta} . Therefore,

Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \ln(a + bi) = c + di = \ln( r ) + i \theta = \ln(\sqrt{a^2 + b^2}) + i \arctan\left(\frac{b}{a}\right).\,}

This is "multiple-valued" because the arctangent function is "multiple-valued". If Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle w} is a value of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle ln(a + bi),} then Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle w + 2n\pi i} could be also considered a value of the "function" for any integer Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} . However, in numerical calculus, it is preferably to work with a function that returns number rather than address of the array of possible values. In the case of multivalued functions, the result of evaluation of a function cannot be used for evaluation of another function; in addition, in the case of logarithm, the array of values has infinite length. Intents to work with multivalued functions as if they would be "conventional" functions leads to confusions. Therefore, usually one works with single-valued functions.

A single-valued logarithmic function is defined by, restricting the values of the Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \arctan} function to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -\pi < \theta \le \pi} . In this way, the log function is interpreted in the most of programming languages - Mathematica, Maple(software), Matlab, C++; evaluation of the function log returns value Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f} with Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -\pi < \Im(f)\le \pi } .

In this way, the domain of the logarithmic function can be extended to cover the entire complex plane except for the number zero, which has an undefined value — a singularity with the real part plunging towards minus infinity and the imaginary part spinning wildly like a compass at the North Pole. The function is discontinuous along the negative Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} -axis (see figure); this line of discontinuity is called the cut of the logarithm. The logarithm is a holomorphic function on the complex plane except for the origin and the cut.

History

© Image: The History for Computing Project
Portrait of John Napier.[3]

The method of logarithms was first publicly propounded in 1614, in a book entitled Mirifici Logarithmorum Canonis Descriptio, by John Napier, Baron of Merchiston, in Scotland.[4]

Jost Bürgi, a Swiss mathematician, independently discovered logarithms but did not publish his discovery until four years after Napier.[5]

In 1617, the English mathematician, Henry Briggs, after collaborative discussions with Napier, published his first tables of logarithms using a base of 10 rather than Napier's original base of 1/e. In 1624, Briggs published his Arithmetica Logarithmica containing the logarithms of thirty thousand numbers to fourteen decimal places (1 to 20,000 and 90,000 to 100,000). To this day, logarithms using the base ten are often referred to as "Briggsian" logarithms.

Early resistance to the use of logarithms was muted by the support of Johannes Kepler, the German mathematician and astronomer, who published a clear and impeccable explanation in 1624 of how logarithms worked.[6]

The use of logarithms contributed to the advance of science, and especially of astronomy, by making some difficult calculations possible. Prior to the advent of electronic calculators and computers, logarithms were used extensively in surveying, navigation, engineering, chemistry and many other disciplines.

The importance of logarithms

The development of electronic calculators and computers in the mid-1900's reduced the importance of logarithms for computations but not the importance of logarithmic functions. Thus, we should discuss the importance of logarithms before and after the advent of electronic calculators and computers.

Before the advent of calculators and computers

The operations of addition and subtraction are much easier to perform than are the operations of multiplication and division. Logarithms were characterized by Pierre-Simon Laplace, the French mathematician and astronomer, as "doubling the life of an astronomer". The German mathematician, Karl Friedrich Gauss, who also did work in physics and astronomy, is said to have memorized a table of logarithms to save the time required to look up a logarithm each time he needed one.[7]

The use of logarithms was widespread because of their relative simplicity compared to multiplication, division, or raising numbers numbers to an exponential power. A few numerical examples, using base-10 logarithms (to eight decimal places) will illustrate that simplicity.

Example 1: Calculate 112.76 × 3,085.31 by using Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b(xy) = \log_b(x) + \log_b(y):}

log10(112.76) + log10(3085.31 = 2.05215507 + 3.48929881 = 5.54145387
antilog10(5.54145387) = 347,899.55

The answer would be 347,899.56 by using an electronic calculator.

Example 2: Calculate 47.53 ÷ 860.22 by using Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \log_b (x / y) = \log_b (x) - \log_b (y):}

log10(47.53) − log10(860.22) = 1.67696781 − 2.93460954 = −1.25764172
antilog10(−1.25764172) = 0.05525233

The answer would be 0.05525233 by using an electronic calculator.

Example 3: Calculate 963.641/3 using

(1/3) × log10(963.64) = (1/3) × 2.98391482 = 0.99463827
antilog10 (0.99463827) = 9.87730064

The answer would be 9.87730064 by using an electronic calculator.

Note: The antilog of x is simply the logarithm base raised to the power of x which, in the above examples, is 10x.

After the advent of calculators and computers

Although calculators and computers have essentially replaced the use of logarithms for arithmetic computations (multiplication, division, finding roots, exponentiation, etc.), they are still used for various purposes in many fields. For example:

  • In chemistry, the acidity or alkalinity of a solution is expressed in terms of the pH scale and pH is defined as  where is the activity of dissolved hydrogen ions in the solution.[8]
  • In the field of acoustics, sound pressure level (SPL) or sound level is a logarithmic measure of the root mean square (rms) sound pressure of a sound relative to a reference value. It is measured in decibels (dB) and defined as  where is the reference sound pressure and is the rms sound pressure being measured.[9]
  • In the field of seismology, the magnitude of seismic events such as earthquakes are measured on a logarithmic scale. Each whole number increase in magnitude represents a tenfold increase in the amplitude of the earthquake. In terms of energy, each whole number increase corresponds to an increase of about 31.6 times the energy released. Each two number increase corresponds to about 1000 times the energy released.[10]
  • A great many sets of scientific data are correlated by plotting the data in graphs that use one or two axes that are logarithmic (referred to as semi-log or log-log graphs).

References

  1. Lg at Mathworld
  2. B. N. Taylor (1995). Guide for the Use of the International System of Units (SI). NIST Special Publication 811, 1995 Edition. US Department of Commerce.
  3. John Napier The History of Computing Project
  4. Did you know? (Website of the University of Arkansas at Little Rock, Arkansas (U.S. state))
  5. Jost Bürgi (Website of the University of St. Andrews, Scotland)
  6. Johannes Kepler (Website of the University of St. Andrews, Scotland)
  7. R.A. Rosenbaun and G.P. Johnson (1984). Calculus: Basic Concepts and Applications. Cambridge University Press. ISBN 0-521-25012-9. 
  8. R.Lawn and E. Prichard (2003). Measurement of pH (Practical Laboratory Skills Training Guide), 1st Edition. Royal Society of Chemistry. ISBN 0-85404-473-6. 
  9. Thomas D. Rossing and Neville H. Fletcher (2004). Principles of Vibration and Sound, 2nd Edition. Springer. ISBN 0-387-40556-9. 
  10. Peter M. Shearer (1999). Introduction to Seismology. Cambridge Press. ISBN 0-521-66953-7. 
  11. Radioactive Half-life (From the website of the Georgia State University)