List of logarithmic identities

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

In mathematics, many logarithmic identities exist. The following is a compilation of the notable of these, many of which are used for computational purposes.

Trivial identities[edit]

because , given that b doesn't equal 0

Cancelling exponentials[edit]

Logarithms and exponentials with the same base cancel each other. This is true because logarithms and exponentials are inverse operations—much like the same way multiplication and division are inverse operations, and addition and subtraction are inverse operations.


Both of the above are derived from the following two equations that define a logarithm:

Substituting c in the left equation gives blogb(x) = x, and substituting x in the right gives logb(bc) = c. Finally, replace c with x.

Using simpler operations[edit]

Logarithms can be used to make calculations easier. For example, two numbers can be multiplied just by using a logarithm table and adding. These are often known as logarithmic properties, which are documented in the table below.[2] The first three operations below assume that x = bc and/or y = bd, so that logb(x) = c and logb(y) = d. Derivations also use the log definitions x = blogb(x) and x = logb(bx).


Where , , and are positive real numbers and , and and are real numbers.

The laws result from canceling exponentials and the appropriate law of indices. Starting with the first law:

The law for powers exploits another of the laws of indices:

The law relating to quotients then follows:

Similarly, the root law is derived by rewriting the root as a reciprocal power:

Changing the base[edit]

This identity is useful to evaluate logarithms on calculators. For instance, most calculators have buttons for ln and for log10, but not all calculators have buttons for the logarithm of an arbitrary base.

Consider the equation
Take logarithm base of both sides:
Simplify and solve for :
Since , then

This formula has several consequences:

where is any permutation of the subscripts 1, ..., n. For example


The following summation/subtraction rule is especially useful in probability theory when one is dealing with a sum of log-probabilities:


Note that the subtraction identity is not defined if , since the logarithm of zero is not defined. Also note that, when programming, and may have to be switched on the right hand side of the equations if to avoid losing the "1 +" due to rounding errors. Many programming languages have a specific log1p(x) function that calculates without underflow (when is small).

More generally:


A useful identity involving exponents:

or more universally:

Other/resulting identities[edit]


Based on,[3][4] and [5]

All are accurate around , but not for large numbers.

Calculus identities[edit]


The last limit is often summarized as "logarithms grow more slowly than any power or root of x".

Derivatives of logarithmic functions[edit]

Where , , and .

Integral definition[edit]

Integrals of logarithmic functions[edit]

To remember higher integrals, it is convenient to define

where is the nth harmonic number:


Approximating large numbers[edit]

The identities of logarithms can be used to approximate large numbers. Note that logb(a) + logb(c) = logb(ac), where a, b, and c are arbitrary constants. Suppose that one wants to approximate the 44th Mersenne prime, 232,582,657 −1. To get the base-10 logarithm, we would multiply 32,582,657 by log10(2), getting 9,808,357.09543 = 9,808,357 + 0.09543. We can then get 109,808,357 × 100.09543 ≈ 1.25 × 109,808,357.

Similarly, factorials can be approximated by summing the logarithms of the terms.

Complex logarithm identities[edit]

The complex logarithm is the complex number analogue of the logarithm function. No single valued function on the complex plane can satisfy the normal rules for logarithms. However, a multivalued function can be defined which satisfies most of the identities. It is usual to consider this as a function defined on a Riemann surface. A single valued version, called the principal value of the logarithm, can be defined which is discontinuous on the negative x axis, and is equal to the multivalued version on a single branch cut.


In what follows, a capital first letter is used for the principal value of functions, and the lower case version is used for the multivalued function. The single valued version of definitions and identities is always given first, followed by a separate section for the multiple valued versions.

ln(r) is the standard natural logarithm of the real number r.
Arg(z) is the principal value of the arg function; its value is restricted to (−π, π]. It can be computed using Arg(x + iy) = atan2(yx).
Log(z) is the principal value of the complex logarithm function and has imaginary part in the range (−π, π].

The multiple valued version of log(z) is a set, but it is easier to write it without braces and using it in formulas follows obvious rules.

log(z) is the set of complex numbers v which satisfy ev = z
arg(z) is the set of possible values of the arg function applied to z.

When k is any integer:


Principal value forms:

Multiple value forms, for any k an integer:


Principal value forms:

Multiple value forms:


A complex power of a complex number can have many possible values.

Principal value form:

Multiple value forms:

Where k1, k2 are any integers:

See also[edit]


  1. ^ Weisstein, Eric W. "Logarithm". Retrieved 2020-08-29.
  2. ^ "4.3 - Properties of Logarithms". Retrieved 2020-08-29.
  3. ^
  4. ^
  5. ^

External links[edit]