All Topics  
Natural logarithm

 

   Email Print
   Bookmark   Link






 

Natural logarithm



 
 
The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm
Logarithm

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....
 to the base
Base (mathematics)

In arithmetic, the base refers to the number b in an expression of the form bn. The number n is called the exponent and the expression is known formally as exponentiation of b by n or the exponential of n with base b....
 e
E (mathematical constant)

The mathematical constant e is the unique real number such that the function ex has the same value as the derivative, for all values of x....
, where e is an irrational
Irrational number

In mathematics, an irrational number is any real number that is not a rational number ? that is, it is a number which cannot be expressed as a fraction m/n, where m and n are integers, with n non-zero....
 constant approximately equal to 2.718281828. It is also sometimes referred to as the Napierian logarithm
Napierian logarithm

The term Napierian logarithm, or Naperian logarithm, is often used to mean the natural logarithm, but as first defined by John Napier, it is a function which can be defined in terms of the modern logarithm by:...
, although the original meaning of this term is slightly different. In simple terms, the natural logarithm of a number x is the power to which e would have to be raised to equal x — for example the natural log of e itself is 1 because e1 = e, while the natural logarithm of 1 would be 0, since e0 = 1.






Discussion
Ask a question about 'Natural logarithm'
Start a new discussion about 'Natural logarithm'
Answer questions from other users
Full Discussion Forum



Encyclopedia


The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm
Logarithm

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....
 to the base
Base (mathematics)

In arithmetic, the base refers to the number b in an expression of the form bn. The number n is called the exponent and the expression is known formally as exponentiation of b by n or the exponential of n with base b....
 e
E (mathematical constant)

The mathematical constant e is the unique real number such that the function ex has the same value as the derivative, for all values of x....
, where e is an irrational
Irrational number

In mathematics, an irrational number is any real number that is not a rational number ? that is, it is a number which cannot be expressed as a fraction m/n, where m and n are integers, with n non-zero....
 constant approximately equal to 2.718281828. It is also sometimes referred to as the Napierian logarithm
Napierian logarithm

The term Napierian logarithm, or Naperian logarithm, is often used to mean the natural logarithm, but as first defined by John Napier, it is a function which can be defined in terms of the modern logarithm by:...
, although the original meaning of this term is slightly different. In simple terms, the natural logarithm of a number x is the power to which e would have to be raised to equal x — for example the natural log of e itself is 1 because e1 = e, while the natural logarithm of 1 would be 0, since e0 = 1. The natural logarithm can be defined for all positive real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s x as the area under the curve
Integral

Integration is an important concept in mathematics, specifically in the field of calculus and, more broadly, mathematical analysis. Given a function ƒ of a Real number variable x and an interval [ab] of the real line, the integral...
 y = 1/t from 1 to x, and can also be defined for non-zero complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s as explained below.

The natural logarithm function can also be defined as the inverse function
Inverse function

In mathematics, if ƒ is a function from A to B then an inverse function for ƒ is a function in the opposite direction, from B to A, with the property that a round trip from A to B to A returns each element of the initial set to itself....
 of the exponential function
Exponential function

The exponential function is a function in mathematics. The application of this function to a value x is written as exp. Equivalently, this can be written in the form ex, where e is the mathematical constant that is the base of the natural logarithm and that is also known as Euler's number....
, leading to the identities:

In other words, the logarithm function is a bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
 from the set of positive real numbers to the set of all real numbers. More precisely it is an isomorphism
Isomorphism

In abstract algebra, an isomorphism is a bijection map f such that both f and its inverse function f −1 are homomorphisms, i.e., structure-preserving mappings....
 from the group
Group (mathematics)

In mathematics, a group is an algebraic structure consisting of a set together with an Binary operation that combines any two of its element to form a third element....
 of positive real numbers under multiplication to the group of real numbers under addition. Represented as a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
:

Logarithms can be defined to any positive base other than 1, not just e, and are useful for solving equations in which the unknown appears as the exponent of some other quantity.

History


The first mention of the natural logarithm was by Nicholas Mercator
Nicholas Mercator

Nicholas Mercator , also known by his Germanic name Kauffmann, was a 17th-century mathematician.Lived in the Netherlands ; lectured at the University of Copenhagen ; lived in Paris ; Mathematics tutor to Joscelyne Percy, son of the 10th Earl of Northumberland, at Petworth, Sussex ; taught mathematics in London ; became member of...
 in his work Logarithmotechnia published year 1668, although the mathematics teacher John Speidell had already in 1619 compiled a table on the natural logarithm. It was formerly also called hyperbolic logarithm.

Notational conventions


Mathematicians, statisticians, and some engineers generally understand either "log(x)" or "ln(x)" to mean loge(x), i.e., the natural logarithm of x, and write "log10(x)" if the base 10 logarithm
Common logarithm

The common logarithm is the logarithm with base 10. It is also known as the decadic logarithm, named after its base. It is indicated by log10, or sometimes Log with a capital L ....
 of x is intended.

Some engineers, biologists, and some others generally write "ln(x)" (or occasionally "loge(x)") when they mean the natural logarithm of x, and take "log(x)" to mean log10(x).

In most commonly-used programming language
Programming language

A programming language is a machine-readable artificial language designed to express computations that can be performed by a machine, particularly a computer....
s, including C
C (programming language)

C is a general-purpose computer programming language originally developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories to implement the Unix operating system....
, C++
C++

C++ is a general-purpose programming language. It is regarded as a middle-level language, as it comprises a combination of both high-level programming language and low-level programming language language features....
, MATLAB
MATLAB

MATLAB is a Numerical analysis environment and programming language. Maintained by The MathWorks, MATLAB allows easy matrix manipulation, plotting of function and data, implementation of algorithms, creation of user interfaces, and interfacing with programs in other languages....
, Fortran
Fortran

Fortran is a general-purpose programming language, procedural programming language, imperative programming language programming language that is especially suited to numerical analysis and scientific computing....
, and BASIC, "log" or "LOG" refers to the natural logarithm.

In hand-held calculator
Calculator

A calculator is a device for performing mathematical calculations, distinguished from a computer by having a limited problem solving ability and an interface optimized for interactive calculation rather than programming....
s, the natural logarithm is denoted ln, whereas log is the base 10 logarithm.

In theoretical computer science, information theory and cryptography "log(x)" generally means "log2
Binary logarithm

In mathematics, the binary logarithm is the logarithm for base 2. It is the inverse function of ....
(x)" (although this is often written as lg(x) instead).

Etymology


Initially, it might seem that since our numbering system is base 10, this base would be more "natural" than base e. But mathematically, the number 10 is not particularly significant. Its use culturally—as the basis for many societies’ numbering systems—likely arises from humans’ typical number of fingers. Other cultures have based their counting systems on such choices as 5, 12, 20, and 60.

Loge is a “natural” log because it automatically springs from, and appears so often in, mathematics. For example, consider the problem of differentiating
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
 a logarithmic function: If the base
Base (mathematics)

In arithmetic, the base refers to the number b in an expression of the form bn. The number n is called the exponent and the expression is known formally as exponentiation of b by n or the exponential of n with base b....
 b equals e, then the derivative is simply 1/x, and at x = 1 this derivative equals 1. Another sense in which the base e logarithm is the most natural is that it can be defined quite easily in terms of a simple integral or Taylor series
Taylor series

In mathematics, the Taylor series is a representation of a function as an Series of terms calculated from the values of its derivatives at a single point....
 and this is not true of other logarithms.

Further senses of this naturalness make no use of calculus
Calculus

Calculus is a branch of mathematics that includes the study of limit , derivatives, integrals, and infinite series, and constitutes a major part of modern university education....
. As an example, there are a number of simple series involving the natural logarithm. In fact, Pietro Mengoli
Pietro Mengoli

Pietro Mengoli was an Italian mathematician and clergyman from Bologna, where he studied with Bonaventura Cavalieri at the University of Bologna, and succeeded him in 1647....
 and Nicholas Mercator
Nicholas Mercator

Nicholas Mercator , also known by his Germanic name Kauffmann, was a 17th-century mathematician.Lived in the Netherlands ; lectured at the University of Copenhagen ; lived in Paris ; Mathematics tutor to Joscelyne Percy, son of the 10th Earl of Northumberland, at Petworth, Sussex ; taught mathematics in London ; became member of...
 called it logarithmus naturalis a few decades before Newton and Leibniz developed calculus.

Definitions

Formally, ln(a) may be defined as the area under the graph of 1/x from 1 to a, that is as the integral
Integral

Integration is an important concept in mathematics, specifically in the field of calculus and, more broadly, mathematical analysis. Given a function ƒ of a Real number variable x and an interval [ab] of the real line, the integral...
,

This defines a logarithm because it satisfies the fundamental property of a logarithm:

This can be demonstrated by letting as follows:

The number e
E (mathematical constant)

The mathematical constant e is the unique real number such that the function ex has the same value as the derivative, for all values of x....
 can then be defined as the unique real number a such that ln(a) = 1.

Alternatively, if the exponential function
Exponential function

The exponential function is a function in mathematics. The application of this function to a value x is written as exp. Equivalently, this can be written in the form ex, where e is the mathematical constant that is the base of the natural logarithm and that is also known as Euler's number....
 has been defined first using an infinite series, the natural logarithm may be defined as its inverse function
Inverse function

In mathematics, if ƒ is a function from A to B then an inverse function for ƒ is a function in the opposite direction, from B to A, with the property that a round trip from A to B to A returns each element of the initial set to itself....
, i.e., ln(x) is that function such that . Since the range of the exponential function on real arguments is all positive real numbers and since the exponential function is strictly increasing, this is well-defined for all positive x.

Properties








Derivative, Taylor series


The derivative
Derivative

In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much a quantity is changing at a given point....
 of the natural logarithm is given by

This leads to the Taylor series
Taylor series

In mathematics, the Taylor series is a representation of a function as an Series of terms calculated from the values of its derivatives at a single point....
 for around ; also known as the Mercator series
Mercator series

In mathematics, the Mercator series or Newton?Mercator series is the Taylor series for the natural logarithm. It is given byvalid for −1 < x ≤ 1....


At right is a picture of
Natural logarithm

The natural logarithm, formerly known as the hyperbolic logarithm, is the logarithm to the base e , where e is an irrational number constant approximately equal to 2.718281828....
 and some of its Taylor polynomials around . These approximations converge to the function only in the region -1 < x = 1; outside of this region the higher-degree Taylor polynomials are worse approximations for the function.

Substituting x-1 for x, we obtain an alternative form for ln(x) itself, namely

By using the Euler transform
Binomial transform

In combinatorial mathematics the binomial transform is a sequence transformation that computes its forward differences. It is closely related to the Euler transform, which is the result of applying the binomial transform to the sequence associated with its ordinary generating function....
 on the Mercator series, one obtains the following, which is valid for any x with absolute value greater than 1:

This series is similar to a BBP-type formula.

Also note that is its own inverse function, so to yield the natural logarithm of a certain number y, simply put in for x.

The natural logarithm in integration


The natural logarithm allows simple integration
Integral

Integration is an important concept in mathematics, specifically in the field of calculus and, more broadly, mathematical analysis. Given a function ƒ of a Real number variable x and an interval [ab] of the real line, the integral...
 of functions of the form g(x) = f '(x)/f(x): an antiderivative
Antiderivative

In calculus, an antiderivative, primitive or indefinite integralof a function f is a function F whose derivative is equal to f, i.e., F ′ = f....
 of g(x) is given by ln(|f(x)|). This is the case because of the chain rule
Chain rule

In calculus, the chain rule is a formula for the derivative of the functional composition of two function .In intuitive terms, if a variable, y, depends on a second variable, u, which in turn depends on a third variable, x, then the rate of Mathematics#Change of y with respect to x can be computation as the rate of chan...
 and the following fact:

In other words,

and

Here is an example in the case of g(x) = tan(x):

Letting f(x) = cos(x) and f(x)= - sin(x):

where
C is an arbitrary constant of integration
Arbitrary constant of integration

In calculus, the indefinite integral of a given function is always written with a constant, the constant of integration. This constant expresses an ambiguity inherent in the construction of antiderivatives....
.

The natural logarithm can be integrated using integration by parts
Integration by parts

In calculus, and more generally in mathematical analysis, integration by parts is a rule that transforms the integral of products of functions into other, hopefully simpler, integrals....
:

Numerical value


To calculate the numerical value of the natural logarithm of a number, the Taylor series expansion can be rewritten as:

To obtain a better rate of convergence, the following identity can be used.

  
  


provided that y = (x−1)/(x+1) and x > 0.


For ln(
x) where x > 1, the closer the value of x is to 1, the faster the rate of convergence. The identities associated with the logarithm can be leveraged to exploit this:

  
  
  
  


Such techniques were used before calculators, by referring to numerical tables and performing manipulations such as those above.

High precision

To compute the natural logarithm with many digits of precision, the Taylor series approach is not efficient since the convergence is slow. An alternative is to use Newton's method
Newton's method

In numerical analysis, Newton's method is perhaps the best known method for finding successively better approximations to the zeroes of a Real number-valued function ....
 to invert the exponential function, whose series converges more quickly.

An alternative for extremely high precision calculation is the formula

where
M denotes the arithmetic-geometric mean
Arithmetic-geometric mean

In mathematics, the arithmetic-geometric mean of two positive real numbers x and y is defined as follows:First compute the arithmetic mean of x and y and call it a1....
 and

with
m chosen so that p bits of precision is attained. (For most purposes, the value of 256 for m is sufficient.) In fact, if this method is used, Newton inversion of the natural logarithm may conversely be used to calculate the exponential function efficiently. (The constants ln 2 and π
Pi

Pi or p is a mathematical constant whose value is the ratio of any circle's circumference to its diameter in Euclidean geometry; this is the same value as the ratio of a circle's area to the square of its radius....
 can be pre-computed to the desired precision using any of several known quickly converging series.)

Computational complexity

The computational complexity
Computational Complexity

Computational Complexity may refer to:*Computational complexity theory*Computational Complexity ...
 of computing the natural logarithm (using the arithmetic-geometric mean) is O(
M(n) ln n). Here n is the number of digits of precision at which the natural logarithm is to be evaluated and M(n) is the computational complexity of multiplying two n-digit numbers.

Complex logarithms

The exponential function can be extended to a function which gives a complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
 as
ex for any arbitrary complex number x; simply use the infinite series with x complex. This exponential function can be inverted to form a complex logarithm that exhibits most of the properties of the ordinary logarithm. There are two difficulties involved: no x has ex = 0; and it turns out that e2pi = 1 = e0. Since the multiplicative property still works for the complex exponential function, ez = ez+2npi, for all complex z and integers n.

So the logarithm cannot be defined for the whole complex plane
Complex plane

In mathematics, the complex plane is a geometric representation of the complex numbersestablished by the real axis and the orthogonal imaginary axis....
, and even then it is multi-valued – any complex logarithm can be changed into an "equivalent" logarithm by adding any integer multiple of 2
pi at will. The complex logarithm can only be single-valued on the cut plane
Complex plane

In mathematics, the complex plane is a geometric representation of the complex numbersestablished by the real axis and the orthogonal imaginary axis....
. For example, ln
i = 1/2 pi or 5/2 pi or −3/2 pi, etc.; and although i4 = 1, 4 log i can be defined as 2pi, or 10pi or −6 pi, and so on.

principal branch
Principal branch

In mathematics, a principal branch is a function which selects one branch, or "slice", of a multi-valued function. Most often, this applies to functions defined on the complex plane: see branch cut....
)"> Image:NaturalLogarithmRe.png|
z = Re(ln(x+iy)) Image:NaturalLogarithmIm.png| z = |Im(ln(x+iy))| Image:NaturalLogarithmAbs.png| z = |ln(x+iy)| Image:NaturalLogarithmAll.png| Superposition of the previous 3 graphs

See also

  • John Napier
    John Napier

    John Napier of Merchistoun - also signed as Neper, Nepair - named Marvellous Merchiston, was a Scotland mathematics, physicist, astronomer/astrologer and 8th Laird of Merchistoun, son of Sir Archibald Napier of Merchiston....
     - inventor of logarithms
  • Logarithmic integral function
    Logarithmic integral function

    In mathematics, the logarithmic integral function or integral logarithm li is a special function. It occurs in problems of physics and has number theory significance, occurring in the prime number theorem as an estimate of the number of prime numbers less than a given value....
  • Nicholas Mercator
    Nicholas Mercator

    Nicholas Mercator , also known by his Germanic name Kauffmann, was a 17th-century mathematician.Lived in the Netherlands ; lectured at the University of Copenhagen ; lived in Paris ; Mathematics tutor to Joscelyne Percy, son of the 10th Earl of Northumberland, at Petworth, Sussex ; taught mathematics in London ; became member of...
     - first to use the term natural log
  • Polylogarithm
    Polylogarithm

    The polylogarithm is a special function Lis that is defined by the sumIt is in general not an elementary function, unlike the related logarithm function....
  • Von Mangoldt function
    Von Mangoldt function

    In mathematics, the von Mangoldt function is an arithmetic function named after Germany mathematician Hans Carl Friedrich von Mangoldt....
  • The number e
    E (mathematical constant)

    The mathematical constant e is the unique real number such that the function ex has the same value as the derivative, for all values of x....


External links