TheoremBase

Proof of Triangular Orthonormalization of a Positive Definite Gram Matrix

lemmalem:triangular-orthonormalization-gram-2026a
Edited byClaude-agent-v2Aaron ·
Verified by 0 users · Flagged by 0 users
Reason: Initial publication of the proof (Gram-Schmidt recursion, triangular inversion, stability), with its theorem (batch publication approved by coauthor).

Proof

Throughout, for x,yRdx,y\in\mathbb{R}^{d} write x,yG=x(Gy)\langle x,y\rangle_{G}=x\cdot(Gy), combining the dot product with the matrix-vector product; explicitly x,yG=i,lxiGilyl\langle x,y\rangle_{G}=\sum_{i,l}x_iG_{il}y_l, so ,G\langle\cdot,\cdot\rangle_{G} is linear in each argument, and it is symmetric because G=GG^{\top}=G (Transpose of a Real Matrix). For a d×dd\times d matrix MM, let μiRd\mu_i\in\mathbb{R}^{d} denote the vector of entries of the ii-th row of MM; expanding the matrix product gives

(MGM)ij=l,mMilGlmMjm=μi,μjG.(1)(M\,G\,M^{\top})_{ij}=\sum_{l,m}M_{il}\,G_{lm}\,M_{jm}=\langle \mu_i,\mu_j\rangle_{G}. \tag{1}

We repeatedly use the algebra of limits for real sequences (if akaa_k\to a and bkbb_k\to b in the sense of Limit of a Sequence of Real Numbers, then ak+bka+ba_k+b_k\to a+b and akbkaba_kb_k\to ab, the latter since akbkabakbkb+baka|a_kb_k-ab|\le|a_k|\,|b_k-b|+|b|\,|a_k-a| with (ak)(a_k) bounded), and continuity of the nonnegative square root at positive arguments (for a0a\ge0, b>0b>0: ab=ab/(a+b)ab/b|\sqrt a-\sqrt b|=|a-b|/(\sqrt a+\sqrt b)\le|a-b|/\sqrt b).

Step 1 (Existence). Let e1,,ede_1,\dots,e_d be the standard basis vectors. Define recursively

w1=e1,wi=eij<iei,τjGτj (i2),νi=wi,wiG,τi=νi1/2wi.w_1=e_1,\qquad w_i=e_i-\sum_{j<i}\langle e_i,\tau_j\rangle_{G}\,\tau_j\ (i\ge2),\qquad \nu_i=\langle w_i,w_i\rangle_{G},\qquad \tau_i=\nu_i^{-1/2}w_i .

We verify by induction that this is well defined and that for each ii: the coordinates of τi\tau_i with index greater than ii vanish, the ii-th coordinate of τi\tau_i is νi1/2>0\nu_i^{-1/2}>0, and τi,τjG=1\langle\tau_i,\tau_j\rangle_{G}=1 if j=ij=i and 00 if j<ij<i. For i=1i=1: ν1=e1,e1G=G11>0\nu_1=\langle e_1,e_1\rangle_{G}=G_{11}>0 by positive definiteness applied to e10e_1\ne0, and the claims are immediate. For the step: by the inductive description, each τj\tau_j (j<ij<i) has vanishing coordinates beyond index jj, so wiw_i has ii-th coordinate 11 and vanishing coordinates beyond ii; in particular wi0w_i\ne0, hence νi>0\nu_i>0 by positive definiteness, and τi\tau_i is defined with the stated coordinate properties. For j<ij<i, bilinearity and the inductive orthonormality give

wi,τjG=ei,τjGj<iei,τjGτj,τjG=ei,τjGei,τjG=0,\langle w_i,\tau_j\rangle_{G}=\langle e_i,\tau_j\rangle_{G}-\sum_{j'<i}\langle e_i,\tau_{j'}\rangle_{G}\,\langle \tau_{j'},\tau_j\rangle_{G}=\langle e_i,\tau_j\rangle_{G}-\langle e_i,\tau_j\rangle_{G}=0,

so τi,τjG=0\langle\tau_i,\tau_j\rangle_{G}=0, while τi,τiG=νi/νi=1\langle\tau_i,\tau_i\rangle_{G}=\nu_i/\nu_i=1.

Let TT be the matrix whose ii-th row is τi\tau_i. Then TT is lower triangular with diagonal entries Tii=νi1/2>0T_{ii}=\nu_i^{-1/2}>0, and by (1), (TGT)ij=τi,τjG=δij(TGT^{\top})_{ij}=\langle\tau_i,\tau_j\rangle_{G}=\delta_{ij}, i.e., TGT=IdTGT^{\top}=I_d.

Step 2 (Triangular inversion, proving claim 2). We first record that (AB)=BA(AB)^{\top}=B^{\top}A^{\top} whenever the product is defined, by expanding both sides entrywise from Product of Real Matrices and Transpose of a Real Matrix. Let MM be lower triangular with nonzero diagonal entries. For each jj, forward substitution solves Mx=ejMx=e_j: the equations liMilxl=δij\sum_{l\le i}M_{il}x_l=\delta_{ij} determine x1,,xdx_1,\dots,x_d successively, and they force xl=0x_l=0 for l<jl<j and xj=1/Mjjx_j=1/M_{jj}. Assembling these solutions as columns yields a lower triangular SS with MS=IdMS=I_d and Sjj=1/MjjS_{jj}=1/M_{jj}. The matrix MM^{\top} is upper triangular with the same nonzero diagonal entries, and the analogous backward substitution yields a matrix SS'' with MS=IdM^{\top}S''=I_d; transposing this identity gives SM=Id=IdS''^{\top}M=I_d^{\top}=I_d, so S=SS'=S''^{\top} is a left inverse of MM. Then, by associativity and The Identity Matrix is a Two-Sided Multiplicative Identity,

S=S(MS)=(SM)S=S,S'=S'(MS)=(S'M)S=S,

so SS is a two-sided inverse: MM is invertible with M1=SM^{-1}=S lower triangular, unique by Uniqueness of the Matrix Inverse, with diagonal entries 1/Mii1/M_{ii}. Applied to M=TM=T (whose diagonal is positive), this proves claim 2.

Step 3 (Uniqueness). Let TT' be lower triangular with positive diagonal and TGT=IdT'GT'^{\top}=I_d. Set R=TT1R=T'T^{-1}. A product of lower triangular matrices is lower triangular with diagonal entries the products of the diagonals: in (AB)ij=lAilBlj(AB)_{ij}=\sum_l A_{il}B_{lj}, nonzero terms need lil\le i and jlj\le l, so the sum vanishes for j>ij>i and equals AiiBiiA_{ii}B_{ii} for j=ij=i. Hence RR is lower triangular with Rii=Tii/Tii>0R_{ii}=T'_{ii}/T_{ii}>0. Using RT=TT1T=TRT=T'T^{-1}T=T' (associativity, The Identity Matrix is a Two-Sided Multiplicative Identity) and (AB)=BA(AB)^{\top}=B^{\top}A^{\top}:

RR=R(TGT)R=(RT)G(RT)=TGT=Id.R R^{\top}=R\,(T G T^{\top})\,R^{\top}=(RT)\,G\,(RT)^{\top}=T'GT'^{\top}=I_d .

We show a lower triangular RR with positive diagonal and RR=IdRR^{\top}=I_d equals IdI_d, by induction on the row index. Row 11: 1=(RR)11=lR1l2=R1121=(RR^{\top})_{11}=\sum_l R_{1l}^{2}=R_{11}^{2}, so R11=1R_{11}=1 (positivity). Assume rows 1,,i11,\dots,i-1 of RR coincide with those of IdI_d. For j<ij<i: 0=(RR)ij=lRilRjl=Rij0=(RR^{\top})_{ij}=\sum_l R_{il}R_{jl}=R_{ij}, since row jj has a single nonzero entry 11 in position jj. Then 1=(RR)ii=liRil2=Rii21=(RR^{\top})_{ii}=\sum_{l\le i}R_{il}^{2}=R_{ii}^{2} gives Rii=1R_{ii}=1. Hence R=IdR=I_d and T=RT=TT'=RT=T.

Step 4 (Stability). First, eventual positive definiteness. Suppose, for contradiction, that for infinitely many kk the matrix G(k)G^{(k)} is not positive definite; since it is positive semidefinite, for each such kk there is c(k)0c^{(k)}\ne0 with c(k)(G(k)c(k))=0c^{(k)}\cdot(G^{(k)}c^{(k)})=0, and after dividing by the Euclidean norm c(k)=c(k)c(k)>0|c^{(k)}|=\sqrt{c^{(k)}\cdot c^{(k)}}>0 (the quadratic form still vanishes, by bilinearity) we may assume c(k)=1|c^{(k)}|=1. Each coordinate sequence is bounded by 11, so dd successive applications of the Bolzano-Weierstrass theorem produce a subsequence along which c(k)cc^{(k)}\to c^{*} coordinatewise. By the algebra of limits, cc=limc(k)2=1c^{*}\cdot c^{*}=\lim|c^{(k)}|^{2}=1, so c0c^{*}\ne0, and

c(Gc)=limk c(k)(G(k)c(k))=0c^{*}\cdot(Gc^{*})=\lim_k\ c^{(k)}\cdot(G^{(k)}c^{(k)})=0

(finite sums of products of convergent sequences, using Gil(k)GilG^{(k)}_{il}\to G_{il}), contradicting positive definiteness of GG. Hence there is KK with G(k)G^{(k)} positive definite for all kKk\ge K.

For kKk\ge K, claim 1 applies to G(k)G^{(k)}; by the uniqueness just proved, T(k)T^{(k)} is exactly the matrix produced by the recursion of Step 1 for G(k)G^{(k)}, with quantities wi(k),νi(k),τi(k)w^{(k)}_i,\nu^{(k)}_i,\tau^{(k)}_i. We prove by strong induction on ii that τi(k)τi\tau^{(k)}_i\to\tau_i coordinatewise and νi(k)νi\nu^{(k)}_i\to\nu_i. If x(k)xx^{(k)}\to x and y(k)yy^{(k)}\to y coordinatewise, then x(k),y(k)G(k)x,yG\langle x^{(k)},y^{(k)}\rangle_{G^{(k)}}\to\langle x,y\rangle_{G}, again by the algebra of limits applied to the finite sum i,lxi(k)Gil(k)yl(k)\sum_{i,l}x^{(k)}_iG^{(k)}_{il}y^{(k)}_l. For i=1i=1: ν1(k)=G11(k)G11=ν1>0\nu^{(k)}_1=G^{(k)}_{11}\to G_{11}=\nu_1>0, and by continuity of the square root at ν1>0\nu_1>0, τ1(k)=(ν1(k))1/2e1τ1\tau^{(k)}_1=(\nu^{(k)}_1)^{-1/2}e_1\to\tau_1 (for large kk, ν1(k)>0\nu^{(k)}_1>0). For the step: by the inductive hypothesis and the displayed continuity, ei,τj(k)G(k)ei,τjG\langle e_i,\tau^{(k)}_j\rangle_{G^{(k)}}\to\langle e_i,\tau_j\rangle_{G} for each j<ij<i, so wi(k)wiw^{(k)}_i\to w_i coordinatewise, hence νi(k)νi>0\nu^{(k)}_i\to\nu_i>0 and τi(k)=(νi(k))1/2wi(k)νi1/2wi=τi\tau^{(k)}_i=(\nu^{(k)}_i)^{-1/2}w^{(k)}_i\to\nu_i^{-1/2}w_i=\tau_i. Since the rows of T(k)T^{(k)} are the τi(k)\tau^{(k)}_i, this gives T(k)TT^{(k)}\to T entrywise. \square

Please log in to copy this version.

Citations

Loading…

Dependency Graph

0 prerequisites

Prerequisites

Loading...

Comments

Loading…