Logarithm

DOWNLOAD Mathematica Notebook EXPLORE THIS TOPIC IN the MathWorld Classroom

The logarithm log_bx for a base b and a number x is defined to be the inverse function of taking b to the power x, i.e., b^x. Therefore, for any x and b,

 x=log_b(b^x),
(1)

or equivalently,

 x=b^(log_bx).
(2)
Logarithm

For any base, the logarithm function has a singularity at x=0. In the above plot, the blue curve is the logarithm to base 2 (log_2x=lgx), the black curve is the logarithm to base e (the natural logarithm log_ex=lnx), and the red curve is the logarithm to base 10 (the common logarithm, i.e., log_(10)x=logx).

Note that while logarithm base 10 is denoted logx in this work, on calculators, and in elementary algebra and calculus textbooks, mathematicians and advanced mathematics texts uniformly use the notation logx to mean lnx, and therefore use log_(10)x to mean the common logarithm. Extreme care is therefore needed when consulting the literature.

The situation is complicated even more by the fact that number theorists (e.g., Ivić 2003) commonly use the notation log_kx to denote the nested natural logarithm ln...ln_()_(k)x.

In the Wolfram Language, the logarithm to the base b is implemented as Log[b, x], while Log[x] gives the natural logarithm, i.e., Log[E, x], where E is the Wolfram Language symbol for e.

Whereas powers of trigonometric functions are denoted using notations like sin^kx, log^kx is less commonly used in favor of the notation (logx)^k.

Logarithms are used in many areas of science and engineering in which quantities vary over a large range. For example, the decibel scale for the loudness of sound, the Richter scale of earthquake magnitudes, and the astronomical scale of stellar brightnesses are all logarithmic scales.

The derivative and indefinite integral of log_bz are given by

d/(dz)log_bz=1/(zlnb)
(3)
intlog_bzdz=(z(lnz-1))/(lnb)+C.
(4)
LogReImAbs
Min Max
Re
Im Powered by webMathematica

The logarithm can also be defined for complex arguments, as shown above. If the logarithm is taken as the forward function, the function taking the base to a given power is then called the antilogarithm.

For x=logN, |_x_| is called the characteristic, and x-|_x_| is called the mantissa.

Division and multiplication identities for the logarithm can be derived from the identity

 xy=b^(log_bx)b^(log_by)=b^(log_bx+log_by),
(5)

including

log_b(xy)=log_bx+log_by
(6)
log_b(x/y)=log_bx-log_by
(7)
log_bx^n=nlog_bx.
(8)

There are a number of properties which can be used to change from one logarithm base to another, including

a=a^(log_ab/log_ab)
(9)
=(a^(log_ab))^(1/log_ab)
(10)
=b^(1/log_ab)
(11)
log_ba=1/(log_ab)
(12)
log_bx=log_b(y^(log_yx))
(13)
=log_yxlog_by
(14)
log_bx=(log_nx)/(log_nb)
(15)
a^x=b^(x/log_ab)
(16)
=b^(xlog_ba).
(17)

An interesting property of logarithms follows from looking for a number y such that

 log_b(x+y)=-log_b(x-y)
(18)
 x+y=1/(x-y)
(19)
 x^2-y^2=1
(20)
 y=sqrt(x^2-1),
(21)

so

 log_b(x+sqrt(x^2-1))=-log_b(x-sqrt(x^2-1)).
(22)

Another related identity that holds for arbitrary 0<c<a is given by

 log((a+sqrt(a^2-c^2))/c)=1/2log((a+sqrt(a^2-c^2))/(a-sqrt(a^2-c^2))).
(23)

Numbers of the form log_ab are irrational if a and b are integers, one of which has a prime factor which the other lacks. A. Baker made a major step forward in transcendental number theory by proving the transcendence of sums of numbers of the form alphalnbeta for alpha and beta algebraic numbers.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.