The Physics Travel Guide

Logarithm

Prerequisites: Exponential Function. Full path (2 pages)

Best explanations

Intuitive

Given how the natural log is described in math books, there’s little “natural” about it: it’s defined as the inverse of exe^x, a strange enough exponent already.

But there’s a fresh, intuitive explanation: The natural log gives you the time needed to reach a certain level of growth. Demystifying the Natural Logarithm (ln) by Kalid Azad

Some things go up really fast, like the number of cases of coronavirus in March. Some things go down really fast, like the stock market in March.

Logarithms are a way to flatten exponential curves, so we can see and understand their structure, even when dealing with extreme/exponential growth.

Concrete

For a base b>0b > 0 with b≠1b \neq 1 and a number x>0x > 0, the logarithm log⁡bx\log_b x is the exponent we have to put on bb to get xx:

y=log⁡bx⟺by=x.y = \log_b x \quad \Longleftrightarrow \quad b^y = x .

So log⁡101000=3\log_{10} 1000 = 3 and log⁡218=−3\log_2 \tfrac{1}{8} = -3. The logarithm is the inverse function of x↦bxx \mapsto b^x. The most important base in physics is e≈2.718e \approx 2.718, and ln⁡x≡log⁡ex\ln x \equiv \log_e x is the natural logarithm, the inverse of the exponential function. An equivalent definition that does not mention ee at all is

ln⁡x=∫1xdtt,x>0.\ln x = \int_1^x \frac{dt}{t} , \qquad x > 0 .

Rules

All rules follow from bubv=bu+vb^{u} b^{v} = b^{u+v} and (bu)a=bau(b^u)^a = b^{au}:

log⁡b(xy)=log⁡bx+log⁡by,log⁡b(xa)=alog⁡bx,log⁡bx=ln⁡xln⁡b.\begin{aligned} \log_b (xy) &= \log_b x + \log_b y , \\ \log_b (x^a) &= a \log_b x , \\ \log_b x &= \frac{\ln x}{\ln b} . \end{aligned}

The first rule turns multiplication into addition, which is why logarithm tables and slide rules were used for calculations. The last rule says that logarithms to different bases differ only by a constant factor.

For calculus we need

ddxln⁡x=1x,ln⁡(1+x)=x−x22+x33−…(−1<x≤1).\frac{d}{dx} \ln x = \frac{1}{x} , \qquad \ln(1+x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \dots \quad (-1 < x \le 1) .

Worked example: half-life

A radioactive sample decays as N(t)=N0e−λtN(t) = N_0 e^{-\lambda t}. The half-life t1/2t_{1/2} is the time after which N=N0/2N = N_0/2. Taking ln⁡\ln of e−λt1/2=1/2e^{-\lambda t_{1/2}} = 1/2 gives −λt1/2=−ln⁡2-\lambda t_{1/2} = -\ln 2, so

t1/2=ln⁡2λ≈0.693λ.t_{1/2} = \frac{\ln 2}{\lambda} \approx \frac{0.693}{\lambda} .

The same step gives the time any exponential process e±λte^{\pm\lambda t} needs to change by a given factor ff: t=ln⁡f/λt = \ln f/\lambda.

Where logarithms appear in physics

Path to this page

  1. Calculus
  2. Exponential Function