Convex and concave functions
1. Using most basic definition of convex functions. what is the most basic definition of convex function?
2. Using definition of midpoint convex. For me, functions usually are smooth (with arbitrary order derivative).
3. See whether the first order derivative monotonically non-decreasing.
4. See whether the second order derivative is non-negative.