Rolle’s theorem is a fundamental result in calculus stating that a real-valued function continuous on a closed interval, differentiable throughout its interior, and taking equal values at the two endpoints must have derivative zero at some interior point. Geometrically, a sufficiently smooth curve that returns to its starting height must have at least one horizontal tangent between its endpoints. The theorem underlies the mean value theorem and many results about the zeros, growth, and approximation of functions.
Statement
Let with , and let be a function. Suppose that:
- is continuous on the closed interval ;
- is differentiable on the open interval ;
- .
Then there exists at least one such that
Here denotes the derivative of . Differentiability at the endpoints is not required, nor is continuity of the derivative.
The conclusion is an existence statement: it does not specify the location of , guarantee that is unique, or provide a procedure for computing it.
Geometric interpretation
On the graph of a function, the equality means that the endpoints lie at the same height. Rolle’s theorem guarantees a horizontal tangent somewhere strictly between them.
If the function is constant, every interior point satisfies the conclusion. If it is not constant, it takes a value either above or below its common endpoint value. It must therefore attain a highest or lowest value at an interior point, where differentiability forces the tangent to be horizontal.
The point supplied by the theorem need not be the midpoint of the interval. A zero derivative also does not, by itself, imply a local maximum or minimum: a function can have a horizontal tangent without changing its direction of increase or decrease.
Proof
The standard proof combines the extreme value theorem with the fact that a differentiable function has derivative zero at an interior local extremum.
Because is continuous on the closed bounded interval , it attains both a maximum and a minimum there.
If is constant, then for every .
Otherwise, some value of differs from . If some value is greater than this common endpoint value, a global maximum must occur at an interior point. If some value is smaller, a global minimum must occur at an interior point. Thus there is an interior extremum .
For example, suppose is a local maximum. For sufficiently small ,
whereas for sufficiently small ,
Since the derivative exists at , these one-sided limits agree. Their common value must be both nonpositive and nonnegative, so
The argument for a local minimum is analogous.
Examples
A quadratic function
For the polynomial
the endpoint values are . Since
the unique point satisfying the conclusion is .
A trigonometric function
For
the endpoint values are both zero. Its derivative is , which vanishes at .
On a longer interval, there may be several such points. For example, on , the same function has derivative zero at both and .
A function not differentiable at the endpoints
Consider
It is continuous on the entire interval and differentiable in its interior, with
Although it has no finite one-sided derivative at either endpoint, Rolle’s theorem applies and gives .
Why the hypotheses matter
Each hypothesis is needed for the theorem as a general guarantee. A function failing a hypothesis may still have a point with derivative zero, but that conclusion is no longer assured.
Failure of continuity at an endpoint
Define
Then , and is differentiable throughout . However, everywhere in that interval. The failure is the discontinuity at .
Failure of differentiability in the interior
For
the function is continuous and has equal endpoint values. Its derivative is for and for , but is undefined at . There is no point where the derivative is zero. The corner in the absolute value function prevents the theorem from applying.
Unequal endpoint values
The function on is continuous and differentiable, but its derivative is always . Its endpoint values are unequal.
Relation to the mean value theorem
Rolle’s theorem is the equal-endpoint case of the mean value theorem. Conversely, the general mean value theorem follows from Rolle’s theorem by subtracting the line joining the endpoints.
Suppose is continuous on and differentiable on . Define
Then . Applying Rolle’s theorem gives an interior point for which
Therefore,
Geometrically, the horizontal tangent guaranteed for corresponds to a tangent to parallel to its endpoint secant.
Applications
Zeros of functions and their derivatives
If a differentiable real-valued function has two distinct zeros, its derivative has a zero between them, provided the function is continuous on the interval joining those zeros.
More generally, if has distinct zeros
Rolle’s theorem applied on each interval gives at least distinct zeros of .
Repeated application is useful for relating the number of zeros of a function to those of its higher derivatives. In particular, if has distinct zeros in an interval and is times continuously differentiable there, then
at some point between the smallest and largest zeros.
For a degree- polynomial with distinct real roots, its derivative has exactly one root between each consecutive pair. This follows from Rolle’s theorem together with the degree bound on the number of polynomial roots.
Uniqueness of solutions
If everywhere on an interval, then cannot take the same value at two distinct points. Otherwise, Rolle’s theorem would force its derivative to vanish between them.
Consequently, is an injective function on that interval, and an equation of the form has at most one solution there. This proves uniqueness, not existence.
Approximation and error formulas
Repeated applications of Rolle’s theorem are used in proofs of remainder formulas for Taylor expansions and polynomial interpolation. A typical argument constructs an auxiliary function with several prescribed zeros, then differentiates repeatedly until Rolle’s theorem forces a higher derivative to vanish. Rearranging that equality yields an error formula involving a derivative evaluated at an intermediate point.
Scope and limitations
The scalar, real-valued setting is essential to the stated conclusion. An analogous zero-derivative conclusion generally fails for vector-valued functions.
For example, consider a curve in Euclidean space:
Its endpoint values agree, but
is never the zero vector.
Each coordinate separately satisfies Rolle’s theorem, but the points where their derivatives vanish need not coincide. Interpreting the same curve as the complex-valued function shows the corresponding failure for functions taking values in the complex numbers.
Historical background
The theorem is named after the French mathematician Michel Rolle, who established a polynomial version in 1691. Its modern formulation for continuous and differentiable real-valued functions belongs to the later development of mathematical analysis, which supplied precise definitions of limits, continuity, and differentiation.