Consider the following Taylor expansion of the natural logarithm (denoted by $\log$ here):
$$ \log(1+x) = x - x^2/2 + x^3/3 - x^4/4 + x^5/5 - \cdots $$
It appears that from this expansion, inequalities can be generated. $ \log(1+x) \leq x $ is well known for all $x > -1$. The Taylor expansion however motivates further inequalities which, on numerical inspection, appear valid for all $x > -1$:
$$ \log(1+x) \leq x - x^2/2 + x^3/3 \\ \log(1+x) \leq x - x^2/2 + x^3/3 - x^4/4 + x^5/5 \\ \cdots $$
Further, for even powers also inequalities appear to hold. For $-1 < x \leq 0$: $$ \log(1+x) \leq x - x^2/2 \\ \log(1+x) \leq x - x^2/2 + x^3/3 - x^4/4 \\ \cdots $$
and for $x \geq 0$ the opposite: $$ \log(1+x) \geq x - x^2/2 \\ \log(1+x) \geq x - x^2/2 + x^3/3 - x^4/4 \\ \cdots $$
The very same procedure also works with the Taylor expansion of $ (1+x) \log(1+x)$. Possibly other examples can be found.
Questions:
- does it hold indeed for expansions up to all powers of $x$?
- is this a special feature of the $\log$ function?
- is there a general rule when this procedure of "generating inequalities from Taylor expansions with alternating signs" will work?
Thanks for your help!