Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If g is a positive, twice differentiable function that is decreasing and has limit zero at infinity, does g have to be convex? I am sure, from drawing a graph of a function which starts off as being concave and then becomes convex from a point on, that g does not have to be convex, but can someone show me an example of an actual functional form that satisfies this property?

We know that since g has limit at infinity, g cannot be concave, but I am sure that there is a functional example of a function g:[0,∞)↦(0,∞) which is increasing, has limit zero at infinity, and is not everywhere convex, I just can't come up with it. Any ideas?

Thank you!

share|cite|improve this question
$g(x) = e^{-x^2}$ on $x \geq 0$. – cardinal Jul 7 '12 at 23:43

Since the functions mentioned so far are eventually convex, here is one more: $$ f(x)=e^{-x}(3+2\sin x) $$ The first derivative $$f\,'(x)=e^{-x}(2\cos x-2\sin x-3)$$ is always negative because $\cos x-\sin x\le \sqrt{2}$ for all $x$. But the second derivative $$f\,''(x)=e^{-x}(3-4\cos x)$$ changes sign infinitely many times.

share|cite|improve this answer

Try $$f(x)=\frac{\pi}2-\tan^{-1}x\;.$$

share|cite|improve this answer
This function is a great source of counterexamples. Rescaled, it gives you an example of a (non-strict) contraction mapping with no fixed points. – Alex Becker Jul 7 '12 at 23:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.