how to prove that $\ln(1+x)< x$ [duplicate]
Solution 1:
Another proof is based on the fact that $e^x$ is a convex function and $x+1$ is tangent to $e^x$ at $0$. That is,
$$x+1< e^x, \text{ if } x\not =0, \text { and } x+1=e^x \text{ if } x=0.$$
Taking the natural logarithm of both sides we get that
$$\ln(x+1)< x \text { if } x\not =0.$$
Solution 2:
$$e^x = 1 + x + \frac{x^2}{2}+ \frac{x^3}{6}+ \cdots > 1+x$$
if $x>0$. Then, taking the logarithm, which is an increasing function, we get $x > \ln(1+x)$.
Solution 3:
I think your approach is correct but you need to add some more details. Based on your approach let $f(x) = \log(1 + x) - x$ so that $f(0) = 0$. Clearly $$f'(x) = -\frac{x}{1 + x}$$ and hence $f'(x) > 0$ if $-1 < x < 0$ and $f'(x) < 0$ if $x > 0$. It follows that that $f(x)$ in increasing in $(-1, 0]$ and decreasing in $[0, \infty)$. Thus we have $f(x) < f(0)$ if $-1 < x < 0$ and $f(x) < f(0)$ if $x > 0$. It thus follows that $f(x) \leq f(0) = 0$ for all $x > -1$ and there is equality only when $x = 0$. So we can write $$\log(1 + x) \leq x$$ for all $x > -1$ and there is equality only when $x = 0$.
Note: We have considered $x > -1$ because $\log(1 + x)$ is not defined if $x \leq -1$.