Given function is , which can be rewritten as .
We know that a polynomial function is everywhere derivable and hence continuous.
So, being a polynomial function, is continuous and derivable on .
Also,
Thus, all the conditions of Rolle's theorem are satisfied.
Now, we have to show that there exists such that .
We have
Thus, .
Hence, Rolle's theorem is verified.