Alphabeta Math
Pipeline-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.

15 results · all verified · 1 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 14 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Direct Matrix Factorisations: LU, Cholesky and QR

1 · Prerequisites

2 · Summary

This page collects the standard direct factorizations used to solve dense linear systems and least-squares problems. It starts with triangular substitution, then separates the exact hypotheses for unpivoted LU, block LU, and PLU with partial pivoting. The distinctions matter: unpivoted LU depends on leading principal minors, PLU exists for every square matrix, and the pivot-growth bound belongs to the floating-point stability theorem rather than to exact existence.

The Cholesky section keeps the positive-definite and positive-diagonal conventions visible. It proves existence and uniqueness exactly on Hermitian positive-definite matrices, identifies the real symmetric leading-principal-minor criterion, and records the cheaper factorization cost relative to LU.

The QR section assumes the published abstract square QR existence theorem and owns the computational constructions instead: Householder reflectors, Givens transformations, full and reduced QR, the exact structural statement for column-pivoted QR, the backward-stability statement for Householder QR, and the reduced-QR least-squares solve that avoids the condition-number square of the normal equations.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Forward and backward substitution for triangular linear systems

Definition

Let F be a field, let n1, and let bFn.

If L=(ij)Mn(F) is lower triangular with every diagonal entry ii0, the forward substitution solve of Lx=b is the recursive construction

xi:=1ii(bij<iijxj)(0i<n).If U=(uij)Mn(F) is upper triangular with every diagonal entry uii0, the backward substitution solve of Ux=b is the recursive constructionxi:=1uii(bij>iuijxj)(n1i0).

The triangular vocabulary is from Upper triangular, lower triangular and diagonal square matrices over a commutative ring. The matrix product convention from Rectangular matrix multiplication and the identity matrix In, including zero-sized shapes is the one used when later items rewrite these recursions as matrix equations.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

Forward and backward substitution are correct, unique, and quadratic in scalar operations

Statement

Let F be a field, let n1, and let bFn.

  1. If LMn(F) is lower triangular with nonzero diagonal, the forward substitution recursion of Forward and backward substitution for triangular linear systems produces the unique solution of Lx=b.
  2. If UMn(F) is upper triangular with nonzero diagonal, the backward substitution recursion produces the unique solution of Ux=b.

Each solve uses exactly n divisions, n(n1)2 multiplications, and n(n1)2 additions or subtractions, hence O(n2) scalar operations.

Facts & Assumptions

Given: A field F, a natural number n1, a vector bFn, and a triangular matrix TMn(F) with nonzero diagonal; when T=L it is lower triangular, and when T=U it is upper triangular.

[L1]

Forward substitution defines xi from the earlier coordinates by xi=ii1(bij<iijxj),and backward substitution defines xi from the later coordinates byxi=uii1(bij>iuijxj) (Forward and backward substitution for triangular linear systems).

Proof

Proof technique: induction on the row index, then reverse induction for the upper-triangular case.

1.1

Forward substitution. For i=0, [L1] gives x0=b0/00, so the first row equation is satisfied. Assume the first i rows are satisfied. Then the (i+1)-st row of a lower-triangular system is ji+1i+1,jxj=bi+1, and solving for xi+1 gives exactly the recursion in [L1]. Because i+1,i+10, this value is forced and is unique. Induction proves that the forward recursion solves Lx=b and that no other vector can differ in any coordinate.

L1induction
1.2

Backward substitution is the same argument from the last row upward: the last row determines xn1=bn1/un1,n1, and once xi+1,,xn1 are fixed, the i-th row forces xi=uii1(bij>iuijxj). Hence the backward recursion solves Ux=b and the solution is unique.

L1induction
2.1

In either triangular case, the i-th step forms one sum with i products and i additions in the lower-triangular solve, or with n1i products and n1i additions in the upper-triangular solve, followed by one division. Summing over all rows gives n divisions and i=0n1i=i=0n1(n1i)=n(n1)/2 multiplications and the same number of additions.

step 1.1step 1.2algebra
3.1

Step 1.1 proves claim 1, step 1.2 proves claim 2, and step 2.1 gives the operation counts.

step 1.1step 1.2step 2.1discharge-induction
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

A normalised LU factorisation has a unit lower-triangular L and an upper-triangular U

Definition

Let F be a field, let n1, and let AMn(F).

A normalised LU factorisation of A is a factorisation

A=LU,

where LMn(F) is lower triangular with diagonal entries all equal to 1, and UMn(F) is upper triangular. Thus L is unit lower triangular.

When every diagonal entry of U is nonzero, the factorisation has nonzero pivots. Later existence and uniqueness results state explicitly when that extra hypothesis is required.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

An LDU factorisation has unit lower-triangular L, diagonal D, and unit upper-triangular U

Definition

Let F be a field, let n1, and let AMn(F).

An LDU factorisation of A is a factorisation

A=LDU,

where L is unit lower triangular, D is diagonal, and U is unit upper triangular. Every LDU factorisation therefore gives a normalised LU factorisation A=LU~ with U~:=DU upper triangular. In the converse direction, if A=LU~ is a normalised LU factorisation whose diagonal pivots are all nonzero, then D:=diag(U~),U:=D1U~ give an LDU factorisation. This converse need not hold when a diagonal pivot vanishes.

When every diagonal entry of D is nonzero, the factorisation has nonzero diagonal pivots.

TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Normalised LU and LDU factorisations with nonzero pivots are unique

Statement

Let F be a field, let n1, and let AMn(F).

  1. Suppose A=LU=LU, where L,L are unit lower triangular and U,U are upper triangular with nonzero diagonal. Then L=L and U=U.
  2. Suppose A=LDU=LDU, where L,L are unit lower triangular, D,D are diagonal with nonzero diagonal entries, and U,U are unit upper triangular. Then L=L, D=D, and U=U.

Facts & Assumptions

Given: A field F, a natural number n1, a matrix AMn(F), and two factorisations of A of the shapes named in the statement.

[L1]

A normalised LU factorisation is A=LU with L unit lower triangular and U upper triangular; an LDU factorisation is A=LDU with L unit lower triangular, D diagonal, and U unit upper triangular (A normalised LU factorisation has a unit lower-triangular L and an upper-triangular U, An LDU factorisation has unit lower-triangular L, diagonal D, and unit upper-triangular U).

[L2]

Matrix multiplication is the product convention used throughout (Rectangular matrix multiplication and the identity matrix In, including zero-sized shapes).

Proof

technique · induction on the matrix size
1.1

For claim 1, the first row of A equals the first row of both U and U, because the first rows of L and L are (1,0,,0). Hence the first rows of U and U agree, in particular u00=u000. Then the first-column equations are ai0=i0u00=i0u00 for i>0, so i0=i0. Subtracting the common first-column outer product leaves two factorizations of the same trailing principal block by unit lower and upper triangular matrices of size n1 with nonzero diagonal. Induction gives equality of the trailing blocks, hence L=L and U=U.

L1L2induction
2.1

For claim 2, put V:=DU and V:=DU. Because D,D are diagonal and U,U are unit upper triangular, V,V are upper triangular and their diagonals are exactly the diagonals of D,D, so they are nonzero. The factorisations A=LV=LV are therefore of the kind handled in step 1.1, which gives L=L and V=V. Taking diagonals of V=V yields D=D, and then DU=DU forces U=U.

step 1.1L1L2algebra
3.1

Steps 1.1 and 2.1 prove claims 1 and 2. The nonzero-pivot hypothesis is essential: without it, a zero row of the upper factor leaves lower-triangular multipliers undetermined.

step 1.1step 2.1discharge-induction
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Block LU factorisation and the associated Schur complement

Definition

Let

A=(A11A12A21A22)

be a square matrix over a field, with square leading block A11.

A block LU factorisation across this partition is a factorisation

A=(L110L21L22)(U11U120U22),

where the diagonal blocks are square, the left factor is block lower triangular, and the right factor is block upper triangular.

If A11 is invertible, the Schur complement of A11 in A is

S:=A22A21A111A12.

This is the trailing block left after eliminating the off-diagonal blocks using the invertible leading block.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

An invertible leading block yields block LU through its Schur complement

Statement

Let

A=(A11A12A21A22)

be a square block matrix over a field, with A11 square and invertible, and let S:=A22A21A111A12.

  1. One has the exact block factorisation A=(I0A21A111I)(A11A120S).
  2. If S=L~U~ is any normalised LU factorisation, then A=(I0A21A111L~)(A11A120U~) is a block LU factorisation across the same partition.

Facts & Assumptions

Given: The displayed block matrix A, an invertible leading block A11, and the Schur complement S=A22A21A111A12.

[L1]

Block LU factorisation and Schur complement are defined as in Block LU factorisation and the associated Schur complement.

[L2]

Triangular solves with nonzero diagonal are correct and unique (Forward and backward substitution are correct, unique, and quadratic in scalar operations).

[L3]

An invertible matrix has a two-sided inverse (Invertible matrices and the general linear group GLn(F)).

[L4]

Matrix multiplication is associative and uses the product convention of Rectangular matrix multiplication and the identity matrix In, including zero-sized shapes.

Proof

technique · explicit block multiplication
1.1

By [L3], A111 exists, and by [L4] the block product (I0A21A111I)(A11A120S) has upper-left block A11, upper-right block A12, lower-left block A21A111A11=A21, and lower-right block A21A111A12+S=A22. Hence it equals A.

L1L3L4algebra
2.1

If S=L~U~, substitute this into step 1.1 and absorb the factorisation of S into the lower-right block. The resulting left factor is block lower triangular and the right factor is block upper triangular, so this is a block LU factorisation in the sense of [L1].

step 1.1L1algebra
2.2

The off-diagonal block A21A111 is exactly the block of multipliers obtained by solving XA11=A21. If A11 itself has a triangular factorisation, [L2] computes these multipliers by triangular solves.

L2step 1.1
3.1

Steps 1.1 and 2.1 prove claims 1 and 2, and step 2.2 identifies the solve interpretation of the multiplier block.

step 1.1step 2.1step 2.2
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passaudited 2026-08-30Open item page →

A square matrix has an unpivoted unit-lower LU factorisation exactly when all leading principal minors are nonzero

Statement

Let F be a field, let n1, and let AMn(F). For 1kn, let Δk be the determinant of the leading k×k principal submatrix Ak.

Then A has a normalised LU factorisation A=LU whose upper factor U has nonzero diagonal if and only if

Δk0(1kn).

In particular, the condition forces Δn=detA0, so A is invertible.

Facts & Assumptions

Given: A field F, a natural number n1, and a matrix AMn(F).

[L1]

A normalised LU factorisation is A=LU with L unit lower triangular and U upper triangular (A normalised LU factorisation has a unit lower-triangular L and an upper-triangular U).

[L2]

An invertible leading block gives the block LU factorisation through its Schur complement (An invertible leading block yields block LU through its Schur complement).

[L3]

The determinant of a triangular matrix is the product of its diagonal entries (The determinant of a triangular matrix is the product of its diagonal entries).

Proof

technique · induction on $n$ using the Schur complement
1.1

Suppose A=LU as in [L1] and that the diagonal of U is nonzero. For each k, the leading block also factors as Ak=LkUk, where Lk is unit lower triangular and Uk is upper triangular with diagonal u00,,uk1,k1. By [L3] and [L4], Δk=det(Ak)=det(Lk)det(Uk)=1i<kuii0.

L1L3L4algebra
1.2

For the converse, use induction on n. When n=1, the condition is Δ1=a000, and A=(1)(a00) is already a normalised LU factorisation with nonzero diagonal.

basealgebra
1.3

Assume n>1 and the converse for size n1. Write A=(arTcC). Then a=Δ10. Set S:=Cca1rT. For each 1j<n, apply [L2] to the leading (j+1)×(j+1) block of A: its determinant is adet(Sj), where Sj is the leading j×j block of S. Hence det(Sj)=Δj+1/a0. By the induction hypothesis, S has a normalised LU factorisation S=L~U~ with nonzero diagonal.

ihL2algebra
2.1

Step 1.3 and [L2] give A=(10ca1L~)(arT0U~), which is a normalised LU factorisation of A. Its upper diagonal is a followed by the diagonal of U~, so it is nonzero.

step 1.3L1L2algebra
3.1

Step 1.1 proves the forward implication, and steps 1.2-2.1 prove the reverse implication for every n1. The final sentence is the case k=n.

step 1.1step 1.2step 2.1discharge-induction
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-30Open item page →

When unpivoted elimination runs to completion, the elimination multipliers are the entries of the normalised LU factors

Statement

Let n1, let F be a field, and let AMn(F). Assume unpivoted Gaussian elimination reaches an upper-triangular matrix without encountering a zero pivot. Let mik be the multiplier used to eliminate entry (i,k), so the k-th elimination matrix is

Ek:=Ii>kmikeiekT.If U:=En2E0A is the final upper-triangular matrix, with this product understood as the empty product and U=A when n=1, thenA=LU,

where L is unit lower triangular and its strict lower entry in position (i,k) is exactly mik.

Facts & Assumptions

Given: An integer n1, a field F, a matrix AMn(F), unpivoted Gaussian elimination with no zero pivot, the elimination matrices Ek, and the final upper-triangular matrix U=En2E0A, where U=A when n=1.

[L1]

A normalised LU factorisation is A=LU with L unit lower triangular and U upper triangular (A normalised LU factorisation has a unit lower-triangular L and an upper-triangular U).

[L2]

An invertible leading block yields block LU through the Schur complement (An invertible leading block yields block LU through its Schur complement).

[L3]

Proof

technique · induction on the elimination stages
1.1

At stage k, the matrix Ek is unit lower triangular and differs from I only in column k below the diagonal. Its inverse is Ek1=I+i>kmikeiekT, because all cross terms vanish: eiekTejekT=0 for i,j>k. Thus Ek1 is unit lower triangular with strict lower entries exactly the multipliers from column k.

givenL3algebra
2.1

Since U=En2E0A, one has A=E01En21U. The product of unit lower triangular matrices is unit lower triangular, and the first time a strict lower entry in column k appears is in Ek1, so later factors do not change that column above the already-created zeros. Hence the strict lower entries of L:=E01En21 are exactly the stored multipliers mik.

step 1.1L3induction
3.1

The matrix U is upper triangular by construction, so step 2.1 is a normalised LU factorisation in the sense of [L1]. This is the scalar-entry form of the same elimination mechanism that [L2] packages blockwise. Equivalently, the row operations of elimination store their multipliers in L and leave the final reduced matrix as U.

step 2.1L1L2
4.1

Steps 2.1 and 3.1 prove the claim.

step 2.1step 3.1discharge-induction
DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-30Open item page →

Permutation matrices, partial pivoting, and the pivot-growth factor

Definition

Let n1, let F=R or C, and let σ be a permutation of {0,,n1}. The corresponding permutation matrix Pσ is the matrix whose i-th row is the σ(i)-th row of In. Thus left multiplication by Pσ permutes the rows of a matrix.

In Gaussian elimination with partial pivoting, ties are resolved by a fixed deterministic rule. At stage k one inspects the entries in column k from rows k through n1, swaps a row with maximal entry modulus into row k, and then eliminates the entries below that pivot.

If PA=LU is the resulting factorisation, its pivot-growth factor is

ρ(A):=maxi,juijmaxi,jaij,

provided A0; when A=0 one declares ρ(A)=1. The absolute value or modulus is the one from Absolute value in an ordered field on real entries and its standard complex analogue on complex entries.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

Every real or complex square matrix admits a PLU factorisation, and the first failed pivot marks the singular boundary

Statement

Let F=R or C, let n1, and let AMn(F).

  1. There exist a permutation matrix P, a unit lower-triangular matrix L, and an upper-triangular matrix U such that PA=LU.
  2. If partial pivoting encounters a stage at which the whole active pivot column is zero, then the active trailing block is singular, hence A is singular. Equivalently, if A is invertible, partial pivoting finds a nonzero pivot at every stage.

Facts & Assumptions

Given: A field F=R or C, a natural number n1, and a matrix AMn(F).

[L1]

Permutation matrices, partial pivoting, and pivot growth are defined as in Permutation matrices, partial pivoting, and the pivot-growth factor.

[L2]

If unpivoted elimination on a matrix reaches an upper-triangular matrix without a zero pivot, the multipliers form the unit lower factor in the resulting normalised LU factorisation (When unpivoted elimination runs to completion, the elimination multipliers are the entries of the normalised LU factors).

[L3]

An invertible matrix has a two-sided inverse (Invertible matrices and the general linear group GLn(F)).

Proof

technique · induction on the matrix size
1.1

For n=1, either A=[a] with a0 or a=0. In both cases I1A=(1)[a] is a PLU factorisation, and the zero-pivot case is exactly the singular case.

baseL3algebra
1.2

Assume n>1. After an initial row swap, write PA=(arTcC), where a is maximal in the first column below the swap position. If a0, perform the first elimination step. This produces (arT0S) with multipliers c/a. By the induction hypothesis, the trailing block S has a PLU factorisation. Reassembling the first elimination step and the recursive factorisation gives PA=LU for suitable P,L,U. If a=0, then the whole first column is zero, so PA already has the block form (0rT0C); by the induction hypothesis C has a PLU factorisation, and adjoining the zero first column yields a PLU factorisation of PA, hence of A.

ihL1L2algebra
2.1

If the first failed pivot occurs at stage k, then after the previous row swaps and eliminations the active matrix has the form (0T), where the first column of T is zero. Therefore T is singular because Te0=0 for a nonzero standard basis vector e0. The whole active matrix is then singular, hence so are all earlier row permutations and elimination preimages, including A.

step 1.2L1algebra
3.1

Claim 1 is steps 1.1-1.2. Step 2.1 proves claim 2, and its contrapositive is the final sentence: an invertible matrix cannot reach a zero pivot under partial pivoting.

step 1.1step 1.2step 2.1discharge-induction
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passaudited 2026-08-30Open item page →

In the standard real floating-point model, computed pivoted LU is a nearby factorisation with a pivot-growth dependent backward bound

Statement

Let AMn(R) with n1, and suppose Gaussian elimination with partial pivoting is carried out in the standard relative floating-point model with unit roundoff u, with every intermediate division, product, and sum in range. Let the computed factors satisfy

P^AL^U^, where P^ is a permutation matrix, L^ is unit lower triangular, and U^ is upper triangular. Then there exists a matrix ΔA such that P^(A+ΔA)=L^U^, and ΔAγnP^T(L^U^) entrywise, where γn=nu/(1nu). If ρ(A) is the pivot-growth factor of Permutation matrices, partial pivoting, and the pivot-growth factor, then ΔAn2γnρ(A)maxp,qapq.

Facts & Assumptions

Given: A matrix AMn(R), the standard relative floating-point model with unit roundoff u and nu<1, and computed partial-pivoted factors P^,L^,U^ with all intermediate operations in range.

[L1]
[L2]

The floating-point model represents each in-range arithmetic operation by a relative perturbation bounded by u (The standard relative floating-point model and unit roundoff).

[L3]

Products of factors (1+δ) with δu collapse to 1+θ with θγn (If |delta_i| <= u and n u < 1, then prod (1+delta_i) = 1 + theta_n with |theta_n| <= gamma_n).

[L4]

A floating-point dot product of length at most n equals the exact dot product of componentwise perturbed summands with relative perturbations bounded by γn (The computed floating-point dot product obeys componentwise and normwise error bounds).

Proof

technique · collect the local elimination residuals into one backward perturbation
1.1

In exact arithmetic, each computed upper-triangular entry satisfies a formula of the form u^ij=fl((P^A)ijk<i^iku^kj), and each computed strict-lower entry satisfies ^ij=fl((P^A)ijk<j^iku^kju^jj). By [L2]-[L4], each such floating-point combination is the exact relation for a perturbed entry of P^A, with perturbation bounded by γn times the corresponding dot-product sum. Collecting those entrywise perturbations into a matrix E gives P^A+E=L^U^ and Eijγnkmin(i,j)^iku^kj.

L2L3L4algebra
2.1

Set ΔA:=P^TE. Because P^ is a permutation matrix, ΔA=P^TEγnP^T(L^U^) by step 1.1. Multiplying the identity of step 1.1 by P^T on the left gives P^(A+ΔA)=L^U^, which is the nearby-factorisation statement.

step 1.1L1algebra
2.2

By [L1], every row of L^ has one diagonal 1 and at most n1 strict-lower entries of modulus at most 1, so its row sum is at most n. Every entry of U^ is bounded by ρ(A)maxp,qapq from the definition of pivot growth. Therefore each row sum of L^U^ is at most n2ρ(A)maxp,qapq, and step 1.1 yields En2γnρ(A)maxp,qapq. Because row permutations preserve the infinity norm, the same bound holds for ΔA.

step 1.1L1algebra
3.1

Step 2.1 proves the backward-error identity, and step 2.2 gives the pivot-growth dependent bound.

step 2.1step 2.2
DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Hermitian positive-definite matrices and Cholesky factorisation A = LL* with positive diagonal

Definition

Let n1 and AMn(C); over R the same definition uses transpose instead of conjugate transpose.

The matrix A is Hermitian positive definite if A=A and

xAx>0for every nonzero vector xCn. A Cholesky factorisation with positive diagonal of A is a factorisationA=LL,

where L is lower triangular and every diagonal entry of L is a positive real number.

The Hermitian terminology matches Sesquilinear and Hermitian forms over a field with an involution, using the convention linear in the first variable, and the triangular terminology matches Upper triangular, lower triangular and diagonal square matrices over a commutative ring.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

A matrix admits a Cholesky factorisation with positive diagonal exactly when it is Hermitian positive definite, and that factor is unique

Statement

Let n1 and let AMn(C), with the real case obtained by restricting scalars to R. Then the following are equivalent:

  1. A has a Cholesky factorisation A=LL with L lower triangular and positive real diagonal.
  2. A is Hermitian positive definite.

When these conditions hold, the factor L is unique.

Facts & Assumptions

Given: A matrix AMn(C).

[L1]

Hermitian positive-definite matrices and Cholesky factorisations with positive diagonal are defined in Hermitian positive-definite matrices and Cholesky factorisation A = LL* with positive diagonal.

[L2]

The determinant of a triangular matrix is the product of its diagonal entries (The determinant of a triangular matrix is the product of its diagonal entries).

Proof

technique · block induction with a quotient comparison for uniqueness
1.1

Suppose A=LL as in [L1]. Then A=LL=A, so A is Hermitian. For any nonzero x, one has xAx=xLLx=(Lx)(Lx)=Lx22. The diagonal of L is positive, hence nonzero; [L2] and [L3] give detL0, so L is invertible and Lx0 when x0. Therefore xAx>0.

L1L2L3L4algebra
1.2

For the converse, use induction on n. The case n=1 is immediate: A=[a] is Hermitian positive definite exactly when a>0, in which case A=[a][a].

baseL1algebra
1.3

Assume n>1 and the converse for size n1. Write A=(arrC). Positive definiteness of A at x=e0 gives a>0. Set :=r/a and S:=C. For nonzero yCn1, apply positive definiteness to x=(a1ryy): 0<xAx=ySy. Thus S is Hermitian positive definite. By the induction hypothesis, S=L~L~ with L~ lower triangular and positive diagonal.

ihL1algebra
2.1

Define L:=(a0L~). Direct multiplication gives LL=(arr+L~L~)=(arrC)=A. The matrix L is lower triangular and its diagonal is positive real, so this is a Cholesky factorisation.

step 1.3L1L4algebra
3.1

For uniqueness, suppose A=L1L1=L2L2 are two such factorizations. Then M:=L21L1 is lower triangular, and MM=I because L2MML2=L1L1=L2L2. A lower-triangular unitary matrix has zero strict-lower entries and diagonal entries of modulus 1; since the diagonal of M is the ratio of two positive real diagonals, each diagonal entry is also positive real, hence equals 1. Therefore M=I and L1=L2.

step 1.1step 2.1L2L3algebra
4.1

Step 1.1 proves that a Cholesky factorisation implies Hermitian positive definiteness. Steps 1.2-2.1 prove the converse by induction, and step 3.1 gives uniqueness.

step 1.1step 1.2step 2.1step 3.1discharge-induction
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

For real symmetric matrices, positive leading principal minors are equivalent to positive Cholesky pivots

Statement

Let n1, let AMn(R) be symmetric, and let Δk be the determinant of its leading k×k principal submatrix.

Then the following are equivalent:

  1. Δk>0 for every 1kn.
  2. A has a Cholesky factorisation A=LLT with positive diagonal.

When A=LLT, one has

Δk=i<kii2,

so positivity of the leading principal minors is equivalent to positivity of the Cholesky pivots.

Facts & Assumptions

Given: A real symmetric matrix AMn(R).

[L1]

A matrix has a Cholesky factorisation with positive diagonal exactly when it is Hermitian positive definite (A matrix admits a Cholesky factorisation with positive diagonal exactly when it is Hermitian positive definite, and that factor is unique).

[L2]

A real symmetric matrix is positive definite exactly when all of its leading principal minors are positive (Sylvester's criterion: a real symmetric n×n matrix with n1 is positive definite if and only if all leading principal minors are positive).

[L3]

The determinant of a triangular matrix is the product of its diagonal entries (The determinant of a triangular matrix is the product of its diagonal entries).

Proof

Proof technique: compare Sylvester's criterion with the determinant formula for leading Cholesky blocks.

1.1

By [L1] and [L2], condition 1 is equivalent to positive definiteness, and positive definiteness is equivalent to existence of a Cholesky factorisation with positive diagonal. Hence conditions 1 and 2 are equivalent.

L1L2
2.1

Suppose A=LLT with L lower triangular and positive diagonal. Its leading k×k principal block factors as Ak=LkLkT, where Lk is the leading k×k block of L. By [L3], Δk=det(Ak)=det(Lk)2=(i<kii)2=i<kii2. Since each ii>0, every Δk is positive.

step 1.1L3algebra
3.1

Step 1.1 proves the equivalence, and step 2.1 identifies the leading principal minors with the squared pivot products.

step 1.1step 2.1
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

Cholesky solves Hermitian positive-definite systems and has about half the factorisation cost of LU

Statement

Let AMn(C) be Hermitian positive definite and let A=LL be its Cholesky factorisation with positive diagonal.

  1. For every right-hand side bCn, the system Ax=b is solved by first solving Ly=b and then solving Lx=y.
  2. The two triangular solves cost 2n2+O(n) scalar operations altogether, and the dense Cholesky factorisation costs 13n3+O(n2) scalar operations, compared with 23n3+O(n2) for dense LU factorisation without exploiting symmetry.

Facts & Assumptions

Given: A Hermitian positive-definite matrix AMn(C), its Cholesky factor A=LL, and a right-hand side bCn.

[L1]

Forward and backward substitution correctly and uniquely solve triangular systems in O(n2) scalar operations (Forward and backward substitution are correct, unique, and quadratic in scalar operations).

[L2]

Hermitian positive-definite matrices admit a unique Cholesky factorisation with positive diagonal (A matrix admits a Cholesky factorisation with positive diagonal exactly when it is Hermitian positive definite, and that factor is unique).

[L3]

Cholesky factorisation means A=LL with L lower triangular and positive diagonal (Hermitian positive-definite matrices and Cholesky factorisation A = LL* with positive diagonal).

Proof

technique · factor the solve through two triangular systems and count the work column by column
1.1

By [L2] and [L3], the equation Ax=b is LLx=b. Solve Ly=b by forward substitution and then Lx=y by backward substitution. Stepwise uniqueness in [L1] makes both solves unique, and substituting y=Lx back into the first equation gives Ax=b.

L1L2L3algebra
1.2

The solve cost is the sum of two triangular solves, so [L1] gives 2(n+n(n1)2+n(n1)2)=2n2+O(n) scalar operations, or n2+O(n) multiply-add pairs.

L1algebra
2.1

In the dense factorisation, column k computes one square root, n1k divisions in the column below the pivot, and updates the trailing symmetric submatrix of size n1k by a rank-one outer product. That update touches (n1k)(nk)2 stored entries, and each one costs one multiplication and one subtraction, so the update work is (n1k)(nk). Summing with m=n1k gives m=0n1m(m+1)=13n(n1)(n+1)=13n3+O(n2), which dominates the cost. LU performs the same style of update on the full trailing matrix, giving 2m=0n1m2=13n(n1)(2n1)=23n3+O(n2) scalar operations. Thus Cholesky uses about half the factorisation work.

step 1.1algebra
3.1

Step 1.1 proves the solve statement, while steps 1.2 and 2.1 give the operation counts.

step 1.1step 1.2step 2.1
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-30Open item page →

Householder reflectors in real or complex inner-product spaces

Definition

Let V be a finite-dimensional real or complex inner-product space and let vV satisfy v=1, where is the norm of The norm v=v,v induced by a real or complex inner product. The Householder reflector with normal v is the linear map

Hv(x):=x2x,vv.In matrix form relative to an orthonormal basis, this isHv=I2vv.

The reflector fixes every vector orthogonal to v and sends v to v.

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-30Open item page →

Real Givens rotations and complex Givens transformations

Definition

Let n2 and let 0i<jn1.

A real Givens rotation in the (i,j)-plane is the identity matrix except on rows and columns i,j, where it has the 2×2 block

(cssc)(c,sR, c2+s2=1).A complex Givens transformation in the (i,j)-plane is the identity except on rows and columns i,j, where it has block(cssc),

with cR0, sC, and c2+s2=1. The modulus s is the one from Real and imaginary parts, complex conjugation, and modulus.

Such transformations act only on the two chosen coordinates and are designed to zero one targeted entry while preserving the Euclidean norm from The norm v=v,v induced by a real or complex inner product.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

Householder reflectors and Givens transformations are unitary and can annihilate prescribed entries

Statement

Let F=R or C.

  1. Every Householder reflector Hv=I2vv is orthogonal or unitary.
  2. For every nonzero zFm, there is a Householder reflector H such that Hz=αe1 with α=z2.
  3. For every pair (a,b)F2 not both zero, there is a real or complex Givens transformation G such that G(ab)=(α0) with α=(a2+b2)1/2.

Facts & Assumptions

Given: A field F=R or C, a unit vector v, a nonzero vector zFm, and a pair (a,b)F2 with not both entries zero.

[L2]

An orthogonal or unitary operator is an invertible linear isometry (Linear isometries, and orthogonal or unitary operators on finite-dimensional inner product spaces).

Proof

technique · direct matrix multiplication and explicit parameter choice
1.1

For Hv=I2vv with vv=1, one has Hv=I2vv=Hv and Hv2=I4vv+4v(vv)v=I. Hence HvHv=I, so Hv is orthogonal or unitary.

L1L2algebra
1.2

In the real case, for (a,b)(0,0) set r=(a2+b2)1/2, c=a/r, and s=b/r. Then c2+s2=1 and (cssc)(ab)=(r0). In the complex case, if a=0 take c=0 and s=b/b; otherwise write a=ϕa with ϕ=1, set r=(a2+b2)1/2, c=a/r, and s=ϕb/r. Then c2+s2=1 and (cssc)(ab)=(ϕr0). Thus a Givens transformation annihilates the second entry while preserving the Euclidean norm.

L1algebra
2.1

If z is already a scalar multiple of e1, choose any Householder reflector fixing e1: for m=1, H=[1] works; for m>1, take v=e2, so Hve1=e1. Otherwise set α:=eiθz2, where eiθ=z1/z1 when z10 and eiθ=1 when z1=0, and put w:=zαe1, v:=w/w2. Then vz=(z22αz1)/w2=w2/2, so Hvz=z2v(vz)=zw=αe1.

L1step 1.1algebra
3.1

Step 1.1 proves claim 1, step 2.1 proves claim 2, and step 1.2 proves claim 3.

step 1.1step 2.1step 1.2
DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-30Open item page →

Full, reduced, and column-pivoted computational QR factorisations

Definition

Let AMm×n(F) with F=R or C and mn.

A full QR factorisation of A is a factorisation

A=QR,where QMm(F) is orthogonal or unitary and RMm×n(F) is upper trapezoidal. A reduced QR factorisation is a factorisationA=Q^R^,where Q^Mm×n(F) has orthonormal columns (Q^Q^=In) and R^Mn(F) is upper triangular. A column-pivoted QR factorisation is a factorisationAΠ=Q^R,

where Π is a permutation matrix acting on columns, Q^ has orthonormal columns, and R is upper trapezoidal or upper triangular according to whether the full or reduced form is used. Computationally, one obtains these factorisations by successive Householder reflectors or Givens transformations that zero entries below the diagonal, with the pivoted version choosing the next column after a permutation.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

Successive Householder or Givens transformations produce full and reduced QR factorisations with the standard dense operation counts

Statement

Let AMm×n(F) with F=R or C and mn.

  1. Successive Householder reflectors or Givens transformations can zero the subdiagonal entries column by column and produce a full QR factorisation A=QR and hence a reduced QR factorisation A=Q^R^.
  2. In dense real arithmetic, Householder QR uses 2mn223n3+O(mn) scalar operations, while dense Givens QR uses 3mn2n3+O(mn) scalar operations.

Facts & Assumptions

Given: A matrix AMm×n(F) with mn.

[L1]

Full and reduced computational QR factorisations are defined in Full, reduced, and column-pivoted computational QR factorisations.

[L2]

Householder reflectors and Givens transformations are orthogonal or unitary and can annihilate chosen entries below the diagonal (Householder reflectors and Givens transformations are unitary and can annihilate prescribed entries).

Proof

technique · induction on the column index and summation of the shrinking trailing updates
1.1

For column k, apply [L2] to the subvector of rows k through m1. Embedding the resulting reflector or sequence of Givens transformations into the identity on the first k rows leaves the earlier zeros unchanged and zeros all entries below the diagonal in column k. Repeating for k=0,,n1 produces a unitary matrix Q whose product with A is upper trapezoidal; therefore A=QR with Q=(Q), and deleting the zero rows of R gives the reduced factorisation, in the computational form refining the abstract QR existence of [L3].

L1L2L3induction
2.1

In a dense real Householder step on the trailing block of size (mk)×(nk), forming the reflector costs O(mk) scalar operations and applying it to the trailing block costs 4(mk)(nk) scalar operations. Summing over k=0,,n1 gives 4k=0n1(mk)(nk)+O ⁣(k=0n1(mk))=2mn223n3+O(mn).

step 1.1algebra
2.2

In dense real Givens QR, column k has mk1 entries to eliminate below the diagonal, and each rotation updates two rows across the remaining nk columns using 6(nk)+O(1) scalar operations. Hence the cost is 6k=0n1(mk1)(nk)+O(mn)=3mn2n3+O(mn).

step 1.1algebra
3.1

Step 1.1 proves the constructive QR statement, and steps 2.1-2.2 give the standard dense operation counts.

step 1.1step 2.1step 2.2discharge-induction
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passaudited 2026-08-30Open item page →

A local Householder backward-error bound yields a backward-stable QR factorisation

Statement

Let AMm×n(R) with mn. Assume Householder QR is executed in the standard relative floating-point model with unit roundoff u and mu<1. Suppose that at each step k=0,,n1 the computed reflector H^k is orthogonal and its action on the active trailing block is exact for one perturbation Ek satisfying H^k(A(k)+Ek)=A(k+1),EkF3γmA(k)F, where A(0)=A and γm=mu/(1mu). Then the computed factors Q^,R^ satisfy

A+ΔA=Q^R^ for some matrix ΔA with ΔAF((1+3γm)n1)AF,

In particular, under the displayed local-step bound the algorithm is backward stable: the computed factorisation is exact for a nearby matrix whose relative Frobenius perturbation is O(u).

Facts & Assumptions

Given: A matrix AMm×n(R) with mn, unit roundoff u with mu<1, and computed orthogonal Householder reflectors H^k satisfying the local-step identities and bounds in the statement.

[L1]

Successive Householder reflectors produce QR by applying orthogonal transformations to shrinking trailing blocks (Successive Householder or Givens transformations produce full and reduced QR factorisations with the standard dense operation counts).

[L2]

The quantity γm=mu/(1mu) is the standard accumulated relative error factor when mu<1 (If |delta_i| <= u and n u < 1, then prod (1+delta_i) = 1 + theta_n with |theta_n| <= gamma_n).

[L3]
[A1]

For each k, the computed local step satisfies H^k(A(k)+Ek)=A(k+1),EkF3γmA(k)F.

Proof

technique · convert each floating-point step into an exact step for a nearby trailing block and sum the transported perturbations
1.1

The local-step hypothesis [A1] supplies a perturbation Ek for every active block and an exact orthogonal update H^k(A(k)+Ek)=A(k+1) with EkF3γmA(k)F.

A1L2
2.1

Embed each Ek into the original matrix size by padding zeros outside the active block and transport it back through the previous computed reflectors. Because every H^k is orthogonal, [L3] preserves the Frobenius norm of each transported perturbation. Summing the n transported perturbations gives a single matrix ΔA such that A+ΔA=Q^R^ and ΔAFk=0n1EkF3γmk=0n1A(k)F.

step 1.1L1L3algebra
2.2

From step 1.1 and [L3], A(k+1)F=H^k(A(k)+Ek)F=A(k)+EkFA(k)F+EkF(1+3γm)A(k)F. Since A(0)=A, induction gives A(k)F(1+3γm)kAF for every k.

step 1.1L3inductionalgebra
3.1

Substituting step 2.2 into step 2.1 yields ΔAF3γmk=0n1(1+3γm)kAF=((1+3γm)n1)AF. This is the stated backward bound.

step 2.1step 2.2algebra
4.1

Step 3.1 proves the displayed estimate, and step 2.1 gives the nearby factorisation identity.

step 2.1step 3.1
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

Exact column-pivoted QR of a real or complex rank-r matrix has an invertible leading triangular block and zero trailing block

Statement

Let F=R or C, let AMm×n(F) have rank r, and let

AΠ=QR be an exact column-pivoted QR factorisation in which, at each step, the next column is chosen with maximal residual 2-norm among the remaining columns. Then R=(R11R1200),

where R11Mr(F) is upper triangular with nonzero diagonal and hence is invertible.

Facts & Assumptions

Given: A matrix AMm×n(F) over F=R or C, of rank r, and an exact column-pivoted QR factorisation AΠ=QR built by greedy residual-norm pivot selection.

[L1]

Column-pivoted QR means a QR factorisation after a column permutation (Full, reduced, and column-pivoted computational QR factorisations).

[L2]

Successive orthogonal or unitary transformations produce the QR factorisation while zeroing entries below the diagonal (Successive Householder or Givens transformations produce full and reduced QR factorisations with the standard dense operation counts).

[L3]

A square matrix is invertible exactly when it has a two-sided inverse (Invertible matrices and the general linear group GLn(F)).

[L4]

Rank is the dimension of the image, hence also the maximal number of linearly independent columns (Rank and nullity of a linear map with finite-dimensional domain).

Proof

technique · compare the greedy residuals with the rank
1.1

After k pivot steps, the first k pivoted columns span the same subspace as the first k columns of QR, and the next pivot diagonal entry rkk is the norm of the residual of the chosen column after projection onto that span. Hence rkk0 exactly when some remaining column still has a nonzero residual, that is, still lies outside the span of the first k chosen columns.

L1L2algebra
2.1

For k<r, the chosen columns cannot already span every column of A, because then all columns would lie in a k-dimensional span and [L4] would give rank at most k<r. Therefore some remaining column has nonzero residual, and by the greedy rule step 1.1 gives rkk0. Thus the first r diagonal entries of R are nonzero.

step 1.1L4algebra
3.1

After r pivot columns have been chosen, [L4] says no further independent column exists. Hence every remaining column lies in the span of the first r chosen columns, so every remaining residual is zero. Step 1.1 then forces every entry below and on the diagonal in the trailing block to be zero, giving R=(R11R1200). The block R11 is upper triangular with nonzero diagonal by step 2.1, so it is invertible.

step 1.1step 2.1L3L4algebra
4.1

Steps 2.1 and 3.1 prove the claim.

step 2.1step 3.1
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-30Open item page →

Reduced QR over the reals solves full-column-rank least squares without squaring the condition number

Statement

Let AMm×n(R) with mn1 and full column rank. Let

A=Q^R^

be a reduced QR factorisation, with Q^TQ^=In and R^ upper triangular. Then:

  1. The least-squares minimiser of Axb2 is the unique solution of R^x=Q^Tb.
  2. The spectral condition number of R^ equals that of A, whereas the normal-equation matrix satisfies κ2(ATA)=κ2(A)2. Thus the QR route solves with a factor of condition κ2(A) rather than the squared factor κ2(A)2.

Facts & Assumptions

Given: A full-column-rank matrix AMm×n(R), a reduced QR factorisation A=Q^R^, and a vector bRm.

[L1]

Reduced QR factorisation means Q^TQ^=In and R^ upper triangular (Full, reduced, and column-pivoted computational QR factorisations).

[L4]

For full-column-rank A, the normal equations square the spectral condition number (For full-column-rank A, the normal equations square the spectral condition number).

[L5]

Proof

technique · orthogonal decomposition of the residual
1.1

With the reduced QR factorisation supplied by [L2] and shaped as in [L1], extend the columns of Q^ to an orthogonal basis Q=[Q^ Q^]. Then Axb2=QT(Axb)2=(R^xQ^TbQ^Tb)2, so Axb22=R^xQ^Tb22+Q^Tb22. The second term is independent of x, so minimising Axb2 is equivalent to solving R^x=Q^Tb.

L1L2L5algebra
2.1

Because A has full column rank, the upper-triangular factor R^ has nonzero diagonal, so the triangular system of step 1.1 has a unique solution. Thus the least-squares minimiser is unique and equals that solution. This agrees with the normal equation of [L3].

step 1.1L1L3algebra
3.1

Since Q is orthogonal and A=Q(R^0), [L5] implies that A and R^ have the same positive singular values, hence the same spectral condition number. By [L4], the normal-equation matrix has condition number κ2(A)2. Therefore the QR solve uses a factor with condition κ2(A), not the squared condition of the normal equations.

step 2.1L4L5algebra
4.1

Steps 1.1-2.1 prove claim 1, and step 3.1 proves claim 2.

step 1.1step 2.1step 3.1

5 · Examples, counterexamples and false statements

None yet.

Sources