The mean value theorem states that for a function that is continuous on the closed interval and differentiable on the interval there exists some point where whose slope is equal to the slope formed by the points and .