Is this proof of Rolle’s Theorem a valid one

calculusderivativesreal-analysisrolles-theoremsolution-verification

Let $f:\Bbb [a,b]\to \Bbb R$ satisfy the following :

(i) $f(x)$ is continuous in $[a,b]$

(ii) $f(x)$ is derivable in $(a,b)$

(iii) $f(a)=f(b)$

then, $\exists c\in (a,b)$ such that $f'(c)= 0.$

I tried to prove this theorem as follows:

Since, $f(x)$ is continuous in $[a,b]$ so by Maximum-Minimum Theorem $f$ attains a maximum and a minimum value in $[a,b]$ and we denote them by $M$ amd $m$ respectively.

If $M=m$ then $f(x)=m=M$ for all $x\in [a,b]$ and hence, $f'(x)=0,\forall x\in (a,b)\subset [a,b]$ and so, the theorem is true.

If $m\neq M$ we assume $f(a)=f(b)=M$ then $\exists c\in (a,b)$ such that, $f(c)=m.$

We know that,

Let $c$ be an interior
point of the interval $I$ at which
$f:I\to \Bbb R$ has a relative extremum. If the derivative of $f$ at $c$ exists, then $f'(c) = 0.$

Since, $f$ is derivable in $(a,b)$ so, $f'(c)=0.$

Similarly, if $f(a)=f(b)\neq M$ then $\exists c\in (a,b)$ such that, $f(c)=M.$

We know that,

Let $c$ be an interior
point of the interval $I$ at which
$f:I\to \Bbb R$ has a relative extremum. If the derivative of $f$ at $c$ exists, then $f'(c) = 0.$

Since, $f$ is derivable in $(a,b)$ so, $f'(c)=0.$


Till now, all the books I read, never used this proof. It appeared strange. I am curious to know if the above proof is a valid one or not as I am unable to find any mistake.

The proofs which I found in different books are:

Book 1:

enter image description hereenter image description here

Book 2:

(This one uses a different version of Rolle's Theorem)

enter image description here

Book 3:

enter image description here

I know that some users doesn't like the use of images but in here, I am really afraid to type these massive proofs in the books.

Best Answer

Your proof is correct and complete. The idea is to use compactness of the domain $[a, b]$ to deduce that $f$ must attain both a minimum $m$ and maximum $M$. There is a trivial case where $m = M$, in which case $f$ must be the constant function mapping each element of the domain to $M$, in which case any $x \in (a, b)$ will have $f' (x) = 0$. Otherwise, $m < M$, and you've considered two sub-cases:

(1) $f (a) (= f (b)) = M$. In this case, $m < M$ implies there exists $c \in (a, b)$ such that $f (c) = m$. Then claim $f' (c) = 0$.

(2) $f (a) (= f (b)) < M$. In this case, there exists $d \in (a, b)$ such that $f (d) = M$. Then claim $f' (d) = 0$.

The only thing I would change in your proof is the wording:

If $m \ne M$ we assume $f (a) = f (b) = M$...

(emphasis is mine). This, at least to me, was a bit confusing because I didn't see the complementary case later on. You can say something like

If $m \ne M$, we consider two cases: either $f (a) = f (b) = M$, or $f (a) = f (b) \ne M$...

(kind of how I discussed it above) and proceed as you have, analyzing the two possibilities. Regardless, this is not a problem with the logic of the proof itself, which is sound.

Related Question