Let $f:\mathbb{R}\to \mathbb{R}$ be continuous and convex. Assume that $f(0) \leq 0$. What is the set $\mathcal{D} = \{x| f(x) \leq 0\} \cap \{x| x\geq 0\}$? Assume that $\mathcal{D}$ is bounded.
I think $D = [0, \alpha]$, where $\alpha = \max\{x| f(x) = 0\}$. Any idea or proof?
Hint: We know that $0\in D$, since $f(0)\leq 0$. Assume that $t\in D$ with $t\neq 0$.
By definition of $D$ this means $t\geq 0$ and $f(t)\leq 0$.
Let $0<x<t$. Use convexity to show (your job) that $f(x)\leq 0$ and conclude.