a concave function is the opposite of a convex function