Proof:

  1. Assume is continuous on
  2. Assume is differentiable on
  3. Let
  4. So
  5. Note is continuous on since is a difference of polynomials
  6. Note is differentiable on as g is difference of polynomials, you can use derivative rules
  7. Note
  8. Note
  9. By Rolle’s Theorem, there exists a such that
  10. So, we have shown there is a where this means