Maximum, Minimum & Inflexion

Wherever the tangent is flat, dy/dx = 0. If the colour switches there (green↔red) it is a maximum or minimum; if it stays the same colour, the flat spot is a point of inflexion.

Curve
Stationary points: dy/dx = 0
At the point P
Curve
drag P along the curve