# Calculus/Some Important Theorems

 ← Derivatives of Exponential and Logarithm Functions Calculus Differentiation/Basics of Differentiation/Exercises → Some Important Theorems

This section covers three theorems of fundamental importance to the topic of differential calculus: The Extreme Value Theorem, Rolle's Theorem, and the Mean Value Theorem. It also discusses the relationship between differentiability and continuity.

## Extreme Value TheoremEdit

### Classification of ExtremaEdit

We start out with some definitions.

Global Maximum
A global maximum (also called an absolute maximum) of a function ${\displaystyle f}$ on a closed interval ${\displaystyle I}$ is a value ${\displaystyle f(c)}$ such that ${\displaystyle f(c)\geq f(x)}$ for all ${\displaystyle x}$ in ${\displaystyle I}$ .
Global Minimum
A global minimum (also called an absolute minimum) of a function ${\displaystyle f}$ on a closed interval ${\displaystyle I}$ is a value ${\displaystyle f(c)}$ such that ${\displaystyle f(c)\leq f(x)}$ for all ${\displaystyle x}$ in ${\displaystyle I}$ .

Maxima and minima are collectively known as extrema.

### The Extreme Value TheoremEdit

Extreme Value Theorem
If ${\displaystyle f}$ is a function that is continuous on the closed interval ${\displaystyle [a,b]}$ , then ${\displaystyle f}$ has both a global minimum and a global maximum on ${\displaystyle [a,b]}$ . It is assumed that a and b are both finite.

The Extreme Value Theorem is a fundamental result of real analysis whose proof is beyond the scope of this text. However, the truth of the theorem allows us to talk about the maxima and minima of continuous functions on closed intervals without concerning ourselves with whether or not they exist. When dealing with functions that do not satisfy the premises of the theorem, we will need to worry about such things. For example, the unbounded function ${\displaystyle f(x)=x}$ has no extrema whatsoever. If ${\displaystyle f(x)}$ is restricted to the semi-closed interval ${\displaystyle I=[0,1)}$ , then ${\displaystyle f}$ has a minimum value of ${\displaystyle 0}$ at ${\displaystyle x=0}$ , but it has no maximum value since, for any given value ${\displaystyle c}$ in ${\displaystyle I}$ , one can always find a larger value of ${\displaystyle f(x)}$ for ${\displaystyle x}$ in ${\displaystyle I}$ , for example by forming ${\displaystyle f(d)}$ , where ${\displaystyle d}$ is the average of ${\displaystyle c}$ with ${\displaystyle 1}$ . The function ${\displaystyle g(x)={\frac {1}{x}}}$ has a discontinuity at ${\displaystyle x=0}$ . ${\displaystyle g(x)}$ fails to have any extrema in any closed interval around ${\displaystyle x=0}$ since the function is unbounded below as one approaches ${\displaystyle 0}$ from the left, and it is unbounded above as one approaches ${\displaystyle 0}$ from the right. (In fact, the function is undefined for ${\displaystyle x=0}$ . However, the example is unaffected if ${\displaystyle g(0)}$ is assigned any arbitrary value.)

The Extreme Value Theorem is an existence theorem. It tells us that global extrema exist if certain conditions are met, but it doesn't tell us how to find them. We will discuss how to determine the extrema of continuous functions in the section titled Extrema and Points of Inflection.

## Rolle's TheoremEdit

Rolle's Theorem
If a function, ${\displaystyle f(x)}$ , is continuous on the closed interval ${\displaystyle [a,b]}$ , is differentiable on the open interval ${\displaystyle (a,b)}$ , and ${\displaystyle f(a)=f(b)}$ , then there exists at least one number c, in the interval ${\displaystyle (a,b)}$ such that ${\displaystyle f'(c)=0}$ .

Rolle's Theorem is important in proving the Mean Value Theorem. Intuitively it says that if you have a function that is continuous everywhere in an interval bounded by points where the function has the same value, and if the function is differentiable everywhere in the interval (except maybe at the endpoints themselves), then the function must have zero slope in at least one place in the interior of the interval.

### Proof of Rolle's TheoremEdit

If ${\displaystyle f}$ is constant on ${\displaystyle [a,b]}$ , then ${\displaystyle f'(x)=0}$ for every ${\displaystyle x}$ in ${\displaystyle [a,b]}$ , so the theorem is true. So for the remainder of the discussion we assume ${\displaystyle f}$ is not constant on ${\displaystyle [a,b]}$ .

Since ${\displaystyle f}$ satisfies the conditions of the Extreme Value Theorem, ${\displaystyle f}$ must attain its maximum and minimum values on ${\displaystyle [a,b]}$ . Since ${\displaystyle f}$ is not constant on ${\displaystyle [a,b]}$ , the endpoints cannot be both maxima and minima. Thus, at least one extremum exists in ${\displaystyle (a,b)}$ . We can suppose without loss of generality that this extremum is a maximum because, if it were a minimum, we could consider the function ${\displaystyle -f}$ instead. Let ${\displaystyle f(c)}$ with ${\displaystyle c}$ in ${\displaystyle (a,b)}$ be a maximum. It remains to be shown that ${\displaystyle f'(c)=0}$ .

By the definition of derivative, ${\displaystyle f'(c)=\lim _{h\to 0}{\frac {f(c+h)-f(c)}{h}}}$ . By substituting ${\displaystyle h=x-c}$ , this is equivalent to ${\displaystyle \lim _{x\to c}{\frac {f(x)-f(c)}{x-c}}}$ . Note that ${\displaystyle f(x)-f(c)\leq 0}$ for all ${\displaystyle x}$ in ${\displaystyle [a,b]}$ since ${\displaystyle f(c)}$ is the maximum on ${\displaystyle [a,b]}$ .

${\displaystyle \lim _{x\to c^{-}}{\frac {f(x)-f(c)}{x-c}}\geq 0}$ since it has non-positive numerator and negative denominator.

${\displaystyle \lim _{x\to c^{+}}{\frac {f(x)-f(c)}{x-c}}\leq 0}$ since it has non-positive numerator and positive denominator.

The limits from the left and right must be equal since the function is differentiable at ${\displaystyle c}$ , so ${\displaystyle \lim _{x\to c}{\frac {f(x)-f(c)}{x-c}}=0=f'(c)}$ .

### ExerciseEdit

1. Show that Rolle's Theorem holds true between the x-intercepts of the function ${\displaystyle f(x)=x^{2}-3x}$.

1: The question wishes for us to use the ${\displaystyle x}$-intercepts as the endpoints of our interval.

Factor the expression to obtain ${\displaystyle x(x-3)=0}$ . ${\displaystyle x=0}$ and ${\displaystyle x=3}$ are our two endpoints. We know that ${\displaystyle f(0)}$ and ${\displaystyle f(3)}$ are the same, thus that satisfies the first part of Rolle's theorem (${\displaystyle f(a)=f(b)}$).

2: Now by Rolle's Theorem, we know that somewhere between these points, the slope will be zero. Where? Easy: Take the derivative.

${\displaystyle {\frac {dy}{dx}}=2x-3}$

Thus, at ${\displaystyle x=1.5}$ , we have a spot with a slope of zero. We know that ${\displaystyle {\frac {3}{2}}}$ (or 1.5) is between 0 and 3. Thus, Rolle's Theorem is true for this (as it is for all cases).

## Mean Value TheoremEdit

Mean Value Theorem

If ${\displaystyle f(x)}$ is continuous on the closed interval ${\displaystyle [a,b]}$ , where ${\displaystyle a,and differentiable on the open interval ${\displaystyle (a,b)}$ , there exists at least one ${\displaystyle c}$ in the open interval ${\displaystyle (a,b)}$ such that

${\displaystyle f'(c)={\frac {f(b)-f(a)}{b-a}}}$ .

The Mean Value Theorem is an important theorem of differential calculus. It basically says that for a differentiable function defined on an interval, there is some point on the interval whose instantaneous slope is equal to the average slope of the interval. Note that Rolle's Theorem is the special case of the Mean Value Theorem when ${\displaystyle f(a)=f(b)}$ .

In order to prove the Mean Value Theorem, we will prove a more general statement, of which the Mean Value Theorem is a special case. The statement is Cauchy's Mean Value Theorem, also known as the Extended Mean Value Theorem.

### Cauchy's Mean Value TheoremEdit

Cauchy's Mean Value Theorem

If ${\displaystyle f(x)}$ , ${\displaystyle g(x)}$ are continuous on the closed interval ${\displaystyle [a,b]}$ and differentiable on the open interval ${\displaystyle (a,b)}$ , then there exists a number, ${\displaystyle c}$ , in the open interval ${\displaystyle (a,b)}$ such that

${\displaystyle f'(c)(g(b)-g(a))=g'(c)(f(b)-f(a))}$

If ${\displaystyle g(b)\neq g(a)}$ and ${\displaystyle g'(c)\neq 0}$ , then this is equivalent to

${\displaystyle {\frac {f'(c)}{g'(c)}}={\frac {f(b)-f(a)}{g(b)-g(a)}}}$ .

To prove Cauchy's Mean Value Theorem, consider the function ${\displaystyle h(x)=f(x)(g(b)-g(a))-g(x)(f(b)-f(a))-f(a)g(b)+f(b)g(a)}$ . Since both ${\displaystyle f}$ and ${\displaystyle g}$ are continuous on ${\displaystyle [a,b]}$ and differentiable on ${\displaystyle (a,b)}$ , so is ${\displaystyle h}$ . ${\displaystyle h'(x)=f'(x)(g(b)-g(a))-g'(x)(f(b)-f(a))}$ . Since ${\displaystyle h(a)=h(b)}$ (see the exercises), Rolle's Theorem tells us that there exists some number ${\displaystyle c}$ in ${\displaystyle (a,b)}$ such that ${\displaystyle h'(c)=0}$ . This implies that ${\displaystyle f'(c)(g(b)-g(a))=g'(x)(f(b)-f(a))}$ , which is what was to be shown.

### ExercisesEdit

2. Show that ${\displaystyle h(a)=h(b)}$ , where ${\displaystyle h(x)}$ is the function that was defined in the proof of Cauchy's Mean Value Theorem.

{\displaystyle {\begin{aligned}h(a)&=f(a)(g(b)-g(a)-g(a)(f(b)-f(a)-f(a)g(b)+f(b)g(a)\\&=f(a)g(b)-f(a)g(a)-g(a)f(b)-g(a)f(a)-f(a)g(b)+f(b)g(a)\\&=0\end{aligned}}} {\displaystyle {\begin{aligned}h(b)&=f(b)(g(b)-g(a))-g(b)(f(b)-f(a))-f(a)g(b)+f(b)g(a)\\&=f(b)g(b)-f(b)g(a)-g(b)f(b)-g(b)f(a)-f(a)g(b)+f(b)g(a)\\&=0\end{aligned}}}

3. Show that the Mean Value Theorem follows from Cauchy's Mean Value Theorem.

Let ${\displaystyle g(x)=x}$. Then ${\displaystyle g'(x)=1}$ and ${\displaystyle g(b)-g(a)=b-a}$ , which is non-zero if ${\displaystyle b\neq a}$ . Then
${\displaystyle {\frac {f'(c)}{g'(c)}}={\frac {f(b)-f(a)}{g(b)-g(a)}}}$ simplifies to ${\displaystyle f'(c)={\frac {f(b)-f(a)}{b-a}}}$ , which is the Mean Value Theorem.

4. Find the ${\displaystyle x=c}$ that satisfies the Mean Value Theorem for the function ${\displaystyle f(x)=x^{3}}$ with endpoints ${\displaystyle x=0}$ and ${\displaystyle x=2}$.

${\displaystyle x={\frac {2{\sqrt {3}}}{3}}}$

5. Find the point that satisifies the mean value theorem on the function ${\displaystyle f(x)=\sin(x)}$ and the interval ${\displaystyle [0,\pi ]}$.

${\displaystyle x={\frac {\pi }{2}}}$

Solutions

## Differentiability Implies ContinuityEdit

If ${\displaystyle f'(x_{0})}$ exists then ${\displaystyle f}$ is continuous at ${\displaystyle x_{0}}$ . To see this, note that ${\displaystyle \lim _{x\to x_{0}}(x-x_{0})f'(x_{0})=0}$ . But
{\displaystyle {\begin{aligned}\lim _{x\to x_{0}}(x-x_{0})f'(x_{0})&=\lim _{x\to x_{0}}(x-x_{0}){\frac {f(x)-f(x_{0})}{x-x_{0}}}\\&=\lim _{x\to x_{0}}(f(x)-f(x_{0}))\\&=\lim _{x\to x_{0}}f(x)-f(x_{0})\end{aligned}}}
This imples that ${\displaystyle \lim _{x\to x_{0}}f(x)-f(x_{0})=0}$ or ${\displaystyle \lim _{x\to x_{0}}f(x)=f(x_{0})}$ , which shows that ${\displaystyle f}$ is continuous at ${\displaystyle x=x_{0}}$ .
The converse, however, is not true. Take ${\displaystyle f(x)=|x|}$ , for example. ${\displaystyle f}$ is continuous at 0 since ${\displaystyle \lim _{x\to 0^{-}}|x|=\lim _{x\to 0^{-}}-x=0}$ and ${\displaystyle \lim _{x\to 0^{+}}|x|=\lim _{x\to 0^{+}}x=0}$ and ${\displaystyle |0|=0}$ , but it is not differentiable at 0 since ${\displaystyle \lim _{h\to 0^{-}}{\frac {|0+h|-|0|}{h}}=\lim _{h\to 0^{-}}{\frac {-h}{h}}=-1}$ but ${\displaystyle \lim _{h\to 0^{+}}{\frac {|0+h|-|0|}{h}}=\lim _{h\to 0^{+}}{\frac {h}{h}}=1}$ .

 ← Derivatives of Exponential and Logarithm Functions Calculus Differentiation/Basics of Differentiation/Exercises → Some Important Theorems