# List of logarithmic identities

﻿
List of logarithmic identities

In mathematics, there are several logarithmic identities.

## Algebraic identities or laws

### Trivial identities

 $\log_b(1) = 0 \!\,$ because $b^0 = 1\!\,$ $\log_b(b) = 1 \!\,$ because $b^1 = b\!\,$

Note that logb(0) is undefined because there is no number x such that bx = 0. In fact, there is a vertical asymptote on the graph of logb(x) at x = 0.

### Canceling exponentials

Logarithms and exponentials (antilogarithms) with the same base cancel each other. This is true because logarithms and exponentials are inverse operations (just like multiplication and division or addition and subtraction).

$b^{\log_b(x)} = x\text{ because }\operatorname{antilog}_b(\log_b(x)) = x \,$
$\log_b(b^x) = x\text{ because }\log_b(\operatorname{antilog}_b(x)) = x \,$

Both can be derived from the definition, which identifies ba = c with a = logbc. Combining the equations gives the identities.

### Using simpler operations

Logarithms can be used to make calculations easier. For example, two numbers can be multiplied just by using a logarithm table and adding.

 $\log_b(xy) = \log_b(x) + \log_b(y) \!\,$ because $b^c \cdot b^d = b^{c + d} \!\,$ $\log_b\!\left(\begin{matrix}\frac{x}{y}\end{matrix}\right) = \log_b(x) - \log_b(y)$ because $b^{c-d} = \tfrac{b^c}{b^d}$ $\log_b(x^d) = d \log_b(x) \!\,$ because $(b^c)^d = b^{cd} \!\,$ $\log_b\!\left(\!\sqrt[y]{x}\right) = \begin{matrix}\frac{\log_b(x)}{y}\end{matrix}$ because $\sqrt[y]{x} = x^{1/y}$ $x^{\log_b(y)} = y^{\log_b(x)} \!\,$ because $x^{\log_b(y)} = b^{\log_b(x) \log_b(y)} = b^{\log_b(y) \log_b(x)} = y^{\log_b(x)} \!\,$ $c\log_b(x)+d\log_b(y) = \log_b(x^c y^d) \!\,$ because $\log_b(x^c y^d) = \log_b(x^c) + \log_b(y^d) \!\,$

Where b, x, and y are positive real numbers and $b \ne 1$. Both c and d are real numbers.

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

$xy = b^{\log_b(x)} b^{\log_b(y)} = b^{\log_b(x) + \log_b(y)} \Rightarrow \log_b(xy) = \log_b(b^{\log_b(x) + \log_b(y)}) = \log_b(x) + \log_b(y)$

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

$x^y = (b^{\log_b(x)})^y = b^{y \log_b(x)} \Rightarrow \log_b(x^y) = y \log_b(x)$

The law relating to quotients then follows:

$\log_b \bigg(\frac{x}{y}\bigg) = \log_b(x y^{-1}) = \log_b(x) + \log_b(y^{-1}) = \log_b(x) - \log_b(y)$

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

$\log_b(\sqrt[y]x) = \log_b(x^{\frac{1}{y}}) = \frac{1}{y}\log_b(x)$

### Changing the base

$\log_b a = {\log_d a \over \log_d b}$

This identity is needed to evaluate logarithms on calculators. For instance, most calculators have buttons for ln and for log10, but not for log2. To find log2(3), one must calculate log10(3) / log10(2) (or ln(3)/ln(2), which yields the same result).

#### Proof

Let c = log ba.
Then bc = a.
Take log d on both sides: log dbc = log da
Simplify and solve for c: clog db = log da
$c=\frac{\log_d a}{\log_d b}$
Since c = log ba, then $\log_b a=\frac{\log_d a}{\log_d b}$

This formula has several consequences:

$\log_b a = \frac {1} {\log_a b}$
$\log_{b^n} a = {{\log_b a} \over n}$
$b^{\log_a d} = d^{\log_a b}$
$- \log_b a = \log_b \left({1 \over a}\right) = \log_{1 \over b} a$

$\log_{b_1}a_1 \,\cdots\, \log_{b_n}a_n = \log_{b_{\pi(1)}}a_1\, \cdots\, \log_{b_{\pi(n)}}a_n, \,$

where $\scriptstyle\pi\,$ is any permutation of the subscripts 1, ..., n. For example

$\log_b w\cdot \log_a x\cdot \log_d c\cdot \log_d z = \log_d w\cdot \log_b x\cdot \log_a c\cdot \log_d z. \,$

### Summation/subtraction

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

$\log_b (a+c) = \log_b a + \log_b (1+b^{\log_b c - \log_b a})$
$\log_b (a-c) = \log_b a + \log_b (1-b^{\log_b c - \log_b a})$

which gives the special cases:

$\log_b (a+c) = \log_b a + \log_b \left(1+\frac{c}{a}\right)$
$\log_b (a-c) = \log_b a + \log_b \left(1-\frac{c}{a}\right)$

Note that in practice a and c have to be switched on the right hand side of the equations if c > a. Also note that the subtraction identity is not defined if a = c since the logarithm of zero is not defined.

More generally:

$\log _b \sum\limits_{i=0}^N a_i = \log_b a_0 + \log_b \left( 1+\sum\limits_{i=1}^N \frac{a_i}{a_0} \right) = \log _b a_0 + \log_b \left( 1+\sum\limits_{i=1}^N b^{\left( \log_b a_i - \log _b a_0 \right)} \right)$

where $a_0,\ldots ,a_N > 0$.

### Exponents

A useful identity involving exponents:

$x^{\frac{\log(\log(x))}{\log(x)}} = \log(x)$

## Calculus identities

### Limits

$\lim_{x \to 0^+} \log_a x = -\infty \quad \mbox{if } a > 1$
$\lim_{x \to 0^+} \log_a x = \infty \quad \mbox{if } a < 1$
$\lim_{x \to \infty} \log_a x = \infty \quad \mbox{if } a > 1$
$\lim_{x \to \infty} \log_a x = -\infty \quad \mbox{if } a < 1$
$\lim_{x \to 0^+} x^b \log_a x = 0 \quad \mbox{if } b > 0$
$\lim_{x \to \infty} {1 \over x^b} \log_a x = 0 \quad \mbox{if } b > 0$

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

### Derivatives of logarithmic functions

${d \over dx} \ln x = {1 \over x },$
${d \over dx} \log_b x = {1 \over x \ln b},$

Where x > 0, b > 0, and $b \ne 1$.

### Integral definition

$\ln x = \int_1^x \frac {1}{t} dt$

### Integrals of logarithmic functions

$\int \log_a x \, dx = x(\log_a x - \log_a e) + C$

To remember higher integrals, it's convenient to define:

$x^{\left [n \right]} = x^{n}(\log(x) - H_n)$
$x^{\left [ 0 \right ]} = \log x$
$x^{\left [ 1 \right ]} = x \log(x) - x$
$x^{\left [ 2 \right ]} = x^2 \log(x) - \begin{matrix} \frac{3}{2} \end{matrix} \, x^2$
$x^{\left [ 3 \right ]} = x^3 \log(x) - \begin{matrix} \frac{11}{6} \end{matrix} \, x^3$

Then,

$\frac {d}{dx} \, x^{\left [ n \right ]} = n \, x^{\left [ n-1 \right ]}$
$\int x^{\left [ n \right ]}\,dx = \frac {x^{\left [ n+1 \right ]}} {n+1} + C$

## Approximating large numbers

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

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 equals the multivalued version on a single branch cut.

### Definitions

The convention will be used here that a capital first letter is used for the principal value of functions and the lower case version refers to 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.
Log(z) is the principal value of the complex logarithm function and has imaginary part in the range (-π, π].
Arg(z) is the principal value of the arg function, its value is restricted to (-π, π]. It can be computed using Arg(x+iy)= atan2(y, x).
$\operatorname{Log}(z) = \ln(|z|) + i \operatorname{Arg}(z)$
$e^{\operatorname{Log}(z)} = z$

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:

log(z) = ln( | z | ) + iarg(z)
$\log(z) = \operatorname{Log}(z) + 2 \pi i k$
elog(z) = z

### Constants

Principal value forms:

$\operatorname{Log}(1) = 0$
$\operatorname{Log}(e) = 1$

Multiple value forms, for any k an integer:

log(1) = 0 + 2πik
log(e) = 1 + 2πik

### Summation

Principal value forms:

$\operatorname{Log}(z_1) + \operatorname{Log}(z_2) = \operatorname{Log}(z_1 z_2) \pmod {2 \pi i}$
$\operatorname{Log}(z_1) - \operatorname{Log}(z_2) = \operatorname{Log}(z_1 / z_2) \pmod {2 \pi i}$

Multiple value forms:

log(z1) + log(z2) = log(z1z2)
log(z1) − log(z2) = log(z1 / z2)

### Powers

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

Principal value form:

${z_1}^{z_2} = e^{z_2 \operatorname{Log}(z_1)}$
$\operatorname{Log}{\left({z_1}^{z_2}\right)} = z_2 \operatorname{Log}(z_1) \pmod {2 \pi i}$

Multiple value forms:

${z_1}^{z_2} = e^{z_2 \log(z_1)}$

Where k1, k2 are any integers:

$\log{\left({z_1}^{z_2}\right)} = z_2 \log(z_1) + 2 \pi i k_2$
$\log{\left({z_1}^{z_2}\right)} = z_2 \operatorname{Log}(z_1) + z_2 2 \pi i k_1 + 2 \pi i k_2$

## References

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• List of mathematical identities — This page lists identities in the sense of mathematics, that is, identically true relations holding in algebra or between special functions.* Cassini s identity * Difference of two squares * Bézout s identity * Euler s identity * Vandermonde s… …   Wikipedia

• Logarithmic differentiation — Logarithmic derivative is a separate article. Topics in Calculus Fundamental theorem Limits of functions Continuity Mean value theorem Differential calculus  Derivative Change of variables Implicit differentiation …   Wikipedia

• List of mathematics articles (L) — NOTOC L L (complexity) L BFGS L² cohomology L function L game L notation L system L theory L Analyse des Infiniment Petits pour l Intelligence des Lignes Courbes L Hôpital s rule L(R) La Géométrie Labeled graph Labelled enumeration theorem Lack… …   Wikipedia

• Logarithmic derivative — In mathematics, specifically in calculus and complex analysis, the logarithmic derivative of a function f is defined by the formula where f ′ is the derivative of f. When f is a function f(x) of a real variable x, and takes real, strictly… …   Wikipedia

• List of logarithm topics — This is a list of logarithm topics, by Wikipedia page. See also the list of exponential topics.*Acoustic power *antilogarithm *Apparent magnitude *Bel *Benford s law *Binary logarithm *Bode plot *Henry Briggs *Cologarithm *Common logarithm… …   Wikipedia

• Logarithm — The graph of the logarithm to base 2 crosses the x axis (horizontal axis) at 1 and passes through the points with coordinates (2, 1), (4, 2), and (8, 3) …   Wikipedia

• Lists of mathematics topics — This article itemizes the various lists of mathematics topics. Some of these lists link to hundreds of articles; some link only to a few. The extremely long list of mathematics articles contains all mathematical articles in alphabetical order.… …   Wikipedia

• Inverse trigonometric functions — Trigonometry History Usage Functions Generalized Inverse functions Further reading …   Wikipedia

• Techniques for differentiation — This article contains a list of techniques for the differentiation of real functions, categorized by type.imple polynomial functionsGiven a polynomial p(x), that is defined by the formula:: p(x) = sum^m {i=0} k i x^i , one has: frac{d}{dx} p(x) …   Wikipedia

• Calculus — This article is about the branch of mathematics. For other uses, see Calculus (disambiguation). Topics in Calculus Fundamental theorem Limits of functions Continuity Mean value theorem Differential calculus  Derivative Change of variables …   Wikipedia