Share on Facebook Share on Twitter Email
Answers.com

logarithm

 
Dictionary: log·a·rithm   ('gə-rĭTH'əm, lŏg'ə-) pronunciation
 
n. Mathematics.

The power to which a base, such as 10, must be raised to produce a given number. If nx = a, the logarithm of a, with n as the base, is x; symbolically, logn a = x. For example, 103 = 1,000; therefore, log10 1,000 = 3. The kinds most often used are the common logarithm (base 10), the natural logarithm (base e), and the binary logarithm (base 2).

[New Latin logarithmus : Greek logos, reason, proportion + Greek arithmos, number.]

logarithmic log'a·rith'mic (-rĭTH'mĭk) or log'a·rith'mi·cal (-mĭ-kəl) adj.
logarithmically log'a·rith'mi·cal·ly adv.
Search unanswered questions...
Enter a word or phrase...
All Community Q&A Reference topics
 

The logarithm to base a(>0) of a positive number b is denoted by loga b=x, where ax=b. Logarithms have the fundamental property loga (bc)=loga b+loga c. A logarithm to base 10 is usually denoted by log and a natural logarithm, i.e. a logarithm to base e, by ln. Before the advent of computers and calculators, logarithms were used in evaluating products.



 
Measures and Units: logarithm
Top

[Etymology: Gk: λογοσ ‘ratio’] mathematics. Symbol log. For any positive number N, and some reference base number b, also positive, the power to which b must be raised to equal N. That is, if bn = N, then n is said to be the logarithm of N to the base b, usually written

n = logb N
or, where b, commonly 10, is implicitly known, just
n = log N.
Inversely, N is said to be the antilogarithm of n (briefly antilog n).

The advantage of logarithms is the facilitation of multiplication and exponentiation, including the derivation of square and other roots, particularly non-integral roots. The first advantage comes from the fact that multiplication of numbers equates with addition of indices. That is
if M = bm and N = bn, then M·N = bm+n and M·N = antilog (m + n).
The advantage rises with the digit-length of the numbers. Until the emergence late in the 20th century of the electronic calculator, logarithms were the essential means for any extensive calculation with many-digit numbers. Even with the powerful assistance of the computer, logarithms remain the means for elaborate root taking, using the fact that


With electronic calculators, the machine calculates any required logarithm, as it does for cosines and other trigonometric values, using the various mathematical formulae. However, prior to the calculator, all such values were obtained by table look-up and interpolation, a process laborious in itself but far less so than raw calculation. To be useful, such tables had to be consistently on one base, and have a matching reciprocal set, i.e. a table of antilogarithms showing the value of bn for all values of n as well as the table of log N for all N.

John Napier is credited with inventing this technique for converting multiplicative problems into additive ones, etc., but he achieved this by a graphical technique with one axis the normal uniformly spaced arithmetic scale, the other one with progressively shortening steps that we would now call logarithmic. His base was apparently very large, though his name is often attached, in the form napierian logarithm, to logarithms with their base the special number e (= 2.718 281 8~); usually such logarithms are termed natural logarithms. Besides having the general style logeN, natural logarithms are often written as ln N (allowing the common log to the base 10, discussed next, to be written without suffix).

Because of our decimal number system, manual calculation is far more convenient with 10 as the base; it particularly restricts the extent of the tables needed, since, using the unqualified log to mean its usual log10,
log (10c·N) = log 10c + log N = c + log N.
Using the appropriate integer c (called the characteristic), this means that all needs can be met by just the logarithms for numbers between 1 and 10 (with log values between 0 and 1, this fractional part being the mantissa); antilogs can be likewise contained, to values between 0 and 1. The advantages of base 10 were first noted by H. Briggs, who constructed the first pertinent tables, so this style is sometimes called briggsian logarithm; but more usually the common logarithm, or just logarithm, unqualified.

See negative number for a note on the unusual notation for negative-valued logarithms.

 

In mathematics, the power to which a base must be raised to yield a given number (e.g., the logarithm to the base 3 of 9, or log3 9, is 2, because 32 = 9). A common logarithm is a logarithm to the base 10. Thus, the common logarithm of 100 (log 100) is 2, because 102 = 100. Logarithms to the base e, in which e = 2.71828…, called natural logarithms (ln), are especially useful in calculus. Logarithms were invented to simplify cumbersome calculations, since exponents can be added or subtracted to multiply or divide their bases. These processes have been further simplified by the incorporation of logarithmic functions into digital calculators and computers. See also John Napier.

For more information on logarithm, visit Britannica.com.

 
Photography Encyclopedia: logarithms
Top

In photography, logarithms are everywhere. When photographers talk about, for example, ‘giving one-and-a-half stops more’, they are using logarithms, whether they know it or not. Again, when they talk of ‘density’, they are talking of logarithmic values. At one time, tables of logarithms existed to simplify calculations by turning multiplications into additions. In the era of pocket calculators such tables are no longer needed (nor slide rules, which are also based on logarithms). But the concept of a logarithm remains important, especially where perceptual processes are involved. Human visual (and auditory) processes operate logarithmically (see Weber-Fechner law).

The basic thesis underlying the logarithmic principle is that any positive number can be expressed as a power (normally of 10), and that this power (the logarithm of the number) has a unique relationship with the number itself.

Consider two series of numbers:There is an obvious connection: the number of zeros. It is more obvious if we write 101, 102, 103, and so on for the lower series. The upper series is the logarithm (base 10) of the lower series. Both series can be continued indefinitely in either direction, the upper series continuing 6, 7, 8 … upwards and 0, -1, -2 … downwards, the lower continuing 1, 000, 000, 10, 000, 000, 100, 000, 000 … (or 106, 107, 108) upwards and 1, 0.1, 0.01 … (or 100, 10-1, 10-2) downwards.

Numbers between those in the upper series have logarithms too. For example, log 2 is 0.3, an important value for the photographer. An increment of 0.3 on the logarithmic scale represents a doubling on the arithmetic scale. So a logarithmic series 0.3, 0.6, 0.9 … represents the doubling-up series 2, 4, 8 …, and is used in plotting characteristic curves and (with the decimal point omitted) in ISO logarithmic speed indices.

There are logarithms to other bases too. One every photographer will be familiar with (perhaps unknowingly) is base 2. It underlies the light-value series on exposure meters. Each increment on the scale represents a doubling of the stimulus:

Photographers use logs base 2 when they speak of (say) giving three stops (i.e. eight times) more exposure. To convert logs base 10 to base 2 one simply divides by 0.3, and to convert logs base 2 to base 10 one multiplies by 0.3.

— Graham Saxby

 
Columbia Encyclopedia: logarithm
Top
logarithm (lŏg'ərĭthəm) [Gr.,=relation number], number associated with a positive number, being the power to which a third number, called the base, must be raised in order to obtain the given positive number. For example, the logarithm of 100 to the base 10 is 2, written log10 100=2, since 102=100. Logarithms of positive numbers using the number 10 as the base are called common logarithms; those using the number e (see separate article) as the base are called natural logarithms or Napierian logarithms (for John Napier). The natural logarithm of a number x is denoted by ln x or simply log x. Since logarithms are exponents, they satisfy all the usual rules of exponents. Consequently, tedious calculations such as multiplications and divisions can be replaced by the simpler processes of adding or subtracting the corresponding logarithms. Logarithmic tables are generally used for this purpose.


 
Veterinary Dictionary: logarithm
Top

A mathematical device.

  • common l. — the value of the power when a number is expressed as to the power of 10 (has the base 10). Thus 100 expressed as to the power of 10 is 102 and the log of 100 is 2.
  • Napierian l. — see natural logarithm (below).
  • natural l. — as for common logarithm, except that the base is e or 2.178. Called also Napierian logarithm.
 
Word Tutor: logarithm
Top
pronunciation

IN BRIEF: The figure that tells to what power a certain fixed number, as ten, must be raised to equal a given number.

pronunciation In order to understand the phrase, "ten to the third power," you must also understand what a logarithm is.

 
Wikipedia: Logarithm
Top
Logarithm functions, graphed for various bases: red is to base e, green is to base 10, and purple is to base 1.7. Each tick on the axes is one unit. Logarithms of all bases pass through the point (1, 0), because any number raised to the power 0 is 1, and through the points (b, 1) for base b, because a number raised to the power 1 is itself. The curves approach the y-axis but do not reach it because of the singularity at x = 0.
The 1797 Britannica explains logarithms as "a series of numbers in arithmetical progression, corresponding to others in geometrical progression; by means of which, arithmetical calculations can be made with much more ease and expedition than otherwise."

In mathematics, the logarithm of a number to a given base is the power or exponent to which the base must be raised in order to produce the number.

For example, the logarithm of 1000 to the base 10 is 3, because 3 is how many 10s you must multiply to get 1000: thus 10 × 10 × 10 = 1000; the base 2 logarithm of 32 is 5 because 5 is how many 2s one must multiply to get 32: thus 2 × 2 × 2 × 2 × 2 = 32. In the language of exponents: 103 = 1000, so log101000  = 3, and 25 = 32, so log232 = 5.

The logarithm of x to the base b is written logb(x) or, if the base is implicit, as log(x). So, for a number x, a base b and an exponent y,

\text{ if }x = b^y,\text{ then }y = \log_b (x)\,.

An important feature of logarithms is that they reduce multiplication to addition, by the formula:

 \log (xy) = \log x + \log y \,.

That is, the logarithm of the product of two numbers is the sum of the logarithms of those numbers. The use of logarithms to facilitate complicated calculations was a significant motivation in their original development.

Contents

Properties of the logarithm

When x and b are restricted to positive real numbers, logb(x) is a unique real number. The magnitude of the base b must be neither 0 nor 1; the base used is typically 10, e, or 2. Logarithms are defined for real numbers and for complex numbers. [1][2]

The major property of logarithms is that they map multiplication to addition. This ability stems from the following identity:

 b^x \times b^y = b^{x+y} \ ,

which by taking logarithms becomes

 \log_b \left(b^x \times b^y \right) = \log_b \left( b^{x+y} \right) \  = x + y = \log_b \left(b^x \right) +  \log_b \left(b^y \right). \

For example,

4=2^2 \, \Rightarrow \, \log_2(4)=2, \,
8=2^3 \, \Rightarrow \, \log_2(8)=3, \,
\log_2(32) = \log_2(4 \times 8) = \log_2(4) + \log_2(8) = 2 + 3 = 5. \,

A related property is reduction of exponentiation to multiplication. Using the identity:

 c = b^{\log_b (c )} \ ,

it follows that c to the power p (exponentiation) is:

 c^p = \left(b^{\log_b (c )}\right)^p = b^{p \log_b (c )} \ ,

or, taking logarithms:

 \log_b \left(c^p \right) = p \log_b (c ). \,

In words, to raise a number to a power p, find the logarithm of the number and multiply it by p. The exponentiated value is then the inverse logarithm of this product; that is, number to power = bproduct.

For example,

\log_2(64) = \log_2(4^3) = 3\log_2(4) = 6. \,

Besides reducing multiplication operations to addition, and exponentiation to multiplication, logarithms reduce division to subtraction, and roots to division. For example,

\log_2(16) = \log_2 \left ( \frac{64}{4} \right ) = \log_2(64) - \log_2(4) = 6 - 2 = 4, \,
\log_2(\sqrt[3]4) = \frac {1}{3} \log_2 (4) = \frac {2}{3}. \,

Logarithms make lengthy numerical operations easier to perform. The whole process is made easy by using tables of logarithms, or a slide rule, antiquated now that calculators are available. Although the above practical advantages are not important for numerical work today, they are used in graphical analysis (see Bode plot).

The logarithm as a function

Though logarithms have been traditionally thought of as arithmetic sequences of numbers corresponding to geometric sequences of other (positive real) numbers, as in the 1797 Britannica definition, they are also the result of applying an analytic function. The function can therefore be meaningfully extended to complex numbers.

The function logb(x) depends on both b and x, but the term logarithm function (or logarithmic function) in standard usage refers to a function of the form logb(x) in which the base b is fixed and so the only argument is x. Thus there is one logarithm function for each value of the base b (which must be positive and must differ from 1). Viewed in this way, the base-b logarithm function is the inverse function of the exponential function bx. The word "logarithm" is often used to refer to a logarithm function itself as well as to particular values of this function.

Logarithm of a negative or complex number

Only positive real numbers have real-valued logarithms. The logarithm function can be extended to the complex logarithm, which applies to negative and complex numbers and yields a complex number. The value is not unique though, since for example ei = e0 = 1 which implies that both i and 0 are equally valid logarithms to base e of 1.

When z is a complex number, say z = x + iy where x and y are real, the logarithm of z is found by putting z in polar form that is, z = re = r(cos θ + i sin θ), where r=|z|=\sqrt{x^2+y^2} and θ = arg(z) is any angle such that x = r cos θ and y = r sin θ. The function arg is a multi-valued function.

If the base of the logarithm is chosen as e [3], that is, using loge (denoted by ln and called the natural logarithm), the complex logarithm is:

\log(z) = \ln|z| + i\arg(z) = \ln(r) + i\left(\theta + 2 \pi k \right)

which is, just like arg, also a multi-valued function. The principal value of the logarithm, Log (denoted by a capital first letter), is a single-valued function and is defined as

\text{Log}(z) = \ln|z| + i\text{Arg}(z) = \ln(r) + i\varphi

where \varphi is the (only) value in the range (-\pi,\ \pi] which is \equiv \theta \pmod {2\pi}\ .

The function Arg is the principal argument. It is a single-valued function and defined as the branch of arg in which the values are in the range (-\pi,\ \pi], leaving a branch cut at the negative reals. The principal argument of any positive real number is 0; hence the principal logarithm of such a number is always real and equals the natural logarithm.

The principal value of the logarithm of a negative number r is:

\text{Log}(r) = \ln|r| + i \pi \ .

For a base b other than e the complex logarithm logb(z) can be defined as ln(z)/ln(b), the principal value of which is given by the principal values of ln(z) and ln(b).

Note that log(zp) is not in general the same as p log(z); see failure of power and logarithm identities.

Group theory

From the pure mathematical perspective, the identity

 \log(cd) = \log(c) + \log(d) \,

is fundamental in two senses. First, the remaining three arithmetic properties can be derived from it. Furthermore, it expresses an isomorphism between the multiplicative group of the positive real numbers and the additive group of all the reals.

Logarithmic functions are the only continuous isomorphisms from the multiplicative group of positive real numbers to the additive group of real numbers.

Bases

The most widely used bases for logarithms are 10, the mathematical constant e ≈ 2.71828... and 2. When "log" is written without a base (b missing from logb), the intent can usually be determined from context:

  • natural logarithm (loge, ln, log, or Ln) in mathematical analysis, statistics, economics and some engineering fields. The reasons to consider e the natural base for logarithms, though perhaps not obvious, are numerous and compelling. (Euler's identity is important to fields that deal with cyclic components.)
  • common logarithm (log10 or simply log; sometimes lg) in various engineering fields, especially for power levels and power ratios, such as acoustical sound pressure, and in logarithm tables to be used to simplify hand calculations. Use is historically grounded. (see dB) Also, the approximation 210≈103 leads to the approximations 3 dB per octave (power doubling) – a useful result that occurs with the use of log10.
  • binary logarithm (log2; sometimes lg, lb, or ld), in computer science and information theory. Information theory calculations carried out using log2 will lead to results in bits, which has an intuitive meaning; corresponding calculations carried out using loge will lead to results in nats, which lack the intuitive interpretation, although the units have equivalent function, differing only in scale.
  • indefinite logarithm (Log or [log ] or simply log) when the base is irrelevant, e.g. in complexity theory when describing the asymptotic behavior of algorithms in big O notation, which describes the character of the algorithm, i.e. "the behavior is logarithmic", not the exact measure of performance of the algorithm in a given situation.

To avoid confusion, it is best to specify the base if there is any chance of misinterpretation.

Notations of bases and implicit bases

The notation "ln(x)" invariably means loge(x), i.e., the natural logarithm of x. However, if, as in "log(x)", the base is not given explicitly, it may be understood implicitly by discipline:

  • Mathematicians understand "log(x)" to mean loge(x). Calculus textbooks[citation needed] will occasionally write "log(x)" to represent "log10(x)".
  • Many engineers, biologists, astronomers, and some others write only "ln(x)" or "loge(x)" when they mean the natural logarithm of x, and take "log(x)" to mean log10(x) or, in computer science, log2(x).
  • On most calculators, the LOG button is log10(x) and LN is loge(x).
  • Some people use Log(x) (capital L) to mean log10(x), and use log(x) with a lowercase l to mean loge(x).
  • The notation Log(x) is also used by mathematicians to denote the principal branch of the (natural) logarithm function.
  • In some European countries, a frequently used notation is blog(x) instead of logb(x).[4]

This chaos, historically, originates from the fact that the natural logarithm has nice mathematical properties (such as its derivative being 1/x, and having a simple definition), while the base 10 logarithms, or decimal logarithms, were more convenient for speeding calculations (back when they were used for that purpose). Thus natural logarithms were only extensively used in fields like calculus while decimal logarithms were widely used elsewhere.

Criticism of the "ln()" notation

As recently as 1984, Paul Halmos in his "automathography" I Want to Be a Mathematician heaped contempt on what he considered the childish "ln" notation, which he said no mathematician had ever used. The notation was in fact invented in 1893 by Irving Stringham, professor of mathematics at Berkeley.[5][citation needed]

Computer science

In computer science, the base 2 logarithm is sometimes written as lg(x), as suggested by Edward Reingold and popularized by Donald Knuth. However, lg(x) is also sometimes used for the common log, and lb(x) for the binary log.[6] In Russian literature, the notation lg(x) is also generally used for the base 10 logarithm.[7] In German, lg(x) also denotes the base 10 logarithm, while sometimes ld(x) or lb(x) is used for the base 2 logarithm. The PL/I Programming language uses log2(x) for the base 2 logarithm.

Recommendations and standards

The clear advice of the United States Department of Commerce 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:[8]

  • The notation "ln(x)" means loge(x);
  • The notation "lg(x)" means log10(x);
  • The notation "lb(x)" means log2(x).

Equivalence of logarithms

As the difference between logarithms to different bases is one of scale, it is possible to consider all logarithm functions to be the same, merely giving the answer in different units, such as dB, neper, bits, decades, etc.; see the section Science and engineering below. Logarithms to a base less than 1 have a negative scale, or a flip about the x axis, relative to logarithms of base greater than 1.

Change of base

While there are several useful identities, the most important for calculator use lets one find logarithms with bases other than those built into the calculator (usually loge and log10). To find a logarithm with base b, using any other base k:

 \log_b{x} = \frac{\log_k{x}}{\log_k{b}}.

This is because the definition of logarithm says that

 x = b^a \iff \log_b{x} = a

but we can also get a by using the base k logarithm and then get

 \log_k{x} = \log_k{b^a} = a \log_k{b} \iff \frac{\log_k{x}}{\log_k{b}} = a

with b ≠ 1, because logk 1 = 0. Any number to the power of 0 (except 0) is equal to 1.

Moreover, this result implies that all logarithm functions (whatever the base) are similar to each other.

Uses of logarithms

Logarithms are useful in solving equations in which exponents are unknown. They have simple derivatives, so they are often used in the solution of integrals. The logarithm is one of three closely related functions. In the equation bn = x, b can be determined with radicals, n with logarithms, and x with exponentials. See logarithmic identities for several rules governing the logarithm functions.

Science

Various quantities in science are expressed as logarithms of other quantities; see logarithmic scale for an explanation and a more complete list.

  • In chemistry, the negative of the base-10 logarithm of the activity of hydronium ions (H3O+, the form H+ takes in water) is the measure known as pH. The activity of hydronium ions in neutral water is 10−7 mol/L at 25 °C, hence a pH of 7. (This is a result of the equilibrium constant, the product of the concentration of hydronium ions and hydroxyl ions, in water solutions being 10−14 M2.)
  • In computer science, logarithms often appear in bounds for computational complexity. For example, to sort N items using comparison can require time proportional to the product N × log N. Similarly, base-2 logarithms are used to express the amount of storage space or memory required for a binary representation of a number—with k bits (each a 0 or a 1) one can represent 2k distinct values, so any natural number N can be represented in no more than (log2 N) + 1 bits.
  • Similarly, in information theory logarithms are used as a measure of quantity of information. If a message recipient may expect any one of N possible messages with equal likelihood, then the amount of information conveyed by any one such message is quantified as log2 N bits.
  • Many types of engineering and scientific data are typically graphed on log-log or semilog axes, in order to most clearly show the form of the data.
  • In inferential statistics, the logarithm of the data in a dataset can be used for parametric statistical testing if the original data do not meet the assumption of normality.
  • Musical intervals are measured logarithmically as semitones. The interval between two notes in semitones is the base-21/12 logarithm of the frequency ratio (or equivalently, 12 times the base-2 logarithm). Fractional semitones are used for non-equal temperaments. Especially to measure deviations from the equal tempered scale, intervals are also expressed in cents (hundredths of an equally-tempered semitone). The interval between two notes in cents is the base-21/1200 logarithm of the frequency ratio (or 1200 times the base-2 logarithm). In MIDI, notes are numbered on the semitone scale (logarithmic absolute nominal pitch with middle C at 60). For microtuning to other tuning systems, a logarithmic scale is defined filling in the ranges between the semitones of the equal tempered scale in a compatible way. This scale corresponds to the note numbers for whole semitones. (see microtuning in MIDI).

Exponential functions

One way of defining the exponential function ex, also written as exp(x), is as the inverse of the natural logarithm. It is positive for every real argument x.

The operation of "raising b to a power p" for positive arguments b and all real exponents p is defined by

b^p = \left( e^{\ln b} \right) ^p = e^{p \ln b }.\,

Easier computations

Logarithms can be used to replace difficult operations on numbers by easier operations on their logs (in any base), as the following table summarizes. In the table, upper-case variables represent logs of corresponding lower-case variables:

Operation with numbers Operation with exponents Logarithmic identity
 \!\, c d  \!\, C + D  \!\, \log(c d) = \log(c) + \log(d)
 \!\, \frac{c} {d}  \!\, C - D  \!\, \log\left(\frac{c} {d}\right) = \log(c) - \log(d)
 \!\, c ^ d  \!\, Cd  \!\, \log(c ^ d) = d \log(c)
 \!\, \sqrt[d]{c}  \!\, \frac{C} {d}  \!\, \log(\sqrt[d]{c}) = \frac{\log(c)}{d}

These arithmetic properties of logarithms make such calculations much faster. The use of logarithms was an essential skill until electronic computers and calculators became available. Indeed the discovery of logarithms, just before Newton's era, had an impact in the scientific world that can be compared with that of the advent of computers in the 20th century because it made feasible many calculations that had previously been too laborious.

As an example, to approximate the product of two numbers one can look up their logarithms in a table, add them, and, using the table again, proceed from that sum to its antilogarithm, which is the desired product. The precision of the approximation can be increased by interpolating between table entries. For manual calculations that demand any appreciable precision, this process, requiring three lookups and a sum, is much faster than performing the multiplication. To achieve seven decimal places of accuracy requires a table that fills a single large volume; a table for nine-decimal accuracy occupies a few shelves. Similarly, to approximate a power cd one can look up log c in the table, look up the log of that, and add to it the log of d; roots can be approximated in much the same way.

The C and D scales on this slide rule are marked off at positions corresponding to the logarithms of the numbers shown. By mechanically adding the logs of 1.3 and 2, the cursor shows the product is 2.6.

One key application of these techniques was celestial navigation. Once the invention of the chronometer made possible the accurate measurement of longitude at sea, mariners had everything necessary to reduce their navigational computations to mere additions. A five-digit table of logarithms and a table of the logarithms of trigonometric functions sufficed for most purposes, and those tables could fit in a small book. Another critical application with even broader impact was the slide rule, an essential calculating tool for engineers. Many of the powerful capabilities of the slide rule derive from a clever but simple design that relies on the arithmetic properties of logarithms. The slide rule allows computation much faster still than the techniques based on tables, but provides much less precision, although slide rule operations can be chained to calculate answers to any arbitrary precision.

Related operations

Cologarithms

The cologarithm of a number is the logarithm of the reciprocal of the number: cologb(x) = logb(1/x) = −logb(x). This terminology is found primarily in older books.[9]

Antilogarithms

The antilogarithm function antilogb(y) is the inverse function of the logarithm function logb(x); it can be written in closed form as by. The antilog notation was common before the advent of modern calculators and computers: tables of antilogarithms to the base 10 were useful in carrying out computations by hand.[10] The notation still appears in some modern books, and is still used in some situations. For example, certain electronic circuit components are known as antilog amplifiers.[11]

Lambert W function

The Lambert W function is the inverse function of ƒ(w) = wew.

Calculus

The natural logarithm of a positive number x can be defined as

 \ln : \mathbf{R}_+^* \longmapsto \mathbf{R}, \quad \ln (x) := \int_{1}^{x} \frac{dt}{t}.

This function is also commonly denoted by log.

This definition satisfies the usual properties of a logarithm. For example, it can be shown as follows that ln(xr) = r ln(x). To see this, consider the definition  \ln(x^r) := \int_1^{x^r} \frac{1}{t} \, dt and the change of variable u := t1/r. Then, by the integration by substitution theorem:


\int_1^x \frac{1}{u^r}ru^{r - 1} \, du = r \int_1^x \frac{1}{u} \, du = r \ln(x).

Likewise, it can be shown that this function verifies the property ln(xy) = ln(x) + ln(y) using

 \ln(xy) := \int_1^{xy} \frac{1}{t} \, dt = \int_1^{x} \frac{1}{t} \, dt + \int_x^{xy} \frac{1}{t} \, dt = \ln(x) + \int_x^{xy} \frac{1}{t} \, dt

Using the change of variable u := t/x in the last integral yields

 \ln(xy) = \ln(x) + \int_1^y \frac{1}{u} \, du = \ln(x) + \ln(y)

as desired.

Using the last two properties, the rule ln(x / y) = ln(x) − ln(y) can be proved:

 \ln\left(\frac x y\right) = \ln(xy^{-1}) = \ln(x) + \ln(y^{-1}) = \ln(x) - \ln(y). \,

The derivative of the natural logarithm function is

\frac{d}{dx} \ln(x) = \frac{1}{x}.

By applying the change-of-base rule, the derivative for other bases is

\frac{d}{dx} \log_b(x) = \frac{d}{dx} \frac {\ln(x)}{\ln(b)} = \frac{1}{x \ln(b)} = \frac{\log_b(e)}{x}.

The antiderivative of the natural logarithm ln(x) is

\int \ln(x) \,dx = x \ln(x) - x + C,

and so the antiderivative of the logarithm for other bases is

\int \log_b(x) \,dx = x \log_b(x) - \frac{x}{\ln(b)} + C = x \log_b \left(\frac{x}{e}\right) + C.

See also: Table of limits, list of integrals of logarithmic functions.

Series for calculating the natural logarithm

Basic series

There are several series for calculating natural logarithms.[12] The simplest, though inefficient, is:

\ln (z) = \sum_{n=1}^\infty -\frac{(1-z)^n}{n}\text{ when }|1-z|<1.

To derive this series, start with (|x| < 1)

\frac{1}{1-x} = 1 + x + x^2 + x^3 + \cdots.

Integrate both sides to obtain

-\ln(1-x) = x + \frac{x^2}{2} + \frac{x^3}{3} + \frac{x^4}{4} + \cdots
\ln(1-x) = -x - \frac{x^2}{2} - \frac{x^3}{3} - \frac{x^4}{4} - \cdots.

Letting z = 1 − x and thus x = 1 − z, we get

\ln z = -(1-z) - \frac{(1-z)^2}{2} - \frac{(1-z)^3}{3} - \frac{(1-z)^4}{4} + \cdots

More efficient series

A more efficient series is

\ln (z) = 2 \sum_{n=0}^\infty \frac{1}{2n+1} {\left ( \frac{z-1}{z+1} \right ) }^{2n+1}

for z with positive real part.

To derive this series, we begin by substituting −x for x and get

\ln(1+x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \cdots.

Subtracting, we get

\ln \frac{1+x}{1-x} = \ln(1+x) - \ln(1-x) =  2x + 2\frac{x^3}{3} + 2\frac{x^5}{5} + \cdots.

Letting z = \frac{1+x}{1-x} \! and thus x = \frac{z-1}{z+1} \!, we get

\ln z = 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 ).

The series converges most quickly if z is close to 1. For high-precision calculations, we can first obtain a low-accuracy approximation y ≈ ln(z), then let A = z/exp(y), where exp(y) can be calculated using the exponential series, which converges quickly provided y is not too large. Then ln(z) = y + ln(A), where A is close to 1 as desired. Larger z can be handled by writing z = a × 10b, whence ln(z) = ln(a) + b × ln(10) (using 10 as an example base). High precision calculations can be first obtained by low accuracy as mentioned above, this helps in the mathematical process.

Example

For example, applying this series to

z = \frac{11}{9},

we get

\frac{z-1}{z+1} = \frac{\frac{11}{9} - 1}{\frac{11}{9} + 1} = \frac{1}{10},

and thus

\ln (1.2222222\dots) = \frac{2}{10} \left (1 + \frac{1}{3\cdot 100} + \frac{1}{5 \cdot 10000} + 
\frac{1}{7 \cdot 1000000} + \cdots \right )
= 0.2 \cdot (1.0000000\dots + 0.0033333\dots + 0.0000200\dots + 0.0000001\dots + \cdots)
= 0.2 \cdot 1.0033535\dots = 0.2006707\dots

where we factored 2/10 out of the sum in the first line.

For any other base b, we use

\log_b (x) = \frac{\ln (x)}{\ln (b)}.

About convergence

The above series for ln(1 − x) converges for all complex number \scriptstyle|x|\leq 1, \scriptstyle x\neq 1. In fact, as seen by the ratio test, it has radius of convergence equal to 1, therefore converges absolutely on every disk \scriptstyle B(0,r) with radius r<1. Moreover, it converges uniformly on every nibbled disk \scriptstyle \overline{B(0,1)}\setminus B(1,\delta), with \scriptstyle \delta>0. This follows at once from the algebraic identity:

(1-x)\sum_{n=1}^m \frac{x^n}{n}=x -\sum_{n=2}^m \frac{x^n}{n(n-1)} - \frac{x^{m+1}}{m},

just observing that the right-hand side is uniformly convergent on the whole closed unit disk.

Computers

Many computer languages use log(x) for the natural logarithm, while the common log is typically denoted log10(x). The argument and return values are typically a floating point (or double precision) data type.

As the argument is floating point, it can be useful to consider the following:

A floating point value x is represented by a significand m and exponent n to form

x = m2^n.\, (Sometimes a base other than 2 is used.)

Therefore

\ln(x) = \ln(m) + n\ln(2).\,

Thus, instead of computing ln(x) we compute ln(m) for some m such that 1 ≤ m <  2. Having m in this range means that the value u = \frac{m - 1}{m+1} is always in the range 0 \le u < \frac13. Some machines use the mantissa in the range 0.5 \le m < 1 and in that case the value for u will be in the range -\frac13 < u \le 0 In either case, the series is even easier to compute.

To compute a base 2 logarithm on a number between 1 and 2 in an alternate way, square it repeatedly. Every time it goes over 2, divide it by 2 and write a "1" bit, else just write a "0" bit. This is because squaring doubles the logarithm of a number.

The integer part of the logarithm to base 2 of an unsigned integer is given by the position of the leftmost bit, and can be computed in O(n) steps using the following algorithm:

int log2(unsigned int x) {
  int r = 0;
  while ((x >> r) != 0) {
    r++;
  }
  return r-1; // returns -1 for x==0, floor(log2(x)) otherwise
}

However, it can also be computed in O(log n) steps by trying to shift by powers of 2 and checking that the result stays nonzero: for example, first >>16, then >>8, ... (Each step reveals one bit of the result)

Generalizations

The ordinary logarithm of positive reals generalizes to negative and complex arguments, though it is a multivalued function that needs a branch cut terminating at the branch point at 0 to make an ordinary function or principal branch. The logarithm (to base e) of a complex number z is the complex number ln(|z|) + i arg(z), where |z| is the modulus of z, arg(z) is the argument, and i is the imaginary unit; see complex logarithm for details.

The discrete logarithm is a related notion in the theory of finite groups. It involves solving the equation bn = x, where b and x are elements of the group, and n is an integer specifying a power in the group operation. For some finite groups, it is believed that the discrete logarithm is very hard to calculate, whereas discrete exponentials are quite easy. This asymmetry has applications in public key cryptography.

The logarithm of a matrix is the inverse of the matrix exponential.

It is possible to take the logarithm of a quaternions and octonions.

A double logarithm, ln(ln(x)), is the inverse function of the double exponential function. A super-logarithm or hyper-4-logarithm is the inverse function of tetration. The super-logarithm of x grows even more slowly than the double logarithm for large x.

For each positive b not equal to 1, the function logb  (x) is an isomorphism from the group of positive real numbers under multiplication to the group of (all) real numbers under addition. They are the only such isomorphisms that are continuous. The logarithm function can be extended to a Haar measure in the topological group of positive real numbers under multiplication.

History

A more modern definition and explanation from 1866 A Dictionary of Science, Literature, & Art: Comprising the Definitions and Derivations of the Scientific Terms in General Use, together with the History and Descriptions of the Scientific Principles of Nearly Every Branch of Human Knowledge

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.[13] (Joost Bürgi independently discovered logarithms; however, he did not publish his discovery until four years after Napier.) Early resistance to the use of logarithms was muted by Kepler's enthusiastic support and his publication of a clear and impeccable explanation of how they worked.[14]

Their use contributed to the advance of science, and especially of astronomy, by making some difficult calculations possible. Prior to the advent of calculators and computers, they were used constantly in surveying, navigation, and other branches of practical mathematics. It supplanted the more involved method of prosthaphaeresis, which relied on trigonometric identities as a quick method of computing products. Besides the utility of the logarithm concept in computation, the natural logarithm presented a solution to the problem of quadrature of a hyperbolic sector at the hand of Gregoire de Saint-Vincent in 1647.

At first, Napier called logarithms "artificial numbers" and antilogarithms "natural numbers". Later, Napier formed the word logarithm to mean a number that indicates a ratio: λόγος (logos) meaning proportion, and ἀριθμός (arithmos) meaning number. Napier chose that because the difference of two logarithms determines the ratio of the numbers they represent, so that an arithmetic series of logarithms corresponds to a geometric series of numbers. The term antilogarithm was introduced in the late 17th century and, while never used extensively in mathematics, persisted in collections of tables until they fell into disuse.

Napier did not use a base as we now understand it, but his logarithms were, up to a scaling factor, effectively to base 1/e. For interpolation purposes and ease of calculation, it is useful to make the ratio r in the geometric series close to 1. Napier chose r = 1 - 10−7 = 0.999999 (Bürgi chose r = 1 + 10−4 = 1.0001). Napier's original logarithms did not have log 1 = 0 but rather log 107 = 0. Thus if N is a number and L is its logarithm as calculated by Napier, N = 107(1 − 10−7)L. Since (1 − 10−7)107 is approximately 1/e, this makes L/107 approximately equal to log1/e N/107.[6]

Tables of logarithms

Part of a 20th century table of common logarithms in the reference book Abramowitz and Stegun.

Prior to the advent of computers and calculators, using logarithms meant using tables of logarithms, which had to be created manually. Base-10 logarithms are useful in computations when electronic means are not available. See common logarithm for details, including the use of characteristics and mantissas of common (i.e., base-10) logarithms.

In 1617, Henry Briggs published the first installment of his own table of common logarithms, containing the logarithms of all integers below 1000 to eight decimal places. This he followed, in 1624, by his Arithmetica Logarithmica, containing the logarithms of all integers from 1 to 20,000 and from 90,000 to 100,000 to fourteen places of decimals, together with a learned introduction, in which the theory and use of logarithms are fully developed. The interval from 20,000 to 90,000 was filled up by Adriaan Vlacq, a Dutch mathematician; but in his table, which appeared in 1628, the logarithms were given to only ten places of decimals.

Vlacq's table was later found to contain 603 errors, but "this cannot be regarded as a great number, when it is considered that the table was the result of an original calculation, and that more than 2,100,000 printed figures are liable to error."[15] An edition of Vlacq's work, containing many corrections, was issued at Leipzig in 1794 under the title Thesaurus Logarithmorum Completus by Jurij Vega.

François Callet's seven-place table (Paris, 1795), instead of stopping at 100,000, gave the eight-place logarithms of the numbers between 100,000 and 108,000, in order to diminish the errors of interpolation, which were greatest in the early part of the table; and this addition was generally included in seven-place tables. The only important published extension of Vlacq's table was made by Mr. Sang in 1871, whose table contained the seven-place logarithms of all numbers below 200,000.

Briggs and Vlacq also published original tables of the logarithms of the trigonometric functions.

Besides the tables mentioned above, a great collection, called Tables du Cadastre, was constructed under the direction of Gaspard de Prony, by an original computation, under the auspices of the French republican government of the 1700s. This work, which contained the logarithms of all numbers up to 100,000 to nineteen places, and of the numbers between 100,000 and 200,000 to twenty-four places, exists only in manuscript, "in seventeen enormous folios," at the Observatory of Paris. It was begun in 1792; and "the whole of the calculations, which to secure greater accuracy were performed in duplicate, and the two manuscripts subsequently collated with care, were completed in the short space of two years." [16] Cubic interpolation could be used to find the logarithm of any number to a similar accuracy.

See also

References

  1. ^ In general, x and b both can be complex numbers; see Kwok below, and imaginary-base logarithms.
  2. ^ Yue Kuen Kwok (2002). Applied complex variables for scientists and engineers. Cambridge MA: Cambridge University Press. p. 102. ISBN 0521004624. http://books.google.com/books?id=QpbT3mkXjiMC&pg=PA102&dq=complex-base+logarithm&sig=EnopUhPsYHfEmyL0SW7hXamWlFc#PPA102,M1. 
  3. ^ See e (mathematical constant)
  4. ^ ""Mathematisches Lexikon" at Mateh_online.at". http://www.mathe-online.at/mathint/lexikon/l.html. 
  5. ^ Unterman, Nathan A. (January 2007). ""Origin of ln Notation", an answered question on "Ask A Scientist" at the US Department of Energy's Office of Science Education". http://www.newton.dep.anl.gov/askasci/math99/math99248.htm. Retrieved on November 2008. 
  6. ^ a b Gullberg, Jan (1997). Mathematics: from the birth of numbers.. W. W. Norton & Co. ISBN 039304002X. 
  7. ^ ""Common Logarithm" at MathWorld". http://mathworld.wolfram.com/CommonLogarithm.html. 
  8. ^ 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. http://physics.nist.gov/Pubs/SP811/sec10.html#10.1.2. 
  9. ^ Wooster Woodruff B, Smith David E: "Academic Algebra", page 360. Ginn & Company, 1902
  10. ^ Silas Whitcomb Holman (1918). Computation Rules and Logarithms. Macmillan and Co.. http://books.google.com/books?id=Hkc4AAAAMAAJ&pg=PR30&dq=antilog+tables&ei=M60xSeCZCpOMkATLi-WxBg. 
  11. ^ Forrest M. Mims (2000). The Forrest Mims Circuit Scrapbook. Newnes. ISBN 1878707485. http://books.google.com/books?id=STzitya5iwgC&pg=PA7&dq=antilog-amplifier&ei=tq4xSZSOAoywkwTUh-2UBw. 
  12. ^ Handbook of Mathematical Functions, National Bureau of Standards (Applied Mathematics Series no.55), June 1964, page 68.
  13. ^ Much of the history of logarithms is derived from The Elements of Logarithms with an Explanation of the Three and Four Place Tables of Logarithmic and Trigonometric Functions, by James Mills Peirce, University Professor of Mathematics in Harvard University, 1873.
  14. ^ http://turnbull.dcs.st-and.ac.uk/~history/Biographies/Kepler.html (section "Astronomical Tables")
  15. ^ Athenaeum, 15 June 1872. See also the Monthly Notices of the Royal Astronomical Society for May 1872.
  16. ^ English Cyclopaedia, Biography, Vol. IV., article "Prony."

External links


 
Translations: Logarithm
Top

Dansk (Danish)
n. - logaritme

Nederlands (Dutch)
logaritme

Français (French)
n. - logarithme

Deutsch (German)
n. - Logarithmus

Ελληνική (Greek)
n. - (μαθημ.) λογάριθμος

Italiano (Italian)
logaritmo

Português (Portuguese)
n. - logaritmo (m) (Mat.)

Русский (Russian)
логарифм

Español (Spanish)
n. - logaritmo

Svenska (Swedish)
n. - (mat.) logaritm

中文(简体)(Chinese (Simplified))
对数

中文(繁體)(Chinese (Traditional))
n. - 對數

한국어 (Korean)
n. - 로그 , 대수

日本語 (Japanese)
n. - 対数

العربيه (Arabic)
‏(الاسم) اللوغارثم‏

עברית (Hebrew)
n. - ‮לוגריתם‬


 
Best of the Web: logarithms/
Top

Some good "logarithm" pages on the web:


Math
mathworld.wolfram.com
 
 
 

 

Copyrights:

Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2007. Published by Houghton Mifflin Company. All rights reserved.  Read more
Statistics Dictionary. A Dictionary of Statistics. Second edition revised. Copyright © Oxford University Press, 2008. All rights reserved.  Read more
Measures and Units. A Dictionary of Weights, Measures, and Units. Copyright © Donald Fenna 2002, 2004. All rights reserved.  Read more
Britannica Concise Encyclopedia. Britannica Concise Encyclopedia. © 2006 Encyclopædia Britannica, Inc. All rights reserved.  Read more
Photography Encyclopedia. The Oxford Companion to the Photograph. Copyright © 2005 by Oxford University Press. All rights reserved.  Read more
Columbia Encyclopedia. The Columbia Electronic Encyclopedia, Sixth Edition Copyright © 2003, Columbia University Press. Licensed from Columbia University Press. All rights reserved. www.cc.columbia.edu/cu/cup/  Read more
Veterinary Dictionary. Saunders Comprehensive Veterinary Dictionary 3rd Edition. Copyright © 2007 by D.C. Blood, V.P. Studdert and C.C. Gay, Elsevier. All rights reserved.  Read more
Word Tutor. Copyright © 2004-present by eSpindle Learning, a 501(c) nonprofit organization. All rights reserved.
eSpindle provides personalized spelling and vocabulary tutoring online; free trial Read more
Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Logarithm" Read more
Translations. Copyright © 2007, WizCom Technologies Ltd. All rights reserved.  Read more

 

Mentioned in