By Rolles Theorem, for a function f:[a,b]→R,
if (a) f is continuous on [a,b]
(b) f is differentiable on (a,b) and
(c) f(a)=f(b)
Then, there exists some c∈(a,b) such that f′(c)=0
Therefore, Rolles Theorem is not applicable to those functions that do not satisfy any of the three conditions of the hypothesis.
f(x)=x2−1 for x∈[1,2]
It is evident that f, being a polynomial function, is continuous in [1,2] and is differentiable in (1,2).
Also f(1)=(1)2−1=0
and f(2)=(2)2−1=3
∴f(1)≠f(2)
It is observed that f does not satisfy a condition of the hypothesis of Rolles Theorem.
Hence, Rolles Theorem is not applicable for f(x)=x2−1 for x∈[1,2].