A convex function $f$ defined on an interval $[a,b]$ with $a<b$ hits its maximum in one of the points a and b.
If it’s true, how to prove it? I only know the definition of convex functions and that if a functions is twice differentiable and the second derivative is nonnegative then it is convex. I don’t even know where to start. Can you please show me a complete proof so I can fully understand? Is it also available for strictly convex function? Can there exist other values $x$ such that f(x)=maximum value? Or are $a$ and $b$ the only numbers that have f(a) and f(b) maximum?
Thank you very much!