The first derivative is the tool for locating the relative maxima and minima of a function. A necessary condition links every differentiable extremum to the vanishing of ff' (stationary point); the first derivative test, by observing the sign change of ff', then distinguishes maxima, minima and inflections with a horizontal tangent.