In mathematics, and in particular, algebra, a generalized inverse (or, g-inverse) of an element x is an element y that has some properties of an inverse element but not necessarily all of them. The purpose of constructing a generalized inverse of a matrix is to obtain a matrix that can serve as an inverse in some sense for a wider class of matrices than invertible matrices. Generalized inverses can be defined in any mathematical structure that involves associative multiplication, that is, in a semigroup. This article describes generalized inverses of a matrix A. A matrix Ag∈ℝn×m is a generalized inverse of a matrix A∈ℝm×n if AAgA=A. A generalized inverse exists for an arbitrary matrix, and when a matrix has a regular inverse, this inverse is its unique generalized inverse.
Motivation Consider the linear system
Ax=y where A is an m×n matrix and y∈𝒞(A), the column space of A. If m=n and A is nonsingular then x=A−1y will be the solution of the system. Note that, if A is nonsingular, then
AA−1A=A. Now suppose A is rectangular (m≠n), or square and singular. Then we need a right candidate G of order n×m such that for all y∈𝒞(A),
AGy=y. That is, x=Gy is a solution of the linear system Ax=y. Equivalently, we need a matrix G of order n×m such that
AGA=A. Hence we can define the generalized inverse as follows: Given an m×n matrix A, an n×m matrix G is said to be a generalized inverse of A if AGA=A. The matrix A−1 has been termed a regular inverse of A by some authors.
The problem is how to choose an x as the output of G for every y when the map x↦y=Ax is not bijective.
If A is not surjective, then not all y's in its codomain have corresponding x's via A. To circumvent it, we just let G map those y's to arbitrary values. For example, decompose the codomain of A as the direct sum of the column space 𝒞(A) and a complement subspace, and construct G as follows. For y's in the former subspace, let G map back to the corresponding x's. For y's in the latter subspace, let G map them all to zero (as there're no corresponding x's). For other y's, decompose them as the sum of the above two components, apply G respectively, then take the sum. If A is not injective, then some y's correspond to multiple x's via A. To circumvent it, we let G map every y to one of the x's according an algorithm. For example, decompose the domain of A as the direct sum of kerA and a complement subspace. For every possible y, its preimage must be parallel to kerA and intersect the chosen complement subspace at a single point. Let G map the y to this point. If A is neither surjective nor injective, we combine the above two tricks. The picture on the right is an example.
Types Important types of generalized inverse include:
One-sided inverse (right inverse or left inverse) Right inverse: If the matrix A has dimensions m×n and rank(A)=m, then there exists an n×m matrix AR−1 called the right inverse of A such that AAR−1=Im, where Im is the m×m identity matrix. Left inverse: If the matrix A has dimensions m×n and rank(A)=n, then there exists an n×m matrix AL−1 called the left inverse of A such that AL−1A=In, where In is the n×n identity matrix. Bott–Duffin inverse Drazin inverse Moore–Penrose inverse Some generalized inverses are defined and classified based on the Penrose conditions:
AAgA=A AgAAg=Ag (AAg)∗=AAg (AgA)∗=AgA, where ∗ denotes conjugate transpose. If Ag satisfies the first condition, then it is a generalized inverse of A. If it satisfies the first two conditions, then it is a reflexive generalized inverse of A. If it satisfies all four conditions, then it is the pseudoinverse of A, which is denoted by A+ and also known as the Moore–Penrose inverse, after the pioneering works by E. H. Moore and Roger Penrose. It is convenient to define an I-inverse of A as an inverse that satisfies the subset I⊂{1,2,3,4} of the Penrose conditions listed above. Relations, such as A(1,4)AA(1,3)=A+, can be established between these different classes of I-inverses. When A is non-singular, any generalized inverse Ag is equal to A−1 and is therefore unique. For a singular A, some generalized inverses, such as the Drazin inverse and the Moore–Penrose inverse, are unique, while others are not necessarily uniquely defined.
Examples
Non-reflexive generalized inverse
Let
A=[103206000],G=[100001000]. Obviously, A is singular. A and G satisfy Penrose conditions (1), but not the other there. Hence, G is a non-reflexive generalized inverse of A. The first column of A spans imA, and G maps it to (1,0,0), which does not lie in kerA. Additionally, G maps (0,0,1) to (0,1,0), which lies in kerA. The relationship is summarized in the picture on the right.
Reflexive generalized inverse
Let
A=[123456789],G=[−5323043−130000]. Since det(A)=0, A is singular and has no regular inverse. However, A and G satisfy Penrose conditions (1) and (2), but not (3) or (4). Hence, G is a reflexive generalized inverse of A.
One-sided inverse Let
A=[123456],AR−1=[−1718818−2182181318−418]. Since A is not square, A has no regular inverse. However, AR−1 is a right inverse of A. The matrix A has no left inverse.
Inverse of other semigroups (or rings) The element b is a generalized inverse of an element a if and only if a⋅b⋅a=a, in any semigroup (or ring, since the multiplication function in any ring is a semigroup). The generalized inverses of the element 3 in the ring ℤ/12ℤ are 3, 7, and 11, since in the ring ℤ/12ℤ:
3⋅3⋅3=3 3⋅7⋅3=3 3⋅11⋅3=3 The generalized inverses of the element 4 in the ring ℤ/12ℤ are 1, 4, 7, and 10, since in the ring ℤ/12ℤ:
4⋅1⋅4=4 4⋅4⋅4=4 4⋅7⋅4=4 4⋅10⋅4=4 If an element a in a semigroup (or ring) has an inverse, the inverse must be the only generalized inverse of this element, like the elements 1, 5, 7, and 11 in the ring ℤ/12ℤ. In the ring ℤ/12ℤ any element is a generalized inverse of 0; however 2 has no generalized inverse, since there is no b in ℤ/12ℤ such that 2⋅b⋅2=2.
Construction The following characterizations are easy to verify:
… excerpt ends here. Continue reading the full article.



