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 Moore--Penrose Pseudoinverse and Regularised Least Squares
1 · Prerequisites
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Direct Matrix Factorisations: LU, Cholesky and QR
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Matrix Norms, Condition Numbers and Numerical Stability
- Metric Spaces
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Simple Field Extensions and the Construction of the Complex Numbers
- Splitting Fields
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
This page develops the Moore--Penrose pseudoinverse through the singular value decomposition and keeps the projection geometry visible throughout. The key operators and are identified first as orthogonal projections onto the image spaces, because the least-squares and minimum-norm statements are best read as consequences of that geometry rather than as disconnected formulas.
The second half of the page treats regularisation honestly as a modified inverse problem. It records the full-rank QR formulas, the Tikhonov minimiser and its spectral filter factors, the truncated-SVD comparison, and the continuity boundary: pseudoinversion behaves continuously on each fixed-rank stratum but blows up when singular values collapse to zero.
3 · Logical flowchart
4 · Definitions, theorems and proofs
The Moore--Penrose pseudoinverse as the solution of the four Penrose equations
Definition
Let be or , and let . A matrix is a Moore--Penrose pseudoinverse of when
and the two square products are self-adjoint:
When such a matrix exists and is unique, it is denoted by .
The four displayed relations are the Penrose equations. They are written in the matrix product and adjoint conventions of Rectangular matrix multiplication and the identity matrix , including zero-sized shapes and In orthonormal bases, the matrix of the adjoint is the conjugate transpose of the matrix.
Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse
Statement
For every matrix over or , there exists a unique matrix satisfying the four Penrose equations of The Moore--Penrose pseudoinverse as the solution of the four Penrose equations.
Facts & Assumptions
Given: A matrix with .
admits a singular value decomposition with and unitary and diagonal with the nonzero singular values on the diagonal (Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition).
The Moore--Penrose pseudoinverse is defined by the four Penrose equations (The Moore--Penrose pseudoinverse as the solution of the four Penrose equations).
Proof
By [L1], after choosing singular values one may write
Define Then , , and the two products and are diagonal with only and on the diagonal, hence are self-adjoint.
Multiplying the relations of step 2.1 by the unitary factors and shows Thus is a Moore--Penrose pseudoinverse of in the sense of [L2].
Let be any other Moore--Penrose pseudoinverse of , and put . Then the same unitary transport used in step 3.1 gives with and self-adjoint.
Write where . From one gets , hence . Because is self-adjoint, its upper-right block satisfies , so . Because is self-adjoint, its lower-left block satisfies , so . With these identities, the equation reduces to so . Hence and therefore .
Step 3.1 gives existence and step 5.1 gives uniqueness, so every finite real or complex matrix has a unique Moore--Penrose pseudoinverse.
Pseudoinversion is involutive, commutes with adjoints, and is equivariant under unitary left and right factors
Statement
Let be a finite real or complex matrix.
- .
- .
- If and are unitary of compatible sizes, then .
Facts & Assumptions
Given: A matrix over or , and compatible unitary matrices and .
Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse (Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse).
Unitary operators preserve the inner product and satisfy (Linear isometries, and orthogonal or unitary operators on finite-dimensional inner product spaces).
Proof
Because satisfies the Penrose equations for , the same equations read in reverse order show that satisfies the Penrose equations for : and the products and are already self-adjoint.
Put . Using [L2] and the Penrose equations for , and similarly . The products and are and , hence self-adjoint.
By uniqueness in [L1], the Moore--Penrose pseudoinverse of is . Hence .
Taking adjoints of the Penrose equations for shows that obeys and that and are self-adjoint.
Therefore is the Moore--Penrose pseudoinverse of , so uniqueness in [L1] gives .
So is a Moore--Penrose pseudoinverse of , and [L1] yields . Together with steps 2.1 and 3.1, this proves the three claims.
and are the orthogonal projections onto and
Statement
Let be a finite real or complex matrix. Then is the orthogonal projection onto , and is the orthogonal projection onto .
Facts & Assumptions
Given: A matrix over or .
Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse (Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse).
The rank equals the number of nonzero singular values (The rank of a linear map is the number of its nonzero singular values).
A self-adjoint idempotent is exactly an orthogonal projection onto its image (An endomorphism is an orthogonal projection exactly when it is idempotent and self-adjoint).
Every finite real or complex matrix has a singular value decomposition (Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition).
Proof
By [L4], write . Define by reciprocating the positive singular values and leaving the zero block fixed. Direct diagonal multiplication verifies the four Penrose equations, so uniqueness in [L1] gives . Hence
The products and are the respective rank- diagonal projections, each with in its nonzero singular directions and elsewhere, where is the number of nonzero singular values from [L2]. Hence and are self-adjoint idempotents.
By [L3], and are orthogonal projections onto their image spaces. In the singular basis, is the span of the left singular vectors corresponding to the nonzero singular values, which is exactly .
The same computation shows that is the span of the right singular vectors corresponding to the nonzero singular values, which is exactly .
Therefore and are the orthogonal projections onto and respectively.
The Moore--Penrose pseudoinverse exchanges image and adjoint-image, and exchanges kernel and adjoint-kernel
Statement
For every finite real or complex matrix ,
and
Facts & Assumptions
Given: A finite real or complex matrix .
and are the orthogonal projections onto and ( and are the orthogonal projections onto and ).
Pseudoinversion is involutive and adjoint-compatible: and (Pseudoinversion is involutive, commutes with adjoints, and is equivariant under unitary left and right factors).
For every finite-dimensional operator, and ( and in finite dimension).
Proof
Apply [L1] to : is the orthogonal projection onto . Apply [L1] again to and use [L2] to identify ; then is also the orthogonal projection onto . Orthogonal projections onto a given space are unique, so .
Using [L2] in the same way, is both the orthogonal projection onto and the orthogonal projection onto . Hence .
By [L3] and step 1.1,
By [L3] and step 2.1,
Steps 1.1, 2.1, 3.1, and 2.2 give the image and kernel identities.
If has full column rank, then
Statement
Let and let have full column rank . Then is invertible and
Facts & Assumptions
Given: A matrix of full column rank, where .
Full column rank means that all singular values of are nonzero (The rank of a linear map is the number of its nonzero singular values).
Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse (Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse).
An invertible matrix has a two-sided inverse (Invertible matrices and the general linear group ).
Every finite real or complex matrix has a singular value decomposition (Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition).
Proof
By [L4], choose an SVD , and by [L1] the diagonal matrix has the form with every .
Then so [L3] gives
Multiplying by yields Direct diagonal multiplication shows that satisfies all four Penrose equations for , so uniqueness in [L2] gives .
Therefore is invertible and .
If has full row rank, then
Statement
Let and let have full row rank . Then is invertible and
Facts & Assumptions
Given: A matrix of full row rank, where .
If a matrix has full column rank, then its pseudoinverse is (If has full column rank, then ).
Pseudoinversion commutes with adjoints: (Pseudoinversion is involutive, commutes with adjoints, and is equivariant under unitary left and right factors).
Proof
Because has full row rank, the adjoint has full column rank. Applying [L1] to gives
Taking adjoints and using [L2],
In particular is invertible and the displayed formula holds.
For every right-hand side , is the unique least-squares solution of minimum Euclidean norm
Statement
Let , let , and let . Then is a least-squares solution of , and among all least-squares solutions it is the unique one of minimum Euclidean norm.
Facts & Assumptions
Given: A scalar field , a matrix , and a right-hand side .
is the orthogonal projection onto ( and are the orthogonal projections onto and ).
Least-squares minimisers are exactly the solutions of , and any two minimisers differ by an element of (For a linear map between finite-dimensional inner-product spaces, minimises if and only if , equivalently ; minimisers exist and any two differ by an element of ).
Proof
By [L1], is the orthogonal projection of onto . Therefore the residual lies in by [L4], so and [L3] shows that is a least-squares minimiser.
By [L2] and [L5], . Thus is orthogonal to every vector in .
Let be any least-squares minimiser. By [L3], , so for some . Step 1.2 then gives
Equality in step 2.1 holds only when , so the least-squares minimiser of minimum Euclidean norm is unique and equals .
Step 1.1 proves the least-squares claim and steps 2.1 and 3.1 prove the minimum-norm claim.
Every least-squares solution has the form , and the same affine family specializes to exact solutions when
Statement
Let and . A vector is a least-squares solution of if and only if
for some . If , then the same family is exactly the full solution set of .
Facts & Assumptions
Given: A matrix and a right-hand side .
is a least-squares minimiser, and every least-squares minimiser differs from it by an element of (For every right-hand side , is the unique least-squares solution of minimum Euclidean norm, For a linear map between finite-dimensional inner-product spaces, minimises if and only if , equivalently ; minimisers exist and any two differ by an element of ).
is the orthogonal projection onto ( and are the orthogonal projections onto and ).
Proof
By [L2] and [L3], is the orthogonal projection onto . Therefore is the orthogonal projection onto . In particular, its image is and it vanishes on .
By [L1], every least-squares minimiser has the form with . Since step 1.1 says every equals for some , every least-squares minimiser has the stated form.
Conversely, if , then step 1.1 gives . Hence differs from the least-squares minimiser by a kernel vector, so [L1] implies that is again a least-squares minimiser.
If , then the least-squares residual can be . Thus the least-squares minimisers are exactly the exact solutions of , and steps 2.1-2.1 identify that exact solution set with the same affine family.
Steps 2.1 and 2.2 prove the if-and-only-if description, and step 3.1 gives the consistent specialisation.
Reduced QR gives the full-column and full-row-rank pseudoinverse formulas without forming normal equations
Statement
- If has full column rank and is a reduced QR factorisation, then .
- If has full row rank and is a reduced QR factorisation of , then .
Facts & Assumptions
Given: A compatible reduced QR factorisation.
A reduced QR factorisation is with and square upper triangular (Full, reduced, and column-pivoted computational QR factorisations).
In the full-column-rank case, (If has full column rank, then ).
In the full-row-rank case, (If has full row rank, then ).
Proof
Suppose has full column rank and . By [L1], Using [L2],
Suppose now that has full row rank and is a reduced QR factorisation of . Applying step 1.1 to gives Taking adjoints yields
These are exactly the reduced-QR pseudoinverse formulas.
The Tikhonov regularised least-squares objective for
Definition
Let , let , let , and let satisfy . The Tikhonov regularised least-squares objective is the map
where is the Euclidean norm induced by the standard inner product (The norm induced by a real or complex inner product).
The parameter is part of the problem data. The second term penalises large norms of , so the regularised problem is not the same optimisation problem as the unregularised least-squares problem.
For every , the Tikhonov objective is strictly convex and has the unique minimiser
Statement
Let , let , let , and let satisfy . Then the Tikhonov objective
is strictly convex and has the unique minimiser
Facts & Assumptions
Given: A matrix , a vector , and a real parameter , where .
The regularised objective is (The Tikhonov regularised least-squares objective for ).
admits a singular value decomposition (Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition).
Proof
By [L2], write and set and . Since and are unitary,
If are the nonzero singular values, then step 1.1 becomes Each variable appears in a one-variable quadratic with positive coefficient or , so the objective is strictly convex.
Minimising coordinatewise gives Equivalently,
Returning to and using , one gets
Step 2.1 proves strict convexity and step 4.1 gives the unique minimiser.
Tikhonov regularisation scales each singular component by the filter factor
Statement
Let and let have singular value decomposition , and let . If is the Tikhonov minimiser for this and at a parameter , then
Thus the th singular component is multiplied by the filter factor .
Facts & Assumptions
Given: A scalar field , a singular value decomposition , a right-hand side , and a parameter .
admits a singular value decomposition with left singular vectors and right singular vectors (Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition).
The Tikhonov minimiser is (For every , the Tikhonov objective is strictly convex and has the unique minimiser ).
Proof
Using [L2] and the SVD from [L1],
The diagonal matrix has diagonal entries in the nonzero singular directions and in the zero singular directions. Therefore
This is exactly the stated filter-factor formula.
As , the Tikhonov minimisers converge to the Moore--Penrose solution
Statement
Let be the Tikhonov minimiser for . Then
Facts & Assumptions
Given: A matrix , a vector , and the Tikhonov minimisers .
In singular-value coordinates,
is the minimum-norm least-squares solution (For every right-hand side , is the unique least-squares solution of minimum Euclidean norm).
The Moore--Penrose pseudoinverse exists (Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse).
Proof
In the same SVD coordinates as [L1], define by reciprocating each positive singular value and leaving the zero block fixed. Direct diagonal multiplication verifies all four Penrose equations, so uniqueness in [L3] gives . Consequently
Step 1.1 and [L1] show that the coefficient of in is for each nonzero singular value, while the zero-singular-value coefficients are in both vectors.
For each fixed nonzero , as , so every coefficient from step 2.1 tends to . Because there are only finitely many singular directions, .
Therefore , the Moore--Penrose minimum-norm least-squares solution from [L2].
The truncated singular-value pseudoinverse obtained by discarding singular values below a declared numerical-rank threshold
Definition
Let , let have singular value decomposition , and let be a declared threshold. The truncated singular-value pseudoinverse at threshold is
where is the transposed-shape diagonal matrix whose th diagonal entry is when and is when ; every off-diagonal entry is .
The threshold is part of the definition, exactly as in Numerical rank relative to a declared norm, scale, and tolerance: changing changes which singular directions are retained.
Truncated SVD and Tikhonov regularisation act as hard and smooth spectral filters on the singular components
Statement
Let , let have singular value decomposition , let , let , and let . In singular-value coordinates, applying the two filters to gives the following coefficients: truncated SVD multiplies the th singular component by
whereas Tikhonov regularisation multiplies it by . Thus truncated SVD is a hard spectral filter and Tikhonov regularisation is a smooth spectral filter.
Facts & Assumptions
Given: A scalar field , a singular value decomposition , a right-hand side , a threshold , and a parameter .
The truncated pseudoinverse replaces retained singular values by their reciprocals and discards the rest (The truncated singular-value pseudoinverse obtained by discarding singular values below a declared numerical-rank threshold).
Tikhonov regularisation scales the th singular direction by (Tikhonov regularisation scales each singular component by the filter factor ).
Proof
By [L1], applying to gives Thus the filter is with a hard cutoff at .
By [L2], the Tikhonov solution is Hence every nonzero singular direction is retained but damped smoothly according to , while zero singular directions have filter value .
Step 1.1 is the truncated-SVD filter and step 1.2 is the Tikhonov filter, so the two methods are hard and smooth spectral filters respectively.
The Moore--Penrose pseudoinverse is continuous on each fixed-rank stratum and is not continuous across rank loss
Statement
Let .
- For fixed and , on the set of matrices over of a fixed rank , the map is continuous.
- On a full matrix space the pseudoinverse need not be continuous at a rank-deficient matrix. Already for the path with , as .
Facts & Assumptions
Given: Real or complex matrices, with the fixed-rank and rank-loss cases as in the statement.
Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse (Every finite real or complex matrix has a unique Moore--Penrose pseudoinverse).
Every matrix admits a singular value decomposition (Every linear map between finite-dimensional real or complex inner product spaces admits a singular value decomposition).
Rank equals the number of nonzero singular values (The rank of a linear map is the number of its nonzero singular values).
Closed bounded subsets of a finite-dimensional Euclidean space are compact (Heine-Borel in : with the Euclidean metric a subset of is compact if and only if it is closed and bounded, and the proof by bisection uses no choice principle; the same holds on the real line).
Proof
Let with every and of rank . By [L2], choose SVDs and . Each unitary group is a closed bounded subset of its finite-dimensional matrix space, hence compact by [L4]. Therefore every subsequence of has a convergent subsequence; along such a subsequence the limit still gives a singular value decomposition of .
For with , [L1] gives . Thus as .
By [L3], exactly the first diagonal entries of every and of are positive. Define the transposed-shape matrices and by reciprocating precisely those entries and setting all remaining entries to zero. Direct diagonal multiplication verifies the four Penrose equations, so uniqueness in [L1] gives and . Along the convergent subsequence from step 1.1 the positive singular values converge to those of , hence their reciprocals converge. Therefore
The matrices converge to as , but their pseudoinverses do not stay bounded, hence cannot converge to the finite matrix . Therefore pseudoinversion is not continuous across rank loss.
Let be any subsequence. Applying the compactness argument of step 1.1 to its SVD factors produces a further subsequence to which step 2.1 applies, so that further subsequence converges to . If did not converge to , some and a subsequence would satisfy for every , contradicting the further subsequence just obtained. Thus , proving continuity on the rank- stratum.
Steps 3.1 and 2.2 prove the two claims.
5 · Examples, counterexamples and false statements
None yet.