Lagrange’s theorem generalises Rolle’s: without requiring the endpoints to be at the same height, it guarantees the existence of a point where the tangent is parallel to the secant joining the endpoints. From here follow the consequences that turn the study of the sign of the derivative into the main tool for understanding where a function increases and where it decreases.