Why can minimizing f(x)² create misleading stationary points when used as a root finder?
MathematicsLevel: IntermediateScalar optimization
Why can minimizing f(x)² create misleading stationary points when used as a root finder?
Hints
- Differentiate the squared objective.
- Either factor can vanish.
Answer
Its derivative is 2f(x)f′(x), zero when either factor vanishes. A stationary point with f′=0 but f≠0 is not a root.
Source and licence: SciPy — scalar and multivariate minimization · BSD-3-Clause · answer: Quantoros editorial