Text this: Convex functions and the hadamard inequality