Solving Systems of Linear Equations (3)
Pseudoinverse of a Matrix
The pseudoinverse introduced here is the Moore-Penrose inverse matrix, defined as follows: Given a matrix , if a matrix satisfies , and there exist two matrices such that
then is called the pseudoinverse of matrix . It can be proven that the pseudoinverse of a matrix is unique.
For a matrix and , according to the above definition, the pseudoinverse of can be verified as
For a matrix and , similarly, according to the above definition, the pseudoinverse of can be verified as
The above two cases are the pseudoinverses when the matrix is full column rank or full row rank. For a general matrix , we can use the full rank decomposition method to find its pseudoinverse.
For any matrix , it can be decomposed into the product of a full row rank matrix and a full column rank matrix: That is,
It can be proven that: , where , which is the method for finding the pseudoinverse of a general matrix.
Solving Linear Equations in General Cases
For a linear equation system , the vector minimizes in the space ; among all vectors in that can minimize , the vector has the smallest norm and is unique.
When , is a full row rank matrix, and in this case, , which is the minimum norm solution of the equation system .
When , is a full column rank matrix, and in this case, , which is the least squares solution of the equation system .