I sincerely hope this is not a dumb question. I was doing some reading through an analysis book and was looking at Rolle’s Theorem. That is, if a function f:[a,b]:→R is continuous on [a,b] and differentiable on (a,b), and that f(a)=f(b). Then ∃c∈(a,b) such that f′(c)=0.

Now, it seems to me that the intuition here is that if the “end points” of an function’s value are equal (and the function is continuous), then the function’s maximum or minimum has occurred somewhere between the endpoints. However, this intuition is obviously much more general than theorem. It doesn’t seem to require differentiability(or does it?).

Hence, my question is this: Is there a analogous theorem that captures the complete intuition without differentiability as a requirement? Why or why not?

As a possibly less important question:if we allow positive and negative infinity can we likewise get rid of the the continuity condition? Why or why not? Or why might this be a unimportant question?

Please let me know if I’m not being entirely clear somewhere, so I can clarify what I mean.

EDIT: I’m sorry I didn’t use an example to maybe explain my question. The absolute value function has a minimum, but it is not differentiable there, but I would still like to speak about that point.

Thanks for your time and help in advance!

**Answer**

From the Extreme Value Theorem:

For any continuous f defined on [a,b], there exists c1,c2∈[a,b] such that for all x∈[a,b] f(c1)≤f(x)≤f(c2).

We get a continuous version of Rolle:

If f is continuous on [a,b] and f(a)=f(b) then there exists an c0∈(a,b) such that f(c0) is either the minimum or the maximum value of f on [a,b].

**Proof**: If f(x) is constant on [a,b] then you can pick any x0∈(a,b).

Otherwise, assume f(c)>f(a) for some c∈(a,b). (The second case, f(c)<f(a), is the same.) By the Extreme Value Theorem, there exists c0 such that f(c0)≥f(x) for all x∈[a,b]. Since f(c0)≥f(c)>f(a)=f(b), we know that c0≠a,b, so c0∈(a,b).

Rolle's theorem follows from this by the proof that, if f is differentiable on (a,b) then a maximum or minimum on (a,b) must have derivative zero.

**Attribution***Source : Link , Question Author : Valentino , Answer Author : Thomas Andrews*