Rolle's Theorem has the following conditions:
- f(x) must be continuous in [a,b]
- f(x) must be differentiable in (a,b)
- f(a) = f(b)
Now ask yourself the following questions.
- Is f(pi) = f(3pi)?
- Is f(x) = cot(x/2) continuous at all points in [pi,3pi]? You may want to use a graph of the function to see this.
- If the function is not continuous at a point or points within (pi,3pi), then it is also not differentiable at these points. Note that the reverse is not necessarily true, i.e. a function can be continuous at all points within [a,b], but not necessarily differentiable at all points within (a,b). Is there a point or points within (pi,3pi) where the function is not differentiable?
Obviously, if you can answer 2, then you can answer 3.
If any of the three conditions fail, then Rolle's Theorem does not apply.