Skip to content
Hub Nexus

No author yetClaim it

Version 1Updated 14 min read

Support

We now consider how to represent the
inverse of a linear map.

We start by recalling some facts about function
inverses.[1]
Some functions have no inverse, or have an inverse on the left side
or right side only.

Example 4.1

Where
π : {ℝ}^{3} → {ℝ}^{2} is the projection map

( \begin{matrix}x \\ y \\ z\end{matrix} ) ↦ ( \begin{matrix}x \\ y\end{matrix} )

and η : {ℝ}^{2} → {ℝ}^{3} is the embedding

( \begin{matrix}x \\ y\end{matrix} ) ↦ ( \begin{matrix}x \\ y \\ 0\end{matrix} )

the composition π ∘ η is the identity map on {ℝ}^{2}.

( \begin{matrix}x \\ y\end{matrix} ) \overset{η}{⟼} ( \begin{matrix}x \\ y \\ 0\end{matrix} ) \overset{π}{⟼} ( \begin{matrix}x \\ y\end{matrix} )

We say π is a left inverse map
of η or, what is the same thing,
that η is a right inverse map
of π.
However, composition in the other order η ∘ π
doesn't give the identity map— here is a vector that is not
sent to itself under η ∘ π.

( \begin{matrix}0 \\ 0 \\ 1\end{matrix} ) \overset{π}{⟼} ( \begin{matrix}0 \\ 0\end{matrix} ) \overset{η}{⟼} ( \begin{matrix}0 \\ 0 \\ 0\end{matrix} )

In fact, the projection
π has no left inverse at all.
For, if f were to be a left inverse of π
then we would have

( \begin{matrix}x \\ y \\ z\end{matrix} ) \overset{π}{⟼} ( \begin{matrix}x \\ y\end{matrix} ) \overset{f}{⟼} ( \begin{matrix}x \\ y \\ z\end{matrix} )

for all of the infinitely many z's. But no function f can send a single argument to more than one value.

(An example of a function with no inverse on either side
is the zero transformation on {ℝ}^{2}.)
Some functions have a
two-sided inverse map, another function
that is the inverse of the first, both from the left and from the right.
For instance, the map given by
\overset{→}{v} ↦ 2 ⋅ \overset{→}{v} has the two-sided inverse
\overset{→}{v} ↦ ( 1 / 2 ) ⋅ \overset{→}{v}.
In this subsection we will focus on two-sided inverses.
The appendix shows that a function
has a two-sided inverse if and only if it is both one-to-one and onto.
The appendix also shows that if a function f has a two-sided inverse then
it is unique, and so it is called
"the" inverse, and is denoted {f}^{− 1}.
So our purpose in this subsection is, where a linear map h has an inverse,
to find the relationship between {R e p}_{B , D} ( h ) and {R e p}_{D , B} ( {h}^{− 1} )
(recall that we have shown, in Theorem II.2.21
of Section II of this chapter, that if a linear map has an inverse
then the inverse is a linear map also).

Definition 4.2

A matrix G is a left inverse matrix of the matrix H if G H is the identity matrix. It is a right inverse matrix if H G is the identity. A matrix H with a two-sided inverse is an invertible matrix. That two-sided inverse is called the inverse matrix and is denoted {H}^{− 1}.

Because of the correspondence between linear maps and matrices,
statements about map inverses translate into statements about matrix inverses.

Lemma 4.3

If a matrix has both a left inverse and a right inverse then the two are equal.

Theorem 4.4

A matrix is invertible if and only if it is nonsingular.

Proof

(For both results.) Given a matrix H, fix spaces of appropriate dimension for the domain and codomain. Fix bases for these spaces. With respect to these bases, H represents a map h. The statements are true about the map and therefore they are true about the matrix.

Lemma 4.5

A product of invertible matrices is invertible— if G and H are invertible and if G H is defined then G H is invertible and ( G H {)}^{− 1} = {H}^{− 1} {G}^{− 1}.

Proof

(This is just like the prior proof except that it requires two maps.)
Fix appropriate spaces and bases and consider the represented maps h and
g.
Note that {h}^{− 1} {g}^{− 1} is a two-sided map inverse of g h since
( {h}^{− 1} {g}^{− 1} ) ( g h ) = {h}^{− 1} ( \text{id} ) h = {h}^{− 1} h = \text{id}
and
( g h ) ( {h}^{− 1} {g}^{− 1} ) = g ( \text{id} ) {g}^{− 1} = g {g}^{− 1} = \text{id}.
This equality is reflected in the matrices representing the maps, as required.

Here is the arrow diagram giving the relationship
between map inverses and matrix inverses.
It is a special case
of the diagram for function composition and matrix multiplication.

Beyond its place in our general program of
seeing how to represent map operations,
another reason for our interest in inverses comes from solving
linear systems.
A linear system is equivalent to a matrix equation, as here.

\begin{matrix}{x}_{1} & + & {x}_{2} & = & 3 \\ 2 {x}_{1} & − & {x}_{2} & = & 2\end{matrix} \ ⟺ \ ( \begin{matrix}1 & 1 \\ 2 & − 1\end{matrix} ) ( \begin{matrix}{x}_{1} \\ {x}_{2}\end{matrix} ) = ( \begin{matrix}3 \\ 2\end{matrix} ) \ \ ( ∗ )

By fixing spaces and bases (e.g., {ℝ}^{2} , {ℝ}^{2} and {ℰ}_{2} , {ℰ}_{2}),
we take the matrix H to represent some map h.
Then solving the system is the same as
asking: what domain vector \overset{→}{x} is mapped by h to the result
$\overset{→}{d} $?
If we could invert h then we could solve the system
by multiplying {R e p}_{D , B} ( {h}^{− 1} ) ⋅ {R e p}_{D} ( \overset{→}{d} )
to get {R e p}_{B} ( \overset{→}{x} ).

Example 4.6

We can find a left inverse for the matrix just given

( \begin{matrix}m & n \\ p & q\end{matrix} ) ( \begin{matrix}1 & 1 \\ 2 & − 1\end{matrix} ) = ( \begin{matrix}1 & 0 \\ 0 & 1\end{matrix} )

by using Gauss' method to solve the resulting linear system.

\begin{matrix}m & + & 2 n & & & & & = & 1 \\ m & − & n & & & & & = & 0 \\ & & & & p & + & 2 q & = & 0 \\ & & & & p & − & q & = & 1\end{matrix}

Answer: m = 1 / 3, n = 1 / 3, p = 2 / 3, and q = − 1 / 3.
This matrix is actually the two-sided inverse of H,
as can easily be checked.
With it we can solve the system (∗) above by
applying the inverse.

( \begin{matrix}x \\ y\end{matrix} ) = ( \begin{matrix}1 / 3 & 1 / 3 \\ 2 / 3 & − 1 / 3\end{matrix} ) ( \begin{matrix}3 \\ 2\end{matrix} ) = ( \begin{matrix}5 / 3 \\ 4 / 3\end{matrix} )

Remark 4.7

Why solve systems this way, when
Gauss' method takes less arithmetic
(this assertion can be made precise by counting the
number of arithmetic operations,
as computer algorithm designers do)?
Beyond its conceptual appeal of fitting into our program of
discovering how to represent the various map operations,
solving linear systems by using the matrix inverse has
at least two advantages.

First, once the work of finding an inverse has been done,
solving a system with the
same coefficients but different constants is easy and fast: if
we change the entries on the right of the system (∗)
then we get a related problem

( \begin{matrix}1 & 1 \\ 2 & − 1\end{matrix} ) ( \begin{matrix}x \\ y\end{matrix} ) = ( \begin{matrix}5 \\ 1\end{matrix} )

with a related solution method.

( \begin{matrix}x \\ y\end{matrix} ) = ( \begin{matrix}1 / 3 & 1 / 3 \\ 2 / 3 & − 1 / 3\end{matrix} ) ( \begin{matrix}5 \\ 1\end{matrix} ) = ( \begin{matrix}2 \\ 3\end{matrix} )

In applications, solving many systems having the same matrix of
coefficients is common.

Another advantage of inverses is that we can
explore a system's sensitivity to changes in the constants.
For example, tweaking the 3 on the right of the system (∗) to

( \begin{matrix}1 & 1 \\ 2 & − 1\end{matrix} ) ( \begin{matrix}{x}_{1} \\ {x}_{2}\end{matrix} ) = ( \begin{matrix}3.01 \\ 2\end{matrix} )

can be solved with the inverse.

( \begin{matrix}1 / 3 & 1 / 3 \\ 2 / 3 & − 1 / 3\end{matrix} ) ( \begin{matrix}3.01 \\ 2\end{matrix} ) = ( \begin{matrix}( 1 / 3 ) ( 3.01 ) + ( 1 / 3 ) ( 2 ) \\ ( 2 / 3 ) ( 3.01 ) − ( 1 / 3 ) ( 2 )\end{matrix} )

to show that {x}_{1} changes by {}1 / 3 of the tweak while {x}_{2} moves by {}2 / 3 of that tweak. This sort of analysis is used, for example, to decide how accurately data must be specified in a linear model to ensure that the solution has a desired accuracy.

We finish by describing the computational procedure
usually used to find the inverse matrix.

Lemma 4.8

A matrix is invertible if and only if it can be written as the product of elementary reduction matrices. The inverse can be computed by applying to the identity matrix the same row steps, in the same order, as are used to Gauss-Jordan reduce the invertible matrix.

Proof

A matrix H is invertible if and only if it is nonsingular and thus
Gauss-Jordan reduces to the identity.
By Corollary 3.22 this reduction can
be done with elementary matrices
{R}_{r} ⋅ {R}_{r − 1} … {R}_{1} ⋅ H = I.
This equation gives the two halves of the result.

First, elementary matrices are invertible and their inverses are also
elementary.
Applying {R}_{r}^{− 1} to the left of both sides of that equation, then
{R}_{r − 1}^{− 1}, etc., gives H as the product of
elementary matrices H = {R}_{1}^{− 1} ⋯ {R}_{r}^{− 1} ⋅ I
(the I is here to cover the trivial r = 0 case).

Second, matrix inverses are unique and so comparison of the above equation with {H}^{− 1} H = I shows that {H}^{− 1} = {R}_{r} ⋅ {R}_{r − 1} … {R}_{1} ⋅ I. Therefore, applying {R}_{1} to the identity, followed by {R}_{2}, etc., yields the inverse of H.

Example 4.9

To find the inverse of

( \begin{matrix}1 & 1 \\ 2 & − 1\end{matrix} )

we do Gauss-Jordan reduction, meanwhile performing the same operations on
the identity.
For clerical convenience we write the matrix and the identity side-by-side,
and do the reduction steps together.

\begin{matrix}( \begin{matrix}1 & 1 & 1 & 0 \\ 2 & − 1 & 0 & 1\end{matrix} ) & {→}_{ \ }^{− 2 {ρ}_{1} + {ρ}_{2}} & ( \begin{matrix}1 & 1 & 1 & 0 \\ 0 & − 3 & − 2 & 1\end{matrix} ) \\ & {→}_{ \ }^{− 1 / 3 {ρ}_{2}} & ( \begin{matrix}1 & 1 & 1 & 0 \\ 0 & 1 & 2 / 3 & − 1 / 3\end{matrix} ) \\ & {→}_{ \ }^{− {ρ}_{2} + {ρ}_{1}} & ( \begin{matrix}1 & 0 & 1 / 3 & 1 / 3 \\ 0 & 1 & 2 / 3 & − 1 / 3\end{matrix} )\end{matrix}

This calculation has found the inverse.

{( \begin{matrix}1 & 1 \\ 2 & − 1\end{matrix} )}^{− 1} = ( \begin{matrix}1 / 3 & 1 / 3 \\ 2 / 3 & − 1 / 3\end{matrix} )

Example 4.10

This one happens to start with a row swap.

\begin{matrix}( \begin{matrix}0 & 3 & − 1 & 1 & 0 & 0 \\ 1 & 0 & 1 & 0 & 1 & 0 \\ 1 & − 1 & 0 & 0 & 0 & 1\end{matrix} ) & {→}_{ \ }^{{ρ}_{1} ↔ {ρ}_{2}} & ( \begin{matrix}1 & 0 & 1 & 0 & 1 & 0 \\ 0 & 3 & − 1 & 1 & 0 & 0 \\ 1 & − 1 & 0 & 0 & 0 & 1\end{matrix} ) \\ & {→}_{ \ }^{− {ρ}_{1} + {ρ}_{3}} & ( \begin{matrix}1 & 0 & 1 & 0 & 1 & 0 \\ 0 & 3 & − 1 & 1 & 0 & 0 \\ 0 & − 1 & − 1 & 0 & − 1 & 1\end{matrix} ) \\ & ⋮ \\ & {→}_{ \ }^{} & ( \begin{matrix}1 & 0 & 0 & 1 / 4 & 1 / 4 & 3 / 4 \\ 0 & 1 & 0 & 1 / 4 & 1 / 4 & − 1 / 4 \\ 0 & 0 & 1 & − 1 / 4 & 3 / 4 & − 3 / 4\end{matrix} )\end{matrix}

Example 4.11

A non-invertible matrix is detected by the fact that the left half won't
reduce to the identity.

( \begin{matrix}1 & 1 & 1 & 0 \\ 2 & 2 & 0 & 1\end{matrix} ) {→}_{ \ }^{− 2 {ρ}_{1} + {ρ}_{2}} ( \begin{matrix}1 & 1 & 1 & 0 \\ 0 & 0 & − 2 & 1\end{matrix} )

This procedure will find the inverse of a general n \ × \ n matrix.
The {}2 \ × \ 2 case is handy.

Corollary 4.12

The inverse for a {}2 \ × \ 2 matrix exists and equals

{( \begin{matrix}a & b \\ c & d\end{matrix} )}^{− 1} = \frac{1}{a d − b c} ( \begin{matrix}d & − b \\ − c & a\end{matrix} )

if and only if a d − b c ≠ 0.

Proof

This computation is Problem 10.

We have seen here, as in the Mechanics of Matrix Multiplication subsection,
that we can exploit the correspondence between
linear maps and matrices.
So we can fruitfully study both maps and matrices, translating back and forth
to whichever helps us the most.

Over the entire four subsections of
this section we have developed an algebra system for matrices.
We can compare it with the familiar algebra system for the real numbers.
Here we are working not with numbers but with matrices.
We have matrix addition and subtraction operations,
and they work in much the same
way as the real number operations, except that they only combine same-sized
matrices.
We also have a matrix multiplication operation
and an operation inverse to multiplication.
These are somewhat like the familiar real number operations
(associativity, and distributivity over addition, for example), but
there are differences (failure of commutativity, for example).
And, we have scalar multiplication, which is in some ways another extension
of real number multiplication.
This matrix system provides an example that algebra
systems other than the
elementary one can be interesting and useful.

Exercises

Problem 1

Supply the intermediate steps in
Example 4.10.

This exercise is recommended for all readers.

Problem 2

Use Corollary 4.12 to decide if each matrix
has an inverse.

( \begin{matrix}2 & 1 \\ − 1 & 1\end{matrix} )

( \begin{matrix}0 & 4 \\ 1 & − 3\end{matrix} )

( \begin{matrix}2 & − 3 \\ − 4 & 6\end{matrix} )

This exercise is recommended for all readers.

Problem 3

For each invertible matrix in the prior problem, use
Corollary 4.12 to find its inverse.

This exercise is recommended for all readers.

Problem 4

Find the inverse, if it exists, by using the Gauss-Jordan method.
Check the answers for the {}2 \ × \ 2 matrices
with Corollary 4.12.

  • ( \begin{matrix}3 & 1 \\ 0 & 2\end{matrix} )
  • ( \begin{matrix}2 & 1 / 2 \\ 3 & 1\end{matrix} )
  • ( \begin{matrix}2 & − 4 \\ − 1 & 2\end{matrix} )
  • ( \begin{matrix}1 & 1 & 3 \\ 0 & 2 & 4 \\ − 1 & 1 & 0\end{matrix} )
  • ( \begin{matrix}0 & 1 & 5 \\ 0 & − 2 & 4 \\ 2 & 3 & − 2\end{matrix} )
  • ( \begin{matrix}2 & 2 & 3 \\ 1 & − 2 & − 3 \\ 4 & − 2 & − 3\end{matrix} )

This exercise is recommended for all readers.

Problem 5

What matrix has this one for its inverse?

( \begin{matrix}1 & 3 \\ 2 & 5\end{matrix} )

Problem 6

How does the inverse operation interact with scalar multiplication
and addition of matrices?

  • What is the inverse of r H?
  • Is ( H + G {)}^{− 1} = {H}^{− 1} + {G}^{− 1}?

This exercise is recommended for all readers.

Problem 7

Is ( {T}^{k} {)}^{− 1} = ( {T}^{− 1} {)}^{k}?

Problem 8

Is {H}^{− 1} invertible?

Problem 9

For each real number θ let
{t}_{θ} : {ℝ}^{2} → {ℝ}^{2} be represented with respect to the
standard bases by this matrix.

( \begin{matrix}cos ⁡ θ & − sin ⁡ θ \\ sin ⁡ θ & cos ⁡ θ\end{matrix} )

Show that {t}_{{θ}_{1} + {θ}_{2}} = {t}_{{θ}_{1}} ⋅ {t}_{{θ}_{2}}.
Show also that {{t}_{θ}}^{− 1} = {t}_{− θ}.

Problem 10

Do the calculations for the proof of Corollary 4.12.

Problem 11

Show that this matrix

H = ( \begin{matrix}1 & 0 & 1 \\ 0 & 1 & 0\end{matrix} )

has infinitely many right inverses.
Show also that it has no left inverse.

Problem 12

In Example 4.1,
how many left inverses has η?

Problem 13

If a matrix has infinitely many right-inverses, can it have infinitely
many left-inverses?
Must it have?

This exercise is recommended for all readers.

Problem 14

Assume that H is invertible and that H G is the zero matrix.
Show that G is a zero matrix.

Problem 15

Prove that if H is invertible then
the inverse commutes with a matrix G {H}^{− 1} = {H}^{− 1} G
if and only if H itself commutes with that matrix G H = H G.

This exercise is recommended for all readers.

Problem 16

Show that if T is square and if {T}^{4} is the zero matrix
then ( I − T {)}^{− 1} = I + T + {T}^{2} + {T}^{3}.
Generalize.

This exercise is recommended for all readers.

Problem 17

Let D be diagonal.
Describe {D}^{2}, {D}^{3}, ... , etc.
Describe {D}^{− 1}, {D}^{− 2}, ... , etc.
Define {D}^{0} appropriately.

Problem 18

Prove that any matrix row-equivalent to an invertible matrix is also
invertible.

Problem 19

The first question below appeared as Problem 15 in the Matrix Multiplication subsection.

  • Show that the rank of the product of two matrices is less than
    or equal to the minimum of the rank of each.
  • Show that if T and S are square then T S = I

if and only if S T = I.

Problem 20

Show that the inverse of a permutation matrix is its transpose.

Problem 21

The first two parts of this question appeared as Problem 12. of the Matrix Multiplication subsection

  • Show that {( G H )}^{t r a n s} = {H}^{t r a n s} {G}^{t r a n s}.
  • A square matrix is symmetric if each

i , j entry equals the
j , i entry (that is, if the matrix equals its transpose).
Show that
the matrices H {H}^{t r a n s} and {H}^{t r a n s} H are symmetric.

  • Show that the inverse of the transpose is the transpose
    of the inverse.
  • Show that the inverse of a symmetric matrix is symmetric.

This exercise is recommended for all readers.

Problem 22

The items starting this question appeared as Problem 17 of the Matrix Multiplication subsection.

  • Prove that the composition of the projections
    {π}_{x} , {π}_{y} : {ℝ}^{3} → {ℝ}^{3} is the zero map despite that
    neither is the zero map.
  • Prove that the composition of the derivatives

{d}^{2} / d {x}^{2} , \ {d}^{3} / d {x}^{3} : {𝒫}_{4} → {𝒫}_{4}

is the zero map despite that neither map is the zero map.

  • Give matrix equations representing each of the prior two
    items.

When two things multiply to give zero despite
that neither is zero, each is said to be a zero divisor.
Prove that no zero divisor is invertible.

Problem 23

In real number algebra, there are exactly two numbers, 1 and − 1,
that are their own multiplicative inverse.
Does {H}^{2} = I have exactly two solutions for {}2 \ × \ 2
matrices?

Problem 24

Is the relation "is a two-sided inverse of" transitive?
Reflexive?
Symmetric?

Problem 25

Prove: if the sum of the elements in each row of a square
matrix is k, then the sum of the elements in each row of the
inverse matrix is {}1 / k.
(Wilansky 1951) harv error: no target: CITEREFWilansky1951 (help)

Solutions

Footnotes

  • ↑ More information on function inverses is in the appendix.

References

  • Wilansky, Albert, "The Row-Sum of the Inverse Matrix", American Mathematical Monthly, 58 (9), Mathematical Association of America: 614 {{citation}}: Unknown parameter |month= ignored (help).

Where this page came from

This page was imported from Wikibooks. From “Linear Algebra” on Wikibooks, by its contributors, under CC BY-SA 4.0. Changed here: set as a page; navigation and edit links left out; each image under its own licence, credited in its caption.

Nobody has written it yet — it is the source material at a new address, which is why search engines are asked to skip it and why no one earns from it. It is up for grabs: take it on, and it is yours to rewrite and to earn from.

Comments

Spinner Logo

Next in Linear Algebra

CC BY-SA 4.0
Representations, whether of vectors or of maps, vary with the bases. For instance, with respect to the two bases ${ℰ}_{2}$ and $B = ⟨ ( \begin{matrix}1 \\ 1\end{matrix} ) , ( \begin{matrix}1 \\ − 1\end{matrix} ) ⟩$ for ${ℝ}^{2}$, the vector ${\overset{→}{e}}_{1}$ has two different representations. $
CC BY-SA 4.0
In converting ${R e p}_{B} ( \overset{→}{v} )$ to ${R e p}_{D} ( \overset{→}{v} )$ the underlying vector $\overset{→}{v}$ doesn't change. Thus, this translation is accomplished by the identity map on the space, described so that the domain space vectors are represented with respect to B and the codo
CC BY-SA 4.0
The first subsection shows how to convert the representation of a vector with respect to one basis to the representation of that same vector with respect to another basis. Here we will see how to convert the representation of a map with respect to one pair of bases to the representation of that map
CC BY-SA 4.0
We first consider orthogonal projection onto a line. To orthogonally project a vector $\overset{→}{v}$ onto a line $ℓ$, mark the point on the line at which someone standing on that point could see $\overset{→}{v}$ by looking straight up or down (from that person's point of view). The picture shows s
CC BY-SA 4.0
This subsection is optional. It requires material from the prior, also optional, subsection. The work done here will only be needed in the final two sections of Chapter Five. The prior subsection suggests that projecting onto the line spanned by $\overset{→}{s}$ decomposes a vector $\overset{→}{v}$
CC BY-SA 4.0
This subsection, like the others in this section, is optional. It also requires material from the optional earlier subsection on Combining Subspaces. The prior subsections project a vector onto a line by decomposing it into two parts: the part in the line ${\text{proj}}_{[ \overset{→}{s} \ ]} ( \ove