# Undergraduate Mathematics/Rolle's theorem

In calculus, **Rolle's theorem** states that if a function *f* is continuous on a closed interval and differentiable on the open interval , and then there is some number *c* in the open interval such that

- .

Intuitively, this means that if a smooth curve is equal at two points then there must be a stationary point somewhere between them. Just continuity is not sufficient. (However, differentiability is not quite necessary; see note below.) For example, if

the absolute value of *x*, then we have that

but there is no *x* between -1 and 1 for which . This is because that function, although continuous, is not differentiable at *x*=0.

A version of the theorem was first stated by Indian astronomer Bhaskara in the 12th century.[1] A proof of the theorem had to wait until centuries later when Michel Rolle in 1691 used the methods of differential calculus.

## Proof[edit]

The idea of the proof is to argue that if then must attain either a maximum or a minimum somewhere between and , and at either of these points.

Now, by assumption, is continuous on , and by the continuity property attains both its maximum and its minimum in . If these are both attained at endpoints of then is constant on and so at every point of .

Suppose then that the maximum is obtained at an interior point (the argument for the minimum is very similar). We wish to show that . We shall examine the left-hand and right-hand derivatives separately.

For less than , the quantity is non-negative since is a maximum. Thus the limit as approaches from below is non-negative. (Note that we assume that is differentiable to guarantee that the left-hand and right-hand derivatives exist; it does not follow from the other assumptions).

For greater than , the quantity is non-positive. Thus the limit as approaches from above is non-positive.

Finally, since is differentiable at , these two limits must be equal and hence are both 0. This implies that .

## Relaxed assumptions[edit]

The theorem is usually stated in the form above, but it is actually valid in a slightly more general setting: We only need to assume that

is continuous on , that

and that

## Generalizations[edit]

The mean value theorem gives a similar statement but for functions that do not have the same value at the end points; that is, . The conclusion is that there is a point of the domain where the instantaneous slope equals the mean slope. Rolle's theorem can be used to prove the mean value theorem and vice versa.

We can also generalize Rolle's theorem by requiring that *f* has more zeros and greater regularity. Specifically, suppose the following

- the function
*f*is*n*times differentiable:**Failed to parse (unknown function "\dipslaystyle"): {\displaystyle \dipslaystyle f\in C^{n-1}[a,b]}**, and exists on , and - the function
*f*has*n*+1 roots: for distinct points , in .

Then there is a such that .