logo

Inequalities for the Logarithmic Function 1-1/x < log x < x-1 📂Lemmas

Inequalities for the Logarithmic Function 1-1/x < log x < x-1

Theorem

For a logarithmic function with base ee, the following inequality holds:

11xlnxx1 for x>0 1 - \dfrac{1}{x} \le \ln x \le x - 1\qquad \text{ for } x \gt 0

Proof1

Part 1. lnxx1\ln x \le x - 1

Let’s set it as f(x)=x1lnxf(x) = x - 1 - \ln x. Differentiating it gives, f(x)=11xf^{\prime}(x) = 1 - \dfrac{1}{x} (x>0)(x>0).

  • At 0<x<10 \lt x \lt 1, it is f<0f^{\prime} \lt 0
  • If x=1x = 1, then f=0f^{\prime} = 0
  • At x>1x \gt 1, it is f>0f^{\prime} \gt 0

Since f(1)=0f^{\prime}(1) = 0, ff has a minimum value of 00 at 11. Therefore,

0f(x)    0x1lnx    lnxx1 for x>0 0 \le f(x) \implies 0 \le x - 1 - \ln x \implies \ln x \le x - 1 \qquad \text{ for } x > 0

Part 2. 11xlnx1 - \dfrac{1}{x} \le \ln x

Let’s set it again as f(x)=lnx1+1xf(x) = \ln x - 1 + \dfrac{1}{x}. Differentiating it gives, f(x)=1x1x2=1x(11x)f^{\prime}(x) = \dfrac{1}{x} - \dfrac{1}{x^{2}} = \dfrac{1}{x}\left( 1 - \dfrac{1}{x} \right) (x>0)(x > 0).

  • At 0<x<10 \lt x \lt 1, it is f<0f^{\prime} \lt 0
  • If x=1x = 1, then f=0f^{\prime} = 0
  • At x>1x \gt 1, it is f>0f^{\prime} \gt 0

Since f(1)=0f^{\prime}(1) = 0, ff has a minimum value of 00 at 11. Therefore,

0f(x)    0lnx1+1x    11xlnx for x>0 0 \le f(x) \implies 0 \le \ln x - 1 + \dfrac{1}{x} \implies 1 - \dfrac{1}{x} \le \ln x \qquad \text{ for } x > 0