|
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: Other notations The notation "ln(x)" invariably means loge(x), i.e., the natural logarithm of x, but the implied base for "log(x)" varies by discipline: 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, back when logarithms were used to speed computations, the decimal logarithms were far better for that, so natural logarithms where unknown outside calculus classes while decimal logarithms were widely used in a variety of disciplines. 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.) As of 2005, some mathematicians have adopted the "ln" notation, but most use "log". In computer science, the base 2 logarithm is sometimes written as lg(x) to avoid confusion. This usage was suggested by Edward Reingold and popularized by Donald Knuth. However, in Russian literature, the notation lg(x) is generally used for the base 10 logarithm, so even this usage is not without its perils.. 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: Moreover, this result implies that all logarithm functions (whatever the base) are similar to each other. So to calculate the log with base 2 of the number 16 with your calculator: 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. For a discussion of some additional aspects of logarithms see additional logarithm topics. Science and engineering Various quantities in science are expressed as logarithms of other quantities; see logarithmic scale for an explanation and a more complete list. Exponential functions The natural exponential function exp(x), also written is defined 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 and all real exponents is defined by The antilogarithm function is another name for the inverse of the logarithmic function. It is written antilogb(n) and means the same as . Easier computations Logarithms switch the focus from normal numbers to exponents. As long as the same base is used, this makes certain operations easier: These relations made such operations on two numbers much faster and the proper use of logarithms was an essential skill before multiplying calculators became available. To multiply two numbers, one found the logarithms of both numbers on a table of common logarithms, added them, and then looked up the result in the table to find the product. This is faster than multiplying them by hand, provided that more than two decimal figures are needed in the result. The table needed to get an accuracy of seven decimals could be fit in a big book, and the table for nine decimals occupied a few shelves. The discovery of logarithms just before Newton's era had an impact in the scientific world which can be compared with the invention of the computer in the 20th century, because many calculations which were too laborious became feasible. When the chronometer was invented in the 18th century, logarithms allowed all calculations needed for astronomical navigation to be reduced to just additions, speeding the process by one or two orders or magnitude. A table of logarithms with five decimals, plus logarithms of trigonometric functions, was enough for most astronomical navigation calculations, and those tables fit in a small book. To compute powers or roots of a number, the common logarithm of that number was looked up and multiplied or divided by the radix. Interpolation could be used for still higher precision. Slide rules used logarithms to perform the same operations more rapidly, but with much less precision than using tables. Other tools for performing multiplications before the invention of the calculator include Napier's bones and mechanical calculators: see history of computing hardware. Calculus The derivative of the natural logarithm function is: and by applying the change-of-base rule, the derivative for other bases is: The antiderivative of the logarithm is ight) + C. See also: table of limits of logarithmic functions, list of integrals of logarithmic functions. Generalizations Logarithms may also be defined for complex arguments. 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. A double logarithm is the inverse function of the double-exponential function. A super-logarithm or hyper-logarithm is the inverse function of the super-exponential function. 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. The logarithm function can be extended to a Haar measure in the topological group of positive real numbers under multiplication. History In the 17th century, Joost Bürgi, a Swiss clockmaker in the employ of the Duke of Hesse-Kassel, first discovered logarithms as a computational tool; however he did not publish his discovery until 1620. 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, four years after the publication of his memorable discovery. This method contributed to the advance of science, and especially of astronomy, by making some difficult calculations possible. Prior to the advent of calculators and computers, it was used constantly in surveying, navigation, and other branches of practical mathematics. It supplanted the more involved prosthaphaeresis, which relied on trigonometric identities, as a quick method of computing products. Besides their usefulness in computation, logarithms also fill an important place in the higher theoretical mathematics. 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 for which they stand, 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 . For interpolation purposes and ease of calculation, it is useful to make the ratio in the geometric series close to 1. Napier chose , and Bürgi chose . Napier's original logarithms did not have log 1 = 0 but rather log = 0. Thus if is a number and is its logarithm as calculated by Napier, . Since is approximately , this makes approximately equal to . * Tables of logarithms
Unicode glyph log has its own Unicode glyph: ㏒ (U+33D2 or 13266 in decimal). This is more likely due to its presence in Asian legacy encodings than its importance as a mathematical function. Graphical interpretation The natural logarithm of a is the area under the curve y = 1/x between the x values 1 and a. Irrationality For integers b and x, the number logb(x) is irrational (i.e., not a quotient of two integers) if one of b and x has a prime factor which the other does not. In certain cases this fact can be proved very quickly: for example, if log23 were rational, we would have log23 = n/m for some positive integers n and m, thus implying 2n = 3m. But this last identity is impossible, since 2n is even and 3m is odd. Much stronger results are known. See Lindemann–Weierstrass theorem. Relationships between binary, natural and common logarithms In particular we have: A curious coincidence is the approximation log2(x) ≈ log10(x) + ln(x), accurate to about 99.4% or 2 significant digits; this is because 1/ln(2) − 1/ln(10) ≈ 1 (in fact 1.0084...). Another interesting coincidence is that log10(2) ≈ 0.3 (the actual value is about 0.301029996); this corresponds to the fact that, with an error of only 2.4%, 210 ≈ 103 (i.e. 1024 is about 1000; see also binary prefix). Relation with positional notation Positional notation is the way numbers are written with digits. The individual digits in the number are to be multiplied by a weight that going from right to left increases as 1,10,100,1000... for positions 0,1,2,3... in base 10. Positional notation contains a simple logarithmic function because the position is the common logarithm of the corresponding weight. This logaritmic function is however only sampled at integer spots. See also | |||||||||||
|
| ||||||||||||
![]() |
|
| |