-2

Suppose that $$f(x) = \frac{e^x-1} {x(x+a)},$$ where $x>0$ and $a>0$, how to prove $f$ is convex in $x$? If it is not convex, do you have a counterexample?

Adam
  • 17

1 Answers1

2

Use brute force and group terms to have $$f''(x)=\frac{A(x)\,a^2+B(x)\,a+C(x)}{x^3 (x+a)^3}$$ with $$A(x)=e^x (x^2-2 x+2)-2$$$$B(x)=2x(e^x(x^2-3 x+3)-3)$$ $$C(x)=x^2( e^x(x^2-4 x+6)-6)$$ Show that these three terms are always positive for $x>0$.

Compute $\Delta=B^2(x)-4A(x)C(x)$ and show that is it always negative. If this is true, then $f''(x)>0 \quad \forall (a,x)$.