Start with . At stage , form the midpoint . If , stop; for a sequence defined for all later indices, repeat forever. Otherwise retain the half-interval with opposite endpoint signs: set if , and otherwise. This is the bisection method.
If it never stops, the closed intervals are nested, retain , and have lengthsBy the nested interval theorem, there is a unique real in their intersection. In particular, , , and the sequence of midpoints satisfiesSince is continuous, . All these products are negative, so their limit of a sequence is nonpositive. Therefore , forcing . We have proved that the sequence is a convergent sequence whose limit of a sequence is a zero of a function:The error bound applies at every stage before exact termination; after termination the error is zero. The intermediate value theorem also guarantees a zero of a function in each retained interval, but the nested-interval argument identifies the particular one to which the sequence of midpoints converges.
For an unconstrained differentiable function of two real variables, an interior local minimum must solve the simultaneous stationary point equationsApply Newton's method in optimization to this gradient equation. The Jacobian matrix of the gradient is the Hessian matrixAt , solve the linear system , then set . When the Hessian matrix is invertible, this isThis follows by setting the first order Taylor expansion equal to zero. Solving the linear system avoids explicitly computing a matrix inverse. A stationary point need not be a local minimum: for example, a positive-definite matrix suffices to classify a stationary point as a strict local minimum, whereas an indefinite Hessian matrix identifies a saddle point of a scalar function.
Expanding and taking partial derivatives gives the gradient and Hessian matrixAt , these are andThus the Newton step solvesThe second equation gives ; substituting into the first gives . HenceAt , however,The eigenvalues of this Hessian matrix are in direction and in direction . It is invertible but indefinite. Thus the Newton step is zero, andThis illustrates that stationary points are fixed points of Newton's method. Here the fixed point is a saddle point of a scalar function, not a local minimum. Indeed, direct substitution along the two eigenvector directions givesFor sufficiently small nonzero , one direction decreases and the other increases it. The global minimum is instead zero: the sum of squares vanishes at and . These are the only real zeros, since and imply . Thus a zero gradient is an insufficient stopping certificate for minimization problem without classifying the stationary point.
Articles by others on the same topic
There are currently no matching articles.