Minimizing a nonnegative quadratic form [fdip-00KA]
✍️sourceAGENTDRAFTED
- November 10, 2026
Minimizing a nonnegative quadratic form [fdip-00KA]
✍️sourceAGENTDRAFTED
- November 10, 2026
A specified positive pairing separates a retained subspace from its orthogonal complement by Lemma 3. The algebraic question is how a nonnegative quadratic form behaves as the complementary component varies over the chosen ordered field.
Discussion 1. Comparing energies when elimination is singular [fdip-00KB]AGENTDRAFTED
- November 10, 2026
Discussion 1. Comparing energies when elimination is singular [fdip-00KB]AGENTDRAFTED
- November 10, 2026
The real Schur calculation in Proposition [fdip-001Y] eliminates a strictly positive component by inverting it. A nonnegative quadratic form can instead have an eliminated direction of zero energy, for which that inverse is unavailable. Fix a finite-dimensional vector space over an ordered field and a positive symmetric pairing. How can we compare its quadratic energies and describe what remains on a chosen subspace?
Definition 2. Loewner comparison over an ordered field [fdip-00K1]AGENTDRAFTED
- November 10, 2026
Definition 2. Loewner comparison over an ordered field [fdip-00K1]AGENTDRAFTED
- November 10, 2026
Let \(F\) be an ordered field: its total order is compatible with addition and multiplication of nonnegative elements. Let \(V\) be a finite-dimensional \(F\)-vector space with a specified symmetric bilinear form \(h\) satisfying \(h(v,v)>0\) for every \(v\ne 0\). An endomorphism \(A:V\to V\) is self-adjoint for \(h\) when \[h(Av,w)=h(v,Aw)\qquad (v,w\in V).\] This pairing equation specifies the condition directly; Lemma 3 establishes the perfect duality that represents adjoints in this setting. Write \(q_A(v)=h(v,Av)\).
A self-adjoint \(A\) is a nonnegative operator, written \(A\geq 0\), when \(q_A(v)\geq 0\) for every \(v\). It is a positive-definite operator, written \(A>0\), when \(q_A(v)>0\) for every nonzero \(v\). For self-adjoint \(A,B\), the Loewner order is the comparison \[A\leq B\quad \Longleftrightarrow \quad h(v,(B-A)v)\geq 0\quad \text {for every }v\in V.\] The partial-order axioms, in the sense of ordered sets, are proved in Lemma 4.
This is the operator form of symmetry and diagonal nonnegativity
in Mathlib's LinearMap.IsPosSemidef, applied to
\((v,w)\mapsto h(v,Aw)\) with the identity scalar homomorphism.
That definition supplies the form-level condition; the specified
pairing identifies the form with the operator.
Lemma 3. Orthogonal projections from a positive pairing [fdip-00K2]AGENTDRAFTED
- November 10, 2026
Lemma 3. Orthogonal projections from a positive pairing [fdip-00K2]AGENTDRAFTED
- November 10, 2026
Let \(V\) be finite-dimensional over an ordered field \(F\), with the positive symmetric pairing \(h\) of the Loewner comparison. For every subspace \(K\), the restriction \(h_K\) is a perfect symmetric pairing. If \(\iota _K:K\to V\) is inclusion, there is a unique linear map \(p_K:V\to K\) such that \[h_K(k,p_Kv)=h(\iota _Kk,v)\qquad (k\in K,\ v\in V).\] It satisfies \(p_K\iota _K=\mathbb {I}_K\), and \[V=\iota _K(K)\oplus K^\perp ,\qquad K^\perp =\{v:h(\iota _Kk,v)=0\text { for every }k\in K\}.\] For the adjoints defined by these pairings, \(\iota _K^\dagger =p_K\) and \(p_K^\dagger =\iota _K\).
Proof.
- November 10, 2026
Proof.
- November 10, 2026
The currying map \(\Phi _K:K\to K^\vee \), \(\Phi _K(y)(k)=h_K(k,y)\), is linear. If \(\Phi _K(y)=0\), then \(h_K(y,y)=0\), so \(y=0\). The dual and \(K\) have the same finite dimension; hence this injective map is bijective. Thus \(h_K\) is perfect.
For each \(v\), represent the functional \(k\mapsto h(\iota _Kk,v)\) by its unique vector \(p_Kv\). Bilinearity and uniqueness give linearity of \(p_K\). For \(v=\iota _Ky\), that representative is \(y\), so \(p_K\iota _K=\mathbb {I}_K\). The defining equation gives \(v-\iota _Kp_Kv\in K^\perp \). An element of \(\iota _K(K)\cap K^\perp \) pairs to zero with itself and therefore vanishes. This proves the direct sum and uniqueness of the projection. Applying the same argument with \(K=V\) also proves perfection of \(h\). The displayed pairing identity and Proposition [fdip-001P] then give \(\iota _K^\dagger =p_K\); double adjunction gives the other identity.
When \(K=0\), the projection is zero and \(K^\perp =V\); when \(K=V\), it is the identity and \(K^\perp =0\). The argument uses finite-dimensional duality over \(F\), so it requires no square roots or orthonormal basis.
The orthogonal-complement ingredient is formalized in
LinearMap.BilinForm.isCompl_orthogonal_of_restrict_nondegenerate:
a reflexive form over a field, a finite-dimensional ambient space
and a nondegenerate restriction give complementary subspaces.
The proof above establishes that restriction hypothesis from
positivity and constructs the projection with its adjoint identities.
Lemma 4. Zero energy and the radical [fdip-00K3]AGENTDRAFTED
- November 10, 2026
Lemma 4. Zero energy and the radical [fdip-00K3]AGENTDRAFTED
- November 10, 2026
Let \(V\) be a finite-dimensional vector space over an ordered field \(F\), and let \(B:V\times V\to F\) be symmetric bilinear with \(B(v,v)\geq 0\) for every \(v\). Then \[B(z,z)=0\quad \Longleftrightarrow \quad B(z,v)=0\quad \text {for every }v.\] The space on the right is the radical of \(B\). For a nonnegative self-adjoint operator \(A\) and its specified positive pairing \(h\), this becomes \[q_A(z)=0\quad \Longleftrightarrow \quad Az=0.\] The Loewner comparison on the self-adjoint endomorphisms is a partial order.
Proof.
- November 10, 2026
Proof.
- November 10, 2026
Suppose \(B(z,z)=0\). For fixed \(v\), put \(e=B(z,v)\) and \(d=B(v,v)\geq 0\). Bilinearity and symmetry give \[0\leq B(z+tv,z+tv)=2te+t^2d\qquad (t\in F).\] If \(e\ne 0\) and \(d>0\), choose \(t=-e/d\); the right side is \(-e^2/d<0\). If \(e\ne 0\) and \(d=0\), choose \(t=-e\); it is \(-2e^2<0\). Both contradict nonnegativity, so \(e=0\). The reverse implication follows by taking \(v=z\). These scalar choices use only the ordered-field axioms.
For \(B(v,w)=h(v,Aw)\), self-adjointness gives symmetry and \(A\geq 0\) gives nonnegativity. The first conclusion says that \(q_A(z)=0\) exactly when \(h(v,Az)=0\) for every \(v\). The positive pairing is nondegenerate, so this is equivalent to \(Az=0\).
The zero operator is nonnegative, proving reflexivity. Sums of nonnegative self-adjoint operators are nonnegative, proving transitivity. For antisymmetry, suppose \(A\leq C\) and \(C\leq A\). Then \(D=C-A\) and \(-D\) are nonnegative, hence \(q_D(v)=0\) for every \(v\). The kernel conclusion gives \(Dv=0\) for every \(v\), so \(A=C\).
Mathlib's
LinearMap.BilinForm.apply_apply_same_eq_zero_iff
proves the form-level radical equivalence for a symmetric
nonnegative bilinear form over its strictly ordered commutative-ring
setting. The operator conclusion additionally uses the specified
nondegenerate pairing, as proved above.
Example 5. A rational pairing with a zero-energy direction [fdip-00K4]AGENTDRAFTED
- November 10, 2026
Example 5. A rational pairing with a zero-energy direction [fdip-00K4]AGENTDRAFTED
- November 10, 2026
Over \(\mathbb Q\), choose the standard coordinate basis \(e_1,e_2,e_3\) of \(V=\mathbb Q^3\). Specify \[\begin {aligned} h(v,w)&=2v_1w_1+3v_2w_2+5v_3w_3,\\ A(x,y,z)&=(2x+\tfrac 32y,\ x+y,\ 0). \end {aligned}\] The pairing is positive definite: all three coefficients are positive, and a nonzero vector has a nonzero coordinate. In these chosen coordinates its matrix and the operator matrix are \[H=\operatorname {diag}(2,3,5),\qquad [A]=\begin {pmatrix}2&3/2&0\\1&1&0\\0&0&0\end {pmatrix}.\] The product \[H[A]=\begin {pmatrix}4&3&0\\3&3&0\\0&0&0\end {pmatrix}\] is symmetric, which verifies the self-adjointness condition of Proposition [fdip-001P] for \(h\). Direct calculation gives \[q_A(x,y,z)=4x^2+6xy+3y^2=x^2+3(x+y)^2.\] Thus \(A\) is nonnegative. Zero energy forces \(x=0\) and \(x+y=0\), so the zero-energy space is \(\mathbb Qe_3\). The equations \(Av=0\) give the same space, as Lemma 4 predicts.
Take the retained line \(X=\mathbb Qe_1\). The orthogonal complement is \(U=\mathbb Qe_2\oplus \mathbb Qe_3\). The projections of Lemma 3, embedded back in \(V\), are \[(x,y,z)\longmapsto (x,0,0),\qquad (x,y,z)\longmapsto (0,y,z).\] Inside \(U\), the zero-energy line \(\mathbb Qe_3\) has orthogonal complement \(\mathbb Qe_2\); the restricted pairings have coefficients \(5\) and \(3\), respectively.
This positive pairing has no rational orthonormal basis. If the columns of an invertible rational matrix \(R\) formed one, then \(R^THR=\mathbb {I}\) would give \(30(\det R)^2=1\). The exponent of the prime \(2\) in a nonzero rational number is an integer. Taking that exponent would give \(1+2v_2(\det R)=0\), an impossibility. The projection construction therefore applies even when orthonormal coordinates over the stated field do not exist.
Discussion 6. A bound on the retained space [fdip-00K5]AGENTDRAFTED
- November 10, 2026
Discussion 6. A bound on the retained space [fdip-00K5]AGENTDRAFTED
- November 10, 2026
In Example 5, the eliminated plane contains a whole line of zero energy, while the retained space is the specified line \(X=\mathbb Qe_1\). The Loewner comparison allows us to ask for a nonnegative self-adjoint operator bounded by \(A\) whose values all lie in \(X\). How can we characterize a greatest operator with these properties?
Definition 7. The shorted operator along a subspace [fdip-00K6]AGENTDRAFTED
- November 10, 2026
Definition 7. The shorted operator along a subspace [fdip-00K6]AGENTDRAFTED
- November 10, 2026
Let \(V\) be finite-dimensional over an ordered field \(F\), with a specified positive symmetric pairing \(h\). For a nonnegative self-adjoint operator \(A:V\to V\) and subspace \(X\subseteq V\), put \[\begin {aligned} \mathcal C_X(A)=\{T:V\to V:\ &T\text { is self-adjoint},\\ &0\leq T\leq A,\quad \operatorname {im} T\subseteq X\}. \end {aligned}\] A shorted operator of \(A\) along \(X\) is a greatest member \(T_0\) of this set in the Loewner order: \(T_0\in \mathcal C_X(A)\) and \(T\leq T_0\) for every \(T\in \mathcal C_X(A)\). The term specifies a property if such a member exists; Theorem 10 proves existence and uniqueness in this setting.
This order-theoretic definition uses the comparison just established in Lemma 4. Its finite ordered-field realization is obtained by the minimizing-extension calculation of Proposition 9.
Remark 8. The image of an operator [fdip-00QV]AGENTDRAFTED
- November 13, 2026
Remark 8. The image of an operator [fdip-00QV]AGENTDRAFTED
- November 13, 2026
The image of an operator is \(\operatorname {im}\). Functional analysis writes \(\operatorname {Ran}\), and some texts write \(\operatorname {Im}\).
Proposition 9. Minimizing extensions across zero-energy directions [fdip-00K7]AGENTDRAFTED
- November 10, 2026
Proposition 9. Minimizing extensions across zero-energy directions [fdip-00K7]AGENTDRAFTED
- November 10, 2026
Let \(V\) be finite-dimensional over an ordered field \(F\), with positive symmetric pairing \(h\), and let \(A:V\to V\) be nonnegative and self-adjoint. For a retained subspace \(X\), put \(U=X^\perp \). Use the inclusions \(\iota _X:X\to V\), \(\iota _U:U\to V\) and orthogonal projections \(p_X:V\to X\), \(p_U:V\to U\) from Lemma 3. The split components are \[\begin {aligned} a&=p_XA\iota _X:X\to X,& b&=p_XA\iota _U:U\to X,\\ d&=p_UA\iota _X:X\to U,& c&=p_UA\iota _U:U\to U. \end {aligned}\] Let \(N=\ker c\) and let \(W=N^\perp \) inside \(U\). Write \(j:W\to U\) and \(p:U\to W\) for the orthogonal inclusion and projection. All pairings below are restrictions of \(h\).
The maps \(a,c\) are self-adjoint, \(c\geq 0\), and \(d=b^\dagger \). The compression and cross maps \[\begin {aligned} c_W&=pcj:W\to W,\\ b_W&=bj:W\to X,\qquad d_W=pd:X\to W \end {aligned}\] satisfy \(jc_W=cj\), \(jd_W=d\) and \(d_W=b_W^\dagger \). The map \(c_W\) is positive definite and invertible, including when \(W=0\). The self-adjoint retained map is \[S=a-b_Wc_W^{-1}d_W:X\to X.\] For \(x\in X\), put \(r_x=c_W^{-1}d_Wx\in W\). For \(u=jw+n\) with \(w\in W\), \(n\in N\), \[\begin {aligned} q_A(\iota _Xx+\iota _Uu) &=h_X(x,Sx)\\ &\quad +h_W(w+r_x,\ c_W(w+r_x)). \end {aligned}\] Consequently \(S\geq 0\); the minimum over \(u\in U\) is attained and equals \(h_X(x,Sx)\). The entire set of minimizing extensions is \[-jc_W^{-1}d_Wx+N\subseteq U.\] For each \(x\), it is a singleton exactly when \(N=0\).
Proof.
- November 10, 2026
Proof.
- November 10, 2026
The projection-adjoint identities and Proposition [fdip-001P] give \(a^\dagger =a\), \(c^\dagger =c\), \(d=b^\dagger \) and \(h_U(u,cu)=q_A(\iota _Uu)\geq 0\). For \(n\in N\), \(q_A(\iota _Un)=h_U(n,cn)=0\). By Lemma 4, \(A\iota _Un=0\); in particular \(bn=0\).
For \(w\in W\) and \(n\in N\), \(h_U(cjw,n)=h_U(jw,cn)=0\), so \(c\) preserves \(W\) and \(jc_W=cj\). The compression \(c_W\) is self-adjoint. If \(c_Ww=0\), then \(cjw=0\), so \(jw\in N\cap W=0\). Finite dimension makes \(c_W\) invertible. More strongly, \(h_W(w,c_Ww)=0\) implies \(cjw=0\) by Lemma 4 applied to \(c\); hence \(w=0\). Its nonnegative diagonal is therefore strictly positive at every nonzero \(w\). When \(W=0\), its unique endomorphism is the invertible identity and the strict condition is vacuous.
For \(x\in X\) and \(n\in N\), \(h_U(n,dx)=h_X(bn,x)=0\); thus \(d\) takes values in \(W\) and \(jd_W=d\). Also \[h_W(w,d_Wx)=h_U(jw,dx)=h_X(bjw,x),\] which proves \(d_W=b_W^\dagger \). The inverse of \(c_W\) is self-adjoint by Proposition [fdip-001P], so \(S\) is self-adjoint.
Write \(r=c_W^{-1}d_Wx\). Since \(A\iota _Un=0\), expansion gives \[\begin {aligned} q_A(\iota _Xx+\iota _U(jw+n)) &=h_X(x,ax)+2h_X(x,b_Ww)+h_W(w,c_Ww),\\ h_W(w+r,c_W(w+r)) &=h_W(w,c_Ww)+2h_X(x,b_Ww)\\ &\quad +h_X(x,b_Wc_W^{-1}d_Wx). \end {aligned}\] Here \(c_Wr=d_Wx\) gives both cross terms, and the adjoint identity gives the final constant. Subtracting that constant proves the displayed square completion. Positive definiteness of \(c_W\) makes its remaining term zero exactly when \(w=-r\). The component \(n\) is arbitrary, proving both attainment and the full coset. Taking \(u=-jr\) in \(q_A\geq 0\) proves \(S\geq 0\).
If \(c=0\), then \(N=U\), \(W=0\), \(b=0\), \(d=0\) and \(S=a\); every eliminated vector minimizes. If \(U=0\), the retained map is \(A\) under \(X=V\), with the unique empty extension. If \(X=0\), the minimizers are \(\ker A\) and the retained form is zero. These statements also include \(A=0\) and \(V=0\).
The real symmetric-matrix counterpart of singular square completion and its range condition is [boyd2004convex, Appendix A.5.5, p. 651], after exchanging its pivot order. The proof here establishes the stated ordered-field result directly, using the positive pairing, its algebraic projections and the radical criterion. It asserts an attained minimum in \(F\).
Theorem 10. The greatest operator supported on a retained subspace [fdip-00K8]AGENTDRAFTED
- November 10, 2026
Theorem 10. The greatest operator supported on a retained subspace [fdip-00K8]AGENTDRAFTED
- November 10, 2026
Under the hypotheses and notation of Proposition 9, the shorted operator exists and is \[T_0=\iota _XSp_X:V\to V.\] Thus \(T_0\) is the greatest self-adjoint operator satisfying \(0\leq T_0\leq A\) and \(\operatorname {im} T_0\subseteq X\). It is unique.
If the eliminated compression \(c:U\to U\) is invertible, then \(N=0\), \(W=U\), and the retained map is the split Schur map \[S=a-bc^{-1}b^\dagger .\] If \(A>0\), then \(c>0\) and \(S>0\); both are invertible. Invertibility of \(c\) alone does not imply \(S>0\).
Proof.
- November 10, 2026
Proof.
- November 10, 2026
The projection-adjoint identities give \(T_0^\dagger =\iota _XS^\dagger p_X=T_0\), and its range is contained in \(X\). On \(v=\iota _Xx+\iota _Uu\), its quadratic value is \(h(v,T_0v)=h_X(x,Sx)\geq 0\). Square completion in Proposition 9 shows that \(q_A(v)-h(v,T_0v)\geq 0\). Hence \(T_0\in \mathcal C_X(A)\).
Let \(T\in \mathcal C_X(A)\). For \(u\in U\) and \(v\in V\), self-adjointness and \(Tv\in X\) give \[h(T\iota _Uu,v)=h(\iota _Uu,Tv)=0.\] Nondegeneracy of \(h\) implies \(T\iota _Uu=0\). Consequently the quadratic value of \(T\) on \(\iota _Xx+\iota _Uu\) is its value on \(\iota _Xx\), independently of \(u\). Apply \(T\leq A\) at the minimizing extension \(u_*=-jc_W^{-1}d_Wx\): \[\begin {aligned} h(\iota _Xx,T\iota _Xx) &=h(\iota _Xx+\iota _Uu_*,T(\iota _Xx+\iota _Uu_*))\\ &\leq q_A(\iota _Xx+\iota _Uu_*)=h_X(x,Sx). \end {aligned}\] This is \(T\leq T_0\) on every split vector, so \(T_0\) is greatest. Antisymmetry from Lemma 4 proves uniqueness.
If \(c\) is invertible, its kernel is zero and the canonical identification \(W=U\) turns the construction into \(S=a-bc^{-1}d=a-bc^{-1}b^\dagger \). If \(A>0\), then for nonzero \(u\), \(h_U(u,cu)=q_A(\iota _Uu)>0\), so \(c>0\) and finite dimension makes \(c\) invertible. For nonzero \(x\), the minimizing vector \(\iota _Xx-\iota _Uc^{-1}b^\dagger x\) is nonzero, because its retained projection is \(x\). Its strictly positive energy is \(h_X(x,Sx)\); hence \(S>0\), and finite dimension again gives invertibility. The example in Example 11 shows why the hypothesis \(A>0\) cannot be replaced by invertibility of \(c\).
For \(U=0\), the result gives \(T_0=A\); for \(X=0\), it gives \(T_0=0\). If \(c=0\), it gives \(T_0=\iota _Xap_X\); if \(A=0\), it gives \(T_0=0\). On \(V=0\), all maps and all forms are the unique zero-space ones, so the same assertions apply. The range condition remains containment in \(X\), even when \(S\) has a kernel.
This greatestness statement is a deduction from Proposition 9 and the Loewner comparison; it does not require an orthonormal basis. The real strict Schur equivalence, including its converse, is proved separately in Proposition [fdip-001Y]. The real matrix minimum in [boyd2004convex, Appendix A.5.5, pp. 650-651] is consistent with this specialization; the ordered-field greatestness argument is the one given above.
Example 11. Minimizing extensions for the rational pairing [fdip-00K9]AGENTDRAFTED
- November 10, 2026
Example 11. Minimizing extensions for the rational pairing [fdip-00K9]AGENTDRAFTED
- November 10, 2026
Return to the rational pairing, operator and retained line of Example 5, with the same chosen coordinate basis. The component maps of Proposition 9 are \[\begin {aligned} a&=2,& b(y,z)&=\tfrac 32y,\\ d(x)&=(x,0),& c(y,z)&=(y,0). \end {aligned}\] Thus \(N=\mathbb Qe_3\), \(W=\mathbb Qe_2\), and the coordinate identifications \(X\simeq \mathbb Q\), \(W\simeq \mathbb Q\) give \[b_W=\tfrac 32,\qquad d_W=1,\qquad c_W=1.\] The restricted pairings have coefficients \(2\) and \(3\). Their adjoint equation is \(2x(\tfrac 32y)=3(1x)y\), so these cross maps are adjoints despite their different entries.
The retained map and quadratic minimum are \[S=2-\tfrac 32\cdot 1^{-1}\cdot 1=\tfrac 12,\qquad h_X(x,Sx)=x^2.\] The completed square is \(q_A(x,y,z)=x^2+3(y+x)^2\). For each \(x\), every minimizer has \(y=-x\), with arbitrary \(z\in \mathbb Q\); the full coset is \(-xe_2+\mathbb Qe_3\). The embedded shorted operator is \[T_0(x,y,z)=(\tfrac 12x,0,0),\qquad q_{A-T_0}(x,y,z)=3(x+y)^2.\] Its greatestness among the specified admissible operators follows from Theorem 10. The coefficient of the retained quadratic form is \(1\), although the operator entry is \(1/2\).
Extend these same formulas from \(\mathbb Q\) to \(\mathbb R\). The full eliminated space is now \(U=\mathbb Re_2\oplus \mathbb Re_3\), with induced volume \(\sqrt {15}\,\mathrm {d} y\,\mathrm {d} z\). For fixed \(x\), the weight \(\exp (-x^2/2)\exp (-3(y+x)^2/2)\) is independent of \(z\). Its integral over any fixed compact \(y\)-interval of positive length is positive and finite. Integrating also over \(-R\leq z\leq R\) therefore grows as a positive constant times \(2R\). The full \(U\)-integral is infinite, both for coordinate volume and for induced volume, even though \(S>0\) on \(X\).
Integration over \(W=\mathbb Re_2\) instead uses the induced volume \(\sqrt 3\,\mathrm {d} y\). By the one-dimensional Gaussian integral, \[\begin {aligned} &\int _W \mathrm {e}^{-q_A(\iota _Xx+\iota _Ujw)/2}\,\mathrm {d}\lambda _W(w)\\ &\qquad =\sqrt {2\pi }\,\mathrm {e}^{-x^2/2}. \end {aligned}\] Coordinate volume \(\mathrm {d} y\) gives \(\sqrt {\frac {2\pi }{3}}\,\mathrm {e}^{-x^2/2}\). These are the changed-space and volume distinctions of Proposition [fdip-0039]; the algebraic calculation over \(\mathbb Q\) has introduced no measure there.
For a separate strictness diagnostic, choose standard coordinates on \(\mathbb Q^2\), the counting pairing and the nonnegative operator \[[A]=\begin {pmatrix}1&1\\1&1\end {pmatrix},\qquad q_A(x,y)=(x+y)^2.\] Eliminating the second coordinate gives \(c=1\), \(S=0\) and the unique minimizer \(y=-x\). An invertible eliminated compression therefore need not give a strictly positive retained map.