44.03.03 · optimization-control / unconstrained-optimization

Newton's Method for Optimization: Unconstrained and Equality-Constrained

shipped3 tiersLean: none

Anchor (Master): Boyd & Vandenberghe 2004 Convex Optimization (Cambridge) Ch. 9-10 (affine invariance of the Newton step, self-concordant functions and the affine-invariant complexity bound, equality-constrained Newton via the KKT system, feasible and infeasible-start Newton, the residual analysis); Nesterov & Nemirovskii 1994 Interior-Point Polynomial Algorithms in Convex Programming (SIAM) Ch. 2 (self-concordance and the path-following complexity theory); Nocedal & Wright 2006 Numerical Optimization 2e (Springer) §3.4, §6.3, §18.1

Intuition Beginner

Steepest descent looks only at the slope: it heads straight downhill and decides how far to walk. That works, but on a stretched, valley-shaped landscape it zig-zags badly, because the steepest direction is rarely the direction that points at the bottom. Newton's method fixes this by using a second piece of information — how the slope itself is changing, the curvature of the landscape — to aim better and to guess the right distance in one shot.

Here is the idea. At your current point, replace the true landscape with the best matching bowl: a curved surface that agrees with the real one in height, in slope, and in curvature. A bowl has an exact lowest point you can compute directly. Walk straight to the bottom of that matching bowl, and call it your next guess. Near a genuine minimum the matching bowl hugs the true landscape so closely that this one jump lands almost on the true bottom, and the next jump squares the remaining error — the same digit-doubling speed that makes Newton's root-finder famous.

Two cautions come with the speed. First, the matching bowl is only trustworthy nearby; from far away it can point you uphill or send you flying, so in practice you take a fraction of the Newton step, shortened by the same line search used in the previous unit. Second, the trick needs a bowl that actually holds water — curving up in every direction. Where the landscape curves down, the "matching bowl" is a saddle or a dome and its lowest point is meaningless, so the curvature must be repaired before you trust the step.

Visual Beginner

Picture a one-dimensional slice of the landscape: height plotted against position. Steepest descent reads only the tilt of the curve at your point. Newton reads the tilt and the bend, then fits a parabola that matches both, and jumps to the bottom of that parabola.

The wider the valley, the longer the Newton jump; the tighter the valley, the shorter. That automatic scaling by curvature is exactly what steepest descent lacks, and it is why one Newton step can cross a long flat valley that would take steepest descent hundreds of small zig-zag steps.

method information used step direction step length speed near a minimum
steepest descent slope only straight downhill guessed by line search slow, zig-zag
Newton slope and curvature toward bottom of fitted bowl set by curvature digits roughly double

The takeaway: by matching curvature, Newton turns the direction and the distance into a single computed jump, and near the bottom that jump is almost perfect.

Worked example Beginner

Take the stretched bowl , whose bottom is at the origin. Its slope pair (the gradient) is , and its curvature is captured by the two numbers and — the bowl curves up nine times faster in the second direction than the first. Start at .

Steepest descent would head along the negative slope , a direction tilted away from the origin because the two coordinates are scaled so differently, and would zig-zag. Newton instead divides each slope component by its own curvature: the step is

Adding this to the start gives — the exact bottom, in a single step.

Why exact here? Because is itself a perfect bowl (a quadratic), so the matching bowl is the true landscape, and jumping to the bottom of the model jumps to the true minimum. For a curved, non-quadratic landscape the match is not perfect, but near the bottom it is so close that the leftover error after one step is roughly the square of the error before.

Check the curvature numbers: the second direction's curvature shortens that component of the step (dividing the slope by gives ), while the first direction's curvature leaves its component long. That per-direction rescaling is the whole point.

What this tells us: Newton converts the slope into a step by dividing out the curvature, and on a genuine bowl it reaches the minimum in one jump no matter how stretched the bowl is — the cure for the zig-zag that condition number inflicts on steepest descent.

Check your understanding Beginner

Formal definition Intermediate+

Let be twice continuously differentiable with gradient and Hessian , the symmetric matrix of second partial derivatives. The second-order Taylor model 02.05.05 of about is

When (positive definite), is a strictly convex quadratic with a unique minimiser; setting gives the Newton step

This is the central distinction from Newton's method for root-finding 43.02.03: there the Newton step solves for a root of ; here it solves the linear system to minimise , i.e. it is Newton's root-finder applied to the stationarity equation with in the role of the Jacobian. Newton's method for minimisation iterates

with chosen by a line search 44.03.01; the pure (undamped) Newton method takes .

The Newton decrement at is

It is the norm of the Newton step in the local Hessian metric, and is the predicted decrease; the directional derivative of along the Newton step is , so a positive-definite Hessian makes a descent direction. The quantity is the standard stopping criterion: stop when .

When is not positive definite, need not be a descent direction (and may not exist if is singular). A modified Newton method replaces by , with chosen so is positive definite with a bounded condition number , and uses . Two standard choices: a modified Cholesky factorisation that adds to diagonal pivots during factorisation to keep them positive, and an eigenvalue (spectral) modification that diagonalises by the spectral theorem 01.01.13 and floors the eigenvalues, for some .

For the equality-constrained problem subject to with of full row rank, the optimality (KKT) conditions are and . At a feasible point (so ), the equality-constrained Newton step is the solution of the KKT system

the stationarity conditions of the quadratic model restricted to . The new symbols (Hessian), (Newton step), (Newton decrement), and the KKT block matrix are recorded in _meta/NOTATION.md.

Counterexamples to common slips Intermediate+

  • "The Newton step is always a descent direction." Only when . If is indefinite, can be positive, so the step heads uphill; if is singular the step may not exist. This is the entire reason modified-Newton methods exist.

  • "Newton's method always converges to a minimiser." Pure Newton solves ; it is attracted to any stationary point, including saddles and maxima, where is indefinite or negative definite. Convergence to a minimiser requires either positive-definite curvature along the path or an explicit modification plus a line search that enforces decrease.

  • "The full Newton step is safe from any start." Far from the solution the quadratic model is inaccurate and the unit step can increase . The damped phase uses a backtracking line search; only once the iterate is close does the analysis guarantee the unit step is accepted and quadratic convergence begins.

  • "Equality-constrained Newton needs the full Hessian to be positive definite." It needs positive definite only on the null space of (the reduced Hessian for a basis of ). The KKT matrix is nonsingular under that weaker condition together with full row rank, even when is indefinite on all of .

Key theorem with proof Intermediate+

The signature result is the local quadratic convergence of the pure Newton method at a strong minimiser: it certifies the digit-doubling speed and isolates the two hypotheses — a positive-definite Hessian at the solution and a Lipschitz Hessian nearby — that the entire globalised theory is built to deliver.

Theorem (local quadratic convergence of Newton's method for minimisation). Let on a neighbourhood of a point with and , and suppose is Lipschitz continuous with constant near . Then there is such that for every with the pure Newton iterates are well defined, remain within of , converge to , and satisfy

so the convergence is quadratic.

Proof. Write , , , and . Since is invertible and is continuous, there is such that is invertible with for ; on this ball the Newton step exists. Because , the iteration gives

The fundamental theorem of calculus applied to along the segment from to 02.05.05 gives , hence

The displacement from to has length , so the Lipschitz bound on gives , and integrating, the bracketed term has norm at most . Therefore

Choosing makes , so keeps the iterates in the ball and forces ; the displayed sharper bound follows from via the Banach perturbation lemma applied to .

Bridge. This is the foundational reason Newton's method anchors the fast end of unconstrained optimization, and it builds toward the equality-constrained theory by exhibiting Newton-for-minimisation as Newton-for-root-finding 43.02.03 applied to the stationarity map , with the Hessian playing the Jacobian's role — the simple-root condition generalises to the strong-minimiser condition , which is exactly the invertibility that makes each linearised solve well posed. The central insight is that the quadratic rate is purchased entirely by curvature: the positive-definite Hessian both supplies the descent direction and bounds , so the line-search globalisation of the previous unit 44.03.01 need only carry the iterate into this basin, after which the unit step is accepted and the analysis here takes over. Putting these together, the affine invariance recorded in the Advanced results is dual to this estimate — quadratic convergence is a coordinate-free statement — and the same bound appears again, with the reduced Hessian on in place of , in the equality-constrained convergence theorem and, through self-concordance, in the iteration-count guarantees of interior-point methods.

Exercises Intermediate+

Advanced results Master

Newton's method for minimisation is the root-finder 43.02.03 applied to with the Hessian as Jacobian, and the results below organise its theory around three invariances: the affine invariance that makes the iteration coordinate-free, the curvature condition that turns the model into a descent direction, and the null-space reduction that carries the unconstrained analysis to the equality-constrained KKT system, with self-concordance the bridge to interior-point complexity.

Theorem 1 (descent property and the decrement identity). For the Newton step satisfies , with equality only at a stationary point, so is a descent direction whenever . The decrement equals the Hessian-norm of the step, , and measures the suboptimality of the quadratic model: . Both and are affine invariant, so the standard stopping test does not depend on the coordinate system — a structural advantage over the gradient-norm test , which is not [Boyd, S. & Vandenberghe, L. — Convex Optimization].

Theorem 2 (two-phase convergence of damped Newton). For a strictly convex with Lipschitz, the damped Newton method with backtracking line search exhibits exactly two phases. In the damped phase, while exceeds a threshold, each step decreases by at least a fixed positive amount , so this phase lasts at most steps; in this phase the backtracking step length may be less than one. In the quadratically convergent phase, once is small enough, the line search always accepts the unit step , and the iterates obey , so the residual squares each step and the total number of Newton steps to reach accuracy is . The line search of the previous unit 44.03.01 is precisely the globalisation that carries the iterate from the first phase into the second [Boyd, S. & Vandenberghe, L. — Convex Optimization].

Theorem 3 (modified Newton: guaranteed descent under indefinite curvature). When is indefinite or ill-conditioned, replace it by with chosen so that and uniformly. The modified-Cholesky factorisation of Gill, Murray, and Wright computes while increasing pivots as needed, with no larger than a multiple of the most negative eigenvalue of and zero when is already sufficiently positive definite, so the modification is inactive near a strong minimiser and the quadratic rate is preserved there. The spectral alternative uses the eigendecomposition 01.01.13 and floors eigenvalues at . Either choice makes a descent direction with bounded below, so the angle condition holds and the Zoutendijk theorem of 44.03.01 gives global convergence to a stationary point, while the inactivity of near the solution restores the local quadratic phase [Nocedal, J. & Wright, S. J. — Numerical Optimization (2nd ed.)].

Theorem 4 (equality-constrained Newton: feasible and infeasible start). For subject to with full row rank and the reduced Hessian , the KKT matrix is nonsingular and the feasible-start Newton step, the solution of , equals the reduced step and inherits the unconstrained quadratic convergence with replaced by the reduced Hessian, since feasibility is preserved so all iterates stay on . The infeasible-start variant does not require : it applies Newton's root-finder to the full KKT residual , and the Newton step solves ; the primal residual then decreases geometrically to zero and once feasibility is attained the method coincides with the feasible variant. Both are quadratically convergent under the same nonsingularity hypotheses [Boyd, S. & Vandenberghe, L. — Convex Optimization].

Theorem 5 (self-concordance and affine-invariant complexity). A thrice-differentiable convex is self-concordant if for all — the multivariable form of . For such the pure Newton method satisfies a constant-free bound: there is an absolute (e.g. ) such that whenever the unit step gives , and whenever the backtracking step decreases by at least an absolute constant . The total number of Newton steps to reach accuracy is bounded by with no dependence on , the condition number, or any Lipschitz constant. This affine-invariant count is the analytic core of the Nesterov-Nemirovskii interior-point complexity theory, where a self-concordant barrier composes with the objective and Newton's method solves each centering subproblem in a uniformly bounded number of steps [Boyd, S. & Vandenberghe, L. — Convex Optimization].

Synthesis. Newton's method for optimization is one construction — minimise the second-order model — and the entire theory descends from a single invariance: the Newton step , the decrement , and the self-concordance inequality are all unchanged by an invertible linear change of variables, which is the foundational reason the convergence and complexity statements carry no conditioning constants. The central insight is the division of labour inherited from the previous unit: curvature owns the rate while the line search owns globalisation — the positive-definite Hessian simultaneously supplies the descent direction and the bound on that powers quadratic convergence, and the damped phase merely carries the iterate into the basin where the unit step is accepted.

This is exactly the same role the strong-minimiser condition plays that the simple-root condition played for the root-finder 43.02.03; Newton-for-minimisation is dual to Newton-for-roots through the identification , with the Hessian as Jacobian. Putting these together, the unconstrained analysis generalises to the equality-constrained KKT system by replacing with the reduced Hessian on , and self-concordance is the bridge from this local theory to the polynomial-time complexity of interior-point methods, where the same Newton solve becomes the centering step. The bridge forward is therefore explicit: indefinite curvature is repaired by the modified-Newton surrogate, the secant approximation of produces quasi-Newton 44.03.04, the trust-region alternative 44.03.05 absorbs indefiniteness without a modification, and the self-concordant barrier carries the method into interior-point optimization.

Full proof set Master

Proposition 1 (descent property and decrement identity). If then and .

Proof. With , , nonpositive since , and zero only if . The model value at its minimiser is , so .

Proposition 2 (local quadratic convergence). Under , , and Lipschitz of constant near , the pure Newton iterates from a sufficiently close start converge with , (up to the factor from on the working ball).

Proof. As in the Key theorem. Continuity of and invertibility of give a ball where . From , , and gives , of norm by the Lipschitz bound. Hence ; shrinking the ball so gives contraction and convergence.

Proposition 3 (KKT-matrix nonsingularity). If has full row rank and for a basis of , then is nonsingular.

Proof. Suppose : then and . From , . Left-multiplying the first equation by and using gives , i.e. , so by positive-definiteness, whence . The first equation reduces to , and full row rank of (the kernel of is only the zero vector) gives .

Proposition 4 (equality-constrained Newton step equals the reduced step and preserves feasibility). At a feasible (so ), the solution of the KKT system satisfies and equals .

Proof. The bottom block of the KKT system reads , so remains feasible and for some . The top block left-multiplied by kills (since ), leaving , so and . This is the unique minimiser of over by Proposition 1 applied to the reduced quadratic.

Proposition 5 (modified-Newton step is a descent direction with a bounded angle). If with (so ), then satisfies for and .

Proof. since . With , (since ), and (since ). Therefore

The uniform lower bound is the angle condition, so by the Zoutendijk theorem 44.03.01 the modified-Newton method converges globally to a stationary point.

Proposition 6 (self-concordant Newton: the basic step bound). Let be self-concordant and strictly convex, with Newton decrement . If then the pure Newton step satisfies .

Proof (sketch, in the one-dimensional reduction along ). Self-concordance makes -Lipschitz in the metric induced by , so the Hessian varies in a controlled band: for , . Applying these inequalities to the gradient identity (using ) and expressing yields, after the standard integral estimate with , the bound . The quadratic right-hand side is the constant-free local rate; full detail is in the cited self-concordance theory.

Connections Master

  • Line-search methods and the Wolfe conditions 44.03.01 supply the globalisation that turns local Newton into a method convergent from any start: the damped Newton phase is exactly a Wolfe (backtracking) line search applied to the Newton direction, the angle-condition hypothesis of Zoutendijk's theorem is what Proposition 5 verifies for the modified-Newton direction, and the curvature condition's guarantee that the unit step is eventually accepted is what hands control to the quadratic-convergence analysis of this unit. Steepest descent's condition-number-dependent rate from that unit is precisely the baseline Newton's affine-invariant quadratic rate removes by dividing out the Hessian.

  • Newton's and the secant method for root-finding 43.02.03 is the parent construction: Newton-for-minimisation is Newton-for-roots applied to the stationarity map , with the Hessian in the role of the Jacobian and the strong-minimiser condition generalising the simple-root condition . The quadratic-convergence proof here is the systems Newton-Kantorovich estimate of that unit specialised to a symmetric positive-definite Jacobian, and the quasi-Newton secant idea of that unit becomes the Hessian-approximation strategy that defines BFGS.

  • The spectral theorem for symmetric operators 01.01.13 is the analytic engine of the modified-Newton constructions: the eigenvalue (spectral) modification diagonalises the indefinite Hessian and floors its eigenvalues to manufacture a positive-definite surrogate with controlled condition number, and the very definition of "strong minimiser" — — is the statement that all eigenvalues of the Hessian are positive. Multivariable Taylor expansion 02.05.05 provides the integral-remainder identity that converts the Lipschitz-Hessian hypothesis into the quadratic error bound.

  • Quasi-Newton/BFGS 44.03.04, trust-region methods 44.03.05, and interior-point methods 44.04.04 are the downstream consumers: quasi-Newton replaces the exact Hessian solve by a secant approximation that avoids second derivatives while retaining a superlinear rate, the trust-region framework absorbs indefinite curvature by constraining the step rather than modifying the Hessian, and the self-concordance theory of this unit's Theorem 5 is the analytic foundation that makes the Newton centering step of interior-point methods converge in an affine-invariant, dimension-independent number of iterations. The equality-constrained KKT solve here is the kernel of every primal-dual interior-point iteration.

Historical & philosophical context Master

The use of the tangent-and-curvature model to locate a minimum descends from the root-finding tradition of Isaac Newton and Joseph Raphson [Raphson 1690], transferred to optimization by recognising that minimising is solving , so the second derivative enters as the Jacobian of the gradient. The systematic finite-dimensional convergence theory, including the role of the Lipschitz Hessian and the positive-definite condition at the solution, was consolidated in the twentieth-century numerical-optimization literature, with the semilocal Banach-space form due to Leonid Kantorovich in 1948 [Kantorovich 1948] underlying the affine-invariant treatments later developed by Deuflhard.

The modern affine-invariant view of Newton's method for convex optimization, the Newton decrement as the natural stopping measure, and the equality-constrained KKT formulation are presented by Boyd and Vandenberghe [Boyd-Vandenberghe Ch. 9-10], following the self-concordance theory introduced by Yurii Nesterov and Arkadi Nemirovskii in 1994 [Nesterov-Nemirovskii 1994], which replaced problem-dependent Lipschitz constants with the affine-invariant inequality and thereby produced the first polynomial-time interior-point complexity bounds for general convex programming. The practical modified-Cholesky factorisation that makes indefinite-Hessian Newton steps reliable is due to Gill, Murray, and Wright, whose treatment in Practical Optimization (1981) remains a standard reference [Gill-Murray-Wright 1981]; the line-search and trust-region globalisations are synthesised in Nocedal and Wright [Nocedal, J. & Wright, S. J. — Numerical Optimization (2nd ed.)].

Bibliography Master

@book{nocedalwright2006,
  author    = {Nocedal, Jorge and Wright, Stephen J.},
  title     = {Numerical Optimization},
  edition   = {2},
  series    = {Springer Series in Operations Research and Financial Engineering},
  publisher = {Springer},
  year      = {2006}
}

@book{boydvandenberghe2004,
  author    = {Boyd, Stephen and Vandenberghe, Lieven},
  title     = {Convex Optimization},
  publisher = {Cambridge University Press},
  year      = {2004}
}

@book{nesterovnemirovskii1994,
  author    = {Nesterov, Yurii and Nemirovskii, Arkadi},
  title     = {Interior-Point Polynomial Algorithms in Convex Programming},
  series    = {SIAM Studies in Applied Mathematics},
  volume    = {13},
  publisher = {SIAM},
  year      = {1994}
}

@book{gillmurraywright1981,
  author    = {Gill, Philip E. and Murray, Walter and Wright, Margaret H.},
  title     = {Practical Optimization},
  publisher = {Academic Press},
  address   = {London},
  year      = {1981}
}

@article{kantorovich1948,
  author  = {Kantorovich, Leonid V.},
  title   = {Functional analysis and applied mathematics},
  journal = {Uspekhi Matematicheskikh Nauk},
  volume  = {3},
  number  = {6},
  year    = {1948},
  pages   = {89--185}
}

@book{raphson1690,
  author    = {Raphson, Joseph},
  title     = {Analysis aequationum universalis},
  publisher = {Thomas Braddyll},
  address   = {London},
  year      = {1690}
}

@book{deuflhard2004,
  author    = {Deuflhard, Peter},
  title     = {Newton Methods for Nonlinear Problems: Affine Invariance and Adaptive Algorithms},
  series    = {Springer Series in Computational Mathematics},
  volume    = {35},
  publisher = {Springer},
  year      = {2004}
}