How do you verify whether rolle's theorem can be applied to the function #f(x)=tanx# in [0,pi]?

1 Answer
Aug 26, 2016

The stickler for precision in me always wants to say, "Yes. For any function at all, Rolle's Theorem say: If #f# is continuous on #[a,b]# and differentiable on #(a,b)# and #f(a) = f(b)#, then there is a #c# in #(a,b)# with #f'(c)=0#"

When we are asked whether some theorem "can be applied" to some situation, we are really being asked "Are the hypotheses of the theorem true for this situation?"

(The hypotheses are also called the antecedent, of 'the if parts'.)

So we need to determine whether the hypotheses ot Rolle's Theorem are true for the function

#f(x) = tan x# on the interval #[0,pi]#

Rolle's Theorem has three hypotheses:

H1 : #f# is continuous on the closed interval #[a,b]#
H2 : #f# is differentiable on the open interval #(a,b)#.
H3 : #f(a)=f(b)#

We say that we can apply Rolle's Theorem if all 3 hypotheses are true.

H1 : The function #f# in this problem is NOT continuous on #[0,pi]# Because it is not defined at #pi/2#.

At this point we could stop. Not all of the hypotheses are true. Let's look at the others for completeness.

H2 : The function #f# in this problem is not differentiable on #(0,pi)# because it is not continuous at #pi/2#. (The derivative function #sec^2 x# is not defined for #x = pi/2#

H3 : #f(0) = 0 = f(pi)#

If even one hypothesis fails to be true, then we cannot apply the theorem.
Therefore we CANNOT apply Rolle's Theorem to #f(x) = tan x# on the interval #[0,pi]#.