Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

The nonlinear least-squares gradient and Hessian formulas

Statement

Let n,m≥1, let U⊆Rn be open, and let r=(r1,…,rm)T:U→Rm be of class C2 (each component has continuous partial derivatives through order two, as in Ck maps and multi-index derivative notation in Euclidean space). Define ϕ(x):=12∑i=1mri(x)2=12∥r(x)∥22, and let J(x)∈Rm×n be the Jacobian with ith row ∇ri(x)T. Then ϕ is of class C2 and ∇ϕ(x)=J(x)Tr(x),∇2ϕ(x)=J(x)TJ(x)+∑i=1mri(x)∇2ri(x).

The second term in the Hessian is the residual-curvature term. It vanishes when r(x)=0, but need not vanish at a nonzero-residual stationary point.

Facts & Assumptions

Given: The open set U, the C2 residual components ri, and the definitions of ϕ, J, and the Hessian in the Statement.

[F1]

Ck maps and multi-index derivative notation in Euclidean space: class C2 means each ordered iterated coordinate partial through order two exists and is continuous.

[F2]

The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: Jij=∂jri, and the gradient of a scalar field is the vector of its first partial derivatives.

[F3]

The Hessian matrix and critical points of a scalar field: the Hessian entries are ∂k∂jϕ in the standard coordinates.

[F4]

If all partial derivatives exist on a neighbourhood and are continuous at a point, then the map is totally differentiable there with Jacobian derivative: if the partial derivatives of a map exist on a neighborhood and are continuous at a point, the map is totally differentiable there with its Jacobian as derivative.

[F5]

The chain rule for total derivatives: D(g∘f)(a)=Dg(f(a))∘Df(a): the derivative of a differentiable composition is the composition of the derivatives.

[F8]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: the Euclidean inner product is the standard dot product and ∥v∥22=⟨v,v⟩.

Proof

1.1givenF1F2F4F8algebra

Fix x∈U. By [F1] each component partial of ri exists on a neighborhood and is continuous at x, so [F4] makes ri totally differentiable there with derivative row ∇ri(x)T. For h→0 with x+h∈U, let δi(h):=ri(x+h)−ri(x)=∇ri(x)Th+o(∥h∥2); in particular δi(h)=O(∥h∥2). Expanding each square yields ϕ(x+h)−ϕ(x)=∑iri(x)δi(h)+12∑iδi(h)2=(J(x)Tr(x))Th+o(∥h∥2), because the sum is finite and each squared increment is O(∥h∥22). Thus Dϕ(x)[h]=(J(x)Tr(x))Th, so the gradient is J(x)Tr(x).

2.1step 1.1F1F2F3F5F6algebra

For coordinates j,k, step 1.1 gives ∂jϕ=∑iri∂jri. Restrict each factor to the coordinate line x+tek and apply the product rule [F6]; the chain rule [F5] identifies the derivatives of the restrictions with the corresponding partial derivatives. Therefore ∂k∂jϕ(x)=∑i(∂kri(x))(∂jri(x))+∑iri(x)∂k∂jri(x). The first matrix has entries (JTJ)kj and the second is ∑iri∇2ri, proving the Hessian identity.

3.1F1F7step 1.1step 2.1algebra∎

By [F1], each ri and its first and second partials are continuous on U. To justify continuity of their algebraic combinations on this multivariable domain directly, let u,v:U→R be continuous at x. Near x, ∣u(y)∣≤∣u(x)∣+1, and ∣u(y)v(y)−u(x)v(x)∣≤(∣u(x)∣+1)∣v(y)−v(x)∣+∣v(x)∣∣u(y)−u(x)∣. The right side tends to zero as y→x; likewise the difference of a finite sum is bounded by the sum of the absolute differences. These estimates prove the needed sum and product continuity on U, extending the real-domain conclusion of [F7] without applying that theorem outside its domain. They show that ϕ and the first and second partials displayed in steps 1.1 and 2.1 are continuous. Thus ϕ is C2 by [F1].

Depends on

Used by

Dependency tree · two levels

49 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources