To prove: $$x-\frac{x^2}{2}<\ln(1+x)<x-\frac{x^2}{2(1+x)},\quad\forall x>0$$
I have used Taylor series expansion at 0 for both the inequalites. The greater than by expanding $\ln(1+x)$ and the less than by expanding $\int \ln(1+x)\,dx$ at 0.
Is there a cleaner / more elegant way of achieving the same?