Generalized inverse explained

A

.

A matrix

Ag\inRn

is a generalized inverse of a matrix

A\inRm

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

n x m

matrix and

y\inlR(A),

the column space of

A

. If

A

is nonsingular (which implies

n=m

) 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 (

nm

), or square and singular. Then we need a right candidate

G

of order

m x n

such that for all

y\inlR(A),

AGy=y.

That is,

x=Gy

is a solution of the linear system

Ax=y

. Equivalently, we need a matrix

G

of order

m x n

such that

AGA=A.

Hence we can define the generalized inverse as follows: Given an

m x n

matrix

A

, an

n x 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.

Types

Important types of generalized inverse include:

A

has dimensions

n x m

and

rm{rank}(A)=n

, then there exists an

m x n

matrix
-1
A
R
called the right inverse of

A

such that

A

-1
A
R

=In

, where

In

is the

n x n

identity matrix.

A

has dimensions

n x m

and

rm{rank}(A)=m

, then there exists an

m x n

matrix
-1
A
L
called the left inverse of

A

such that
-1
A
L

A=Im

, where

Im

is the

m x m

identity matrix.

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\subset\{1,2,3,4\}

of the Penrose conditions listed above. Relations, such as

A(1,AA(1,=A+

, can be established between these different classes of

I

-inverses.

When

A

is non-singular, any generalized inverse

Ag=A-1

and is therefore unique. For a singular

A

, some generalised inverses, such as the Drazin inverse and the Moore–Penrose inverse, are unique, while others are not necessarily uniquely defined.

Examples

Reflexive generalized inverse

Let

A=\begin{bmatrix} 1&2&3\\ 4&5&6\\ 7&8&9 \end{bmatrix},G=\begin{bmatrix} -

5
3

&

2
3

&0\\[4pt]

4
3

&-

1
3

&0\\[4pt] 0&0&0 \end{bmatrix}.

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=\begin{bmatrix} 1&2&3\\ 4&5&6 \end{bmatrix},

-1
A
R

=\begin{bmatrix} -

17
18

&

8
18

\\[4pt] -

2
18

&

2
18

\\[4pt]

13
18

&-

4
18

\end{bmatrix}.

Since

A

is not square,

A

has no regular inverse. However,
-1
A
R

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

aba=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

Z/12Z

are 3, 7, and 11, since in the ring

Z/12Z

:

333=3

373=3

3113=3

The generalized inverses of the element 4 in the ring

Z/12Z

are 1, 4, 7, and 10, since in the ring

Z/12Z

:

414=4

444=4

474=4

4104=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

Z/12Z

.

In the ring

Z/12Z

, any element is a generalized inverse of 0, however, 2 has no generalized inverse, since there is no b in

Z/12Z

such that

2b2=2

.

Construction

The following characterizations are easy to verify:

A

is given by
-1
A
R

=A\intercal\left(AA\intercal\right)-1

, provided

A

has full row rank.

A

is given by
-1
A
L

=\left(A\intercalA\right)-1A\intercal

, provided

A

has full column rank.

A=BC

is a rank factorization, then

G=

-1
C
R
-1
B
L
is a g-inverse of

A

, where
-1
C
R
is a right inverse of

C

and
-1
B
L
is left inverse of

B

.

A=P\begin{bmatrix}Ir&0\ 0&0\end{bmatrix}Q

for any non-singular matrices

P

and

Q

, then

G=Q-1\begin{bmatrix}Ir&U\W&V\end{bmatrix}P-1

is a generalized inverse of

A

for arbitrary

U,V

and

W

.

A

be of rank

r

. Without loss of generality, letA = \beginB & C\\ D & E\end,where

Br

is the non-singular submatrix of

A

. Then,G = \begin B^ & 0\\ 0 & 0 \endis a generalized inverse of

A

if and only if

E=DB-1C

.

Uses

Any generalized inverse can be used to determine whether a system of linear equations has any solutions, and if so to give all of them. If any solutions exist for the n × m linear system

Ax=b

,

with vector

x

of unknowns and vector

b

of constants, all solutions are given by

x=Agb+\left[I-AgA\right]w

,

parametric on the arbitrary vector

w

, where

Ag

is any generalized inverse of

A

. Solutions exist if and only if

Agb

is a solution, that is, if and only if

AAgb=b

. If A has full column rank, the bracketed expression in this equation is the zero matrix and so the solution is unique.

Generalized inverses of matrices

The generalized inverses of matrices can be characterized as follows. Let

A\inRm

, and

A = U \begin \Sigma_1 & 0 \\ 0 & 0 \end V^\operatorname

be its singular-value decomposition. Then for any generalized inverse

Ag

, there exist matrices

X

,

Y

, and

Z

such that

A^g = V \begin \Sigma_1^ & X \\ Y & Z \end U^\operatorname.

Conversely, any choice of

X

,

Y

, and

Z

for matrix of this form is a generalized inverse of

A

. The

\{1,2\}

-inverses are exactly those for which

Z=Y\Sigma1X

, the

\{1,3\}

-inverses are exactly those for which

X=0

, and the

\{1,4\}

-inverses are exactly those for which

Y=0

. In particular, the pseudoinverse is given by

X=Y=Z=0

:

A^+ = V \begin \Sigma_1^ & 0 \\ 0 & 0 \end U^\operatorname.

Transformation consistency properties

In practical applications it is necessary to identify the class of matrix transformations that must be preserved by a generalized inverse. For example, the Moore–Penrose inverse,

A+,

satisfies the following definition of consistency with respect to transformations involving unitary matrices U and V:

(UAV)+=V*A+U*

.

The Drazin inverse,

AD

satisfies the following definition of consistency with respect to similarity transformations involving a nonsingular matrix S:

\left(SAS-1\right)D=SADS-1

.

The unit-consistent (UC) inverse,

AU,

satisfies the following definition of consistency with respect to transformations involving nonsingular diagonal matrices D and E:

(DAE)U=E-1AUD-1

.

The fact that the Moore–Penrose inverse provides consistency with respect to rotations (which are orthonormal transformations) explains its widespread use in physics and other applications in which Euclidean distances must be preserved. The UC inverse, by contrast, is applicable when system behavior is expected to be invariant with respect to the choice of units on different state variables, e.g., miles versus kilometers.

See also

Sources

Textbook

Publication