GLOBAL KNOWLEDGE ARK

Mathematics · Article

Nonlinear methods and gradient-based search

Descent, Newton and quasi-Newton methods, trust regions, nonlinear least squares and constrained local optimisation, with complete proofs, worked examples and explicit limits on every convergence and stopping claim.

Back to Mathematics

After reading, you can

  • Distinguish stationarity, local minima, negative curvature, attainment and global objective guarantees using exact differential tests and counterexamples.
  • Prove smooth descent, finite Armijo search, Wolfe existence and conditional gradient-norm bounds with their actual domain, angle and lower-bound hypotheses.
  • Derive Newton, BFGS, inverse-BFGS and SR1 properties, separating local rates, secant equations, positive definiteness and denominator safeguards.
  • Certify a quadratic trust-region model and derive Cauchy decrease, model-ratio reliability and signed negative-curvature steps.
  • Analyse nonlinear least-squares derivatives, Gauss–Newton rank conditions, zero-residual local rates and positive-damping Levenberg–Marquardt steps.
  • Prove constrained KKT and reduced-curvature tests, interpret SQP and merit directions, and transfer coordinate, inexact-solve and numerical-error bounds into conditional stopping evidence.
01

A search direction needs a reason

An objective can bend, flatten and turn upward in different directions. Solving its gradient equation finds a stationary point; it does not by itself decide whether that point is a useful minimum. This lesson begins with the local tests and then asks what a proposed step can actually guarantee: decrease, a controlled model error, a local rate, or a conditional stopping certificate.

Line searches and trust regions control different parts of that decision. Newton and quasi-Newton steps use curvature, Gauss–Newton exploits residual structure, and damping can make a direction well defined even when a Jacobian loses rank. Each method keeps its exact hypotheses. A full step can fail despite a descent direction, an SR1 matrix can be indefinite, and a short regularized step can coexist with a large gradient.

These ideas connect engineering design, economic decision models and computational learning. Residuals must be weighted in compatible units, coordinate scaling changes search geometry, and nonlinear constraints curve the feasible directions. Complete local proofs and error bounds help assess a calculation; they also mark where a global objective gap, a real system’s accuracy or an unverified numerical tolerance would need additional evidence. Formulas using a least eigenvalue or a nonzero descent-angle denominator concern positive variable dimension. In R^0 the domain is a singleton, all unconstrained displacements and gradient norms are zero, and no least eigenvalue is assigned to the empty Hessian spectrum; constraints must separately admit that point.

02

Local stationarity and its scope

Let f be differentiable on an open neighborhood of x_star in R^n, and suppose x_star is a local minimum. For every fixed vector v, sufficiently small positive and negative t keep x_star+t v in that neighborhood. The scalar function t->f(x_star+t v) has a local minimum at zero, so its derivative there is zero. The chain rule gives grad f(x_star)^T v=0 for every v, and choosing each coordinate vector proves grad f(x_star)=0.

The same conclusion follows contrapositively. If g=grad f(x) is nonzero, the direction p=-g has derivative g^T p=-||g||^2<0. Differentiability gives f(x+t p)=f(x)+t g^T p+o(t), hence f(x+t p)<f(x) for all sufficiently small positive t. Such a point cannot be an interior local minimum. This is a statement about an actual neighborhood, rather than only the finite points already tested by an algorithm.

The converse fails. The one-dimensional objective f(x)=x^3 has derivative zero at zero, but takes both positive and negative values arbitrarily close to zero. The quadratic f(x,y)=x^2-y^2 has zero gradient at the origin and decreases in its y direction while increasing in its x direction. A maximum such as -x^2 is stationary as well. A root of the gradient equation must therefore be classified before it is called a minimizing decision.

The domain premise matters. Minimizing f(x)=x over x>=0 gives the minimum x=0 with derivative one, since the decreasing direction is infeasible. Equality and inequality constraints replace free two-sided directions by feasible geometry and later KKT conditions. Nor does a local minimum automatically minimize a nonconvex objective globally. A small computed gradient, numerical termination label or successful root solve is a separate observation whose error and feasibility assumptions must still be stated. Related reading: [Local first- and second-order tests](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-01_Intro.pdf#page=1); [Gradient descent without convexity](https://pages.cs.wisc.edu/~yudongchen/cs726_sp25/Lecture_6_gradient_descent.pdf#page=1). The selected local differential tests provide context. Interior stationarity is necessary, while the explicit counterexamples show why it is not a minimum or global-value certificate.

03

Second-order tests with declared regularity

Assume f is twice differentiable at an interior local minimum x_star. The preceding first-order argument gives g_star=0. For any v, the second directional derivative of f(x_star+t v) at zero is v^T H_star v and must be nonnegative: if it were negative, the second-order expansion along that line would be below f(x_star) for small nonzero t. Thus the symmetric Hessian H_star is positive semidefinite. This is a necessary condition, without a strict-curvature conclusion.

Conversely, suppose g_star=0 and H_star is positive definite. Its least eigenvalue m is positive. The Taylor expansion reads f(x_star+p)-f(x_star)=one half p^T H_star p+o(||p||^2). Choose a sufficiently small ball so that the remainder has absolute value at most m||p||^2/4. Then every nonzero p in that ball raises the objective by at least m||p||^2/4. This proves a strict local minimum and a local quadratic-growth bound.

If H_star has a negative Rayleigh quotient, choose a direction v with v^T H_star v<0. The same expansion at a stationary point gives decrease along sufficiently small nonzero multiples of v. If a positive Rayleigh quotient is also available, the point has both increasing and decreasing directions and is a saddle. A negative-definite Hessian instead gives a strict local maximum by applying the minimum test to -f.

A singular positive-semidefinite Hessian does not finish the classification. Both x^4 and -x^4 have zero gradient and zero Hessian at zero, but one has a strict minimum and the other a strict maximum. Higher-order terms decide those cases. Positive definiteness is sufficient rather than necessary, and all these conclusions are local. In constrained problems the relevant curvature may be the Lagrangian Hessian restricted to feasible tangent or critical directions, rather than the entire objective Hessian. Related reading: [Local first- and second-order tests](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-01_Intro.pdf#page=1). The source states its tests under a C2 neighborhood hypothesis. The lesson proves the stated Peano-expansion version and keeps the semidefinite and strict-minimum limitations separate.

04

A quadratic model with an explicit remainder

Write g=grad f(x), H=Hess f(x), and m_x(p)=f(x)+g^T p+one half p^T H p. Assume f is twice continuously differentiable on the segment x+t p, 0<=t<=1, and that its Hessian is Lipschitz there in the induced Euclidean operator norm: ||Hess f(z)-Hess f(w)||<=M||z-w||. The segment and this norm are part of the hypothesis; a bound at its endpoints alone does not imply the same control between them.

Apply the fundamental theorem of calculus twice to phi(t)=f(x+t p). The exact integral expansion is f(x+p)=f(x)+g^T p+integral_0^1 (1-t) p^T Hess f(x+t p) p dt. Subtracting one half p^T H p, which equals the integral with the constant matrix H, gives the remainder R=integral_0^1 (1-t) p^T[Hess f(x+t p)-H]p dt. This identity keeps the actual nonlinear curvature along the trial segment.

The operator inequality |p^T E p|<=||E||||p||^2 and the Lipschitz assumption imply |R|<=M||p||^3 integral_0^1 t(1-t)dt=M||p||^3/6. The coefficient is one sixth, since the last integral equals one half minus one third. For the gradient itself, a single integration similarly gives ||grad f(x+p)-g-Hp||<=M||p||^2/2. These two remainder estimates support different later arguments and should not be interchanged.

The quadratic model is exact for a quadratic objective, where M can be zero. For a general objective it becomes accurate relative to its typical first- or second-order changes only in a suitable small-step regime. A large step, an invalid domain segment or an unbounded Hessian variation can defeat that approximation. With physical variables, the norm and coordinate scales also fix the units of M and of the remainder; changing those scales changes the numerical bound without changing the underlying objective. Related reading: [Local first- and second-order tests](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-01_Intro.pdf#page=1); [Trust-region models and Cauchy decrease](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-03_TrustRegionMethods.pdf#page=1). The selected Taylor and model discussion motivates the estimate. The integral proof of the exact M||p||^3/6 remainder is developed here with its segment and operator-norm assumptions.

05

Descent directions and a finite Armijo search

At a point x, let p satisfy d=g^T p<0, and suppose all sufficiently short positive segments x+alpha p lie in the differentiability domain. For an Armijo parameter 0<c1<1, the requested sufficient decrease is f(x+alpha p)<=f(x)+c1 alpha d. Since d is negative, the right-hand side is a strict decrease for every positive alpha. The inequality compares actual objective values, rather than merely the quadratic model prediction.

Differentiability along the ray gives f(x+alpha p)=f(x)+alpha d+r(alpha), where r(alpha)/alpha tends to zero as alpha decreases to zero. The positive quantity (1-c1)(-d) can bound that remainder ratio for all sufficiently small positive alpha. Then r(alpha)<=(1-c1)(-d)alpha=(c1-1)alpha d, and substitution gives the Armijo inequality. This proof only needs local differentiability for the fixed descent direction.

Start with a finite alpha0>0 and repeatedly replace a rejected trial by beta times that trial, where 0<beta<1. The sequence alpha0 beta^j tends to zero, so it eventually enters both the valid-domain interval and the sufficient-decrease interval. Thus exact geometric backtracking accepts after finitely many trials. Trials outside the declared domain must be treated as invalid rather than evaluating an undefined objective; the proof guarantees only that sufficiently small valid trials exist.

A zero or positive initial slope has no such general guarantee. At the origin of f(x)=x^4, every nonzero step in direction one raises the objective although the initial derivative is zero. In finite arithmetic, evaluation noise can hide a small decrease, so the exact argument does not justify replacing all comparisons by arbitrary tolerances. Local finite acceptance also gives no uniform lower bound on accepted lengths over changing points or directions; that stronger conclusion needs additional smoothness and direction hypotheses. Related reading: [Armijo, Wolfe and descent angles](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=2); [Gradient descent without convexity](https://pages.cs.wisc.edu/~yudongchen/cs726_sp25/Lecture_6_gradient_descent.pdf#page=1). Armijo backtracking is defined in the line-search notes, and the gradient-descent lecture proves the basic descent criterion. The lesson gives the complete finite-search argument on admitted short segments.

06

Smooth decrease without convexity

Suppose grad f is L-Lipschitz along the segment from x to x+p, with L>0. Integration gives f(x+p)-f(x)-g^T p=integral_0^1[grad f(x+t p)-g]^T p dt. Its absolute value is at most integral_0^1 Lt||p||^2dt=L||p||^2/2. In particular, f(x+p)<=f(x)+g^T p+L||p||^2/2. This upper estimate uses smoothness on the segment and requires no convexity.

For p=-alpha g with alpha>0, the estimate becomes f(x-alpha g)<=f(x)-alpha(1-L alpha/2)||g||^2. If 0<alpha<2/L and g is nonzero, the displayed decrease is strictly positive. Choosing alpha=1/L gives the particularly simple lower bound ||g||^2/(2L) on the actual decrease. A zero gradient instead gives a zero step; no minimum classification follows from this algebra.

The threshold cannot be increased uniformly from smoothness alone. For f(x)=Lx^2/2, the iteration is x_new=(1-alpha L)x. At alpha=2/L it flips sign with unchanged nonzero objective, and for alpha>2/L it increases the absolute coordinate and objective whenever x is nonzero. At the boundary alpha=2/L the general bound gives only nonincrease, matching that exact example rather than promising strict descent.

For a nonconvex objective, an accepted decrease can lead toward a local minimum, a saddle-related limiting regime or an unbounded trajectory. The estimate itself certifies only one step and its objective change. It also does not apply to a projected or constrained step by pretending its displacement is -alpha g; the projection inequality must be used separately. The numerical value of L depends on the chosen coordinates and objective scale, so a step length is meaningful only with those conventions fixed. Related reading: [Gradient descent without convexity](https://pages.cs.wisc.edu/~yudongchen/cs726_sp25/Lecture_6_gradient_descent.pdf#page=1). The gradient lecture derives the step 1/L and assigns the general small-step lemma as an exercise. The segment proof here establishes the full positive-step range below 2/L without convexity.

07

A nonconvex gradient-norm bound

Let f have a globally L-Lipschitz gradient, L>0, and suppose f(x)>=f_low for all iterates under consideration. Apply x_{k+1}=x_k-grad f(x_k)/L. The previous decrease estimate gives f(x_k)-f(x_{k+1})>=||g_k||^2/(2L). Summing from k=0 through N-1 telescopes the objectives and yields sum_{k=0}^{N-1}||g_k||^2<=2L[f(x0)-f(x_N)]<=2L[f(x0)-f_low].

The minimum of N nonnegative squared norms is no larger than their average. Therefore min_{0<=k<N}||g_k||^2<=2L[f(x0)-f_low]/N. To guarantee that at least one inspected gradient norm is at most epsilon, it suffices to take N>=2L[f(x0)-f_low]/epsilon^2. This is an iteration bound on a first-order stationarity measure, not a bound of order 1/N on the gradient norm itself.

The infinite sum of squared norms is finite by the same inequality. A nonnegative summable sequence has terms tending to zero: infinitely many terms above a fixed positive threshold would make its sum diverge. Hence ||g_k|| tends to zero. The conclusion concerns the entire sequence of norms, although the finite-horizon estimate was stated through a minimum. A lower bound on the objective is essential to the telescoping budget.

Neither argument proves convergence of the point sequence or a global objective gap. Squared step lengths can be summable while lengths are not, so a Cauchy argument cannot simply replace one sum by the other. If the iterates have a convergent subsequence and the gradient is continuous, its limit is stationary, but there may be several such limits. Even gradients tending to zero can occur with points escaping toward an unattained infimum; compactness and nonconvex classification are separate assumptions. Related reading: [Gradient descent without convexity](https://pages.cs.wisc.edu/~yudongchen/cs726_sp25/Lecture_6_gradient_descent.pdf#page=1). The selected lecture telescopes smooth decrease and proves the minimum-gradient bound. The nonnegative-series argument here also gives gradient norms tending to zero, with no iterate-convergence conclusion.

08

Armijo gradient search with a uniform accepted step

Use steepest descent p_k=-g_k with fixed initial trial alpha0>0, backtracking factor 0<beta<1 and Armijo parameter 0<c1<1. Suppose the global Lipschitz-gradient bound L>0 applies to every tested segment. The smooth decrease estimate shows that any 0<alpha<=T=2(1-c1)/L satisfies Armijo, because 1-L alpha/2>=c1. This sufficient threshold is proved from L; the implementation need not know L to perform its comparisons.

If alpha0 is accepted immediately, the accepted length is alpha0. Otherwise, let alpha be the first accepted trial. Its predecessor alpha/beta was rejected, so it cannot have been at most T, since all such trials are guaranteed to pass. Thus alpha>beta T. In either case alpha>=alpha_min=min(alpha0,2beta(1-c1)/L)>0. The argument uses the first accepted trial and a fixed initial value; an independently vanishing initial trial would remove this uniform conclusion.

Armijo now gives f(x_k)-f(x_{k+1})>=c1 alpha_k||g_k||^2>=c1 alpha_min||g_k||^2. If the objective values are bounded below, summation yields sum_k||g_k||^2<infinity and hence ||g_k|| tends to zero. The same finite-horizon averaging gives min_{k<N}||g_k||^2<=[f(x0)-f_low]/(c1 alpha_min N). No convexity or unique minimizer is required for this stationarity conclusion.

The first Armijo pass uses an exact inequalityOne rejection before acceptance; Open marks are rejected trial values and the filled mark is the first pass. Exact acceptance occurs for 0<t≤3/4.The first Armijo pass uses an exact inequality-0.1401.14-0.111.11Trial objective after a gradient stepArmijo sufficient-decrease thresholdacceptedTrial states in the tableTrial step t · objective and acceptance threshold
Open marks are rejected trial values and the filled mark is the first pass. Exact acceptance occurs for 0<t≤3/4.

Expand f(x−t g)=f(x)−t g²+(a/2)t²g². The Armijo right side is f(x)−c t g². With t>0 and nonzero g, rearrangement gives t≤2(1−c)/a. Equality meets the non-strict sufficient decrease condition.

Exact descent and line search
QuantityExact result
Gradient / search direction(2, −2)
Exact allowed upper step3/4
Accepted step1/2
Backtracking reductions1
New iterate / exact objective(0, 0)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a2
x1
c1/4
t01
beta1/2
Exact trial sequence
ReductionStepNew objectiveThresholdSigned surplusDecision
01101Reject
11/201/2−1/2Accept

This proof cannot use a Lipschitz bound only on accepted endpoints when rejected trial segments leave that region. Nor does exact finite acceptance supply a wall-clock bound on objective evaluations, whose cost can vary. Feasible-domain safeguards, approximate evaluations and changing direction scales need their own analysis. The result does not claim that the objective reaches its infimum or that the iterates converge to a global minimizing point; it preserves the same local-versus-global distinction as fixed-step descent. Related reading: [Armijo, Wolfe and descent angles](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=2); [Gradient descent without convexity](https://pages.cs.wisc.edu/~yudongchen/cs726_sp25/Lecture_6_gradient_descent.pdf#page=1). The line-search discussion motivates a step lower bound. The proof here uses a universal small-step interval and the preceding rejected trial, so it does not assume every acceptable step forms a single interval.

09

Why a Wolfe step exists

Fix a continuously differentiable line objective phi(alpha)=f(x+alpha p) on alpha>=0, with d0=phi_prime(0)<0, and assume phi is bounded below on that entire ray. Choose 0<c1<c2<1. Define psi(alpha)=phi(alpha)-phi(0)-c1 alpha d0. Its derivative at zero is (1-c1)d0<0, so psi is negative throughout some sufficiently short positive interval. The Armijo condition is precisely psi(alpha)<=0.

The lower bound on phi implies psi(alpha)>=a-phi(0)-c1 alpha d0 for some finite a. Since -c1 d0>0, this lower bound tends to positive infinity. Continuity therefore gives a first return alpha_bar>0 to psi=0 after the initial negative interval, with psi<=0 on [0,alpha_bar]. The left derivative at that return is nonnegative, so phi_prime(alpha_bar)>=c1 d0. This construction supplies a finite bracket rather than assuming the derivative eventually becomes positive.

Initially phi_prime(0)=d0<c2 d0, while phi_prime(alpha_bar)>=c1 d0>c2 d0 because d0 is negative and c1<c2. Derivative continuity gives an alpha in (0,alpha_bar) with phi_prime(alpha)=c2 d0. Armijo holds there by the first-return construction. Its derivative is still negative with magnitude c2|d0|, so both weak Wolfe phi_prime(alpha)>=c2 d0 and strong Wolfe |phi_prime(alpha)|<=c2|d0| hold.

This is an existence proof under a full-ray lower bound and continuous derivative, not a proof that any trial-selection rule finds that step. On the unbounded-below line phi(alpha)=-alpha, Armijo holds for every positive alpha but the constant derivative cannot satisfy weak Wolfe with c2<1. An imposed finite maximum step can also exclude all admissible Wolfe values. Search bracketing, numerical derivative errors and later convergence conclusions need their own stated safeguards. Related reading: [Armijo, Wolfe and descent angles](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=2). The selected Wolfe existence argument uses a continuously differentiable, bounded-below descent ray. These hypotheses explain why an acceptable Armijo step alone need not satisfy curvature.

10

Angle control and the Zoutendijk sum

Consider nonzero gradients g_k and descent directions p_k, with angle cosine a_k=-g_k^T p_k/(||g_k||||p_k||)>0. Assume the objective is bounded below along the iterates and its gradient has one Lipschitz constant L on every accepted step segment. Let positive step lengths satisfy Armijo with c1 and weak Wolfe with c2, where 0<c1<c2<1. The curvature inequality gives (g_{k+1}-g_k)^T p_k>=(1-c2)(-g_k^T p_k).

Lipschitz continuity and Cauchy-Schwarz bound the same left-hand side above by L alpha_k||p_k||^2. Hence alpha_k>=(1-c2)(-g_k^T p_k)/(L||p_k||^2). Substituting this lower bound into the Armijo decrease gives f(x_k)-f(x_{k+1})>=c1(1-c2)(g_k^T p_k)^2/(L||p_k||^2)=c1(1-c2)a_k^2||g_k||^2/L. Direction length cancels, but its angle does not.

Summing this inequality telescopes a bounded objective budget. Thus sum_k a_k^2||g_k||^2<=L[f(x0)-f_low]/[c1(1-c2)]<infinity. This is the Zoutendijk sum in the stated smooth setting. If a_k>=a_min>0 uniformly, then sum_k||g_k||^2 is finite and the entire gradient-norm sequence tends to zero. If a gradient is exactly zero, the direction-angle expression is not defined there and the stationarity iteration can stop.

Without angle control, the weighted sum alone does not force all gradient norms to zero: directions may become nearly orthogonal to a persistent gradient. Positive definiteness of a changing matrix without uniform spectral bounds is not enough to assert a fixed angle. The conclusion is still stationarity rather than global minimization or convergence of the points. Domain segments, a lower objective bound, actual curvature comparisons and evaluation accuracy are real premises rather than consequences of naming a search Wolfe. Related reading: [Armijo, Wolfe and descent angles](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=2). The selected Zoutendijk proof is used with its positive decrement constant and squared angle factor. The conclusion concerns a weighted gradient sum, not automatic convergence of the points.

11

Variable metrics that remain descent directions

Let B be symmetric positive definite with mI<=B<=MI for fixed 0<m<=M, and set p=-B^{-1}g. For nonzero g, the inverse is positive definite, so g^T p=-g^T B^{-1}g<0. The spectral inequalities reverse under inversion: (1/M)I<=B^{-1}<=(1/m)I. Therefore -g^T p>=||g||^2/M and ||p||<=||g||/m. These bounds distinguish the direction from an arbitrary Hessian solve.

The descent-angle cosine is (-g^T p)/(||g||||p||). Combining the lower slope bound and upper direction-norm bound gives cosine>=m/M. This bound is conservative but uniform when the same m and M apply at every iteration. The converse inequality ||p||>=||g||/M follows from the same spectral interval and can also help relate a small step to a small gradient when the step length is separately controlled.

Under the preceding Lipschitz, bounded-below and Wolfe assumptions, this uniform angle permits the Zoutendijk conclusion ||g_k||->0. The proof does not require B_k to equal the true Hessian or converge to one. Conversely, a positive-definite approximation whose smallest eigenvalue approaches zero or largest eigenvalue grows without bound may lose a usable uniform ratio m/M. Pointwise descent then remains true, while the stated stationarity argument may no longer apply.

This is a variable metric: p minimizes the local strictly convex quadratic g^T p+one half p^T B p over all p. Completing the square gives its unique minimizer -B^{-1}g. The matrix chooses how directions and units are compared, so a diagonal rescaling changes Euclidean gradient search unless the metric is transformed with it. None of these facts makes a nonconvex objective convex or supplies a global value certificate; they specify a direction and the conditions for the later search analysis. Related reading: [Armijo, Wolfe and descent angles](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=2). The metric-angle calculation is read with the corrected positive cosine and lower eigenvalue-ratio bound. Uniform positive lower and finite upper metric bounds are part of the theorem.

12

Newton steps can head toward a saddle

At a point x with invertible Hessian H, the Newton equation Hp=-g cancels the first-order linearization of the gradient. Its solution is p=-H^{-1}g. The directional slope is g^T p=-g^T H^{-1}g. If H is positive definite and g is nonzero, that slope is negative. Invertibility alone gives no sign, since an indefinite or negative-definite inverse can have negative quadratic values.

For f(x,y)=(x^2-y^2)/2, the Hessian is diag(1,-1). Starting at (1,2), g=(1,-2) and p=(-1,-2), so g^T p=3>0. The full Newton step reaches the stationary origin, increasing the objective from -3/2 to zero. The origin has both positive and negative curvature directions and is a saddle. Every linear solve in that calculation is exact; the problem is the interpretation of the stationarity equation as a minimization method.

At any stationary point with an invertible Hessian, the Newton direction is zero, whether the point is a minimum, maximum or saddle. A small step can therefore reflect successful root finding rather than a good minimizing value. Even a locally quadratically convergent Newton iteration can converge to a nonminimum root of the gradient. A curvature test or an appropriate safeguarded algorithm is needed before assigning an optimization conclusion.

A Newton root of the gradient can have either curvature signaturePositive curvature and the minimum; For f(x)=xᵀHx/2, the full Newton step reaches zero. This particular path decreases. The endpoint is a strict minimum.A Newton root of the gradient can have either curvature signature-0.4203.42-0.111.11Exact value along the Newton segmentstartstationaryBefore and after the full stepStep fraction t · centered quadratic objective
For f(x)=xᵀHx/2, the full Newton step reaches zero. This particular path decreases. The endpoint is a strict minimum.

Because g=Hx, the Newton solution is d=−x for nonsingular H. The curve along the direction is exactly (1−t)² f(x). A descent direction can reach an indefinite stationary point, and the same indefinite model has starting points whose Newton direction is an ascent direction.

Exact centered quadratic Newton step
QuantityExact result
Modelf(x)=xᵀHx/2 with no affine term
Hessian eigenvalues(2, 4)
Initial gradient(2, 4)
Direction d(-1, -1)
Directional derivative ∇f·d-6
Initial / final objective3 / 0
Exact objective change−3
Classification at zeroStrict global minimum
Exact inputs and supporting calculations
Declared inputs
ParameterValue
h[2,4]
x[1,1]

Typical modifications enforce positive curvature through a matrix adjustment, use a descent line search, or solve a trust-region model that can exploit negative curvature. These are distinct methods with additional hypotheses. Multiplying an ascent Newton direction by a smaller positive number cannot change its initial slope sign, so damping alone does not turn that direction into descent. A full step might happen to lower a more complicated objective despite a positive initial slope, but that accident is not the local descent guarantee. Related reading: [Local first- and second-order tests](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-01_Intro.pdf#page=1); [Local Newton and quasi-Newton estimates](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=16). The Newton equation and local tests motivate the example. The direct slope calculation distinguishes a nonsingular Hessian solve from a descent or minimum certificate.

13

The local quadratic Newton estimate

Let x_star satisfy grad f(x_star)=0 and let H_star be nonsingular. Suppose the Hessian is Lipschitz with constant M on a sufficiently small ball around x_star. Continuity and nonsingularity give a smaller ball on which every H(x) is invertible and ||H(x)^{-1}||<=1/m for some m>0. For example, if ||H_star^{-1}(H(x)-H_star)||<=1/2, the inverse perturbation series gives the bound 2||H_star^{-1}||. This uses nonsingularity, without requiring positive definiteness.

Write e=x-x_star. The gradient integral is g(x)=integral_0^1 H(x_star+t e)e dt. A full Newton step has error e_new=e-H(x)^{-1}g(x)=H(x)^{-1}[H(x)e-g(x)]. The bracket equals integral_0^1[H(x)-H(x_star+t e)]e dt, whose norm is at most M||e||^2/2. Consequently ||e_new||<=M||e||^2/(2m). The error constant depends on local curvature variation and inverse conditioning.

Choose the initial error ball small enough that C||e||<=1/2, where C=M/(2m), and that the ball lies in the domain of these bounds. Then the estimate sends the ball into itself and contracts the error, so induction keeps every Newton iterate within the valid neighborhood. The error tends to zero and satisfies the displayed quadratic estimate at each step. If M=0, the local gradient is affine and the nonsingular Newton equation reaches its root in one step.

The result is local and assumes exact full steps and solves. It neither supplies a method for entering that neighborhood from any starting point nor classifies the root as a minimum. A singular Hessian at a strict minimum can give a slower Newton rate, as the quartic example later shows. Line-search damping that never approaches a full step, finite residual errors and inaccurate derivatives also change the recurrence; those effects require their own forcing or acceptance analysis rather than being hidden in the word Newton. Related reading: [Local Newton and quasi-Newton estimates](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=16). The selected source proves the positive-definite-minimum case. The full integral proof here explicitly extends to a nonsingular stationary root and labels that extension as a root result.

14

Eventual acceptance of a full Newton step

Assume a sequence approaches a stationary point x_star whose Hessian is positive definite, with a locally Lipschitz Hessian. In a sufficiently small ball, H(x)>=mI for some m>0 and inverse norms are bounded. The exact Newton direction satisfies g^T p=-p^T H(x)p<=-m||p||^2. Since g tends to zero, p tends to zero, and sufficiently late full trial segments remain inside the same ball.

The cubic Taylor estimate at the current point gives f(x+p)-f(x)<=g^T p+one half p^T H(x)p+M||p||^3/6=one half g^T p+M||p||^3/6. Subtract the Armijo right-side change c1 g^T p. The resulting excess is at most -(1/2-c1)m||p||^2+M||p||^3/6. For 0<c1<1/2 this is nonpositive whenever p is sufficiently small.

Thus the full length alpha=1 satisfies Armijo at all sufficiently late nonzero steps. If M>0, the explicit sufficient size is ||p||<=6(1/2-c1)m/M; if M=0, the exact quadratic model already gives acceptance for these c1 values. A line search that tries alpha=1 first then accepts it can inherit the local full-step quadratic Newton behavior. The existence of an acceptable full step does not force an implementation capped below one to take it.

The assumption that the iterates approach the nondegenerate minimum is not proved by this local calculation. Global descent safeguards and entry into the neighborhood are separate issues. The parameter threshold below one half also has content: at one half the quadratic contribution no longer leaves a margin for a positive cubic remainder. Positive-definite local curvature, actual derivative accuracy and valid segments are retained; a nonsingular saddle has no comparable minimum-based full-step acceptance argument. Related reading: [Local Newton and quasi-Newton estimates](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=16). The selected full-step theorem requires the Armijo parameter below one half near a nondegenerate minimum. The proof here specializes to exact Newton and retains the approach-to-the-minimum hypothesis.

15

Regularization makes a Hessian direction descent

For a symmetric Hessian estimate H, choose tau>=0 so that B=H+tau I>=delta I with delta>0. The eigenvalue identity lambda_i(B)=lambda_i(H)+tau shows that tau>=max(0,delta-lambda_min(H)) is sufficient. Then B is invertible and p=-B^{-1}g satisfies g^T p=-g^T B^{-1}g<0 for every nonzero gradient. The claim is about the modified direction, rather than the unmodified Newton equation.

An exact least eigenvalue is not the only route to a valid shift. For symmetric H define ell=min_i[H_ii-sum_{j!=i}|H_ij|]. The inequality 2|v_i v_j|<=v_i^2+v_j^2 bounds v^T H v below by sum_i[H_ii-sum_{j!=i}|H_ij|]v_i^2>=ell||v||^2. Hence tau>=max(0,delta-ell) also proves B>=delta I. It may be conservative, but its sign and curvature guarantee follow directly from the displayed bound.

If H and tau also have uniform upper bounds along an iteration, B has a fixed finite upper spectral bound. Together with delta this gives the earlier uniform descent-angle condition, which can be combined with actual line-search and lower-objective hypotheses. Positive definiteness at isolated points, or arbitrarily increasing tau, does not itself supply that uniform condition. A large shift can make p very small even when the gradient remains appreciable.

The modification changes the local model and its convergence rate. A fixed positive shift can prevent the exact Newton quadratic recurrence, whereas a suitably vanishing shift near a well-conditioned minimum may permit stronger local results. Neither behavior is automatic from B>=delta I. In physically scaled coordinates, adding tau I also selects a Euclidean metric; different units can change what a numerical identity shift means. A minimizing direction still needs an accepted step and does not certify the global objective value. Related reading: [Local Newton and quasi-Newton estimates](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=16); [Trust-region models and Cauchy decrease](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-03_TrustRegionMethods.pdf#page=1). The source describes Hessian modification. The Rayleigh-bound construction here proves positive definiteness and descent without claiming an unchanged Newton rate or a global optimum.

16

The BFGS secant and positivity proof

Let B be symmetric positive definite, s nonzero, and y satisfy y^T s>0. The Hessian BFGS update is B_plus=B-(Bs)(Bs)^T/(s^T Bs)+yy^T/(y^T s). Both denominators are positive, and each correction is symmetric with rank at most one. Multiplying by s gives B_plus s=Bs-Bs+y=y, so the secant equation holds exactly. This equation encodes the observed gradient difference over that actual displacement.

For an arbitrary vector v, the first two quadratic terms are v^T Bv-(v^T Bs)^2/(s^T Bs). Cauchy-Schwarz in the B inner product makes this quantity nonnegative, with equality exactly when v is a scalar multiple of s. The final term is (v^T y)^2/(y^T s)>=0. These are concrete inequalities, rather than a claim that any symmetric secant update must preserve positive definiteness.

If v is nonzero and not parallel to s, the first quantity is strictly positive. If v=k s with nonzero k, the last numerator is k^2(s^T y)^2>0. Therefore v^T B_plus v>0 in both cases, and B_plus is positive definite. The proof also explains why the strict curvature condition matters: with y^T s=0 the formula is undefined, and a negative denominator can remove the positive-term argument.

A positive denominator certifies the secant updatePositive curvature with positive cross term; The input vector s and the exact updated output B₊s=y have distinct signed coordinates. The matrix positivity certificate remains in the table.A positive denominator certifies the secant update-1.4501.6-0.483.5Input sUpdated B₊s equals target ysB₊s=ySigned vector endpointsEqual coordinate units · input and signed secant vectors
The input vector s and the exact updated output B₊s=y have distinct signed coordinates. The matrix positivity certificate remains in the table.

The linear correction −Bs sᵀB/(sᵀBs) cancels the old product on s, and the curvature correction y yᵀ/(yᵀs) produces y. For these two dimensions, the leading principal minor and determinant give an exact positive-definiteness check. A zero curvature denominator cannot be admitted by the formula.

Exact BFGS update and guards
QuantityExact result
s and y(1, 0) / (2, 1)
sᵀB s1
sᵀy2
Hessian approximation after guarded action[[2,1],[1,3/2]]
B₊s(2, 1)
Leading principal minor / determinant2 / 2
StatusPositive definite and exact secant
Exact inputs and supporting calculations
Declared inputs
ParameterValue
s[1,0]
y[2,1]

Positive definiteness supplies a descent direction for the next nonzero gradient if the updated matrix is used in an inverse solve. It does not by itself prove uniform conditioning, accurate approximation of the true Hessian, superlinear convergence or a global minimum. Noisy gradient differences and skipped, damped or modified updates are different cases whose actual formula must be stated. The displacement and gradient difference also carry different units, so a secant matrix must be transformed consistently when variables or objective scales change. Related reading: [BFGS, inverse updates and SR1 safeguards](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=1). The update formulas and inverse positivity argument are selected. The complete Hessian-form secant and positivity proof is supplied here under positive curvature.

17

Wolfe curvature supplies a BFGS denominator

Let g be the current nonzero gradient, p a descent direction, and alpha>0 an accepted step. Define s=alpha p and y=g_new-g. Weak Wolfe requires g_new^T p>=c2 g^T p with 0<c2<1. Thus y^T s=alpha(g_new-g)^T p>=alpha(c2-1)g^T p=alpha(1-c2)(-g^T p)>0. This proves the BFGS curvature denominator is strictly positive under the actual direction and curvature comparison.

Strong Wolfe implies the same lower inequality because |g_new^T p|<=c2|g^T p| and g^T p<0 give g_new^T p>=-c2|g^T p|=c2 g^T p. The Armijo condition is not used in this particular algebraic positivity proof, although the combined line search uses it to control objective decrease. The two tests support different parts of a convergence argument and should not be merged into a vague successful-search label.

Armijo alone is insufficient. For f(x)=-x^2/2 at x=1, choose p=1 and alpha=1. The objective decreases from -1/2 to -2 and passes Armijo for c1=1/4, whose upper target is -3/4. But the gradient changes from -1 to -2, so s=1, y=-1 and y^T s=-1. The scalar Hessian BFGS update would be negative, reflecting actual concavity rather than an error in the decrease calculation.

This example also violates the lower-bounded descent-ray hypothesis needed for the earlier Wolfe existence argument, so there is no contradiction. In practical nonconvex search, a missing or inaccurate curvature test requires an explicit update safeguard instead of assuming positivity from decrease. A positive measured y^T s establishes the formula denominator for that measurement; certified derivative errors, uniform matrix conditioning and any claimed asymptotic rate remain separate conditions. Related reading: [Armijo, Wolfe and descent angles](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=2); [BFGS, inverse updates and SR1 safeguards](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=1). The selected weak Wolfe condition supplies the curvature inequality. The algebra here shows why Armijo decrease alone cannot protect the BFGS denominator.

18

Inverse BFGS and a consistent secant

Let H be a symmetric positive-definite inverse approximation, y^T s>0 and rho=1/(y^T s). Define A=I-rho s y^T and H_plus=A H A^T+rho ss^T. Since A^T y=y-rho y(s^T y)=0, multiplication gives H_plus y=rho s(s^T y)=s. The inverse secant is exact, and the displayed expression is symmetric. Its positivity can be checked directly without assuming the corresponding Hessian update has already been inverted numerically.

For every v, v^T H_plus v=(A^T v)^T H(A^T v)+rho(s^T v)^2>=0. If it is zero, positive definiteness of H forces A^T v=0 and the second term forces s^T v=0. But then A^T v=v-rho y(s^T v)=v, so v=0. Every nonzero v therefore has a strictly positive value, proving H_plus is positive definite. The strict sign rho>0 is essential to this argument.

To connect the two forms, suppose H=B^{-1} and let B_plus be the preceding Hessian BFGS update. Write d=s^T Bs and K=B-Bss^T B/d. Since B_plus s=y, one has B_plus A=B_plus-rho yy^T=K. Moreover K H=I-Bss^T/d. Multiplying this by A^T=I-rho ys^T cancels the two Bss^T/d terms because rho s^T y=1, leaving I-rho ys^T. Adding rho(B_plus s)s^T then gives B_plus H_plus=I.

Thus the inverse formula is algebraically consistent with the Hessian formula when the initial matrices are inverses and the same s,y are used. Finite arithmetic may not preserve exact inverse identities, and independently modified updates need not remain a matched pair. Neither positivity proof establishes uniformly bounded eigenvalues or a global optimization result. An implementation may store an inverse approximation to multiply a gradient rather than explicitly invert a dense Hessian, but its convergence claims still depend on the actual updates, curvature tests and error control. Related reading: [BFGS, inverse updates and SR1 safeguards](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=1). The inverse update and its positive quadratic form are printed in the selected scope. The matching Hessian–inverse identity is checked algebraically here rather than inferred from a naming convention.

19

SR1 and the need for a safeguard

Let B be symmetric, s nonzero, and r=y-Bs. If r^T s is nonzero, define B_plus=B+rr^T/(r^T s). The correction is symmetric and has rank at most one. Multiplying by s gives B_plus s=Bs+r=y, which proves the secant equation. If r=0, the old matrix already satisfies that equation, so no correction is needed and a zero-over-zero expression should be skipped.

When r is nonzero but r^T s=0, this particular rank-one formula is undefined. A very small nonzero denominator can also magnify a correction. The induced operator norm of rr^T is ||r||^2, since it sends r to ||r||^2 r and vanishes on vectors orthogonal to r. Therefore the update norm is ||r||^2/|r^T s|. This explains the denominator issue quantitatively rather than calling every nonzero denominator numerically safe.

A dimensionless safeguard |r^T s|>=epsilon||r||||s|| with fixed 0<epsilon<1 implies ||B_plus-B||<=||r||/(epsilon||s||). It bounds amplification relative to the measured residual and displacement; it does not bound those quantities uniformly over an iteration. If the test fails, skipping the correction is a declared algorithmic choice. The exact secant may then remain unsatisfied, rather than being silently claimed for the skipped update.

Unlike BFGS under its positive-curvature premise, SR1 need not preserve positive definiteness. With B=I, s=(1,0), y=(-1,1), one gets r=(-2,1), r^T s=-2 and B_plus=[[-1,1],[1,1/2]], whose determinant is -3/2. The matrix is indefinite while its first column still equals y. Negative curvature can be useful in a trust-region model, but an unrestricted inverse step with this matrix is not automatically descent. Secant accuracy, curvature structure and the step safeguard are separate properties. Related reading: [BFGS, inverse updates and SR1 safeguards](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=1). The selected SR1 formula includes a normalized denominator safeguard. The lesson proves its amplification bound and retains the indefinite example; the unselected continuation of a finite-step theorem is not invoked.

20

A conditional superlinear quasi-Newton result

Consider full quasi-Newton steps s_k=-B_k^{-1}g_k with x_{k+1}=x_k+s_k. Assume x_k tends to a stationary point x_star, the limiting Hessian H_star is nonsingular, f is twice continuously differentiable locally, and the inverse matrices B_k^{-1} stay bounded. For nonzero steps, suppose ||(B_k-H_star)s_k||/||s_k|| tends to zero. This is a directional approximation condition on the actual steps; it does not assert full matrix-norm convergence of B_k.

Write e_k=x_k-x_star. Differentiability of the gradient gives g_k=H_star e_k+o(||e_k||), and in particular ||g_k||=O(||e_k||). The bounded inverse assumption then gives ||s_k||=O(||e_k||). Using B_k s_k=-g_k, the next error satisfies H_star e_{k+1}=H_star e_k-g_k-(B_k-H_star)s_k. The first difference is o(||e_k||), and the last term is o(||s_k||)=o(||e_k||).

Multiplying by the fixed inverse H_star^{-1} yields ||e_{k+1}||=o(||e_k||). Hence the ratio of consecutive nonzero errors tends to zero: the convergence is superlinear. If the iteration terminates at the root, no infinite error-ratio sequence is needed. In a sufficiently small nonsingular-gradient neighborhood an exact zero step means an exact stationary root, rather than a separate stalled nonroot produced by an invertible B_k.

Every assumption remains conditional. This argument does not prove that BFGS, SR1 or any arbitrary secant update generates the required directional accuracy, enters the neighborhood, maintains bounded inverses or accepts full steps. A fixed damping factor can instead leave a linear error term. Nonsingularity also does not classify x_star as a minimum. The result isolates what an approximation must achieve along the directions actually used, making clear which additional algorithm-specific theorem would be needed for an unconditional claim. Related reading: [Local Newton and quasi-Newton estimates](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=16). The source gives directional-accuracy context and a local sketch. The complete sufficient superlinear proof here preserves full steps, an approached nonsingular root and bounded inverse approximations.

21

A global certificate for a trust-region model

Let q(p)=g^T p+one half p^T H p with symmetric H, and constrain ||p||<=Delta for finite Delta>=0. The closed Euclidean ball is nonempty and compact in finite dimensions, so continuity gives an attained model minimum even when H is indefinite. This existence statement concerns the bounded quadratic subproblem. It does not require the original nonlinear objective to be bounded below on all of R^n. At Delta=0 the feasible ball is the singleton p=0, so attainment is immediate. If g is nonzero, no finite multiplier can satisfy (H+lambda I)0=-g; this is why the certificate below is stated as sufficient rather than necessary.

Suppose a feasible p and scalar lambda satisfy lambda>=0, (H+lambda I)p=-g, H+lambda I positive semidefinite, and lambda(||p||^2-Delta^2)=0. For any feasible z, expansion and the stationarity equation give q(z)-q(p)=one half (z-p)^T(H+lambda I)(z-p)+one half lambda(||p||^2-||z||^2). This identity retains both the curvature term and the constraint contribution.

The first term is nonnegative. If lambda=0 the second is zero; if lambda>0, complementarity gives ||p||=Delta>=||z||, so it is nonnegative too. Thus q(z)>=q(p) for every feasible z, proving a sufficient global model certificate. The proof does not require H+lambda I to be invertible. A singular shifted Hessian may allow more than one certified boundary solution, including the hard-case example with zero gradient and a negative eigenvalue.

The shifted Hessian certifies the global trust-region minimumUnconstrained optimum lies inside; The disk radius is 2. The pinned exact shifted Hessian has eigenvalues 2 and 4.The shifted Hessian certifies the global trust-region minimum-2.5602.56-2.482.48Feasible Euclidean diskoptimumExact global minimizersEqual coordinate units · trust-region step s
The disk radius is 2. The pinned exact shifted Hessian has eigenvalues 2 and 4.

For feasible s, expand m(s)−m(s*) as ½(s−s*)ᵀ(H+λI)(s−s*)+λ(||s*||²−||s||²)/2. Shifted PSD and complementarity make this nonnegative. In the hard case the nullspace allows two boundary points with equal value.

Exact trust-region certificate
QuantityExact result
Global minimizer(s)(1,0)
Multiplier λ0
Shifted eigenvalues(2, 4)
(H+λI)s*+g(0,0)
Exact squared norm1
Complementarityλ(||s*||²−Δ²)=0
Objective value−1
Hard-case conditionThe shifted Hessian is positive definite.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
h[2,4]
g[-2,0]
delta2

This passage proves sufficiency, rather than silently claiming a complete necessity theorem for every trust-region solution. It also certifies the quadratic model, not the nonlinear objective at x+p. Actual objective reduction must still be checked against predicted reduction. At g=0 an algorithm returning p=0 can miss model decrease along negative curvature, so a gradient-only stopping rule and a global trust-region solution are different notions. Norm choice and variable units determine the ball and the meaning of its radius. Related reading: [Trust-region models and Cauchy decrease](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-03_TrustRegionMethods.pdf#page=1). The selected trust-region model provides context. Compact attainment and the sufficient multiplier certificate are proved here, including a singular shifted Hessian and a stationary nonoptimal model point.

22

The Cauchy decrease in a trust region

Assume g is nonzero and put G=||g|| and d=-g/G. Along the feasible ray p=t d, 0<=t<=Delta, the model change is q(t d)=-Gt+one half h t^2, where h=d^T H d. The exact one-dimensional minimizer uses t=min(Delta,G/h) when h>0 and t=Delta when h<=0. This is the Cauchy point for the stated quadratic model and Euclidean trust region.

Let kappa=||H|| in the induced operator norm. If kappa>0, choose the comparison length t_bar=min(Delta,G/kappa). Since h<=kappa and kappa t_bar<=G, q(t_bar d)<=-G t_bar+one half kappa t_bar^2<=-G t_bar/2. The exact ray minimizer has no larger model value, so its predicted decrease -q(p_C) is at least one half G min(Delta,G/kappa). Positive semidefiniteness of H is not needed.

If kappa=0, H is zero and the model is linear. Its ray minimum occurs at t=Delta and has exact predicted decrease G Delta. One may read G/kappa as infinity in the lower-bound shorthand, but the zero case must be proved separately rather than numerically dividing by zero. An alternative trust-region step attaining at least a fixed positive fraction of the Cauchy decrease inherits the corresponding scaled bound.

The argument only controls predicted model reduction. At a nonzero gradient it guarantees a positive predicted value for an appropriate step, which is important before forming an actual-to-predicted ratio. At g=0 the normalized ray direction is undefined and this bound supplies no negative-curvature search; a different model step may still improve. Approximate subproblem solves, a different norm or a radius outside the valid nonlinear model neighborhood require their own interpretation and error constants. Related reading: [Trust-region models and Cauchy decrease](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-03_TrustRegionMethods.pdf#page=1). The Cauchy decrease lemma is stated in the selected notes. Its complete ray proof is given here, with nonzero gradient and the zero-Hessian case explicit.

23

Small radii make a local model reliable

Fix a point x with G=||grad f(x)||>0 and use the true-Hessian quadratic model m_x. Suppose the Hessian is Lipschitz with constant M on a ball containing all trial segments. For each radius Delta choose a feasible p_Delta with ||p_Delta||<=Delta and at least the Cauchy predicted decrease. Let pred=f(x)-m_x(p_Delta) and ared=f(x)-f(x+p_Delta). Predicted positivity must hold before the ratio rho=ared/pred is defined.

For sufficiently small Delta, the Cauchy lower bound gives pred>=G Delta/2; when ||H||>0 this uses Delta<=G/||H||, while H=0 already has the linear-ray bound. The Taylor remainder gives |ared-pred|<=M Delta^3/6. Therefore |rho-1|<=M Delta^2/(3G), which tends to zero as Delta decreases to zero. This comparison uses an order-Delta predicted decrease at a fixed nonstationary point.

For any acceptance threshold eta with 0<eta<1, sufficiently small radii have rho>=eta and positive actual reduction. If M>0, Delta^2<=3G(1-eta)/M is a sufficient additional size condition within the stated ball and Cauchy regime. When M=0 the model is exact and rho=1 for every positive predicted decrease. Thus repeated radius reduction cannot fail forever at this fixed point if all the specified model and subproblem conditions remain valid.

This local reliability lemma is not a complete global convergence theorem for an arbitrary radius-update scheme or for points where G also tends to zero. If function values have fixed absolute error, the difference of two evaluations can have an error that does not shrink with Delta, overwhelming an order-Delta prediction. An inaccurate quadratic matrix gives a different remainder estimate. Nonpositive predicted values, invalid domains or a subproblem step without Cauchy decrease cannot be rescued by assuming the ratio automatically approaches one. Related reading: [Trust-region models and Cauchy decrease](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-03_TrustRegionMethods.pdf#page=1). The selected reduction-ratio discussion motivates the estimate. The proof here concerns a fixed nonstationary point and a true-Hessian model, not a complete global trust-region algorithm.

24

A negative-curvature direction can lower the objective

Let v be a unit vector with v^T H v<=-gamma<0 at the current point, and assume the cubic Taylor remainder bound with constant M holds for the contemplated segments. Choose the sign of v so that g^T v<=0. Such a sign exists because replacing v by -v reverses the linear term and preserves the quadratic Rayleigh quotient. A trial p=t v with t>0 therefore has a nonpositive linear contribution.

The Taylor estimate gives f(x+t v)-f(x)<=t g^T v-gamma t^2/2+M t^3/6<=-gamma t^2/2+M t^3/6. If M>0 and 0<t<=3gamma/(2M), the cubic term is at most gamma t^2/4, so the objective decreases by at least gamma t^2/4. A radius constraint can be enforced by also taking t<=Delta. If M=0, the negative quadratic term already gives strict decrease for every positive valid length.

At an exactly stationary point, either sign has zero linear term, so genuine negative curvature still supplies a decreasing direction even though gradient descent would take a zero step. This supports the distinction between first-order and second-order stationarity. At a nonstationary point, the sign choice prevents the linear term from masking the curvature decrease. The proof requires an actual negative Rayleigh quotient and a controlled local remainder, not merely a negative-looking rounded eigenvalue.

The absence of negative Hessian curvature does not prove a minimum. Higher-order examples such as x^3 or -x^4 at zero have both zero gradient and zero Hessian but admit nearby decrease. With derivative errors, the sign of a small curvature value or linear term needs a separate uncertainty allowance; making t arbitrarily small can let a fixed gradient error dominate its quadratic benefit. Nor does escaping one saddle establish that a stochastic or deterministic method avoids every saddle or reaches a global minimum. Related reading: [Local first- and second-order tests](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-01_Intro.pdf#page=1); [Trust-region models and Cauchy decrease](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-03_TrustRegionMethods.pdf#page=1). The local tests and indefinite-model discussion identify the role of negative curvature. The signed step and cubic-error decrease bound are established here.

25

Least-squares derivatives retain residual curvature

Let r:R^n->R^m have twice continuously differentiable components, and define f(x)=one half sum_i r_i(x)^2. Put J_ij=partial r_i/partial x_j. The chain rule gives grad f=sum_i r_i grad r_i=J^T r. Differentiating again gives Hess f=J^T J+sum_i r_i Hess r_i. Both terms are required for the exact objective Hessian; the second can have either sign when residuals are nonzero.

Linearizing the residual vector gives r(x+p) approximately r+Jp. Minimizing one half ||r+Jp||^2 produces the Gauss-Newton quadratic model f(x)+g^T p+one half p^T J^T J p. Its positive-semidefinite matrix is an approximation to Hess f obtained by dropping the residual-curvature sum. This is exact for affine residuals, and the omitted term vanishes at a zero-residual point. Small residuals are useful only relative to controlled residual Hessians.

At a zero-residual point, f is zero and hence globally minimal for this nonnegative objective. If J has full column rank there, J^T J is positive definite and gives a strict local minimum as well. A nonzero-residual stationary point can be a minimum, maximum or saddle because the omitted Hessian term may dominate. The normal-equation matrix cannot classify such a point merely because it is always positive semidefinite.

Residual units and weights are part of the model. Squaring and adding quantities with incompatible units needs a declared normalization or weighting, such as a constant positive-definite W in one half r^T W r. The gradient then becomes J^T Wr and the corresponding curvature terms change consistently. Variable-dependent weights require extra derivatives. An assumed statistical noise model or weighting convention is not supplied by the algebra alone, and a small residual norm does not certify physical model validity. Related reading: [Nonlinear least squares and damping](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=20). The selected nonlinear least-squares page fully derives the gradient and Hessian decomposition. The lesson keeps the residual-curvature term and treats dropping it as an approximation.

26

Gauss-Newton descent with a rank premise

For f=one half ||r||^2, let J have full column rank at the current point. Then J^T J is positive definite because v^T J^T Jv=||Jv||^2>0 for nonzero v. The linearized residual model has the unique minimizer p solving J^T Jp=-J^T r=-g. This is a least-squares model solve; it need not make the nonlinear residual zero, even when the normal equations are solved exactly.

Multiplying the normal equations by p gives g^T p=-p^T J^T Jp=-||Jp||^2. If g is nonzero, p is nonzero and full column rank makes this slope strictly negative. Thus a sufficiently short Armijo step exists under the preceding differentiability/domain assumptions. If g=0, the normal-equation step is zero, but the omitted residual-curvature Hessian term can still make the stationary point a nonminimum.

The model residual r+Jp is orthogonal to every column of J. In particular, (r+Jp)^T Jp=0, so ||r||^2=||r+Jp||^2+||Jp||^2. The predicted objective reduction is therefore one half ||Jp||^2. This is an exact statement about the linearized residual model. The actual nonlinear residual includes higher-order terms, whose contribution is not controlled by the normal equations alone.

A full step can increase the actual objective. For the scalar residual r(x)=x^2-1 at x=1/10, J=1/5 is nonzero and the Gauss-Newton step is 99/20. The new point is 101/20 and its residual is 9801/400, whose magnitude exceeds one, whereas the old residual magnitude is 99/100. Thus the squared residual increases despite the strictly negative initial slope. Rank deficiency needs a different solve or regularization, and full-step reliability needs local assumptions or an actual acceptance safeguard. Related reading: [Nonlinear least squares and damping](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=20). The selected normal equations, QR and SVD discussion must keep the optimization step’s minus sign. The exact normal-equation slope proof here retains full column rank and a full-step overshoot counterexample.

27

Zero-residual local Gauss-Newton convergence

Suppose r(x_star)=0, J(x_star) has full column rank and J is locally Lipschitz with constant M. In a sufficiently small ball, the least singular value of J(x) is bounded below by sigma>0. The left inverse J(x)^+=(J(x)^T J(x))^{-1}J(x)^T then has norm at most 1/sigma and satisfies J(x)^+J(x)=I. These are local rank and conditioning premises, rather than consequences of a small residual at an arbitrary point.

Write e=x-x_star. Since r(x_star)=0, the exact residual integral is r(x)=integral_0^1 J(x_star+t e)e dt. The full Gauss-Newton step p=-J(x)^+r(x) has next error e_new=J(x)^+[J(x)e-r(x)]. The bracket is the integral of [J(x)-J(x_star+t e)]e, so its norm is at most M||e||^2/2. Hence ||e_new||<=M||e||^2/(2sigma).

Choosing an initial ball small enough that this quadratic bound maps it into itself proves local convergence by the same induction as for Newton. Every step remains within the rank and Lipschitz neighborhood, and the errors satisfy the displayed quadratic estimate. The zero-residual point has objective zero, a global minimum of this nonnegative least-squares objective. Full rank also makes its exact objective Hessian J_star^T J_star positive definite, so the minimizing point is locally strict.

The zero-residual condition is sufficient, not necessary for a fast or exact step. Affine residuals have zero residual Hessians and can be solved in one Gauss-Newton step even when the final residual is nonzero. For general nonlinear nonzero residuals, the omitted curvature term can change the local iteration derivative or destroy minimum classification; the preceding proof cannot erase the nonzero r(x_star) term. Damping, derivative errors, scaling and rank loss require additional estimates rather than an unconditional quadratic-convergence claim. Related reading: [Nonlinear least squares and damping](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=20). The source states the zero-residual local rate but does not prove every nonzero-residual claim. The integral Jacobian proof here states the full-rank and Lipschitz hypotheses and keeps an unstable nonzero-residual example.

28

Levenberg-Marquardt across rank deficiency

For any real Jacobian J and lambda>0, define B=J^T J+lambda I. Its quadratic form is ||Jv||^2+lambda||v||^2, so B>=lambda I and is positive definite even if J is rank deficient. The Levenberg-Marquardt equation Bp=-g, with g=J^T r, has a unique solution. If g is nonzero, p is nonzero and g^T p=-p^T Bp<0, providing a descent direction for the actual differentiable least-squares objective.

The equation minimizes one half ||r+Jp||^2+lambda||p||^2/2 over p. It can equivalently be written as an augmented linear least-squares problem with matrix formed by stacking J and sqrt(lambda)I and right side formed by stacking -r and zero. The original residual-model predicted decrease is -g^T p-one half ||Jp||^2=one half ||Jp||^2+lambda||p||^2>0 for a nonzero step. Neither model reduction is automatically the actual nonlinear objective decrease at length one.

At a fixed point, write C=J^T J. The inverse identity (C+lambda I)^{-1}-lambda^{-1}I=-lambda^{-1}(C+lambda I)^{-1}C gives ||p+g/lambda||<=||C||||g||/lambda^2, using ||(C+lambda I)^{-1}||<=1/lambda. Thus p approaches the scaled negative gradient -g/lambda as lambda grows. Also ||p||<=||g||/lambda, so a large damping parameter can make the step small without making the gradient small.

Residual curvature can differ from linearized curvatureNonzero linearized descent; The true second derivative is 3 and the undamped Gram value is 5. The modeled step is 1/5.Residual curvature can differ from linearized curvature-0.42203.438-0.8780.878True objectiveDamped Gauss–Newton modelstepChosen modeled stepDisplacement d · exact and modeled least-squares values
The true second derivative is 3 and the undamped Gram value is 5. The modeled step is 1/5.

Differentiate squared residuals twice. The Gram value uses only first derivatives; the true Hessian also includes the residual-weighted second derivative 2r₁. The positive damping protects invertibility at rank zero, but a zero step at vanishing gradient does not prove a minimum.

Exact residual, curvature and damped step
QuantityExact result
Residual r(x)(-1, 1)
Jacobian column(2, 1)
Gradient Jᵀr-1
Rank1
True second derivative3
Gram JᵀJ5
Damped system coefficient5
Exact model step / next iterate(1/5, 6/5)
Stationary classification when applicableGradient is nonzero; modeled direction is descent at the input.
Actual objective before / after1 / 548/625
Exact inputs and supporting calculations
Declared inputs
ParameterValue
x1
a2
b1
c0
lambda0

A chosen positive lambda controls a step but does not specify a complete adaptive LM algorithm or prove a local rate. Acceptance tests and damping updates need their own model/error hypotheses. Algebraically, this p is a sufficient trust-region solution for the Gauss-Newton quadratic on the ball of radius ||p|| when that radius is positive, by the earlier multiplier certificate. That correspondence concerns the local quadratic, not a guarantee of global optimality for the nonlinear objective or a statistical justification for the residual weights. Related reading: [Nonlinear least squares and damping](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=20). The selected damping and augmented least-squares formulas motivate Levenberg–Marquardt. Positive definiteness, descent and the large-damping limit are proved here without an unselected global convergence claim.

29

Fletcher-Reeves directions under strong Wolfe

Start nonlinear Fletcher-Reeves with p0=-g0, and for nonzero consecutive gradients define beta_{k+1}=||g_{k+1}||^2/||g_k||^2 and p_{k+1}=-g_{k+1}+beta_{k+1}p_k. Suppose each positive step satisfies strong Wolfe with 0<c2<1/2. Put R_k=g_k^T p_k/||g_k||^2. The recurrence gives R_{k+1}=-1+g_{k+1}^T p_k/||g_k||^2. This normalization is useful because the new squared gradient cancels from its beta term.

If p_k is descent, strong Wolfe gives |g_{k+1}^T p_k|<=c2(-g_k^T p_k). Dividing by ||g_k||^2 yields |R_{k+1}+1|<=c2(-R_k). Initially R0=-1. Assume -1/(1-c2)<=R_k<=-(1-2c2)/(1-c2)<0. The lower bound implies -R_k<=1/(1-c2), so the new inequality places R_{k+1} between -1-c2/(1-c2) and -1+c2/(1-c2).

These two endpoints simplify to -1/(1-c2) and -(1-2c2)/(1-c2), exactly reproducing the induction interval. It contains -1 and has a strictly negative upper endpoint when c2<1/2. Therefore every nonzero-gradient direction produced under these assumptions is descent, with a quantitative negative normalized slope. If a gradient is zero, the division-based update should stop or be treated separately rather than form an undefined beta.

This slope bound is not a uniform angle bound, because ||p_k||/||g_k|| may still grow. It therefore does not by itself establish a global gradient-norm rate from the Zoutendijk result. Armijo alone does not supply the strong-curvature inequality, and other nonlinear conjugate-gradient beta formulas require their own analysis. Restarting with -g resets the normalized slope to -1, but an unstated restart or direction truncation is a modified method, not part of the exact recurrence proved here. Related reading: [Fletcher–Reeves direction bounds](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-04_LinearNonlinearCG.pdf#page=12). The selected Fletcher–Reeves induction proves normalized slope bounds under strong Wolfe with c2 below one half. The remaining norm ratio prevents treating that result as a uniform angle bound.

30

First-order constrained stationarity and LICQ

Consider continuously differentiable equalities c(x)=0 and inequalities h(x)<=0 at a feasible local minimum x_star. Let A be the active inequality indices. LICQ means the rows of Dc(x_star) together with Dh_A(x_star) are linearly independent. Extend these rows to a basis of R^n by fixed linear coordinate rows Z, and define the local coordinate map F(x)=(c(x),h_A(x),Z(x-x_star)). Its derivative is nonsingular, so the inverse function theorem gives a local differentiable inverse.

Write the new coordinates as (u,v,w), with u=0 and v<=0 describing local feasibility. Inactive inequalities remain strict in a sufficiently small neighborhood by continuity, and w is free. For the transformed objective phi=f composed with the inverse map, local minimality forces every w derivative to be zero. Moving a single active coordinate v_j in the negative direction is feasible; its one-sided first-order inequality forces partial phi/partial v_j<=0 at the origin.

Let a be the vector of u derivatives and b the vector of v derivatives, so b<=0. The chain rule for f=phi composed with F gives g=Dc^T a+Dh_A^T b. Set equality multipliers lambda=-a, active inequality multipliers mu_A=-b>=0, and inactive multipliers zero. Then g+Dc^T lambda+Dh^T mu=0, c=0, h<=0, mu>=0 and mu_j h_j=0. These are the KKT conditions with the stated h<=0 minimization signs.

The coordinate proof shows why a qualification is needed: linearized directions must represent actual nearby feasible geometry. With f(x)=x and c(x)=x^2=0, the only feasible point is zero and is a minimum, but Dc(0)=0 and the stationarity equation 1+lambda*0=0 has no solution. Under LICQ the active multipliers are unique because the active gradient rows are independent; their existence and uniqueness still do not make a nonconvex KKT point globally optimal. Constraints and multiplier units must be transformed consistently under rescaling. Related reading: [Tangent directions, LICQ and critical cones](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=31). The selected tangent and LICQ material states KKT necessity and defers part of its geometric proof. The inverse-function coordinate argument here supplies the complete signed multiplier result.

31

The equality reduced Hessian

For twice continuously differentiable equality constraints c(x)=0, suppose J=Dc(x_star) has full row rank and x_star is a feasible KKT point with g+J^T lambda=0. A tangent vector v lies in ker J. The local coordinate construction gives a twice differentiable feasible curve x(t) with x(0)=x_star and x_prime(0)=v. If x_star is a local minimum, the second derivative of f(x(t)) at zero is nonnegative.

Twice differentiating feasibility gives J x_doubleprime(0)+the vector with entries v^T Hess c_i v=0. The objective second derivative is v^T Hess f v+g^T x_doubleprime(0). Substitute g=-J^T lambda to obtain v^T[Hess f+sum_i lambda_i Hess c_i]v. Thus the Lagrangian Hessian H_L is positive semidefinite on ker J at a local minimum. The constraint-curvature contribution is essential even when the objective Hessian itself vanishes.

For sufficiency, use a local feasible parametrization x=T(z), whose derivative has full column rank and spans ker J. The reduced objective f(T(z)) has zero first derivative at the KKT point and Hessian T_prime^T H_L T_prime. If H_L is positive definite on every nonzero tangent vector, this reduced Hessian is positive definite. Taylor expansion gives a strict local minimum and quadratic growth in z; the locally regular parametrization transfers the growth bound to feasible x.

Only feasible tangent curvature is required; normal directions need not have positive objective or Lagrangian curvature. If there are as many independent equalities as variables, the point is locally isolated and the tangent-space sufficient statement is vacuous in the appropriate relative sense. Rank failure, nonsmooth constraints or inequalities with one-sided critical directions require different reasoning. The multipliers are those at the point under the declared signs, not arbitrary prices inserted to make a Hessian look positive. Related reading: [Tangent directions, LICQ and critical cones](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=31). The selected critical-cone page states second-order conditions. The equality-manifold proof here identifies the correct Lagrangian reduced Hessian and its rank hypotheses.

32

An inequality critical-cone sufficiency test

At a feasible twice continuously differentiable KKT point, let J be the equality Jacobian and let the active inequality gradients be a_j^T. Define the critical cone C={d:Jd=0,a_j^T d<=0 for active j,g^T d=0}. KKT implies g^T d=-sum_j mu_j a_j^T d>=0 for every linearized feasible d. A critical direction is precisely one for which the first-order objective increase is zero; positive-price active rows must then have zero directional change.

Assume H_L has d^T H_L d>0 for every nonzero d in C. If C meets the unit sphere, compactness gives a positive minimum gamma of this quadratic form on that intersection. Choose 0<kappa<gamma/2. Suppose local quadratic growth f(x)>=f(x_star)+kappa||x-x_star||^2 failed. There would be feasible displacements s_l tending to zero with smaller increases. A subsequence of d_l=s_l/||s_l|| tends to a unit d; first-order constraint expansions put d in the linearized feasible cone.

The objective upper inequality divided by ||s_l|| gives g^T d<=0, while KKT gives the reverse inequality, so d belongs to C. For feasible x, L(x,lambda,mu)<=f(x) and L(x_star)=f(x_star). Since grad_x L at the point is zero, expansion yields f(x_star+s_l)-f(x_star)>=one half s_l^T H_L s_l+o(||s_l||^2). Division by ||s_l||^2 contradicts the supposed bound below kappa, because the limiting curvature is at least gamma. If C has no unit direction, the same normalized sequence is already impossible before the curvature step.

Thus strict local quadratic growth holds. LICQ provides the regular KKT setting in the stated claim; the sufficiency argument, once those multipliers are given, uses their actual signs and the critical directions rather than positivity on every ambient direction. A semidefinite critical Hessian alone is not the strict test. Zero-price active inequalities must not be replaced automatically by equalities, and this local sufficient condition neither proves a global minimum nor supplies a constraint qualification when none has been checked. Related reading: [Tangent directions, LICQ and critical cones](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=31). The selected source states critical-cone sufficiency without a full proof. The normalized feasible-sequence argument here gives local quadratic growth, including the trivial critical cone.

33

An SQP linear system and its actual meaning

At a current point, write c for the equality residual, J for its full-row-rank Jacobian, g=grad f, and lambda for the current equality multiplier. Choose a symmetric B positive definite on ker J. The equality SQP system is [B,J^T;J,0][p;delta_lambda]=-[g+J^T lambda;c]. With nu=lambda+delta_lambda, its equations become Bp+g+J^T nu=0 and Jp=-c. The multiplier increment and the new quadratic-model multiplier are different quantities.

The homogeneous block system Bu+J^T v=0, Ju=0 has only the zero solution. Multiplying its first equation by u gives u^T Bu=0, which forces u=0 by positivity on ker J. Then J^T v=0 implies v=0 because J has full row rank. The square block matrix is therefore nonsingular. If ker J is zero, the second equation already forces u=0; the proof covers that limiting case without demanding a positive-definite B on nonexistent tangent directions.

Because J is onto the equality-coordinate space, Jp=-c has at least one solution. Restricting g^T p+one half p^T Bp to that affine set gives a strictly convex quadratic in tangent coordinates, so its unique minimizer satisfies the displayed stationarity equations. When B is the exact Lagrangian Hessian, the block system is the Newton linearization of the equality KKT equations. It is not the unconstrained Newton equation for f alone.

For nonlinear constraints, Jp=-c means c(x+p)=O(||p||^2) under a local second-derivative bound, rather than exact feasibility. A linear equality is the special case in which the new point is feasible exactly. Rank loss, an indefinite reduced matrix or active inequalities require additional choices. A merit or filter mechanism, trust restriction and feasible-domain safeguard address different parts of a full method; a solvable SQP system alone proves neither actual objective decrease nor global optimization. Related reading: [Tangent directions, LICQ and critical cones](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=31). The selected KKT material supplies background rather than an SQP invertibility theorem. The block null-space proof here distinguishes a linearized equality step from actual nonlinear feasibility.

34

An l1 merit direction with a penalty bound

For equality constraints, define the l1 merit phi_rho(x)=f(x)+rho||c(x)||_1 with rho>0. Let a quadratic-model step satisfy Jp=-c and Bp+g+J^T nu=0, where nu is the new model multiplier. Differentiability gives c(x+t p)=(1-t)c+o(t) for positive t tending to zero. The l1 norm is Lipschitz, so ||c(x+t p)||_1=(1-t)||c||_1+o(t). Hence the one-sided merit derivative is g^T p-rho||c||_1.

Multiply model stationarity by p. Since Jp=-c, one obtains g^T p=-p^T Bp+nu^T c. The dual-norm inequality nu^T c<=||nu||_infinity||c||_1 then gives phi_rho_prime(x;p)<=-p^T Bp-(rho-||nu||_infinity)||c||_1. This uses the new model multiplier, not an arbitrary old multiplier or its increment. The penalty and objective units must be compatible with the chosen constraint normalization.

If B is positive definite and rho>||nu||_infinity, the bound is strictly negative whenever p is nonzero or c is nonzero. A sufficiently small valid positive step therefore decreases the merit, and geometric backtracking using this actual directional derivative can enforce sufficient decrease. With c=0 and p=0, the bound is zero and supplies no strict decrease. If B is positive only on ker J, an infeasible step can have negative quadratic curvature outside that kernel, so the same simple penalty threshold need not suffice.

This is a directional merit test, not a complete exact-penalty or global SQP theorem. Changing penalties without bounds, derivative/evaluation errors, active inequalities and feasibility restoration need additional arguments. A merit decrease can trade objective improvement against constraint violation and is not itself exact feasibility. The nonsmooth l1 norm is handled here through its proved one-sided derivative; pretending it is differentiable at zero constraint components would obscure the actual reason the estimate remains valid. Related reading: [Tangent directions, LICQ and critical cones](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=31). The multiplier background does not itself prove a merit-function result. The one-sided l1 derivative and adequate-penalty inequality are derived here with B positive definite on the whole space.

35

Projected gradient as a nonconvex stationarity map

Let C be a nonempty closed convex subset of R^n and let x belong to C. Euclidean projection of v=x-alpha g onto C exists: a distance-minimizing sequence can be restricted to a bounded set, and closedness supplies a limiting minimizer. Strict convexity of squared distance on segments gives uniqueness. For z=projection_C(v), differentiating squared distance along the segment toward any y in C gives (v-z)^T(y-z)<=0.

For alpha>0, put p=z-x and take y=x in that inequality. Since v-z=-alpha g-p, it gives alpha g^T p+||p||^2<=0, or g^T p<=-||p||^2/alpha. If grad f has Lipschitz constant L along the feasible segment from x to z, the smooth estimate yields f(z)<=f(x)-(1/alpha-L/2)||p||^2. For L>0, the range 0<alpha<2/L gives strict decrease whenever p is nonzero. If L=0, the displayed decrease bound is strict for every alpha>0 with nonzero p. Neither branch requires convexity of f.

Define the projected-gradient map G_alpha(x)=(x-z)/alpha. It vanishes exactly when z=x. The projection inequality then reads g^T(y-x)>=0 for every y in C, equivalently -g belongs to the normal cone {v:v^T(y-x)<=0 for all y in C}. This is a variational first-order stationarity condition. Conversely, that inequality makes x the projection of x-alpha g by the same distance expansion, proving the equivalence.

The projection residual detects stationarity on the declared setA binding optimum clips the trial step; The projected mapping is 0. Constrained minimizer (upper endpoint).The projection residual detects stationarity on the declared set-0.6305.13-0.2752.775Objective on the feasible intervalsame, minimumInput and projected pointbefore clipUnprojected value outside the boxDecision coordinate · objective value
The projected mapping is 0. Constrained minimizer (upper endpoint).

Clip x−η f′(x) to [lo,hi]. A vanishing mapping is equivalent to first-order stationarity for this convex interval. Convexity of the objective makes it sufficient in the positive-curvature cases, whereas the negative-curvature interior stationary point is a maximum.

Exact projection and stationarity
QuantityExact result
Gradient−1
Step parameter1/2
Unprojected argument5/2
Projection onto the interval2
Projected mapping Gη0
InterpretationConstrained minimizer (upper endpoint)
Actual constrained minimax=2.
Signed projected displacement Π−x0
Exact constrained minimum value1/2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
lo0
hi2
a3
sigma1
x2
eta1/2

For a convex differentiable objective, its supporting inequality turns this variational condition into global optimality, but a nonconvex objective has no such automatic implication. On all of R^n it reduces to zero gradient and can hold at a saddle or maximum. At a constrained boundary minimum, the raw gradient can instead be nonzero, as f(x)=x on x>=0 shows. A valid projection, known feasible set, chosen metric and controlled derivative errors are therefore part of the stationarity measure, not optional details of a numerical stopping label. Related reading: [Gradient descent without convexity](https://pages.cs.wisc.edu/~yudongchen/cs726_sp25/Lecture_6_gradient_descent.pdf#page=1); [Tangent directions, LICQ and critical cones](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=31). The selected descent and tangent frameworks provide context. The projection variational inequality proof here establishes nonconvex descent and a stationarity map without a global-optimality claim.

36

Coordinate scales change the search geometry

Let x=Sz for an invertible fixed matrix S and define F(z)=f(Sz). The chain rule gives grad_z F=S^T grad_x f and Hess_z F=S^T H_x S. These are coordinate-change formulas, not similarity transformations: Hessian eigenvalues generally change because the transformation is a congruence. Feasible constraints and units must be transformed with the variables if the two coordinate systems are to describe the same physical decisions.

An exact Newton direction in z solves S^T H_x S p_z=-S^T g_x. Multiplying by the appropriate inverses gives S p_z=-H_x^{-1}g_x=p_x. Thus exact full Newton points correspond under the affine coordinate map when the Hessian is nonsingular. The directional product also agrees, grad_z F^T p_z=g_x^T p_x. Numerical linear-solve errors, stopping norms and any separately modified Hessian need not retain the same invariance.

Euclidean steepest descent in z instead maps to x_new=x-alpha S S^T g_x. For a nonzero gradient, the physical direction generally differs from -g_x; equality holds when S S^T g_x=g_x, and the same ray is preserved whenever g_x is an eigenvector of S S^T. Thus a scalar S S^T permits one length rescaling for every gradient, while a nonscalar S S^T can still preserve particular gradient directions. Similarly, ||p_z||<=Delta becomes ||S^{-1}p_x||<=Delta, an ellipsoidal trust region in x. Scaling therefore selects a metric and can change gradient-search behavior even though the optimization model is algebraically equivalent.

Multiplying the whole objective by a positive kappa scales both gradient and Hessian, leaving an exact Newton direction unchanged. A gradient method with a fixed numerical length must use alpha/kappa to preserve the same displacement. A gradient tolerance, curvature tolerance or identity regularization also has units and must be interpreted consistently. Better numerical conditioning can help a solve, but a coordinate change alone neither proves a global minimum nor validates physical cost, residual or constraint measurements. Related reading: [Armijo, Wolfe and descent angles](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=2); [Local Newton and quasi-Newton estimates](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-02_LineSearchMethods.pdf#page=16); [Trust-region models and Cauchy decrease](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-03_TrustRegionMethods.pdf#page=1). The source notes positive objective scaling. The full coordinate chain rule and physical search-metric comparison are developed here under an invertible transformation.

37

Inexact Newton forcing terms

Near a stationary point with nonsingular Hessian, suppose ||H(x)^{-1}||<=K and the Hessian has Lipschitz constant M. An inexact Newton equation H(x)p=-g(x)+r with ||r||<=eta||g(x)|| gives p=-H(x)^{-1}g(x)+H(x)^{-1}r. Let e=x-x_star. The exact Newton part has error at most KM||e||^2/2, while a local gradient bound ||g(x)||<=L_local||e|| bounds the added term by K eta L_local||e||.

Consequently ||e_new||<=C||e||^2+D eta||e|| with C=KM/2 and D=K L_local. If a fixed forcing upper bound eta_bar satisfies D eta_bar<1, a sufficiently small initial ball gives contraction and keeps full steps within the valid neighborhood. If eta_k tends to zero along that convergent sequence, the error ratio tends to zero. If eta_k=O(||g_k||), its contribution is O(||e_k||^2), giving a quadratic estimate. A forcing number below one without the local constants is not the proved contraction condition.

Descent is a separate question. If mI<=H<=M_upper I, then g^T p=-g^T H^{-1}g+g^T H^{-1}r<=-[1/M_upper-eta/m]||g||^2. The sufficient strict-descent requirement is eta<m/M_upper. A bound eta<1 alone can fail for an ill-conditioned Hessian, as the later exact example shows. If H is indefinite, even a zero residual does not restore a minimum-based descent argument.

The residual here belongs to the actual stated Hessian equation. A small reported residual for a different approximate matrix, or an error measured in a different norm, needs a conversion and an additional derivative-error allowance. These estimates assume full local steps; fixed damping adds its own linear term. They explain why solve accuracy can be adjusted to the current error regime, while preserving the distinction between a linear-solver tolerance, a stationarity certificate and a global objective guarantee. Related reading: [Inexact Newton forcing conditions](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-05_QuasiLSConstrained.pdf#page=7). The selected forcing discussion is used with the correctly signed residual equation and explicit full steps. The local error proof and conditioning-aware descent bound remain separate conclusions.

38

Gradient errors and finite differences

Suppose a computed gradient g_tilde has a certified Euclidean error ||g-g_tilde||<=epsilon_g. For p=-g_tilde, write g=g_tilde+e. Then g^T p=-||g_tilde||^2-e^T g_tilde<=-||g_tilde||(||g_tilde||-epsilon_g). Thus ||g_tilde||>epsilon_g proves a genuine descent direction. If the computed norm lies within the uncertainty level, this test gives no strict sign; the true norm is only bounded between max(0,||g_tilde||-epsilon_g) and ||g_tilde||+epsilon_g.

For a scalar or coordinate central difference, take h>0 with the full segment [x-h,x+h] inside the differentiability domain and |f_third|<=M3 there. Taylor expansion of f(x+h) and f(x-h), each with remainder at most M3 h^3/6, cancels the constant and second-order terms after subtraction. Dividing by 2h gives |[f(x+h)-f(x-h)]/(2h)-f_prime(x)|<=M3 h^2/6. This is a truncation estimate with an actual third-derivative bound.

If each function value additionally has absolute evaluation error at most delta, their difference error is at most 2delta, contributing delta/h to the derivative error. The total bound is M3 h^2/6+delta/h. With M3,delta positive, its unconstrained minimizing scale is h=(3delta/M3)^(1/3), obtained by differentiating the bound; the chosen scale must still lie in the valid segment range. Taking h arbitrarily small can amplify evaluation error rather than improve a certificate.

For n coordinate estimates with certified errors epsilon_j, the Euclidean gradient error is at most sqrt(sum_j epsilon_j^2), or sqrt(n)epsilon for one common bound. A central-difference comparison is not evidence for a derivative bound outside its declared region, and unknown roundoff or simulation bias is not a certified delta. Acceptance tests using an approximate directional slope need their own error margin. The method provides a conditional numerical estimate, not permission to claim an exact zero gradient from a small printed number. Related reading: [Local first- and second-order tests](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-01_Intro.pdf#page=1); [Gradient descent without convexity](https://pages.cs.wisc.edu/~yudongchen/cs726_sp25/Lecture_6_gradient_descent.pdf#page=1). The selected Taylor and descent framework motivates the error analysis. The full central-difference and evaluation-error allowance is proved here rather than attributed to an unselected numerical-differentiation theorem.

39

Stopping evidence is conditional

Suppose a candidate has derivative estimates with ||g-g_tilde||<=epsilon_g and ||H-H_tilde||<=epsilon_H in the induced Euclidean norm, with both Hessians symmetric. The triangle inequality gives ||g||<=||g_tilde||+epsilon_g. For every unit v, v^T H v>=v^T H_tilde v-epsilon_H, so minimizing over the unit sphere gives lambda_min(H)>=lambda_min(H_tilde)-epsilon_H. These are explicit error transfers rather than assumptions that the estimates are exact.

If ||g_tilde||+epsilon_g<=epsilon1 and lambda_min(H_tilde)-epsilon_H>=-epsilon2, the true point satisfies the stated approximate first- and second-order stationarity bounds. A strictly positive curvature lower bound is possible when the measured least eigenvalue exceeds its error allowance, but a nonzero true gradient still prevents applying the exact stationary-point minimum theorem as written. Feasibility and constraint-specific projected or KKT measures must also be checked for constrained problems.

Even exact unconstrained stationarity with positive curvature need not give a global objective gap. For f(x)=3x^4+4x^3-12x^2, the point x=1 has derivative zero and second derivative 36, hence is a strict local minimum. Its value is -5, while the feasible point x=-2 has value -32. Thus the global suboptimality at x=1 is at least 27 despite an exact zero first-order residual and positive Hessian. Additional global structure is required to turn local measures into value guarantees.

The tolerances have different units and coordinate dependence: gradient magnitude, curvature, constraint residual and objective gap are not interchangeable numbers. An iteration budget or small step can trigger a safe report without proving any of those mathematical conditions. Finally, certified derivatives and model bounds concern the declared objective and feasible set. They do not prove that measured residuals, physical constraints, uncertainty sets or costs represent the real system; that separate modeling evidence remains necessary when an optimization result is used for an actual decision. Related reading: [Local first- and second-order tests](https://personal.math.vt.edu/sturler/LectureNotes/Optimization-01_Intro.pdf#page=1); [Gradient descent without convexity](https://pages.cs.wisc.edu/~yudongchen/cs726_sp25/Lecture_6_gradient_descent.pdf#page=1). The selected local tests and nonconvex gradient discussion explain the limit of stationarity. The error-transfer inequalities and worse-local-minimum example here do not assert a global objective gap or physical model truth.

Explore exact line searches, guarded curvature updates and trust-region certificates. Separate each local step from the condition it proves.

An exact line search can accept a boundary equality

One rejection before acceptance

The first Armijo pass uses an exact inequalityOne rejection before acceptance; Open marks are rejected trial values and the filled mark is the first pass. Exact acceptance occurs for 0<t≤3/4.The first Armijo pass uses an exact inequality-0.1401.14-0.111.11Trial objective after a gradient stepArmijo sufficient-decrease thresholdacceptedTrial states in the tableTrial step t · objective and acceptance threshold
Open marks are rejected trial values and the filled mark is the first pass. Exact acceptance occurs for 0<t≤3/4.

Expand f(x−t g)=f(x)−t g²+(a/2)t²g². The Armijo right side is f(x)−c t g². With t>0 and nonzero g, rearrangement gives t≤2(1−c)/a. Equality meets the non-strict sufficient decrease condition.

Exact descent and line search
QuantityExact result
Gradient / search direction(2, −2)
Exact allowed upper step3/4
Accepted step1/2
Backtracking reductions1
New iterate / exact objective(0, 0)
Exact inputs and supporting calculations
Declared inputs
ParameterValue
a2
x1
c1/4
t01
beta1/2
Exact trial sequence
ReductionStepNew objectiveThresholdSigned surplusDecision
01101Reject
11/201/2−1/2Accept

Stationarity after a Newton step does not establish a minimum

Positive curvature and the minimum

A Newton root of the gradient can have either curvature signaturePositive curvature and the minimum; For f(x)=xᵀHx/2, the full Newton step reaches zero. This particular path decreases. The endpoint is a strict minimum.A Newton root of the gradient can have either curvature signature-0.4203.42-0.111.11Exact value along the Newton segmentstartstationaryBefore and after the full stepStep fraction t · centered quadratic objective
For f(x)=xᵀHx/2, the full Newton step reaches zero. This particular path decreases. The endpoint is a strict minimum.

Because g=Hx, the Newton solution is d=−x for nonsingular H. The curve along the direction is exactly (1−t)² f(x). A descent direction can reach an indefinite stationary point, and the same indefinite model has starting points whose Newton direction is an ascent direction.

Exact centered quadratic Newton step
QuantityExact result
Modelf(x)=xᵀHx/2 with no affine term
Hessian eigenvalues(2, 4)
Initial gradient(2, 4)
Direction d(-1, -1)
Directional derivative ∇f·d-6
Initial / final objective3 / 0
Exact objective change−3
Classification at zeroStrict global minimum
Exact inputs and supporting calculations
Declared inputs
ParameterValue
h[2,4]
x[1,1]

The curvature denominator governs a positive BFGS update

Positive curvature with positive cross term

A positive denominator certifies the secant updatePositive curvature with positive cross term; The input vector s and the exact updated output B₊s=y have distinct signed coordinates. The matrix positivity certificate remains in the table.A positive denominator certifies the secant update-1.4501.6-0.483.5Input sUpdated B₊s equals target ysB₊s=ySigned vector endpointsEqual coordinate units · input and signed secant vectors
The input vector s and the exact updated output B₊s=y have distinct signed coordinates. The matrix positivity certificate remains in the table.

The linear correction −Bs sᵀB/(sᵀBs) cancels the old product on s, and the curvature correction y yᵀ/(yᵀs) produces y. For these two dimensions, the leading principal minor and determinant give an exact positive-definiteness check. A zero curvature denominator cannot be admitted by the formula.

Exact BFGS update and guards
QuantityExact result
s and y(1, 0) / (2, 1)
sᵀB s1
sᵀy2
Hessian approximation after guarded action[[2,1],[1,3/2]]
B₊s(2, 1)
Leading principal minor / determinant2 / 2
StatusPositive definite and exact secant
Exact inputs and supporting calculations
Declared inputs
ParameterValue
s[1,0]
y[2,1]

A shifted positive semidefinite model gives a global trust-region certificate

Unconstrained optimum lies inside

The shifted Hessian certifies the global trust-region minimumUnconstrained optimum lies inside; The disk radius is 2. The pinned exact shifted Hessian has eigenvalues 2 and 4.The shifted Hessian certifies the global trust-region minimum-2.5602.56-2.482.48Feasible Euclidean diskoptimumExact global minimizersEqual coordinate units · trust-region step s
The disk radius is 2. The pinned exact shifted Hessian has eigenvalues 2 and 4.

For feasible s, expand m(s)−m(s*) as ½(s−s*)ᵀ(H+λI)(s−s*)+λ(||s*||²−||s||²)/2. Shifted PSD and complementarity make this nonnegative. In the hard case the nullspace allows two boundary points with equal value.

Exact trust-region certificate
QuantityExact result
Global minimizer(s)(1,0)
Multiplier λ0
Shifted eigenvalues(2, 4)
(H+λI)s*+g(0,0)
Exact squared norm1
Complementarityλ(||s*||²−Δ²)=0
Objective value−1
Hard-case conditionThe shifted Hessian is positive definite.
Exact inputs and supporting calculations
Declared inputs
ParameterValue
h[2,4]
g[-2,0]
delta2

Rank and residual terms separate exact and modeled curvature

Nonzero linearized descent

Residual curvature can differ from linearized curvatureNonzero linearized descent; The true second derivative is 3 and the undamped Gram value is 5. The modeled step is 1/5.Residual curvature can differ from linearized curvature-0.42203.438-0.8780.878True objectiveDamped Gauss–Newton modelstepChosen modeled stepDisplacement d · exact and modeled least-squares values
The true second derivative is 3 and the undamped Gram value is 5. The modeled step is 1/5.

Differentiate squared residuals twice. The Gram value uses only first derivatives; the true Hessian also includes the residual-weighted second derivative 2r₁. The positive damping protects invertibility at rank zero, but a zero step at vanishing gradient does not prove a minimum.

Exact residual, curvature and damped step
QuantityExact result
Residual r(x)(-1, 1)
Jacobian column(2, 1)
Gradient Jᵀr-1
Rank1
True second derivative3
Gram JᵀJ5
Damped system coefficient5
Exact model step / next iterate(1/5, 6/5)
Stationary classification when applicableGradient is nonzero; modeled direction is descent at the input.
Actual objective before / after1 / 548/625
Exact inputs and supporting calculations
Declared inputs
ParameterValue
x1
a2
b1
c0
lambda0

A zero projected gradient proves a condition, not global optimality

A binding optimum clips the trial step

The projection residual detects stationarity on the declared setA binding optimum clips the trial step; The projected mapping is 0. Constrained minimizer (upper endpoint).The projection residual detects stationarity on the declared set-0.6305.13-0.2752.775Objective on the feasible intervalsame, minimumInput and projected pointbefore clipUnprojected value outside the boxDecision coordinate · objective value
The projected mapping is 0. Constrained minimizer (upper endpoint).

Clip x−η f′(x) to [lo,hi]. A vanishing mapping is equivalent to first-order stationarity for this convex interval. Convexity of the objective makes it sufficient in the positive-curvature cases, whereas the negative-curvature interior stationary point is a maximum.

Exact projection and stationarity
QuantityExact result
Gradient−1
Step parameter1/2
Unprojected argument5/2
Projection onto the interval2
Projected mapping Gη0
InterpretationConstrained minimizer (upper endpoint)
Actual constrained minimax=2.
Signed projected displacement Π−x0
Exact constrained minimum value1/2
Exact inputs and supporting calculations
Declared inputs
ParameterValue
lo0
hi2
a3
sigma1
x2
eta1/2

Worked examples

An exact steepest step on an anisotropic quadratic

For f(x,y)=(4x^2+y^2)/2 at (1,2), find the negative-gradient direction, the exact positive line minimizer, the new point and its objective decrease.

  1. The gradient is (4x,y), so at (1,2) it is g=(4,2), and the steepest Euclidean direction is p=-g=(-4,-2). Its directional slope is g^T p=-16-4=-20. The Hessian is diag(4,1), and p^T Hp=4*16+4=68. The starting value is (4+4)/2=4. These quantities use the same objective and coordinates throughout the line calculation.
  2. Because the objective is exactly quadratic, the line objective is phi(alpha)=4-20alpha+34alpha^2. Its derivative is -20+68alpha and its second derivative is 68>0. Hence the unique line minimum is alpha_star=20/68=5/17, which is positive. This is an exact line search, rather than choosing a length merely because it lies below a general smoothness threshold.
  3. The updated coordinates are (1,2)+(5/17)(-4,-2)=(-3/17,24/17). Substitution gives f_new=[4*(9/289)+576/289]/2=306/289=18/17. Thus the decrease is 4-18/17=50/17. The quadratic line formula gives the same reduction, one half times 20^2/68=50/17, independently checking the arithmetic and factor one half.
  4. The Euclidean Lipschitz constant is the largest Hessian eigenvalue, L=4. The exact length 5/17 is below 2/L=1/2 and is therefore consistent with the general decrease interval, although it is larger than 1/L. It does not reach the global minimizer (0,0) in this one steepest step; the remaining value 18/17 is positive. A line minimum and a full-space minimum are different certificates.

g=(4,2), p=(-4,-2), alpha_star=5/17, new point (-3/17,24/17), new objective 18/17 and decrease 50/17.

A complete Armijo backtrack

For f(x)=x^2/2 at x=1 with p=-1, c1=1/4, beta=1/2 and initial alpha0=4, evaluate each rejected trial through the first accepted trial and derive the exact acceptable alpha interval.

  1. At x=1, f=1/2, g=1 and p=-1, so the initial slope is -1. A trial has x(alpha)=1-alpha and actual value (1-alpha)^2/2. The Armijo target with c1=1/4 is 1/2-alpha/4. Subtracting target from actual gives alpha^2/2-3alpha/4=alpha(alpha/2-3/4). For positive alpha this is nonpositive exactly when alpha<=3/2.
  2. The first trial alpha=4 gives x=-3 and objective 9/2. Its target is 1/2-1=-1/2, so it fails. Halving to alpha=2 gives x=-1 and objective 1/2, while the target is zero, so it fails as well. The second failure illustrates that a trial with no increase is still insufficient for an Armijo test requesting a definite fraction of the initial descent slope.
  3. The next trial alpha=1 gives x=0 and objective zero, below the target 1/4, and is accepted. The sequence 4,2,1 follows the stated geometric factor beta=1/2; no later trials are needed. The accepted point is the exact global minimum of this particular nonnegative quadratic because f(x)=x^2/2 is zero only at zero.
  4. The interval calculation proves acceptance for every positive alpha<=3/2 in this instance, while the explicit backtrack establishes the first accepted member of the chosen trial sequence. These are different statements. A different initial length or contraction factor could accept another point. The test was evaluated with exact objective values; finite evaluation uncertainty would need a margin rather than automatically inheriting the same comparisons.

Trials alpha=4 and 2 fail, alpha=1 passes and reaches zero. The exact positive Armijo interval is 0<alpha<=3/2.

An invertible Newton saddle step

For f(x,y)=(x^2-y^2)/2 at (1,2), compute the Newton direction, initial directional slope, new objective and stationary-point classification. Explain why solvability is not a descent test.

  1. For f=(x^2-y^2)/2, the gradient is (x,-y) and Hessian is diag(1,-1). At (1,2), g=(1,-2). Solving Hp=-g gives p1=-1 and -p2=2, hence p=(-1,-2). The Hessian is invertible, so there is no ambiguity or singular linear solve in this Newton equation.
  2. The initial directional derivative is (1,-2)^T(-1,-2)=-1+4=3. It is positive, so sufficiently short positive multiples of this direction increase the objective. A positive damping factor changes the magnitude but cannot reverse that initial slope. The equation solves the linearized stationarity problem rather than imposing a descent-direction constraint.
  3. The full step reaches (0,0). The initial objective is (1-4)/2=-3/2 and the new objective is zero, an increase of 3/2. Along the whole trial, f((1,2)+alpha p)=-(3/2)(1-alpha)^2. For 0<alpha<2 this exceeds the initial value, confirming the local slope conclusion and the full-step increase without numerical experimentation.
  4. At the origin, the gradient is zero but f(t,0)=t^2/2>0 and f(0,t)=-t^2/2<0 for nonzero t. It is a saddle with both curvature signs. Another exact Newton solve there returns p=0. Successful arrival at a gradient root and a zero next step therefore do not make the point a minimizing decision. A curvature-aware safeguard would need to change the method.

H=diag(1,-1), p=(-1,-2), g^T p=3>0. Newton reaches the saddle (0,0), raising f from -3/2 to 0.

BFGS and inverse secants by exact fractions

Starting with B=I in two dimensions, s=(1,1) and y=(2,1), compute the Hessian BFGS update, its determinant and inverse, then check both secant equations and positivity.

  1. Here Bs=s=(1,1), s^T Bs=2 and y^T s=3>0. The two Hessian corrections are ss^T/2=[[1/2,1/2],[1/2,1/2]] and yy^T/3=[[4/3,2/3],[2/3,1/3]]. Their denominators satisfy the strict hypotheses of the BFGS positivity proof; no zero-curvature skip or damping rule is needed.
  2. Adding I minus the first correction plus the second gives B_plus=[[11/6,1/6],[1/6,5/6]]. Multiplication by s sums each row, giving (2,1)=y. Its determinant is (55-1)/36=3/2 and its first diagonal entry is positive, so the symmetric two-dimensional matrix is positive definite. The secant and curvature statements have both been checked directly.
  3. The exact two-by-two inverse is (2/3)[[5/6,-1/6],[-1/6,11/6]]=[[5/9,-1/9],[-1/9,11/9]]. Multiplication by y=(2,1) gives (10/9-1/9,-2/9+11/9)=(1,1)=s. Its determinant is the reciprocal 2/3 and it is the positive-definite inverse of the displayed B_plus, consistent with the inverse BFGS formula.
  4. The calculation certifies these two updated matrices for the given exact displacement and gradient difference. It does not show that they equal a true objective Hessian or establish an asymptotic convergence rate. Positive definiteness and exact secants are algebraic properties; uniform conditioning, line-search accuracy and behavior over many later updates remain additional questions. All fractions were retained so a rounded determinant is not the basis of the positivity conclusion.

B_plus=[[11/6,1/6],[1/6,5/6]], det=3/2, B_plus^{-1}=[[5/9,-1/9],[-1/9,11/9]]. Both secants hold and both matrices are positive definite.

An indefinite SR1 update

For B=I, s=(1,0) and y=(-1,1), compute r, the SR1 update, its determinant and secant. Explain which positive-definiteness conclusion fails.

  1. With B=I and s=(1,0), Bs=(1,0). Therefore r=y-Bs=(-1,1)-(1,0)=(-2,1), and r^T s=-2. The SR1 denominator is nonzero, so the stated formula is defined. Its sign is negative, which is allowed by the algebraic SR1 secant construction but does not provide a positive-definiteness guarantee.
  2. The outer product rr^T is [[4,-2],[-2,1]]. Dividing by -2 and adding I gives B_plus=[[-1,1],[1,1/2]]. Its first column is (-1,1), so B_plus s=y exactly. Its determinant is -1/2-1=-3/2. Also the coordinate quadratic values are -1 and 1/2, explicitly displaying both signs and hence indefiniteness.
  3. A normalized denominator safeguard compares |r^T s| with epsilon||r||||s||. Here the ratio is 2/sqrt(5), so it passes any such test with epsilon<=2/sqrt(5). The update can therefore be well separated from an orthogonal denominator while still being indefinite. That safeguard controls amplification; it is not a hidden positive-curvature condition.
  4. The BFGS positivity theorem is unavailable as well because y^T s=-1<0. One must not transfer that conclusion merely because both formulas satisfy a secant equation. An indefinite SR1 matrix can represent useful negative model curvature in a trust-region method, while an unrestricted inverse step requires a separate descent or model safeguard. The result concerns the displayed matrix, not the objective or feasibility of any unstated surrounding optimization problem.

r=(-2,1), r^T s=-2, B_plus=[[-1,1],[1,1/2]], det=-3/2. The secant holds, but the matrix is indefinite.

A singular trust-region hard case

Minimize q(p)=(p^T diag(-2,1)p)/2 over ||p||<=1 with g=0. Find all global model minimizers and a sufficient multiplier certificate, and compare the zero Newton step.

  1. Write p=(u,v). The model is q=-u^2+v^2/2 and the ball constraint gives u^2<=1-v^2. Thus q>=-(1-v^2)+v^2/2=-1+3v^2/2>=-1. Equality requires v=0 and u^2=1, so the complete minimizing set is exactly {(1,0),(-1,0)}. Both points are feasible and have model value -1.
  2. Choose lambda=2. The shifted Hessian H+lambda I is diag(0,3), positive semidefinite and singular. At either minimizing point it sends p to zero=-g, and lambda(||p||^2-1)=0. The sufficient trust-region identity therefore certifies global optimality of both points despite the lack of an inverse for the shifted matrix.
  3. The unconstrained Newton stationarity equation uses the unshifted invertible H and g=0, so it returns p=0. That feasible point has q=0, strictly above -1. A zero gradient is therefore insufficient for the quadratic model on a ball when negative curvature is present. The bounded ball makes the negative-curvature model finite, whereas the unconstrained model decreases without bound along the u axis.
  4. This is a hard-case illustration in which the gradient has no component along the negative eigendirection and the certifying shifted matrix is singular. It does not require choosing a spurious inverse or perturbing the data to force uniqueness. The certificate concerns q and its declared Euclidean radius; without an actual nonlinear objective and a model-error bound it cannot certify the same numerical reduction for f(x+p).

The model minimum is -1, attained exactly at p=(1,0) and (-1,0). Lambda=2 gives a singular positive-semidefinite shifted Hessian certificate; p=0 is not a model minimizer.

Gauss-Newton with a nonzero final residual

For r(x)=(x-1,2x-3) starting at x=0, compute one Gauss-Newton step, its final residual and objective, and verify the global least-squares minimum directly.

  1. At x=0 the residual is (-1,-3) and the constant Jacobian is the column (1,2). Thus J^T J=5 and g=J^T r=-1-6=-7. The Gauss-Newton equation is 5p=7, giving p=7/5 and the new point x=7/5. Full column rank holds because the single column is nonzero; this is not a singular normal-equation solve.
  2. The new residual is (7/5-1,14/5-3)=(2/5,-1/5). Its squared norm is 4/25+1/25=1/5, so the objective is 1/10. It is nonzero, but it is orthogonal to the Jacobian: 2/5+2*(-1/5)=0. That orthogonality proves stationarity of the least-squares objective without requiring both residual components to vanish.
  3. Expanding directly gives f(x)=(5x^2-14x+10)/2=(5/2)(x-7/5)^2+1/10. Hence x=7/5 is the unique global minimum and its exact value is 1/10. The initial objective is five and the actual decrease is 49/10. Because the residual is affine, its linearization and the Gauss-Newton quadratic are exact everywhere.
  4. The zero-residual local convergence theorem is a sufficient condition, not a necessity for an exact Gauss-Newton step. Here the residual Hessians are zero, so the omitted residual-curvature term vanishes even at a nonzero final residual. Neither this algebraic fit nor its minimum value supplies a statistical interpretation for the residual components unless their scales and noise model are separately declared.

One step gives x=7/5, residual (2/5,-1/5) and objective 1/10. Completing the square proves this is the unique global least-squares minimum.

Levenberg-Marquardt on a rank-deficient residual

For r(x,y)=x+y-2 at (0,0), use lambda=1 to compute the LM step, new residual, objective decrease and directional slope. State why the full-rank Gauss-Newton inverse is unavailable.

  1. At the origin, r=-2 and J=(1,1). The objective gradient is (-2,-2), while J^T J=[[1,1],[1,1]] has rank one and determinant zero. Thus the full-column-rank inverse formula for Gauss-Newton is unavailable. This does not mean a linearized least-squares solution cannot exist; it means that particular unique inverse solve is not justified.
  2. With lambda=1, the LM matrix is [[2,1],[1,2]], whose determinant is three. Solving it against -g=(2,2) gives p=(2/3,2/3). The directional slope is (-2,-2)^T(2/3,2/3)=-8/3<0. The positive identity shift supplies positive curvature even though the original normal matrix is singular.
  3. At the new point, r=4/3-2=-2/3, so f_new=(1/2)(4/9)=2/9. The initial value is two and the decrease is 16/9. The penalized linearized objective at this step is 2/9+(1/2)(8/9)=2/3, illustrating that the damping penalty and the actual residual objective are different quantities. The residual is affine here, so the unpenalized model matches the actual objective.
  4. The global minimizing set for the unregularized objective is the line x+y=2, which the positive-damping step has not reached. Its new gradient is (-2/3,-2/3), still nonzero. A single well-defined decreasing LM step is therefore not a stationarity certificate. Different positive damping values change the step, and an arbitrarily large damping can make it small without solving the fit.

The LM step is (2/3,2/3), residual -2/3, new objective 2/9, decrease 16/9 and initial slope -8/3. J^T J is singular, but J^T J+I is invertible.

A Fletcher-Reeves curvature calculation

Given g_old=(1,0), p_old=(-1,0), g_new=(1/4,1) and strong-curvature parameter c2=1/3, check the directional curvature inequality, then compute beta_FR, p_new, its slope and normalized slope. This asks only the given curvature calculation, not an inferred Armijo step.

  1. The old slope is g_old^T p_old=-1. The given new gradient has product g_new^T p_old=-1/4, whose absolute value is 1/4<=c2*1=1/3. It therefore satisfies the stated strong directional-curvature inequality for these vectors. No objective values or step length were supplied, so this calculation does not independently verify an Armijo condition or a complete actual line search.
  2. The old squared gradient norm is one and the new squared norm is 1/16+1=17/16. Thus beta_FR=17/16. The Fletcher-Reeves formula gives p_new=-(1/4,1)+(17/16)(-1,0)=(-21/16,-1). Both the negative new gradient and the old-direction contribution must be retained; discarding the latter would be a restart rather than this update.
  3. The new slope is (1/4)(-21/16)+1*(-1)=-21/64-1=-85/64<0. Dividing by ||g_new||^2=17/16 yields -85/68=-5/4. For c2=1/3, the proved induction interval is [-1/(2/3),-(1/3)/(2/3)]=[-3/2,-1/2], which contains -5/4. This exact agreement checks the normalized-slope algebra and its signs.
  4. The result establishes descent for this updated direction under the given curvature data. It does not certify that arbitrary later directions satisfy strong Wolfe or a uniform angle condition, nor that an objective converges globally. The numerical c2 is below one half, as required by the particular Fletcher-Reeves proof; replacing that threshold or the beta formula would need a new argument.

The curvature magnitude 1/4 is at most 1/3. Beta_FR=17/16, p_new=(-21/16,-1), slope -85/64 and normalized slope -5/4, within [-3/2,-1/2].

An equality SQP step and its merit

For f=(x^2+y^2)/2, c=x+y-1=0, start at (0,0), lambda=0 and B=I. Solve the SQP step and new multiplier, then compare the rho=1 l1 merit directional derivative and actual new merit.

  1. At the starting point, g=(0,0), c=-1, J=(1,1) and the old multiplier is zero. With B=I, the SQP equations are p1+nu=0, p2+nu=0 and p1+p2=1. Therefore nu=-1/2 and p=(1/2,1/2). Since the old multiplier is zero, the increment delta_lambda equals nu here; that coincidence is specific to these data.
  2. The constraint is affine, so the linearized-feasible step is also actually feasible: the new coordinates sum to one. The objective becomes [(1/2)^2+(1/2)^2]/2=1/4. For any feasible x+y=1, the inequality x^2+y^2>=(x+y)^2/2=1/2 proves f>=1/4, with equality exactly at x=y=1/2. Thus this point is the unique constrained global minimizer.
  3. The l1 merit with rho=1 starts at 0+|-1|=1. Its directional derivative is g^T p-rho||c||_1=0-1=-1. The penalty test also holds because rho=1>|nu|=1/2. Substituting p^T Bp=1/2 and nu*c=1/2 into the model identity confirms that the objective directional derivative is zero while constraint restoration drives the merit decrease.
  4. Along the step for 0<=t<=1, the merit is t^2/4+|t-1|=t^2/4+1-t, whose right derivative at zero is -1 and whose final value is 1/4. This checks actual merit behavior, rather than only a linearized prediction. A nonlinear equality would generally leave a second-order feasibility residual, so the exact final-feasibility conclusion here must not be transferred to every SQP step.

p=(1/2,1/2), new multiplier -1/2 and delta_lambda=-1/2. The rho=1 merit derivative is -1; merit falls from 1 to 1/4, the exact constrained minimum.

Why the Lagrangian Hessian matters

Minimize f(x,y)=y subject to c(x,y)=x^2-y=0. At (0,0), compute the equality multiplier, tangent space and reduced Lagrangian curvature, then classify the constrained point using the exact feasible parametrization.

  1. The objective gradient at the origin is (0,1), and the equality gradient is (0,-1). KKT stationarity is (0,1)+lambda(0,-1)=0, so lambda=1. The equality Jacobian has rank one, satisfying the row-rank qualification. Its kernel consists of tangent vectors (d1,0), rather than all ambient directions.
  2. The objective Hessian is zero. The constraint Hessian is [[2,0],[0,0]], so the Lagrangian Hessian H_L=H_f+lambda H_c is diag(2,0). For every nonzero tangent vector, d^T H_L d=2d1^2>0. Testing only H_f would miss this strict reduced curvature, which comes from the curved feasible geometry.
  3. Every feasible point is exactly (t,t^2), and its objective is t^2. Thus the origin is the unique global minimum, with no need to infer globality solely from the local test. For |t|<=1, the squared ambient displacement is t^2+t^4<=2t^2, so f>=one half ||(t,t^2)||^2 also verifies a local quadratic-growth bound in the original coordinates.
  4. The feasible curve has first derivative (1,0) and second derivative (0,2) at zero. The objective gradient dotted with the second derivative equals two, matching the reduced Lagrangian curvature. This makes the constraint-curvature term explicit. Equality multiplier signs are free and depend on the chosen c convention; replacing c by its negative changes lambda while preserving the same Lagrangian curvature.

Lambda=1, tangent directions are (d1,0), and H_L=diag(2,0) has reduced value 2d1^2. The feasible parametrization (t,t^2) gives f=t^2, a strict global minimum at zero.

A central difference with a numerical-error allowance

For dimensionless f(x)=x^4/4 at x=1 and h=1/10, compute the exact central difference. Bound its error using the maximum third derivative on [9/10,11/10] and function-evaluation errors at most delta=1/100000 each. If the reported difference is 101/100, give the certified interval for the true derivative and distinguish it from the exact analytic derivative.

  1. For f(x)=x^4/4, expand (1+h)^4-(1-h)^4=8h+8h^3. The central difference divides that expression by 8h, so it equals 1+h^2. At h=1/10 this is 101/100. The exact analytic derivative is x^3, hence one at x=1; the actual exact truncation error is therefore 1/100.
  2. The third derivative is 6x. On [9/10,11/10], its maximum absolute value is 33/5. The proved central truncation bound is (33/5)(1/100)/6=11/1000. It is slightly larger than the actual error 1/100, as a bound over the whole interval may be. The domain and derivative premise are satisfied exactly for this polynomial.
  3. Each function evaluation may additionally have absolute error at most delta=1/100000. The two errors contribute at most delta/h=1/10000 to the difference estimate. Adding the two independent allowances gives epsilon_g=11/1000+1/10000=111/10000. This is a guaranteed worst-case budget under the stated evaluation-error assumption, rather than an observed random error or an unproved machine-precision estimate.
  4. If the reported difference is 101/100=10100/10000, the true derivative lies between (10100-111)/10000 and (10100+111)/10000, giving [9989/10000,10211/10000]. The exact derivative one lies inside. The positive lower endpoint rules out stationarity at this point and certifies a negative estimated-gradient direction as descent, but says nothing by itself about a global minimum or an acceptable finite step.

The exact central difference is 101/100. The total derivative-error allowance is 111/10000, giving true derivative in [9989/10000,10211/10000]; the exact analytic derivative is 1.

Try it yourself

  1. For f(x)=x^3 at zero, check first- and second-order necessary conditions and determine whether a local minimum exists. Which implication fails?

    Show the answer and reasoning

    Both derivatives vanish at zero and the Hessian is semidefinite, yet x^3 has neither a local minimum nor a local maximum there. The necessary conditions are not sufficient.

    The derivative is f_prime(x)=3x^2, so f_prime(0)=0. The second derivative is 6x, hence f_doubleprime(0)=0. In one dimension a zero Hessian is positive semidefinite and negative semidefinite. Thus the standard first-order and second-order necessary conditions for an interior local minimum both hold at this point. For every positive t, f(t)=t^3>0=f(0), while f(-t)=-t^3<0. Such points exist in every neighborhood of zero. The negative values exclude a local minimum, and the positive values exclude a local maximum. The third-order term changes sign across the stationary point even though the first two derivatives do not classify it. There is no contradiction with the positive-definite sufficient test: the Hessian here is zero, not positive definite. Necessary means every local minimum must pass the test; it does not mean every point passing it is a minimum. A gradient-root iteration or a second-order tolerance that accepts a zero eigenvalue has supplied less information than a global or strict local minimum certificate. The domain is all of R, so both signs of t are feasible. Restricting the domain to x>=0 would change the classification at the boundary and the applicable optimality conditions. The counterexample keeps that domain fixed; it is not obtained by substituting a new constraint into the theorem. No finite numerical sampling is needed because the signs hold for arbitrarily small positive t.

  2. Compare f=x^4 and f=-x^4 at zero. Explain why the same zero gradient and zero Hessian leave the second-order test inconclusive.

    Show the answer and reasoning

    x^4 has a strict global minimum at zero; -x^4 has a strict global maximum. Both have zero gradient and Hessian there, so the semidefinite second-order test is inconclusive.

    For x^4, the first two derivatives are 4x^3 and 12x^2. For -x^4 they are their negatives. At zero all these derivatives vanish. Therefore both objectives present exactly the same gradient value and Hessian value to a second-order pointwise test, despite their different nearby objective behavior. The inequality x^4>0 for every nonzero x proves zero is the unique strict global minimum of x^4. The inequality -x^4<0 for every nonzero x proves zero is the unique strict global maximum of -x^4. Both conclusions use the full real domain and exact signs, not an approximate eigenvalue classification. Positive-semidefinite Hessian is necessary for an unconstrained smooth local minimum, but it is not sufficient. Positive-definite Hessian at stationarity is sufficient, but it is not necessary, since x^4 is a strict minimum with zero Hessian. These examples distinguish the two directions of implication without altering differentiability or feasibility assumptions. The strict minimum x^4 also lacks a positive uniform quadratic-growth constant near zero: x^4/x^2=x^2 tends to zero for nonzero x tending to zero. Thus the positive-definite test proves more than strict minimality alone. Higher-order structure can decide a singular case, while a numerical second-order stopping report should retain its stated uncertainty rather than claim that classification is complete.

  3. Starting at x0=0, apply x_next=x-exp(x) to f(x)=exp(x). Show the iterates have no finite limit while objective and gradient tend to zero. State the missing finite-stationary-point conclusion.

    Show the answer and reasoning

    The iterates decrease to -infinity, with exp(x_k) and the gradient tending to zero. No finite point is stationary and the infimum zero is not attained.

    The update subtracts the strictly positive number exp(x_k), so the sequence is strictly decreasing from x0=0 and remains in x<=0. A monotone decreasing real sequence either has a finite lower limit or tends to -infinity. Suppose it had a finite limit ell. Continuity would make x_{k+1}-x_k tend to -exp(ell), a strictly negative number, contradicting the vanishing difference of a convergent sequence. Thus x_k tends to -infinity. It follows that f(x_k)=exp(x_k) tends to zero, and the gradient exp(x_k) tends to zero as well. However, exp(x)>0 for every finite real x, and its derivative is never zero. The infimum is zero over R but there is no attained minimizing point or finite stationary limit. On each traversed segment in x<=0, the derivative has Lipschitz constant one because the second derivative exp(x) is at most one. Hence the usual smooth decrease estimate is valid along this actual trajectory. Exp does not have a single global gradient-Lipschitz constant on all of R, and that stronger global hypothesis is not being falsely claimed for this example. The example shows directly why a small or vanishing gradient does not imply convergence of the points or attainment of an infimum. A theorem asserting only gradient norms cannot add a finite limit without compactness or another argument. The objective is even convex here, so nonconvexity is not required for this failure of attainment. A lower objective bound supplies a decrease budget, not a compact sublevel set.

  4. For f(x)=-x^2/2, x=1, p=1, alpha=1 and Armijo c1=1/4, test decrease and compute s*y. Does Armijo alone preserve the BFGS curvature denominator?

    Show the answer and reasoning

    Armijo passes, but s*y=-1<0. In the scalar BFGS formula a positive starting matrix would update to -1, so decrease alone does not preserve positivity.

    At x=1, f=-1/2 and g=-1. The direction p=1 is descent, with slope -1. The full trial reaches x=2 and f=-2. Armijo with c1=1/4 asks for f_new<=-1/2-1/4=-3/4, which is satisfied. The test therefore records a real objective decrease on this concave quadratic. The displacement is s=1 and the new gradient is -2, so y=-2-(-1)=-1. The curvature product y*s is -1, not positive. In one dimension the Hessian BFGS expression simplifies to B-B+y/s=-1 when s=1. The positive denominator s^T Bs of the first correction does not repair the negative denominator in the second correction. Weak Wolfe would require the new directional derivative -2 to be at least c2 times the old derivative, namely -c2. This fails for every 0<c2<1. Thus the curvature hypothesis used to prove BFGS positivity is absent, even though Armijo holds. The descent ray is also unbounded below, so the earlier full-ray Wolfe existence theorem does not apply. The conclusion concerns this actual update, not a statement that a modified algorithm must accept it. A skipped or damped update can impose another curvature policy, but its formula and resulting secant must be declared. One cannot report the unmodified BFGS positivity theorem merely from a successful sufficient-decrease comparison. Objective decrease and matrix curvature are distinct pieces of evidence.

  5. For the line objective phi(alpha)=-alpha on alpha>=0, test Armijo and weak Wolfe for 0<c1<c2<1. Identify the missing existence premise.

    Show the answer and reasoning

    Every positive alpha passes Armijo, but no alpha satisfies weak or strong Wolfe with c2<1. The descent ray is not bounded below.

    Here phi(0)=0 and phi_prime(alpha)=-1 for every alpha>=0. Armijo requires -alpha<=-c1 alpha. For alpha>0 this is equivalent to 1>=c1, which holds for the stated 0<c1<1. Sufficient objective decrease therefore accepts every positive trial, without restricting its length. Weak Wolfe requires phi_prime(alpha)>=c2 phi_prime(0), or -1>=-c2. This would require c2>=1 and is false under c2<1. Strong Wolfe likewise requires 1<=c2, so it also fails at every positive alpha. No search strategy can find a step satisfying an inequality that has no solution for these data. The missing existence premise is boundedness below of phi on the descent ray. In fact phi tends to -infinity. In the first-return proof, psi(alpha)=phi(alpha)-phi(0)-c1 alpha phi_prime(0)=-(1-c1)alpha stays negative forever, rather than returning to zero and bracketing a curvature crossing. Continuous differentiability alone does not supply that return. This counterexample does not contradict local finite Armijo acceptance, which uses only a negative directional derivative. It distinguishes that local result from the stronger combined Wolfe existence argument. A bounded finite trial interval can introduce another obstruction even for other objectives, but no such artificial cap is needed here; the constant slope and unbounded decrease already settle the question.

  6. For B=diag(1,9) and g=(1,3), compute p=-B^{-1}g, the descent-angle cosine and the uniform m/M lower bound. Distinguish a bound from the actual angle.

    Show the answer and reasoning

    p=(-1,-1/3), slope -2 and cosine 3/5. The general spectral lower bound m/M=1/9 is valid but conservative.

    The inverse metric is diag(1,1/9), so B^{-1}g=(1,1/3) and p=(-1,-1/3). Its slope is (1,3)^T(-1,-1/3)=-1-1=-2. Since B is positive definite and g is nonzero, this strict negative slope is consistent with the general variable-metric descent proof. The gradient norm is sqrt(10). The direction norm is sqrt(1+1/9)=sqrt(10)/3. Thus the descent-angle cosine is 2/[sqrt(10)*sqrt(10)/3]=2/(10/3)=3/5. The angle is computed from Euclidean vectors; the B inner product is used in a different part of the metric interpretation. The least and greatest eigenvalues of B are m=1 and M=9. The proved uniform estimate gives cosine>=m/M=1/9. The actual 3/5 is larger, so the lower bound is conservative rather than an equality claim. A theorem can use a valid worst-case bound without claiming every individual direction realizes it. No objective or trial function values were specified, so this calculation certifies a direction angle and slope, not an accepted line search or convergence. If a whole sequence of metrics had the same spectral bounds, they could support a uniform-angle argument under the other smoothness and Wolfe premises. A changing metric with unbounded condition number would need fresh control; pointwise positivity alone does not preserve the same bound.

  7. For f(x)=x^4 at nonzero x, derive the Newton iteration and its exact error ratio toward zero. Why does strict minimality alone not give quadratic Newton convergence?

    Show the answer and reasoning

    Newton gives x_next=(2/3)x, so the position error converges linearly with exact ratio 2/3. The limiting Hessian is singular, violating the quadratic theorem.

    For f=x^4, the derivative is 4x^3 and the Hessian in one dimension is 12x^2. At every nonzero x, the Newton equation gives p=-4x^3/(12x^2)=-x/3. The full update is therefore x_next=2x/3. Starting nonzero, the sign is preserved and the iterates remain nonzero at each finite exact iteration. The exact error toward x_star=0 satisfies |e_next|/|e|=2/3. This constant ratio is linear convergence and does not tend to zero. The gradient norm instead shrinks by (2/3)^3=8/27 and the objective by (2/3)^4=16/81; faster decay of those scalar quantities does not turn the position error into a quadratic sequence. Zero is a strict global minimum because x^4 is positive away from zero, but H(0)=0 is singular. The inverse bound 1/(12x^2) diverges near the point. Thus the nonsingular limiting Hessian and uniform local inverse premise of the quadratic Newton proof fail. Smoothness is not the problem: this polynomial has all the required local derivatives. At the exact root, one should recognize stationarity rather than divide zero by the zero Hessian in the same formula. The example shows that strict minimality alone is weaker than the nondegeneracy needed for the standard quadratic rate. A modified method or a known higher-order structure can have another rate, but that is not the ordinary full Newton iteration derived here.

  8. Apply a fixed damping 0<alpha<1 to the Newton step for f=x^2/2. Derive the iteration and rate, and contrast it with accepting a full step near the minimum.

    Show the answer and reasoning

    x_next=(1-alpha)x with constant error ratio 1-alpha, so fixed damping gives linear convergence. Alpha=1 would solve this quadratic in one step.

    For f=x^2/2, the gradient is x and the Hessian is one. The exact Newton direction is p=-x. Applying a fixed length 0<alpha<1 gives x_next=x+alpha p=(1-alpha)x. Unless the initial point is zero, the exact error ratio toward zero is the same positive constant 1-alpha at every iteration. The objective decreases by the factor (1-alpha)^2 and the gradient magnitude by 1-alpha. The position sequence is linearly convergent, not superlinear, since its error ratio does not approach zero. In contrast, choosing the full length alpha=1 gives x_next=0 immediately. Exact curvature and an exact solve do not erase an externally imposed damping factor. With an Armijo parameter c1<1/2, every such fixed alpha is acceptable here: the objective change is -alpha(1-alpha/2)x^2, and 1-alpha/2>1/2>c1. The full step is acceptable as well. Thus sufficient decrease does not force the fastest acceptable choice if the algorithm insists on a smaller trial or caps its maximum below one. The eventual-full-step Newton theorem assumes a method that actually tests and accepts a full step once it satisfies the local condition. This fixed-damping iteration does not do that, so it is not a counterexample to the theorem. It explains why local convergence statements must include the step policy as well as the direction formula and derivative accuracy.

  9. Starting from a positive-definite B, take s=(1,0) and y=(0,0). Explain exactly which BFGS denominators and secant/positivity claims are unavailable; propose a mathematically honest skip rather than division by zero.

    Show the answer and reasoning

    y^T s=0 makes the unmodified BFGS and inverse formulas undefined. No positive-definite matrix can satisfy B_plus s=0 for nonzero s; skipping preserves B but does not satisfy that secant.

    With s=(1,0) nonzero and y=(0,0), the product y^T s is zero. The first Hessian-update denominator s^T Bs is positive because B is positive definite, but the second correction yy^T/(y^T s) is a zero-over-zero expression. The inverse formula rho=1/(y^T s) is undefined as well. It is not mathematically justified to replace either division by an arbitrary finite number. A positive-definite candidate B_plus cannot satisfy the exact secant B_plus s=y=0. Multiplication by s^T would give s^T B_plus s=0, contradicting strict positive definiteness for nonzero s. Thus the problem is not merely a missing computational trick: the desired exact secant and strict curvature are incompatible for these data. An honest skip leaves B unchanged and positive definite, while recording that the new secant was not imposed. A declared modified gradient difference can define another update, but it changes the equation being fitted and needs its own positivity proof. One must not label a skipped or altered formula as satisfying the unavailable unmodified secant. A zero measured gradient difference can come from a flat direction, repeated gradients or derivative uncertainty. The data do not establish which explanation applies. The example therefore supports a precise denominator and status check rather than a hidden numerical tolerance that claims all original guarantees. The algebraic incompatibility is exact and remains even before numerical rounding is introduced.

  10. For SR1, take s=(1,0), r=(0,1). Then perturb r to (epsilon,1). Compute the update norm behavior and explain a normalized denominator safeguard.

    Show the answer and reasoning

    At epsilon=0 the SR1 denominator is zero. For nonzero epsilon, the correction is [[epsilon,1],[1,1/epsilon]] with norm (1+epsilon^2)/|epsilon|, diverging as epsilon tends to zero; the normalized safeguard rejects this regime.

    With s=(1,0) and r=(0,1), the product r^T s is zero although r is nonzero. The SR1 expression rr^T/(r^T s) is undefined. A zero residual would mean the secant was already satisfied, but that is not the present case; the nonzero residual cannot simply be relabeled as an exact successful correction. For r_epsilon=(epsilon,1) with epsilon nonzero, the denominator is epsilon and the outer product divided by it is [[epsilon,1],[1,1/epsilon]]. Its induced norm is ||r_epsilon||^2/|epsilon|=(1+epsilon^2)/|epsilon|, using the rank-one norm identity. This tends to infinity as epsilon tends to zero from either side. The normalized denominator ratio is |r_epsilon^T s|/(||r_epsilon||||s||)=|epsilon|/sqrt(1+epsilon^2), which tends to zero. Therefore a fixed positive safeguard threshold rejects all sufficiently small |epsilon|. The bound controls the correction relative to the residual and displacement; it does not guarantee a positive-definite result for other accepted SR1 data. The calculation concerns the correction itself and does not require specifying a particular starting B; one can set y=Bs+r for any symmetric B. A skipped update preserves that B while recording the unsatisfied new secant. An alternate update formula could be considered separately, but it would not make this undefined or arbitrarily amplified SR1 denominator safe by assertion.

  11. For H=0, g=(3,4) and trust radius Delta=2, find the exact model minimizer, predicted decrease and a multiplier satisfying the stated sufficient certificate.

    Show the answer and reasoning

    p=(-6/5,-8/5), model value -10 and predicted decrease 10. Lambda=5/2 gives the sufficient trust-region certificate.

    The gradient norm is sqrt(3^2+4^2)=5. With H=0 the model is q(p)=g^T p. Cauchy-Schwarz gives q(p)>=-||g||||p||>=-5*2=-10 for every feasible point. Equality requires the radius-two vector directly opposite g, hence p=-2g/5=(-6/5,-8/5), which has norm exactly two. Substitution gives q=3*(-6/5)+4*(-8/5)=-(18+32)/5=-10. The model starts at q(0)=0, so its predicted decrease is ten. The negative-gradient ray solves the entire linear model on this ball; no division by ||H||=0 is needed or valid in the positive-Hessian comparison formula. Take lambda=5/2. Then (H+lambda I)p=(5/2)p=(-3,-4)=-g, the shifted Hessian is positive definite, and lambda(||p||^2-Delta^2)=0. All conditions of the sufficient trust-region certificate hold. The equality case of Cauchy-Schwarz also proves the minimizing vector is unique. The general Cauchy lower bound with its factor one half is conservative in this zero-Hessian case; the exact linear calculation gives the full G Delta=10. This is a model result for the declared Euclidean ball. Without a nonlinear objective and an error estimate, it cannot certify that an actual trial lowers that objective by the same amount.

  12. For residual r(x)=(x,x^2-1), derive the scalar Gauss-Newton iteration near zero. Check J(0) rank, the nonzero residual, the objective Hessian and the derivative of the iteration map. Explain why the zero-residual theorem does not apply.

    Show the answer and reasoning

    The iteration is x_next=2x(1+x^2)/(1+4x^2), with derivative 2 at zero. J(0) has full rank but residual (0,-1) is nonzero and the objective Hessian is -1, so zero is a local maximum and the zero-residual theorem is inapplicable.

    The Jacobian column is J=(1,2x), so J^T J=1+4x^2>0 at every real x, including zero. The objective gradient is J^T r=x+2x(x^2-1)=2x^3-x. Thus p=-(2x^3-x)/(1+4x^2), and adding this step to x gives x_next=(2x+2x^3)/(1+4x^2). No rank deficiency is responsible for the behavior near zero. At zero, the iteration map is zero and its derivative is two. More explicitly, its multiplier relative to nonzero x is 2(1+x^2)/(1+4x^2)>1 whenever x^2<1/2. Therefore nonzero points sufficiently close to zero move away from that fixed point. A map derivative with magnitude two does not support local convergence toward zero. The objective expands to f=(x^4-x^2+1)/2, with Hessian 6x^2-1 and hence value -1 at zero. The residual there is (0,-1). The Gauss-Newton part J^T J=1 is positive, but the residual-curvature term is -2, producing the negative exact Hessian. Zero is a strict local maximum even though the normal-equation matrix has full column rank. The missing hypothesis of the stated local quadratic Gauss-Newton theorem is zero residual, not Jacobian rank. At the exact maximum the gradient is zero and the step is zero, so a gradient-root stop could still occur. At nearby nonstationary points the descent direction moves away from this maximum, which is consistent with the descent theorem. The example does not assert an unproved global trajectory or rate toward another minimizing point.

  13. For r(x)=x-1 at x=0, compute the LM step for lambda>0 and its limit as lambda tends to infinity. Does an arbitrarily small step imply an arbitrarily small gradient?

    Show the answer and reasoning

    p=1/(1+lambda) tends to zero as lambda grows, while the starting gradient remains -1. A small damped step alone does not imply stationarity.

    At x=0, the scalar residual is -1, J=1 and g=-1. The LM equation is (1+lambda)p=1, so p=1/(1+lambda). Every positive lambda gives a positive step below one and a negative initial directional slope g*p=-1/(1+lambda). The direction is descent, but its magnitude is controlled by the chosen regularization. At the new point, r=p-1=-lambda/(1+lambda), so the objective is lambda^2/[2(1+lambda)^2]. It is below the initial 1/2 for every finite positive lambda. As lambda tends to infinity, however, p tends to zero and the new objective tends back to 1/2, giving arbitrarily little improvement. The starting gradient has absolute value one for every value of lambda in this comparison. Thus no implication from ||p|| small to ||g|| small is available without a bound on the matrix scaling and step policy. The inequality ||p||<=||g||/lambda explains why this is possible; it is an upper bound on the step, not an upper bound on the gradient. The exact global minimum of this simple residual objective is x=1, with zero residual. A regularization parameter can produce a mathematically safe direction while delaying progress toward that point. A complete adaptive method needs an acceptance and parameter-update rule, and a termination report should distinguish a small step caused by large damping from a verified stationarity measure.

  14. For f(x)=-2x^3-(3/2)x^2+x, x_old=0, p_old=-1 and alpha=1, compute both gradients and test Armijo c1=1/4. Form the Fletcher-Reeves next direction and its slope. Explain why a strong-Wolfe condition, rather than decrease alone, matters.

    Show the answer and reasoning

    The trial passes Armijo: f changes from 0 to -1/2. Gradients are 1 and -2, beta_FR=4 and p_new=-2, giving positive slope 4. The strong-Wolfe inequality fails.

    The derivative of f=-2x^3-(3/2)x^2+x is -6x^2-3x+1. At x_old=0, f=0 and g_old=1. With p_old=-1 and alpha=1, the new point is -1, where f=2-3/2-1=-1/2 and g_new=-6+3+1=-2. The old directional slope is -1. Armijo with c1=1/4 asks for f_new<=0-1/4, so the actual value -1/2 passes. The strong-curvature magnitude at the new point is |g_new*p_old|=2, whereas c2|g_old*p_old|=c2<1 for any usual c2<1. Thus this accepted decrease does not meet strong Wolfe, and in particular not the c2<1/2 hypothesis of the Fletcher-Reeves descent proof. The Fletcher-Reeves coefficient is g_new^2/g_old^2=4. The new direction is -g_new+beta*p_old=2-4=-2. Its new slope is g_new*p_new=(-2)(-2)=4>0, an ascent direction. Merely keeping the old descent direction in the formula with a positive beta does not ensure the combination remains descent. Weak Wolfe alone actually holds here, since g_new*p_old=2 is at least -c2. The curvature product for BFGS is also positive: s=-1, y=-3 and s*y=3. These facts are compatible because the BFGS and Fletcher-Reeves positivity arguments require different inequalities. Along this descent ray the cubic eventually rises, so a valid strong-Wolfe step can exist elsewhere; the particular Armijo-only accepted trial is the failure case.

  15. Minimize f(x)=x subject to c(x)=x^2=0. Determine the feasible set and local minimum, check LICQ and test whether an equality KKT multiplier exists.

    Show the answer and reasoning

    The feasible set is {0}, so zero is a minimum. LICQ fails because c_prime(0)=0, and no finite equality multiplier solves 1+lambda*0=0.

    The equality x^2=0 is equivalent over R to x=0. There is exactly one feasible point, so it minimizes f=x over that feasible set. The unconstrained derivative of the objective at zero is one, but no nonzero nearby feasible direction exists. A free-direction stationarity test is therefore not applicable to this singleton geometry. The constraint derivative is c_prime(x)=2x, hence zero at the point. A single equality row with zero derivative does not have full row rank, so LICQ fails. The linearized equality imposes no restriction on d, while the actual feasible set has only the zero tangent direction. This mismatch explains the role of a regularity hypothesis. The equality KKT stationarity equation would be f_prime(0)+lambda c_prime(0)=1+lambda*0=0, which is impossible for every finite real lambda. Thus a genuine constrained minimum can lack the stated multipliers when the qualification is removed. Introducing an infinite multiplier is not a solution of the finite-dimensional KKT system. The example does not say every rank failure prevents multipliers; it proves that their existence cannot be guaranteed without an applicable qualification. A different objective on the same singleton could have zero derivative and satisfy stationarity. Feasibility, minimum existence, constraint regularity and multiplier existence must therefore be recorded as separate facts rather than inferred from a single solved-status label.

  16. For minimizing f(x)=x on x>=0, write h=-x<=0, compute the KKT multiplier and critical cone at zero, and verify local quadratic growth despite a zero Hessian.

    Show the answer and reasoning

    Mu=1, the critical cone is {0}, and x>=x^2 on [0,1] proves local quadratic growth. A zero ambient Hessian is compatible with a strict boundary minimum.

    Write h(x)=-x<=0. At zero, g=1 and h_prime=-1. Stationarity gives 1-mu=0, so mu=1, which is nonnegative; feasibility and complementarity also hold. The single active gradient is nonzero, so LICQ is satisfied. The raw objective gradient remains one, as is allowed at a constrained boundary minimum. The linearized feasible directions satisfy -d<=0, or d>=0. The critical condition g*d=0 then forces d=0. Hence the critical cone has no nonzero direction, and positivity of the Lagrangian Hessian on every nonzero critical direction is vacuously satisfied. The zero Hessian does not contradict that cone-specific sufficient condition. Directly, f(x)-f(0)=x>0 for every feasible nonzero x. On the neighborhood 0<=x<=1, one has x>=x^2=|x-0|^2, giving a local quadratic-growth constant one. The first-order positive boundary slope is stronger than the needed quadratic lower increase on that interval. This is relative growth over the feasible set, not a claim that zero minimizes the objective over all of R. It demonstrates why an unconstrained positive-definite Hessian test is unnecessarily strong for this boundary problem. In other active-set configurations, zero-price inequalities can permit nonzero one-sided critical directions, so one must form the actual critical cone rather than assume every active inequality behaves as an equality.

  17. Let H=diag(1,100), g=(1,1) and Newton-equation residual r=(6/5,0). Check ||r||<=(9/10)||g||, compute p from Hp=-g+r and test g^T p. Does a forcing factor below one alone guarantee descent?

    Show the answer and reasoning

    The relative residual bound holds, but p=(1/5,-1/100) has slope 19/100>0. A forcing factor below one alone does not guarantee descent for an ill-conditioned positive-definite Hessian.

    The gradient norm squared is two. The residual norm squared is 36/25=72/50, while (9/10)^2||g||^2=81/50. Thus ||r||<=(9/10)||g|| is satisfied exactly, with room to spare. The actual relative ratio is 6/(5sqrt(2)), below 9/10, rather than an accidentally violated tolerance. The right side of Hp=-g+r is (-1,-1)+(6/5,0)=(1/5,-1). With H=diag(1,100), the solution is p=(1/5,-1/100). Its slope is g^T p=1/5-1/100=19/100>0. The residual recomputed as Hp+g is exactly (6/5,0), so the ascent conclusion does not come from an incorrect solve. The Hessian is positive definite, with m=1 and M_upper=100. The stated sufficient descent condition is eta<m/M_upper=1/100, which the chosen 9/10 does not meet. That bound is sufficient rather than necessary, but this concrete example shows why replacing it by the universal eta<1 would be false. The residual can be small relative to the Euclidean gradient norm while its contribution is amplified in a weak-curvature direction by H^{-1}. A minimum-based exact Newton direction would be descent, whereas this inexact direction is not. Conditioning-aware residual control, a direct direction test or a declared safeguard can address that issue; a bare linear-solver tolerance is not itself an optimization certificate.

  18. For f(x)=3x^4+4x^3-12x^2, compare stationarity, curvature and objective at x=1 and x=-2. Give a concrete lower bound on the global gap at the strict local minimum x=1.

    Show the answer and reasoning

    At x=1, f=-5, f_prime=0 and f_doubleprime=36; at x=-2, f=-32, f_prime=0 and f_doubleprime=72. Both are strict local minima, and the global gap at x=1 is exactly 27.

    Differentiate to get f_prime=12x^3+12x^2-24x=12x(x-1)(x+2), and f_doubleprime=36x^2+24x-24. The points one and minus two are both stationary. Their second derivatives are 36 and 72 respectively, positive in both cases, so each is a strict local minimum by the interior second-order sufficient test. The values are f(1)=3+4-12=-5 and f(-2)=48-32-48=-32. A feasible point with value -32 already proves the global suboptimality at x=1 is at least (-5)-(-32)=27. This lower bound on the gap requires no claim yet that minus two is the global minimizer. In fact the positive leading quartic coefficient makes f tend to positive infinity at both ends, so a global minimum exists. Its derivative must vanish, and the complete stationary list from the factorization is {-2,0,1}. Their values are -32,0,-5; hence minus two is the unique global minimizer and the gap at one is exactly 27. The Hessian at zero is -24, consistent with a local maximum between the minima. Thus even exact zero gradient and strictly positive local curvature do not certify a small global objective gap for a nonconvex function. The function is not globally convex, as its negative curvature at zero also confirms. Approximate derivative tolerances can transfer local stationarity evidence with error allowances, but cannot supply the missing global structure or turn the higher local minimum into a global one.

What to carry forward

  • A zero gradient is a local first-order condition. Positive curvature can certify a strict local minimum, while a global objective gap needs more structure or a separate bound.
  • Armijo decrease and Wolfe curvature serve different purposes. Finite backtracking, positive secant curvature and gradient summability each need their own premises.
  • Exact Newton can approach a nonsingular stationary root quadratically even when the root is a saddle. Positive-definite modification ensures descent but does not automatically preserve that rate.
  • BFGS positivity requires positive secant curvature. Inverse updates must satisfy the matching secant, and an SR1 safeguard controls a denominator without ensuring positive definiteness.
  • A trust-region multiplier can certify a global minimum of the quadratic model, including singular cases. Model optimality and actual nonlinear reduction remain different questions.
  • Least squares retains residual curvature in its true Hessian. Full-rank Gauss–Newton is descent, zero-residual local rates are conditional, and strong damping can hide stationarity behind a small step.
  • Nonlinear constraints require the actual Jacobian, multiplier signs and Lagrangian reduced Hessian. An SQP step solves a linearized model, and adequate merit penalties need their stated curvature bounds.
  • Coordinate units, forcing residuals and derivative errors change what a numerical certificate means. A known local error allowance does not prove a global optimum or that the mathematical model describes the real system.

References

Sources for the concepts and teaching approaches in this article.

  1. Virginia Tech course-hosted optimisation lecture notes9 sources
    1. Local first- and second-order testsVirginia Tech course-hosted optimisation lecture notesPrimary · PDFpersonal.math.vt.eduRead source
    2. Armijo, Wolfe and descent anglesVirginia Tech course-hosted optimisation lecture notesPrimary · PDFpersonal.math.vt.eduRead source
    3. Local Newton and quasi-Newton estimatesVirginia Tech course-hosted optimisation lecture notesPrimary · PDFpersonal.math.vt.eduRead source
    4. Trust-region models and Cauchy decreaseVirginia Tech course-hosted optimisation lecture notesPrimary · PDFpersonal.math.vt.eduRead source
    5. Fletcher–Reeves direction boundsVirginia Tech course-hosted optimisation lecture notesPrimary · PDFpersonal.math.vt.eduRead source
    6. BFGS, inverse updates and SR1 safeguardsVirginia Tech course-hosted optimisation lecture notesPrimary · PDFpersonal.math.vt.eduRead source
    7. Inexact Newton forcing conditionsVirginia Tech course-hosted optimisation lecture notesPrimary · PDFpersonal.math.vt.eduRead source
    8. Nonlinear least squares and dampingVirginia Tech course-hosted optimisation lecture notesPrimary · PDFpersonal.math.vt.eduRead source
    9. Tangent directions, LICQ and critical conesVirginia Tech course-hosted optimisation lecture notesPrimary · PDFpersonal.math.vt.eduRead source
  2. Gradient descent without convexityYudong Chen, University of Wisconsin–MadisonPrimary · PDFpages.cs.wisc.eduRead source