Given function is .
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 the Rolle's theorem are satisfied.
Now, we have to show that there exists such that .
We have
Thus, .
Hence, Rolle's theorem is verified.