MATH 4A - Linear Algebra With Applications: Lecture 9: Matrix Inverses
MATH 4A - Linear Algebra With Applications: Lecture 9: Matrix Inverses
MATH 4A - Linear Algebra With Applications: Lecture 9: Matrix Inverses
19 April 2019
Lecture plan
1 Inverse of a matrix
Motivation
2x = 4
to see that
x = 2.
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
Motivation
AB = AC but B 6= C .
Definition
AC = CA = I = In ,
B = BI = B(AC ) = (BA)C = IC = C .
AA−1 = A−1 A = I .
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
Basic questions:
Example
If
1 1
A=
0 1
we can check that the inverse is
−1 1 −1
A = .
0 1
−1 1 1 1 −1 1 · 1 + 1 · 0 1 · (−1) + 1 · 1
AA = =
0 1 0 1 0 · 1 + 1 · 0 0 · (−1) + 1 · 1
1 0
= =I
0 1
−1 1 −1 1 1 1 · 1 + (−1) · 0 1 · 1 + (−1) · (1)
A A= =
0 1 0 1 0·1+1·1 0·1+1·1
1 0
= =I
0 1
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
Nonexample
No matter how hard we try, we can never find an inverse for the
matrix
1 1
B= .
0 0
Why not? Let
a b
C=
c d
be some matrix. Then
1 1 a b a b
BC = = .
0 0 c d 0 0
So no matter what we pick for a, b, c, d (that is, no matter
which
a b
matrix C we choose) we can never get the matrix BC =
0 0
1 0
to equal the identity I2 = . Thus B is not invertible.
0 1
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
Theorem
a b
Let A = . Then A is invertible if and only if ad − bc 6= 0.
c d
If A is invertible, then its inverse is
1 d −b
A−1 = .
ad − bc −c a
det A = ad − bc.
We conclude that
−1 1 d −b
A = .
ad − bc −c a
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
iClicker 1
Using matrix inverses, find the first entry of the solution to the
equation
1 1 x1 0
= .
0 1 x2 2
Recall from an earlier slide that
−1
1 1 1 −1
=
0 1 0 1
(a) 0
(b) 1
(c) -1
(d) -2
(e) 2
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
Theorem
Let A and B be two invertible n × n matrices. Then
(a) A−1 is also invertible, and (A−1 )−1 = A
(b) (AB)−1 = B −1 A−1
(c) (AT )−1 = (A−1 )T
iClicker 2
(a) -2
(b) 1
(c) 2
(d) 3
(e) 8
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
Elementary matrices
1 0 0 0 1 0 1 0 0
E1 = 0 1 0 E 2 = 1 0 0 E 3 = 0 1 0
−4 0 1 0 0 1 0 0 5
Example: let
a b c
A = d e f .
g h i
Then
1 0 0 a b c a b c
E1 A = 0 1 0 d e f = d e f
−4 0 1 g h i g − 4a h − 4b i − 4c
iClicker 3
Which of the following is the inverse of the elementary matrix
1 0 0
E1 = 0 1 0?
−4 0 1
−4 0 1
(a) 0 1 0
1 0 0
1 0 0
(b) 0 1 0
4 0 1
4 0 1
(c) 0 1 0
1 0 0
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
Theorem
An n × n matrix A is invertible if and only if A is row equivalent to
the identity matrix In . In this case, any sequence of elementary row
operations that reduces A to In also transforms In into A−1 .
Example
1 2
Let’s find the inverse of A = using the algorithm.
3 4
1 2 1 0 R2 7→R2 −3R2 1 2 1 0
−
−−−−−−− →
3 4 0 1 0 −2 −3 1
1 0 −2 1 R2 7→ −1
R1 7→R1 +R2 2
R2 1 0 −2 1
−−−−−−−→ −−−−−−→ −1
0 −2 −3 1 0 1 23 2
Thus
−1 −2 1
A = 3 .
2 − 21
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
Theorem
Let A be a n × n square matrix. Then the following are all
equivalent
(a) A is invertible
(b) A is row equivalent to In
(c) A has n pivot positions
(d) Ax = 0 has only the trivial solution
(e) the columns of A are linearly independent
(f) The linear transformation A : Rn → Rn is one-to-one
(g) the equation Ax = b is consistent for all b in Rn
(h) the columns of A span Rn
(i) The linear transformation A : Rn → Rn is onto
(j) AT is invertible
Inverse of a matrix An algorithm for finding matrix inverses Other characterizations of invertible matrices
iClicker 4
Is the matrix
1 0 2
A = 0 1 3
1 1 5
invertible? Why?
(a) Yes, because none of the rows are all 0
(b) Yes, because none of the columns are all 0
(c) Yes, because the columns are linearly independent
(d) No, because the columns are linearly dependent
(e) No, because the equation Ax = 0 is inconsistent.