If a function has a derivative defined and continuous everywhere, then its local maxima and minima must occur at points where the derivative is zero.