In mathematics, and in particular linear algebra, the pseudoinverse of an matrix is a generalization of the inverse matrix . More precisely, this article talks about the Moore-Penrose pseudoinverse, which was apparently independently described by E. H. Moore and Roger Penrose. A common use of the pseudoinverse is as an approximate or 'best' (least squares) solution to a system of linear equations (see below under Applications). The pseudoinverse is defined and unique for all matrices whose entries are real or complex numbers. Usually, the pseudoinverse is computed using singular value decomposition.
is the unique matrix which satisfies the following criteria:
Here is the conjugate transpose of a matrix M.
An alternative way to define the pseudoinverse is via a limiting process:
If the columns of are linearly independent, then is invertible. In this case, an explicit formula is *
If the rows of are linearly independent, then is invertible. In this case, an explicit formula is
If both columns and rows are linearly independent (that is, for square nonsingular matrices), the pseudoinverse is just the inverse:
If A and B are such that the product is defined and either A or B is unitary, then .
It is also possible to define a pseudoinverse for scalars and vectors. This amounts to treating these as matrices. The pseudoinverse of a scalar is zero if is zero and the reciprocal of otherwise:
The pseudoinverse of the null vector is the transposed null vector. The pseudoinverse of other vectors is the conjugate transposed vector divided by its squared magnitude:
For proof, simply check that these definitions meet the defining criteria for the pseudoinverse.
If exists,
Let k be the rank of a matrix A. Then A can be decomposed as , where B is a -matrix and C is a matrix. Then
If A has full row rank, so that k = m, then B can be chosen to be the identity matrix and the formula reduces to . Similarly, if A has full column rank (that is, k = n), we have
A computationally simpler way to get the pseudoinverse is using the singular value decomposition (SVD).
If is the singular value decomposition of A, then For a diagonal matrix such as , we get the pseudoinverse by taking the reciprocal of each non-zero element on the diagonal.
If a pseudoinverse is already known for a given matrix, and the pseudoinverse is desired for a related matrix, the pseudoinverse for the related matrix can be computed using specialized algorithms that may need less work. In particular, if the related matrix differs from the original one by only a changed, added or deleted row or column, incremental algorithms exist that exploit the relationship.
The pseudoinverse provides a least squares solution to a system of linear equations (SLE) .
Given a SLE , we look for a vector that minimizes , where denotes the Euclidean norm.
The general solution to an inhomogeneous SLE is the sum of a particular solution of the inhomogeneous system and the general solution of the corresponding homogeneous system .
Lemma: If exists, then the solution can always be written as the sum of the pseudoinverse solution of the inhomogeneous system and a solution of the homogeneous system:
Proof:
Here, the vector is arbitrary (apart from the dimensionality). In both summands, the pseudoinverse appears. If we write it as , the equation looks like this:
The first summand is the pseudoinverse solution. In the sense of the least squares error, it is the best linear approximation to the actual solution. This means that the correction summand has minimal euclidean norm. The second summand represents a solution of the homogeneous system , because is the projection on the kernel (null space) of A, while is the projection onto the image (range) of A (the space spanned by the column vectors of A).
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Pseudoinverse".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world