Proving inequalities with derivatives

An inequality can be proved by taking the difference and examining where it rises and falls. We confirm ex1+xe^x \geq 1 + x.

Examining the difference

Put g(x)=ex1xg(x) = e^x - 1 - x. What is to be shown is that g(x)0g(x) \geq 0 for every xx.

g(x)=ex1g'(x) = e^x - 1

The function exe^x increases monotonically and equals 11 at x=0x = 0.

Rangeexe^xgg'Behavior of gg
x<0x < 0<1< 1negativedecreasing
x>0x > 0>1> 1positiveincreasing

So gg is smallest at x=0x = 0, where its value is g(0)=0g(0) = 0. Since the minimum is 00 we have g(x)0g(x) \geq 0, that is ex1+xe^x \geq 1 + x for every xx, with equality only at x=0x = 0.

Seeing it in the picture

The line y=1+xy = 1 + x is the tangent to y=exy = e^x at x=0x = 0. Since g(x)=ex>0g''(x) = e^x > 0, the function exe^x is convex, and a convex function lies above every one of its tangents1. This inequality is one instance of that.

Substitutions give other forms

SubstitutionInequality obtained
xxx \to -xex1xe^{-x} \geq 1 - x
xlntx \to \ln tlntt1\ln t \leq t - 1
x1nx \to \dfrac{1}{n}e1/n1+1ne^{1/n} \geq 1 + \dfrac{1}{n}

The second is much used as a way of bounding a logarithm from above.

A link to the definition of ee

Raising both sides of the third to the nnth power gives the following.

e(1+1n)ne \geq \left( 1 + \frac{1}{n} \right)^n

That the sequence appearing in the definition of ee never exceeds ee follows from this single inequality.

The procedure

  • Take the difference
  • Differentiate
  • Find the minimum or maximum from the change of sign
  • See whether that value is at least 00

To prove something only for x>0x > 0, it is enough to examine the value at the end of that range together with the monotonicity. Proving an inequality turns into a question about rising and falling.

The convex curve on the graph is y=exy = e^x, its tangent is y=1+xy = 1 + x, the difference of the two is y=ex1xy = e^x - 1 - x, and the large dots are the point of tangency (0,1)(0, 1) and the origin, where the difference is 00.

  1. Convex function, Wikipedia