A local minimum is a point where a function stops decreasing and begins increasing. Nearby inputs have no lower function value, even if the function falls lower elsewhere. A local minimum can therefore also be a global minimum, but it does not have to be. section 6.1.2
Finding a minimum on a cubic
For P(x) = x³ − x² − 2x + 1, the derivative is P′(x) = 3x² − 2x − 2. A local minimum occurs where the derivative changes from negative to positive, so finding derivative roots helps locate the curve’s bumps. A root alone is not enough: the derivative may touch the axis without changing sign, producing no extremum. section 6.1.2
Figure 6.5 A cubic polynomial (two bumps, three roots) and its derivative, which is a quadratic polynomial (two roots)
Compare the cubic’s two bumps with the roots of its quadratic derivative. section 6.1.2








