We have seen that we can solve the system of equations described by $$\begin{pmatrix} 3&-4 \ 2&-1\end{pmatrix}\begin{pmatrix} x \ y\end{pmatrix} = \begin{pmatrix} 5 \ -10\end{pmatrix}$$ with Cramer’s rule. Rather than grinding through(打破砂锅问到底) Cramer’s rule, it sure would be nice to be able to divide by the matrix on the left. Unfortunately, division by a matrix is not defined. However, we can take another look solving equations with division by real numbers to get an idea how we might accomplish our goal. Consider the equation $$3x = 9.$$ To solve this equation we can “divide both sides by 3.” What we’re really doing when we “divide both sides by 3” is “multiplying both sides by .” More precisely, we are multiplying by the multiplicative inverse of 3, which eliminates the on the left side. Multiplying both sides of by gives $$\frac{1}{3} \cdot 3 x =\frac{1}{3}\cdot 9.$$ The and 3 cancel, and we’re left with .
Let’s see if we can accomplish something similar with matrices.
Problems
Problem 10.33
[!question]
Suppose that for all vectors . What matrix must equal?
Problem 10.34
[!question]
If equals the answer you found in ## Problem 10.33, then we say that is the inverse of and that is invertible. We often denote the inverse of a matrix as . Let . Find .
Problem 10.35
[!question]
Does the matrix have an inverse? If it does, then find it. If it doesn’t, explain why not.
Problem 10.36
[!question]
If is invertible, then how are and related?
Problem 10.37
[!question]
Let . In this problem, we find the conditions under which is invertible, and we find the inverse in terms of , , , and . (a) Suppose is invertible, and let . What matrix must equal? (b) Use your answer to (a) to find a system of equations in terms of , , , , , and . Solve the system for and in terms of the components of . (c) Find and in terms of the components of . (d) Under what conditions is it possible to find an inverse of , and what is that inverse in terms of , , , and ? (e) Confirm your result from part (d) by multiplying by the matrix you found in part (d) .
Problem 10.38
[!question] (a) Find the inverse of . (b) Use your answer to part (a) to solve the system of equations , . (c) Find the inverse of . (d) Use your answer to part (c) to solve the system of equations , .
Problem 10.39
[!question]
If and , then find all matrices such that .
Problem 10.40
[!question]
Earlier we saw that is not necessarily equal to . Must equal ?
Problem 10.414
[!question]
Suppose and are invertible. Prove that .
PROBLEMS
Problem 10.33
[!question]
Suppose the product for all vectors . What matrix must equal?
Solution for Problem 10.33:
In ## Problem 10.13, we discovered the identity matrix , which is the unique matrix such that for all vectors . If for all vectors , then must be this matrix. That is, we must have . □
Problem 10.34
[!question]
If , then we say that is the inverse of and that is invertible. We often denote the inverse of a matrix as . Let . Find .
Solution for Problem 10.34:
We seek the matrix such that$$\begin{pmatrix} a&b \ c&d\end{pmatrix}\begin{pmatrix} 2&3 \ 6&7\end{pmatrix} = \begin{pmatrix} 1&0 \ 0&1\end{pmatrix}.$$Expanding the product on the left, we have$$\begin{pmatrix} 2a+6b&3a +7b \ 2c+ 6d&3c+7d\end{pmatrix} = \begin{pmatrix} 1&0 \ 0&1\end{pmatrix}.$$From the entries in the first rows, we have and . Solving this system gives and . From the entries in the second rows, we have and . Solving this system gives and . Checking, we find that$$\begin{pmatrix} -7/4&3/4 \ 3/2&-1/2\end{pmatrix}\begin{pmatrix} 2&3 \ 6&7\end{pmatrix}= \begin{pmatrix} 1&0 \ 0&1\end{pmatrix},$$so . □
Problem 10.35
[!question]
Does the matrix have an inverse? If it does, then find it. If it doesn’t, explain why not.
Solution for Problem 10.35:
Suppose is the inverse of . Then we must have , or$$\begin{pmatrix} a&b \ c&d\end{pmatrix} \begin{pmatrix} 3&5 \ -6&-10\end{pmatrix} = \begin{pmatrix} 1&0 \ 0&1\end{pmatrix}.$$Expanding the product on the left gives$$\begin{pmatrix} 3a-6b&5a-10b \ 3c-6d&5c-10d\end{pmatrix} = \begin{pmatrix} 1&0 \ 0&1\end{pmatrix}.$$From the entries in the first rows, we have and . The second equation gives , but substituting this into the first equation gives . Uh-oh; this equation has no solution! Therefore, we cannot find a matrix such that , which means that does not have an inverse. □
Why doesn’t have an inverse? Here’s a clue:
Problem 10.36
[!question]
If is invertible, then how are and related?
Solution for Problem 10.36:
We have , so$$ \det(\textbf{A}^{-1}\textbf{A}) = \det(\textbf{I}) = (1)(1)-(0)(0) = 1. $$We also have , so we must have . □
Now we see why the matrix in ## Problem 10.35 has no inverse. Since$$\det(\textbf{M}) = (3)(-10)-(-6)(5) = 0,$$we know that there can be no matrix such that .
Problem 10.37
[!question]
Let . Under what conditions does have an inverse? If has an inverse, what is that inverse in terms of , , , and ?
Solution for Problem 10.37:
Suppose is invertible. We let , so we must have$$\begin{pmatrix} p&q \ r&s\end{pmatrix}\begin{pmatrix} a&b \ c&d\end{pmatrix} = \begin{pmatrix} 1&0 \ 0&1\end{pmatrix}.$$Expanding the product on the left gives$$\begin{pmatrix} pa+qc&pb + qd \ ra+sc&rb+sd\end{pmatrix} =\begin{pmatrix} 1&0 \ 0&1\end{pmatrix}.$$Equating the corresponding entries on the first rows gives the system , , and equating the corresponding entries on the second rows gives , . If , then applying Cramer’s rule to solve the system , for and gives$$p = \frac{\begin{vmatrix} 1&c \ 0&d\end{vmatrix}}{\begin{vmatrix} a&c \ b&d\end{vmatrix}} = \frac{d}{\begin{vmatrix} a&c \ b&d\end{vmatrix}}\qquad \text{ and }\qquad q = \frac{\begin{vmatrix} a&1 \ b&0\end{vmatrix}}{\begin{vmatrix} a&c \ b&d\end{vmatrix}} =\frac{-b}{\begin{vmatrix} a&c \ b&d\end{vmatrix}}.$$Similarly, if , then we can apply Cramer’s rule to , to give$$r = \frac{\begin{vmatrix} 0&c \ 1&d\end{vmatrix}}{\begin{vmatrix} a&c \ b&d\end{vmatrix}} = \frac{-c}{\begin{vmatrix} a&c \ b&d\end{vmatrix}} \qquad\text{ and } \qquad s = \frac{\begin{vmatrix} a&0 \ b&1\end{vmatrix}}{\begin{vmatrix} a&c \ b&d\end{vmatrix}} = \frac{a}{\begin{vmatrix} a&c \ b&d\end{vmatrix}}.$$Since , the denominator in each of the results for , , , and equals , and we have$$\textbf{A}^{-1} = \frac{1}{\det(\textbf{A})}\begin{pmatrix} d&-b \ -c&a\end{pmatrix}.$$
Our work above shows that we can find an inverse of any matrix with a nonzero determinant. We say that such a matrix is invertible. Our solution also tells us that if is invertible, then its inverse is unique. That is, if is invertible, there is only one matrix such that . □
[! Danger] Important:
Let . If , then does not have an inverse. Otherwise, we have$$\textbf{A}^{-1} = \frac{1}{\det(\textbf{A})} \begin{pmatrix} d&-b \ -c&a\end{pmatrix}.$$
Problem 10.38
[!question] (a) Find the inverse of .
(b) Use your answer to part (a) to solve the system of equations , .
(c) Find the inverse of .
(d) Use your answer to part (c) to solve the system of equations , .
Solution for Problem 10.38:
(a) The determinant of the matrix is , so the inverse of the matrix is$$\frac{1}{43}\begin{pmatrix} 7&3 \ -5&4\end{pmatrix} = \begin{pmatrix} \frac{7}{43}&\frac{3}{43} $Misplaced &1ex] -\frac{5}{43}&\frac{4}{43}\end{pmatrix}.$
(b) We can write the system of equations as . Multiplying both sides of this equation by the inverse we found in part (a) , we have $$\begin{pmatrix} \frac{7}{43}&\frac{3}{43} $$1ex] -\frac{5}{43}&\frac{4}{43}\end{pmatrix} \begin{pmatrix} 4&-3 \ 5&7\end{pmatrix} \begin{pmatrix} x \ y\end{pmatrix} =\begin{pmatrix} \frac{7}{43}&\frac{3}{43} $$1ex] -\frac{5}{43}&\frac{4}{43}\end{pmatrix}\begin{pmatrix} -2 \ -3\end{pmatrix} =\begin{pmatrix} -\frac{23}{43} $Missing \begin{pmatrix} or extra \end{pmatrix}1ex] -\frac{2}{43}\end{pmatrix}.$ The product of a matrix and its inverse is the identity, so we have $$\begin{pmatrix} x \ y\end{pmatrix} = \begin{pmatrix} -\frac{23}{43} $Missing \begin{pmatrix} or extra \end{pmatrix}1ex] -\frac{2}{43}\end{pmatrix}$.
(c) The determinant of the matrix is , so the inverse of the matrix is$$\frac{1}{-1}\begin{pmatrix} 30&-5 \ 0.4&-0.1\end{pmatrix} = \begin{pmatrix} -30&5 \ -0.4&0.1\end{pmatrix}.$$
(d) We write the system as . Multiplying both sides by the inverse we found in part (c) , we have $$\begin{align*}\begin{pmatrix} -30&5 \ -0.4&0.1\end{pmatrix}\begin{pmatrix} -0.1&5 \ -0.4&30\end{pmatrix}\begin{pmatrix} t \ u\end{pmatrix}&= \begin{pmatrix} -30&5 \ -0.4&0.1\end{pmatrix}\begin{pmatrix} -3 \ 7\end{pmatrix} \&= \begin{pmatrix} 125 \ 1.9\end{pmatrix}.\end{align*}$$As before, the product of a matrix and its inverse is the identity, so we have $.
□
Problem 10.39
[!question]
If and , then find all matrices such that .
Solution for Problem 10.39: We can’t divide by , but because its determinant is nonzero, we can multiply by its inverse. The determinant of the matrix is 10, so$$ \textbf{A}^{-1}=\dfrac{1}{10}\begin{pmatrix} 1&3 \ -2&4\end{pmatrix} = \begin{pmatrix} 0.1&0.3 \ -0.2&0.4\end{pmatrix}. $$What’s wrong with this next step:
[! note] Bogus Solution:
Multiplying both sides of the given equation by gives us$$\textbf{I} \textbf{M} = \textbf{B}\textbf{A}^{-1}.$$
The problem here is that we started with and multiplied on the left by to get , but we multiplied on the right by . While we can go from to with real numbers, we can’t go from to with matrices, since matrix multiplication is not commutative.
We multiply both sides of the equation on the left by to produce . The left side then becomes , which equals , so we have$$\textbf{M} =\textbf{A}^{-1}\textbf{B}= \begin{pmatrix} 0.1&0.3 \ -0.2&0.4\end{pmatrix} \begin{pmatrix} -5&3 \ -8&2\end{pmatrix} =\begin{pmatrix} -2.9&0.9 \ -2.2&0.2\end{pmatrix}.$$So, we see that there is a unique solution to the equation . Moreover, our solution shows us that whenever is invertible, there is a unique solution for to the equation , which is . □
Problem 10.40
[!question]
Earlier we saw that is not necessarily equal to . Must equal ?
Solution for Problem 10.40: We have defined as the matrix such that , so to check if , we need only compute . Letting , we have $$\begin{align*}\textbf{A}\textbf{A}^{-1} &=\begin{pmatrix} a&b \ c&d\end{pmatrix}\left(\frac{1}{\det({\textbf{A}})} \begin{pmatrix} d&-b \ -c&a\end{pmatrix}\right) \&=\frac{1}{\det(\textbf{A})} \begin{pmatrix} a&b \ c&d\end{pmatrix}\begin{pmatrix} d&-b \ -c&a\end{pmatrix} \&=\frac{1}{\det(\textbf{A})} \begin{pmatrix} ad-bc&0 \ 0&ad-bc\end{pmatrix} \&= \textbf{I}.\end{align*}$$Therefore, . □
We therefore see that if is invertible, then the inverse of is .
[! Danger] Important:
If is invertible, then we have .
Problem 10.41
[!question]
Suppose and are invertible. Prove that .
Solution for Problem 10.41: If is the inverse of , then we must have . So, we test , and using the associative property, we find $$\begin{align*}(\textbf{B}^{-1}\textbf{A}^{-1})(\textbf{A}\textbf{B})&= \textbf{B}^{-1}(\textbf{A}^{-1}(\textbf{A}\textbf{B})) \&= \textbf{B}^{-1}((\textbf{A}^{-1}\textbf{A})\textbf{B}) \&= \textbf{B}^{-1}\textbf{I}\textbf{B} \&= \textbf{B}^{-1}\textbf{B} \&= \textbf{I}.\end{align*}$$Therefore, the inverse of is . □
Exercises
10 .6.1:
[!question]
What is the inverse of ?
10 .6.2:
[!question]
For each of the following matrices, find the inverse or show that the matrix does not have an inverse. (a) (b) (c)
10 .6.3:
[!question]
Suppose we are given matrix and vector . (a) If is nonsingular, must there be a vector such that ? (b) If is singular, can we conclude that there is no vector such that ?
10 .6.4:
[!question]
All of the entries of and are integers. Find all possible values of .
10 .6.5:
[!question]
In ## Problem 10.41, we showed that if and are invertible, then . If and are invertible, then must we have ?
10 .6.6:
[!question]
In ## Problem 10.18, we found that multiplying by the matrix corresponds to multiplying the complex number by . Find the matrix such that multiplying by corresponds to dividing by (assuming and are not both 0).