What are the mathematical conditions that must be met for a curve to be considered convex?

I would guess that negative slope and a "non-constant" first derivative are essential, but don't know the fancy way of saying this.

Does the bottom left quarter of a circle (from pi to 3pi/2 ) qualify as convex? (If it is plotted up in the first quadrant)

Thanks