An invertible matrix has exactly one inverse, the matrix with and . A singular or rectangular matrix has no such , and the pseudoinverse of the previous lesson was built from a choice of singular value decomposition. Can it be recognized without making that choice? Four matrix equations do it, and this lesson checks that the pseudoinverse satisfies them, proves that no other matrix does, and compares weaker generalized inverses that satisfy only some of them. Throughout, is or , norms and orthogonality come from the standard inner product, and a tuple stands for a column vector.
Key terms
Moore-Penrose conditions
Definition Let and . The Moore-Penrose conditions on are
The first two are reconstruction identities. The last two say that the matrix and the matrix are Hermitian, which over means symmetric. The pseudoinverse satisfies all four, for every shape and every rank, including . In singular coordinates and hold entry by entry, since for each positive and every other entry is zero. The products and are real diagonal, with ones followed by zeros, so they are Hermitian. Multiplying by the unitary factors keeps each identity, for instance
and . If is square and invertible, satisfies all four.
In plain words The conditions ask to behave like an inverse as far as the matrix allows. Going through , then , then reproduces , going through , then , then reproduces , and the round trips and must be self-adjoint, which makes them perpendicular projections rather than slanted ones.
Example Let be the matrix with entries and , and let , a column. Then is the matrix and
both symmetric. Also and . So satisfies all four conditions, and by the uniqueness theorem below it is .
Hermitian idempotent
Definition A square matrix is idempotent if and Hermitian if . A Hermitian idempotent matrix is an orthogonal projector. Every splits as with , and by idempotence. Hermitian symmetry makes the two pieces orthogonal, since for all
Hence , and is the point of closest to . Conversely, the orthogonal projector onto any subspace is Hermitian and idempotent. Such a projector is determined by its image alone, because it fixes the image and sends the orthogonal complement to zero. For the Moore-Penrose conditions this gives two facts. If satisfies (1) and (3), then is Hermitian by (3) and idempotent since . Every lies in , and every equals , so is the orthogonal projector onto . If satisfies (1) and (4), then is Hermitian by (4) and idempotent since . Its kernel is , so it is the orthogonal projector onto . To see the kernels agree, note that exactly when . Indeed gives , and gives .
In plain words Idempotent means that applying the matrix a second time changes nothing, so it is a projection of some kind. Hermitian means the projection drops each vector perpendicularly onto the image instead of along a slanted direction.
Example The matrix with rows and satisfies . Its image is the line spanned by and its kernel is spanned by , which is not perpendicular to that line, and is not symmetric. For it gives , at distance from . The orthogonal projector onto the same line gives , at distance . Both matrices are idempotent with the same image, and only the Hermitian one is the orthogonal projector.
Uniqueness of the pseudoinverse
Definition The theorem says that for every exactly one satisfies all four Moore-Penrose conditions, namely . In particular does not depend on the singular value decomposition used to build it. Existence was checked above. For uniqueness, let satisfy all four. By the facts about Hermitian idempotents, is the orthogonal projector onto and is the orthogonal projector onto , and neither depends on . Condition (2) gives , so every lies in . Also . The restriction of to is injective, because a vector in both and is orthogonal to itself and so is zero. It maps onto , because for every , as . So has exactly one preimage in , and has to be that preimage. Any two matrices satisfying the four conditions therefore agree on every and are equal, and is one of them.
In plain words The four conditions leave no freedom. Conditions (1) and (3) fix the output that aims at, the orthogonal projection of the target onto the column space. Conditions (2) and (4) force the answer to lie in the row space, where each reachable output has exactly one input.
Example Without condition (2) uniqueness can fail. Let and with . Then , so conditions (1), (3) and (4) hold. But . The entry sends to , a component in . Since is the orthogonal projector onto , condition (2) in the form is exactly what rules this out. All four conditions together leave only .
Pseudoinverse of a singular matrix
Definition Let be singular, of rank . It has no inverse, but its pseudoinverse exists and is the unique matrix satisfying the four conditions. The products and are orthogonal projectors of rank , onto and onto , so neither is . They are equal exactly when , which holds for normal matrices, since then . For a normal matrix the spectral theorem over gives with unitary and diagonal, even when is real, and then
where reciprocates the nonzero diagonal entries and keeps the zeros, because the four conditions hold for and entry by entry, conjugation by the unitary keeps them, and only satisfies all four. In particular, the pseudoinverse of a diagonal matrix reciprocates its nonzero entries, signs included.
In plain words A singular matrix flattens some directions. Its pseudoinverse inverts what is left and sends the output directions perpendicular to the image to zero, and for a matrix that is not normal, the directions ignored on the output side need not match the directions lost on the input side.
Example The matrix with rows and satisfies , and is a compact SVD with , and . So
Then projects onto , while projects onto , and the two projectors differ. For the symmetric matrix with every entry , the spectral decomposition is with , so its pseudoinverse is , the matrix with every entry .
Generalized inverse
Definition Let . A matrix with , condition (1) alone, is a generalized inverse of , and it is called reflexive if it also satisfies (2). Generalized inverses always exist, since is one, but they are unique only when is square and invertible, and then . Each one solves every consistent system. If , then
Adding (3) makes the orthogonal projector onto , so is a least-squares solution for every . Adding (4) makes the orthogonal projector onto , so for consistent the vector is the solution of minimum norm. Only all four conditions together give the minimum-norm least-squares solution for every .
In plain words A generalized inverse only has to undo well enough to rebuild . That is enough to solve systems that have solutions, but without the Hermitian conditions it can fit an inconsistent target badly or pick a needlessly long solution.
Example Over , let be the matrix with entries and . A column satisfies , so the generalized inverses are exactly the columns with . Each of them also satisfies (2) and (3), because . Condition (4) asks the matrix , with rows and , to be symmetric, which forces . The choice still solves the consistent system , giving of norm , while gives , of norm .
Check yourself
- Find the pseudoinverse of and check the four conditions.
Show the answer
The matrix is diagonal, so reciprocates the nonzero entries and keeps the zero,
Then , a real diagonal matrix, so conditions (3) and (4) hold. Multiplying by gives , and multiplying it by gives , which are conditions (1) and (2). The sign stays, since the reciprocal of is , and the zero stays zero.
- Let and let have rows and . Which Moore-Penrose conditions hold? What does do with ?
Show the answer
Multiplying gives , which is symmetric, so (3) holds, and then , so (1) holds. The product equals itself, with rows and . It is not symmetric, so (4) fails, but , so (2) holds. So is a reflexive generalized inverse with (3) as well, and since satisfies all four conditions, the failure of (4) shows that is not . For the system is consistent and does solve , but its norm is , while has norm . The extra entry is a component in , which condition (4) would have removed.
- Let have full column rank. Show that satisfies the four conditions, and use it to find for the matrix with rows , and . Where is full column rank needed?
Show the answer
Full column rank means , and since , the Hermitian matrix is invertible. Its inverse is Hermitian too. Put . Then , which gives (4), and then and , which give (1) and (2). Finally
which is (3). By uniqueness . For the example,
Here , while is a projector of rank . Full column rank is needed for the inverse to exist. For , for instance, is singular and the formula has no meaning, although still exists.