Home › Logarithms

Logarithms

Algebra · An Advanced Course

The elementary definition of a logarithm, "the power to which the base must be raised", presupposes that we already know what bˣ means for an arbitrary real exponent x. For rational x this is algebra, but for x = √2 or x = π it requires a limiting process, and the cleanest way to supply that process runs in the opposite direction: define the natural logarithm first, as an integral, and obtain the exponential function as its inverse. This course takes that route and then follows the logarithm wherever it leads, which turns out to be almost everywhere in mathematics.

The logarithm is, at heart, a single structural fact: the positive reals under multiplication and the reals under addition are isomorphic as topological groups, and the isomorphism is unique up to a scalar. Every "log law" is a restatement of this fact. The same idea, transplanted to the punctured complex plane, produces a multi-valued function whose failure to be single-valued is measured by the integer winding number, the seed of the argument principle and of covering-space theory. Transplanted to a finite cyclic group, it produces the discrete logarithm, a function that is trivially well defined but apparently very hard to compute, and on whose difficulty a large part of public-key cryptography rests.

The logarithm is also the natural measure of size for multiplicative phenomena. It counts digits, measures information in bits and nats, sets the scale for decibels and stellar magnitudes, and governs the distribution of prime numbers: the density of primes near x is 1/ln x, which is the content of the prime number theorem. The constant γ = lim (Hₙ − ln n) records the discrepancy between the discrete sum ∑ 1/k and the integral ∫ dt/t, and Benford's law explains why the leading digits of real-world data are logarithmically, not uniformly, distributed.

We assume a working knowledge of real analysis (the Riemann integral, uniform convergence, the mean value theorem), basic complex analysis (holomorphic functions, contour integrals) and elementary group theory. Proofs are given in full except where a result, such as the prime number theorem itself, needs machinery beyond the scope of the course; in those cases we prove the strongest elementary statement available and state the rest precisely.

In this course, you will:

Figures

Plot of the ratios π(x)/(x/ln x) and π(x)/Li(x) against x on a logarithmic axis from 1 to 10^24
Figure 1. The prime number theorem in pictures: both π(x)/(x/ln x) and π(x)/∫₂ˣ dt/ln t tend to 1, but the logarithmic-integral approximation converges far faster. Source
Helicoidal Riemann surface of the complex logarithm, coloured by argument
Figure 2. The Riemann surface of log z: the imaginary part arg z rises by 2π each time z circles the origin, so the sheets stack into an infinite helicoid over the punctured plane. Source

Contents

Lesson 1
The Natural Logarithm as an Integral
Lesson 2
The Exponential Function, e, and Real Powers
Lesson 3
The Logarithm as a Group Isomorphism
Lesson 4
Inequalities, Growth Rates and Stirling's Estimate
Lesson 5
The Series for ln(1 + x) and the Computation of Logarithms
Lesson 6
Logarithmic Differentiation and the Logarithmic Derivative
Lesson 7
The Complex Logarithm
Lesson 8
Logarithms in Integration
Lesson 9
Harmonic Numbers, Euler's Constant and the Primes
Lesson 10
The Prime Number Theorem
Lesson 11
Information, Entropy and Logarithmic Scales
Lesson 12
Benford's Law
Lesson 13
Discrete Logarithms and Cryptography
Problem Set
60 problems
Assessment
Randomly generated questions

Image sources

  1. Figure 1 · Prime number theorem ratio convergence. By Dcoetzee. CC0. From Wikimedia Commons: https://commons.wikimedia.org/wiki/File:Prime_number_theorem_ratio_convergence.svg
  2. Figure 2 · Riemann surface log. By Leonid 2. CC BY-SA 3.0. From Wikimedia Commons: https://commons.wikimedia.org/wiki/File:Riemann_surface_log.svg
V.3.1