Let be an open interval where . Also, let be differentiable.
Prove is convex if and only if for all .
I have that the definition of convex is where
I have tried to switch it around algebraically but I can't seem to figure it out. I'd appreciate any help.