A student of mine is in a class that uses the following definition of derivative: $$f'(x)=\lim_{h \to 0} \frac{f(x+h)-f(x)}{h}$$ Their definition of critical points is "places where the derivative of a function is either zero or undefined".
Yet they do not list the endpoints of a function on a closed interval to be critical points. IMO, based on the definition of derivative, the derivatives of the endpoints are undefined and therefore should count as critical points. Is there an inconsistency here, or am I missing something?