Home › Logarithms › Lesson 1

The Natural Logarithm as an Integral

Lesson 1 of 13

Key idea of this section

ln x := ∫₁ˣ dt/t   (x > 0)
ln(xy) = ln x + ln y,   (ln x)′ = 1/x,   ln: (0, ∞) → ℝ is a bijection

The definition

The function t ↦ 1/t is continuous on (0, ∞), so for every x > 0 the Riemann integral ∫₁ˣ dt/t exists. (For 0 < x < 1 we use the convention ∫₁ˣ = −∫ₓ¹.) We define

ln x = ∫₁ˣ (1/t) dt,   x > 0.

Definition 1.1. The function ln: (0, ∞) → ℝ defined above is the natural logarithm.

Nothing about exponents has been assumed. Every property of ln below is derived from this definition, from the fundamental theorem of calculus, and from the substitution rule.

Immediate properties

Proposition 1.2. (i) ln 1 = 0. (ii) ln is differentiable on (0, ∞) with (ln x)′ = 1/x. (iii) ln is strictly increasing and strictly concave. (iv) ln x < 0 for 0 < x < 1 and ln x > 0 for x > 1.

Proof. (i) is the integral over a degenerate interval. (ii) is the fundamental theorem of calculus, since 1/t is continuous. (iii) The derivative 1/x is positive, so ln is strictly increasing; the second derivative −1/x² is negative, so ln is strictly concave. (iv) follows from (i) and (iii). ∎

The functional equation

Theorem 1.3 (Product rule). For all x, y > 0, ln(xy) = ln x + ln y.

Proof. Fix y > 0 and put g(x) = ln(xy) − ln x. By the chain rule g′(x) = y·(1/(xy)) − 1/x = 0, so g is constant on the interval (0, ∞). Evaluating at x = 1 gives g(1) = ln y. Hence ln(xy) − ln x = ln y for every x. ∎

A second proof makes the mechanism visible. Split the integral and substitute t = xs in the second piece:

ln(xy) = ∫₁ˣ dt/t + ∫ₓˣʸ dt/t = ln x + ∫₁ʸ (x ds)/(xs) = ln x + ln y.

The substitution works because the measure dt/t is invariant under the dilation t ↦ xt. This invariance is the real reason logarithms exist; we return to it in Lesson 3.

Corollary 1.4. For x, y > 0 and every integer n: (i) ln(1/x) = −ln x; (ii) ln(x/y) = ln x − ln y; (iii) ln(xⁿ) = n ln x; (iv) for every rational r = m/n with n ≥ 1, ln(xm/n) = (m/n) ln x, where xm/n denotes the positive n-th root of xᵐ.

Proof. (i) 0 = ln 1 = ln(x · 1/x) = ln x + ln(1/x). (ii) follows from (i) and Theorem 1.3. (iii) For n ≥ 0 by induction, for n < 0 by (i). (iv) If u = xm/n then uⁿ = xᵐ, so n ln u = m ln x by (iii). ∎

The range of ln

Proposition 1.5. ln is a bijection from (0, ∞) onto ℝ.

Proof. Injectivity follows from strict monotonicity. For surjectivity, note that ln 2 = ∫₁² dt/t > ∫₁² dt/2 = 1/2, because 1/t > 1/2 on [1, 2). By Corollary 1.4, ln(2ⁿ) = n ln 2 > n/2, which is unbounded above, and ln(2⁻ⁿ) = −n ln 2 is unbounded below. Since ln is continuous on an interval, the intermediate value theorem shows it takes every real value. ∎

Two-sided bounds

Proposition 1.6. For all x > 0,

1 − 1/x ≤ ln x ≤ x − 1,

with equality in either place if and only if x = 1.

Proof. For x > 1, 1/x < 1/t < 1 for t ∈ (1, x), so (x − 1)/x < ∫₁ˣ dt/t < x − 1, and (x − 1)/x = 1 − 1/x. For 0 < x < 1, apply the same reasoning to the interval [x, 1]: there 1 < 1/t < 1/x, so 1 − x < −ln x < (1 − x)/x, which rearranges to the same inequalities. Equality at x = 1 is clear. ∎

The upper bound ln x ≤ x − 1 is the single most useful inequality about logarithms. It says that the concave curve y = ln x lies below its tangent line at x = 1. We shall use it to prove Gibbs' inequality in information theory and the AM–GM inequality in Lesson 4.

Numerical evaluation from the definition

The definition is directly computable. The trapezoidal rule with step 1/4 on [1, 2] gives

ln 2 ≈ (1/4)·(1/2 + 4/5 + 2/3 + 4/7 + 1/4) ≈ 0.69702,

an overestimate, since 1/t is convex and the trapezoidal rule overestimates the integral of a convex function. The true value is ln 2 = 0.693147… . Simpson's rule with the same nodes gives 0.69325, already correct to three decimals. Much better methods appear in Lesson 5.

Exercise

  • (a)
    Prove from the definition that ln x < 2(√x − 1) for x > 1. (Hint: compare 1/t with 1/√t.)
  • (b)
    Show that the sequence ln n / n tends to 0, using only Proposition 1.6 and the identity ln n = 2 ln √n.
  • (c)
    Using only ln 2 > 1/2 (from the proof of Proposition 1.5) and Proposition 1.6, prove that 1/2 < ln 2 < 1.
Show solution

Answers: (a) For t > 1, 1/t < 1/√t, so ln x = ∫₁ˣ dt/t < ∫₁ˣ t−1/2 dt = 2(√x − 1). (b) ln n = 2 ln √n ≤ 2(√n − 1) < 2√n, so 0 ≤ ln n / n < 2/√n → 0 for n ≥ 1. (c) The lower bound is given. The upper bound follows from ln x ≤ x − 1 at x = 2, which gives ln 2 ≤ 1, with strict inequality because 2 ≠ 1.

V.3.1