This is useful method for an estimation convex or concave functions on a closed segment.
Let $f$ is a convex function on $[a,b]$. Prove that: $$\max_{[a,b]}f=\max(f(a),f(b)).$$
Let $f$ is a concave function on $[a,b]$. Prove that: $$\min_{[a,b]}f=\min(f(a),f(b))$$