There are three things you have to know:
- A function is convex when its second derivative
- A function is concave when it second derivative
- The derivative of a power,
, is
So, the first derivative is
and the second derivative is
This implies that the second derivative of a parabola is constant, and of course that 2 doesn't change the sign of
.