All local maximums and minimums on a function's graph — called local extrema — occur at critical points of the function (where the derivative is zero or undefin