1000/1000
Hot
Most Recent
In linear algebra, the Moore–Penrose inverse is a matrix that satisfies some but not necessarily all of the properties of an inverse matrix. This article collects together a variety of proofs involving the Moore–Penrose inverse.
Let [math]\displaystyle{ A }[/math] be an m-by-n matrix over a field [math]\displaystyle{ \mathbb{K} }[/math] and [math]\displaystyle{ A^+ }[/math] be an n-by-m matrix over [math]\displaystyle{ \mathbb{K} }[/math], where [math]\displaystyle{ \mathbb{K} }[/math] is either [math]\displaystyle{ \mathbb{R} }[/math], the real numbers, or [math]\displaystyle{ \mathbb{C} }[/math], the complex numbers. The following four criteria are called the Moore–Penrose conditions:
Given a matrix [math]\displaystyle{ A }[/math], there exists a unique matrix [math]\displaystyle{ A^+ }[/math] that satisfies all four of the Moore–Penrose conditions, which is called the Moore–Penrose inverse of [math]\displaystyle{ A }[/math].[1][2][3][4] Notice that [math]\displaystyle{ A }[/math] is also the Moore–Penrose inverse of [math]\displaystyle{ A^+ }[/math]. That is, [math]\displaystyle{ \left(A^+\right)^+ = A }[/math].
These results are used in the proofs below. In the following lemmas, A is a matrix with complex elements and n columns, B is a matrix with complex elements and n rows.
The assumption says that all elements of A*A are zero. Therefore,
Therefore, all [math]\displaystyle{ A_{ij} }[/math] equal 0 i.e. [math]\displaystyle{ A = 0 }[/math].
This is proved in a manner similar to the argument of Lemma 2 (or by simply taking the Hermitian conjugate).
Let [math]\displaystyle{ A }[/math] be a matrix over [math]\displaystyle{ \mathbb{R} }[/math] or [math]\displaystyle{ \mathbb{C} }[/math]. Suppose that [math]\displaystyle{ {A^+_1} }[/math] and [math]\displaystyle{ {A^+_2} }[/math] are Moore–Penrose inverses of [math]\displaystyle{ A }[/math]. Observe then that
Analogously we conclude that [math]\displaystyle{ {A^+_1}A = {A^+_2}A }[/math]. The proof is completed by observing that then
The proof proceeds in stages.
For any [math]\displaystyle{ x \in \mathbb{K} }[/math], we define:
It is easy to see that [math]\displaystyle{ x^+ }[/math] is a pseudoinverse of [math]\displaystyle{ x }[/math] (interpreted as a 1-by-1 matrix).
Let [math]\displaystyle{ D }[/math] be an n-by-n matrix over [math]\displaystyle{ \mathbb{K} }[/math] with zeros off the diagonal. We define [math]\displaystyle{ D^+ }[/math] as an n-by-n matrix over [math]\displaystyle{ \mathbb{K} }[/math] with [math]\displaystyle{ \left(D^+\right)_{ij} := \left(D_{ij}\right)^+ }[/math] as defined above. We write simply [math]\displaystyle{ D^+_{ij} }[/math] for [math]\displaystyle{ \left(D^+\right)_{ij} = \left(D_{ij}\right)^+ }[/math].
Notice that [math]\displaystyle{ D^+ }[/math] is also a matrix with zeros off the diagonal.
We now show that [math]\displaystyle{ D^+ }[/math] is a pseudoinverse of [math]\displaystyle{ D }[/math]:
Let [math]\displaystyle{ D }[/math] be an m-by-n matrix over [math]\displaystyle{ \mathbb{K} }[/math] with zeros off the main diagonal, where m and n are unequal. That is, [math]\displaystyle{ D_{ij} = d_{i} }[/math] for some [math]\displaystyle{ d_{i}\in\mathbb{K} }[/math] when [math]\displaystyle{ i = j }[/math] and [math]\displaystyle{ D_{ij} = 0 }[/math] otherwise.
Consider the case where [math]\displaystyle{ n\gt m }[/math]. Then we can rewrite [math]\displaystyle{ D = \left[D_0\,\,\mathbf{0}_{m\times (n-m)}\right] }[/math] by stacking where [math]\displaystyle{ D_0 }[/math] is a square diagonal m-by-m matrix, and [math]\displaystyle{ \mathbf{0}_{m\times(n-m)} }[/math] is the m-by-(n−m) zero matrix. We define [math]\displaystyle{ D^+ \equiv \begin{bmatrix} D_0^+ \\ \mathbf{0}_{(n-m)\times m} \end{bmatrix} }[/math] as an n-by-m matrix over [math]\displaystyle{ \mathbb{K} }[/math], with [math]\displaystyle{ D_0^+ }[/math] the pseudoinverse of [math]\displaystyle{ D_0 }[/math] defined above, and [math]\displaystyle{ \mathbf{0}_{(n-m)\times m} }[/math] the (n−m)-by-m zero matrix. We now show that [math]\displaystyle{ D^+ }[/math] is a pseudoinverse of [math]\displaystyle{ D }[/math]:
Existence for [math]\displaystyle{ D }[/math] such that [math]\displaystyle{ m \gt n }[/math] follows by swapping the roles of [math]\displaystyle{ D }[/math] and [math]\displaystyle{ D^+ }[/math] in the [math]\displaystyle{ n \gt m }[/math] case and using the fact that [math]\displaystyle{ \left(D^+\right)^+ = D }[/math].
The singular value decomposition theorem states that there exists a factorization of the form
where:
Define [math]\displaystyle{ A^+ }[/math] as [math]\displaystyle{ V\Sigma^+U^* }[/math].
We now show that [math]\displaystyle{ A^+ }[/math] is a pseudoinverse of [math]\displaystyle{ A }[/math]:
The proof works by showing that [math]\displaystyle{ {A^+}^* }[/math] satisfies the four criteria for the pseudoinverse of [math]\displaystyle{ A^* }[/math]. Since this amounts to just substitution, it is not shown here.
The proof of this relation is given as Exercise 1.18c in.[6]
[math]\displaystyle{ A^+ = A^+AA^+ }[/math] and [math]\displaystyle{ AA^+ = \left(AA^+\right)^* }[/math] imply that [math]\displaystyle{ A^+ = A^+\left(A A^+\right)^* = A^+A^{+^*}A^* }[/math].
[math]\displaystyle{ A^+ = A^+AA^+ }[/math] and [math]\displaystyle{ A^+A = \left(A^+A\right)^* }[/math] imply that [math]\displaystyle{ A^+ = \left(A^+A\right)^*A^+ = A^*A^{+*}A^+ }[/math].
[math]\displaystyle{ A = A A^+ A }[/math] and [math]\displaystyle{ A A^+ = \left(A A^+\right)^* }[/math] imply that [math]\displaystyle{ A = \left(A A^+\right)^* A = A^{+^*} A^* A }[/math].
[math]\displaystyle{ A = A A^+ A }[/math] and [math]\displaystyle{ A^+A = \left(A^+A\right)^* }[/math] imply that [math]\displaystyle{ A = A \left(A^+ A\right)^* = A A^* A^{+^*} }[/math].
This is the conjugate transpose of [math]\displaystyle{ A = A^{+^*} A^* A }[/math] above.
This is the conjugate transpose of [math]\displaystyle{ A = A A^* A^{+^*} }[/math] above.
The results of this section show that the computation of the pseudoinverse is reducible to its construction in the Hermitian case. It suffices to show that the putative constructions satisfy the defining criteria.
This relation is given as exercise 18(d) in,[6] for the reader to prove, "for every matrix A". Write [math]\displaystyle{ D = A^*\left(AA^*\right)^+ }[/math]. Observe that
Similarly, [math]\displaystyle{ \left(AA^*\right)^+AA^*\left(AA^*\right)^+ = \left(AA^*\right)^+ }[/math] implies that [math]\displaystyle{ A^*\left(AA^*\right)^+AA^*\left(AA^*\right)^+ = A^*\left(AA^*\right)^+ }[/math] i.e. [math]\displaystyle{ DAD = D }[/math].
Additionally, [math]\displaystyle{ AD = AA^*\left(AA^*\right)^+ }[/math] so [math]\displaystyle{ AD = (AD)^* }[/math].
Finally, [math]\displaystyle{ DA = A^*\left(AA^*\right)^+A }[/math] implies that [math]\displaystyle{ (DA)^* = A^* \left(\left(AA^*\right)^+\right)^*A = A^* \left(\left(AA^*\right)^+\right)A = DA }[/math].
Therefore, [math]\displaystyle{ D = A^+ }[/math].
This is proved in an analogous manner to the case above, using Lemma 2 instead of Lemma 3.
For the first three proofs, we consider products C = AB.
If [math]\displaystyle{ A }[/math] has orthonormal columns i.e. [math]\displaystyle{ A^*A = I }[/math] then [math]\displaystyle{ A^+ = A^* }[/math]. Write [math]\displaystyle{ D = B^+A^+ = B^+A^* }[/math]. We show that [math]\displaystyle{ D }[/math] satisfies the Moore–Penrose criteria.
Therefore, [math]\displaystyle{ D = C^+ }[/math].
If B has orthonormal rows i.e. [math]\displaystyle{ BB^* = I }[/math] then [math]\displaystyle{ B^+ = B^* }[/math]. Write [math]\displaystyle{ D = B^+A^+ = B^*A^+ }[/math]. We show that [math]\displaystyle{ D }[/math] satisfies the Moore–Penrose criteria.
Therefore, [math]\displaystyle{ D = C^+. }[/math]
Since [math]\displaystyle{ A }[/math] has full column rank, [math]\displaystyle{ A^*A }[/math] is invertible so [math]\displaystyle{ \left(A^*A\right)^+ = \left(A^*A\right)^{-1} }[/math]. Similarly, since [math]\displaystyle{ B }[/math] has full row rank, [math]\displaystyle{ BB^* }[/math] is invertible so [math]\displaystyle{ \left(BB^*\right)^+ = \left(BB^*\right)^{-1} }[/math].
Write [math]\displaystyle{ D = B^+A^+ = B^*\left(BB^*\right)^{-1}\left(A^*A\right)^{-1}A^* }[/math](using reduction to the Hermitian case). We show that [math]\displaystyle{ D }[/math] satisfies the Moore–Penrose criteria.
Therefore, [math]\displaystyle{ D = C^+ }[/math].
Here, [math]\displaystyle{ B = A^* }[/math], and thus [math]\displaystyle{ C = AA^* }[/math] and [math]\displaystyle{ D = A^{+*} A^+ }[/math]. We show that indeed [math]\displaystyle{ D }[/math] satisfies the four Moore–Penrose criteria.
Therefore, [math]\displaystyle{ D = C^+ }[/math]. In other words:
and, since [math]\displaystyle{ \left(A^*\right)^* = A }[/math]
Define [math]\displaystyle{ P = AA^+ }[/math] and [math]\displaystyle{ Q = A^+ A }[/math]. Observe that [math]\displaystyle{ P^2 = AA^+ AA^+ = AA^+ = P }[/math]. Similarly [math]\displaystyle{ Q^2 = Q }[/math], and finally, [math]\displaystyle{ P = P^* }[/math] and [math]\displaystyle{ Q = Q^* }[/math]. Thus [math]\displaystyle{ P }[/math] and [math]\displaystyle{ Q }[/math] are orthogonal projection operators. Orthogonality follows from the relations [math]\displaystyle{ P = P^* }[/math] and [math]\displaystyle{ Q = Q^* }[/math]. Indeed, consider the operator [math]\displaystyle{ P }[/math]: any vector decomposes as
and for all vectors [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] satisfying [math]\displaystyle{ Px = x }[/math] and [math]\displaystyle{ (I - P)y = y }[/math], we have
It follows that [math]\displaystyle{ PA = AA^+ A = A }[/math] and [math]\displaystyle{ A^+ P = A^+ AA^+ = A^+ }[/math]. Similarly, [math]\displaystyle{ QA^+ = A^+ }[/math] and [math]\displaystyle{ AQ = A }[/math]. The orthogonal components are now readily identified.
If [math]\displaystyle{ y }[/math] belongs to the range of [math]\displaystyle{ A }[/math] then for some [math]\displaystyle{ x }[/math], [math]\displaystyle{ y = Ax }[/math] and [math]\displaystyle{ Py = PAx = Ax = y }[/math]. Conversely, if [math]\displaystyle{ Py = y }[/math] then [math]\displaystyle{ y = AA^+ y }[/math] so that [math]\displaystyle{ y }[/math] belongs to the range of [math]\displaystyle{ A }[/math]. It follows that [math]\displaystyle{ P }[/math] is the orthogonal projector onto the range of [math]\displaystyle{ A }[/math]. [math]\displaystyle{ I - P }[/math] is then the orthogonal projector onto the orthogonal complement of the range of [math]\displaystyle{ A }[/math], which equals the kernel of [math]\displaystyle{ A^* }[/math].
A similar argument using the relation [math]\displaystyle{ QA^* = A^* }[/math] establishes that [math]\displaystyle{ Q }[/math] is the orthogonal projector onto the range of [math]\displaystyle{ A^* }[/math] and [math]\displaystyle{ (I - Q) }[/math] is the orthogonal projector onto the kernel of [math]\displaystyle{ A }[/math].
Using the relations [math]\displaystyle{ P\left(A^+\right)^* = P^*\left(A^+\right)^* = \left(A^+ P\right)^* = \left(A^+\right)^* }[/math] and [math]\displaystyle{ P = P^* = \left(A^+\right)^* A^* }[/math] it follows that the range of P equals the range of [math]\displaystyle{ \left(A^+\right)^* }[/math], which in turn implies that the range of [math]\displaystyle{ I - P }[/math] equals the kernel of [math]\displaystyle{ A^+ }[/math]. Similarly [math]\displaystyle{ QA^+ = A^+ }[/math] implies that the range of [math]\displaystyle{ Q }[/math] equals the range of [math]\displaystyle{ A^+ }[/math]. Therefore, we find,
In the general case, it is shown here for any [math]\displaystyle{ m \times n }[/math] matrix [math]\displaystyle{ A }[/math] that [math]\displaystyle{ \|Ax -b\|_2 \ge \|Az -b\|_2 }[/math] where [math]\displaystyle{ z = A^+ b }[/math]. This lower bound need not be zero as the system [math]\displaystyle{ Ax=b }[/math] may not have a solution (e.g. when the matrix A does not have full rank or the system is overdetermined).
To prove this, we first note that (stating the complex case), using the fact that [math]\displaystyle{ P = A A^+ }[/math] satisfies [math]\displaystyle{ PA = A }[/math] and [math]\displaystyle{ P = P^* }[/math], we have
so that ([math]\displaystyle{ \text{c.c.} }[/math] stands for the complex conjugate of the previous term in the following)
as claimed.
If [math]\displaystyle{ A }[/math] is injective i.e. one-to-one (which implies [math]\displaystyle{ m \ge n }[/math]), then the bound is attained uniquely at [math]\displaystyle{ z }[/math].
The proof above also shows that if the system [math]\displaystyle{ Ax = b }[/math] is satisfiable i.e. has a solution, then necessarily [math]\displaystyle{ z = A^+b }[/math] is a solution (not necessarily unique). We show here that [math]\displaystyle{ z }[/math] is the smallest such solution (its Euclidean norm is uniquely minimum).
To see this, note first, with [math]\displaystyle{ Q = A^+ A }[/math], that [math]\displaystyle{ Qz = A^+ AA^+ b = A^+ b = z }[/math] and that [math]\displaystyle{ Q^* = Q }[/math]. Therefore, assuming that [math]\displaystyle{ Ax = b }[/math], we have
Thus
with equality if and only if [math]\displaystyle{ x = z }[/math], as was to be shown.
An immediate consequence of this result is that [math]\displaystyle{ z }[/math] is also the uniquely smallest solution to the least-squares minimization problem for all [math]\displaystyle{ Ax = b }[/math], including when [math]\displaystyle{ A }[/math] is neither injective nor surjective. It can be shown that the least-squares approximation [math]\displaystyle{ Az = y \approx b }[/math] is unique. Thus it is necessary and sufficient for all [math]\displaystyle{ x }[/math] that solve the least-squares minimization to satisfy [math]\displaystyle{ Ax = y = Az = AA^+b }[/math]. This system always has a solution (not necessarily unique) as [math]\displaystyle{ Az }[/math] lies in the column space of [math]\displaystyle{ A }[/math]. From the above result the smallest [math]\displaystyle{ x }[/math] which solves this system is [math]\displaystyle{ A^+(AA^+b) = A^+b = z }[/math].