The mean value theorem states that for a function f that is continuous on the closed interval [a,b] and differentiable on the interval (a,b) there exists some point c where a<c<b whose slope is equal to the slope formed by the points a and b.