Understanding the principle behind the first derivative test

To observe the gradient of the tangent as Point P moves through the curve.

Information: Understanding the principle behind the first derivative test