Convex Optimization Function: Simple Geometry

In a convex function the line segment from x to y lies above the function graph of f for any points x and y. A straightforward geometric…