## Solving Systems with Inverses

### Learning Objectives

By the end of this section, you will be able to:

• Find the inverse of a matrix.
• Solve a system of linear equations using an inverse matrix.

Nancy plans to invest $10,500 into two different bonds to spread out her risk. The first bond has an annual return of 10%, and the second bond has an annual return of 6%. In order to receive an 8.5% return from the two bonds, how much should Nancy invest in each bond? What is the best method to solve this problem? There are several ways we can solve this problem. As we have seen in previous sections, systems of equations and matrices are useful in solving real-world problems involving finance. After studying this section, we will have the tools to solve the bond problem using the inverse of a matrix. ## Finding the Inverse of a Matrix We know that the multiplicative inverse of a real number $a$ is ${a}^{-1}$, and $a{a}^{-1}={a}^{-1}a=\left(\frac{1}{a}\right)a=1$. For example, ${2}^{-1}=\frac{1}{2}$ and $\left(\frac{1}{2}\right)2=1$. The multiplicative inverse of a matrix is similar in concept, except that the product of matrix $A$ and its inverse ${A}^{-1}$ equals the identity matrix. The identity matrix is a square matrix containing ones down the main diagonal and zeros everywhere else. We identify identity matrices by ${I}_{n}$ where $n$ represents the dimension of the matrix. The equations below are the identity matrices for a $2\text{}\times \text{}2$ matrix and a $3\text{}\times \text{}3$ matrix, respectively. ${I}_{2}=\left[\begin{array}{rrr}\hfill 1& \hfill & \hfill 0\\ \hfill 0& \hfill & \hfill 1\end{array}\right]$ ${I}_{3}=\left[\begin{array}{rrrrr}\hfill 1& \hfill & \hfill 0& \hfill & \hfill 0\\ \hfill 0& \hfill & \hfill 1& \hfill & \hfill 0\\ \hfill 0& \hfill & \hfill 0& \hfill & \hfill 1\end{array}\right]$ The identity matrix acts as a 1 in matrix algebra. For example, $AI=IA=A$. A matrix that has a multiplicative inverse has the properties $\begin{array}{l}A{A}^{-1}=I\\ {A}^{-1}A=I\end{array}$ A matrix that has a multiplicative inverse is called an invertible matrix. Only a square matrix may have a multiplicative inverse, as the reversibility, $A{A}^{-1}={A}^{-1}A=I$, is a requirement. Not all square matrices have an inverse, but if $A$ is invertible, then ${A}^{-1}$ is unique. We will look at two methods for finding the inverse of a $2\text{}\times \text{}2$ matrix and a third method that can be used on both $2\text{}\times \text{}2$ and $3\text{}\times \text{}3$ matrices. ### A General Note: The Identity Matrix and Multiplicative Inverse The identity matrix, ${I}_{n}$, is a square matrix containing ones down the main diagonal and zeros everywhere else. $\begin{array}{l}\hfill \\ \begin{array}{l}\begin{array}{l}\hfill \\ {I}_{2}=\left[\begin{array}{rr}\hfill 1& \hfill 0\\ \hfill 0& \hfill 1\end{array}\right]\begin{array}{cccc}& & & \end{array}{I}_{3}=\left[\begin{array}{rrr}\hfill 1& \hfill 0& \hfill 0\\ \hfill 0& \hfill 1& \hfill 0\\ \hfill 0& \hfill 0& \hfill 1\end{array}\right]\hfill \end{array}\hfill \\ \text{ }2\times 2\text{ 3}\times 3\hfill \end{array}\hfill \end{array}$ If $A$ is an $n\times n$ matrix and $B$ is an $n\times n$ matrix such that $AB=BA={I}_{n}$, then $B={A}^{-1}$, the multiplicative inverse of a matrix $A$. ### Example 1: Showing That the Identity Matrix Acts as a 1 Given matrix A, show that $AI=IA=A$. $A=\left[\begin{array}{cc}3& 4\\ -2& 5\end{array}\right]$ ### Solution Use matrix multiplication to show that the product of $A$ and the identity is equal to the product of the identity and A. $AI=\left[\begin{array}{rrr}\hfill 3& \hfill & \hfill 4\\ \hfill -2& \hfill & \hfill 5\end{array}\right]\begin{array}{r}\hfill \end{array}\left[\begin{array}{rrr}\hfill 1& \hfill & \hfill 0\\ \hfill 0& \hfill & \hfill 1\end{array}\right]=\left[\begin{array}{rrrr}\hfill 3\cdot 1+4\cdot 0& \hfill & \hfill & \hfill 3\cdot 0+4\cdot 1\\ \hfill -2\cdot 1+5\cdot 0& \hfill & \hfill & \hfill -2\cdot 0+5\cdot 1\end{array}\right]=\left[\begin{array}{rrr}\hfill 3& \hfill & \hfill 4\\ \hfill -2& \hfill & \hfill 5\end{array}\right]$ $AI=\left[\begin{array}{rrr}\hfill 1& \hfill & \hfill 0\\ \hfill 0& \hfill & \hfill 1\end{array}\right]\begin{array}{r}\hfill \end{array}\left[\begin{array}{rrr}\hfill 3& \hfill & \hfill 4\\ \hfill -2& \hfill & \hfill 5\end{array}\right]=\left[\begin{array}{rrrr}\hfill 1\cdot 3+0\cdot \left(-2\right)& \hfill & \hfill & \hfill 1\cdot 4+0\cdot 5\\ \hfill 0\cdot 3+1\cdot \left(-2\right)& \hfill & \hfill & \hfill 0\cdot 4+1\cdot 5\end{array}\right]=\left[\begin{array}{rrr}\hfill 3& \hfill & \hfill 4\\ \hfill -2& \hfill & \hfill 5\end{array}\right]$ ### How To: Given two matrices, show that one is the multiplicative inverse of the other. 1. Given matrix $A$ of order $n\times n$ and matrix $B$ of order $n\times n$ multiply $AB$. 2. If $AB=I$, then find the product $BA$. If $BA=I$, then $B={A}^{-1}$ and $A={B}^{-1}$. ### Example 2: Showing That Matrix A Is the Multiplicative Inverse of Matrix B Show that the given matrices are multiplicative inverses of each other. $A=\left[\begin{array}{rrr}\hfill 1& \hfill & \hfill 5\\ \hfill -2& \hfill & \hfill -9\end{array}\right],B=\left[\begin{array}{rrr}\hfill -9& \hfill & \hfill -5\\ \hfill 2& \hfill & \hfill 1\end{array}\right]$ ### Solution Multiply $AB$ and $BA$. If both products equal the identity, then the two matrices are inverses of each other. $\begin{array}{l}AB=\left[\begin{array}{rrr}\hfill 1& \hfill & \hfill 5\\ \hfill -2& \hfill & \hfill -9\end{array}\right]\cdot \left[\begin{array}{rrr}\hfill -9& \hfill & \hfill -5\\ \hfill 2& \hfill & \hfill 1\end{array}\right]\hfill \\ =\left[\begin{array}{rrr}\hfill 1\left(-9\right)+5\left(2\right)& \hfill & \hfill 1\left(-5\right)+5\left(1\right)\\ \hfill -2\left(-9\right)-9\left(2\right)& \hfill & \hfill -2\left(-5\right)-9\left(1\right)\end{array}\right]\hfill \\ =\left[\begin{array}{ccc}1& & 0\\ 0& & 1\end{array}\right]\hfill \end{array}$ $\begin{array}{l}BA=\left[\begin{array}{rrr}\hfill -9& \hfill & \hfill -5\\ \hfill 2& \hfill & \hfill 1\end{array}\right]\cdot \left[\begin{array}{rrr}\hfill 1& \hfill & \hfill 5\\ \hfill -2& \hfill & \hfill -9\end{array}\right]\hfill \\ =\left[\begin{array}{rrr}\hfill -9\left(1\right)-5\left(-2\right)& \hfill & \hfill -9\left(5\right)-5\left(-9\right)\\ \hfill 2\left(1\right)+1\left(-2\right)& \hfill & \hfill 2\left(-5\right)+1\left(-9\right)\end{array}\right]\hfill \\ =\left[\begin{array}{ccc}1& & 0\\ 0& & 1\end{array}\right]\hfill \end{array}$ $A$ and $B$ are inverses of each other. ### Try It 1 Show that the following two matrices are inverses of each other. $A=\left[\begin{array}{rrr}\hfill 1& \hfill & \hfill 4\\ \hfill -1& \hfill & \hfill -3\end{array}\right],B=\left[\begin{array}{rrr}\hfill -3& \hfill & \hfill -4\\ \hfill 1& \hfill & \hfill 1\end{array}\right]$ ## Finding the Multiplicative Inverse Using Matrix Multiplication We can now determine whether two matrices are inverses, but how would we find the inverse of a given matrix? Since we know that the product of a matrix and its inverse is the identity matrix, we can find the inverse of a matrix by setting up an equation using matrix multiplication. ### Example 3: Finding the Multiplicative Inverse Using Matrix Multiplication Use matrix multiplication to find the inverse of the given matrix. $A=\left[\begin{array}{rrr}\hfill 1& \hfill & \hfill -2\\ \hfill 2& \hfill & \hfill -3\end{array}\right]$ ### Solution For this method, we multiply $A$ by a matrix containing unknown constants and set it equal to the identity. $\left[\begin{array}{rr}\hfill 1& \hfill -2\\ \hfill 2& \hfill -3\end{array}\right]\text{ }\left[\begin{array}{rr}\hfill a& \hfill b\\ \hfill c& \hfill d\end{array}\right]=\left[\begin{array}{rr}\hfill 1& \hfill 0\\ \hfill 0& \hfill 1\end{array}\right]$ Find the product of the two matrices on the left side of the equal sign. $\left[\begin{array}{rr}\hfill 1& \hfill -2\\ \hfill 2& \hfill -3\end{array}\right]\text{ }\left[\begin{array}{rr}\hfill a& \hfill b\\ \hfill c& \hfill d\end{array}\right]=\left[\begin{array}{rr}\hfill 1a - 2c& \hfill 1b - 2d\\ \hfill 2a - 3c& \hfill 2b - 3d\end{array}\right]$ Next, set up a system of equations with the entry in row 1, column 1 of the new matrix equal to the first entry of the identity, 1. Set the entry in row 2, column 1 of the new matrix equal to the corresponding entry of the identity, which is 0. $\begin{array}{c}1a - 2c=1\text{ }{R}_{1}\\ 2a - 3c=0\text{ }{R}_{2}\end{array}$ Using row operations, multiply and add as follows: $\left(-2\right){R}_{1}+{R}_{2}\to {R}_{2}$. Add the equations, and solve for $c$. $\begin{array}{r}\hfill 1a - 2c=1\\ \hfill 0+1c=-2\\ \hfill c=-2\end{array}$ Back-substitute to solve for $a$. $\begin{array}{r}\hfill a - 2\left(-2\right)=1\\ \hfill a+4=1\\ \hfill a=-3\end{array}$ Write another system of equations setting the entry in row 1, column 2 of the new matrix equal to the corresponding entry of the identity, 0. Set the entry in row 2, column 2 equal to the corresponding entry of the identity. $\begin{array}{rr}\hfill 1b - 2d=0& \hfill {R}_{1}\\ \hfill 2b - 3d=1& \hfill {R}_{2}\end{array}$ Using row operations, multiply and add as follows: $\left(-2\right){R}_{1}+{R}_{2}={R}_{2}$. Add the two equations and solve for $d$. $\begin{array}{r}\hfill 1b - 2d=0\\ \hfill \frac{0+1d=1}{d=1}\\ \hfill \end{array}$ Once more, back-substitute and solve for $b$. $\begin{array}{r}\hfill b - 2\left(1\right)=0\\ \hfill b - 2=0\\ \hfill b=2\end{array}$ ${A}^{-1}=\left[\begin{array}{rrr}\hfill -3& \hfill & \hfill 2\\ \hfill -2& \hfill & \hfill 1\end{array}\right]$ ## Finding the Multiplicative Inverse by Augmenting with the Identity Another way to find the multiplicative inverse is by augmenting with the identity. When matrix $A$ is transformed into $I$, the augmented matrix $I$ transforms into ${A}^{-1}$. For example, given $A=\left[\begin{array}{rrr}\hfill 2& \hfill & \hfill 1\\ \hfill 5& \hfill & \hfill 3\end{array}\right]$ augment $A$ with the identity $\left[\begin{array}{rr}\hfill 2& \hfill 1\\ \hfill 5& \hfill 3\end{array}\text{ }|\text{ }\begin{array}{rr}\hfill 1& \hfill 0\\ \hfill 0& \hfill 1\end{array}\right]$ Perform row operations with the goal of turning $A$ into the identity. 1. Switch row 1 and row 2. $\left[\begin{array}{rr}\hfill 5& \hfill 3\\ \hfill 2& \hfill 1\end{array}\text{ }|\text{ }\begin{array}{rr}\hfill 0& \hfill 1\\ \hfill 1& \hfill 0\end{array}\right]$ 2. Multiply row 2 by $-2$ and add to row 1. $\left[\begin{array}{rr}\hfill 1& \hfill 1\\ \hfill 2& \hfill 1\end{array}\text{ }|\text{ }\begin{array}{rr}\hfill -2& \hfill 1\\ \hfill 1& \hfill 0\end{array}\right]$ 3. Multiply row 1 by $-2$ and add to row 2. $\left[\begin{array}{rr}\hfill 1& \hfill 1\\ \hfill 0& \hfill -1\end{array}\text{ }|\text{ }\begin{array}{rr}\hfill -2& \hfill 1\\ \hfill 5& \hfill -2\end{array}\right]$ 4. Add row 2 to row 1. $\left[\begin{array}{rr}\hfill 1& \hfill 0\\ \hfill 0& \hfill -1\end{array}\text{ }|\text{ }\begin{array}{rr}\hfill 3& \hfill -1\\ \hfill 5& \hfill -2\end{array}\right]$ 5. Multiply row 2 by $-1$. $\left[\begin{array}{rr}\hfill 1& \hfill 0\\ \hfill 0& \hfill 1\end{array}\text{ }|\text{ }\begin{array}{rr}\hfill 3& \hfill -1\\ \hfill -5& \hfill 2\end{array}\right]$ The matrix we have found is ${A}^{-1}$. ${A}^{-1}=\left[\begin{array}{rrr}\hfill 3& \hfill & \hfill -1\\ \hfill -5& \hfill & \hfill 2\end{array}\right]$ ## Finding the Multiplicative Inverse of 2×2 Matrices Using a Formula When we need to find the multiplicative inverse of a $2\times 2$ matrix, we can use a special formula instead of using matrix multiplication or augmenting with the identity. If $A$ is a $2\times 2$ matrix, such as $A=\left[\begin{array}{rrr}\hfill a& \hfill & \hfill b\\ \hfill c& \hfill & \hfill d\end{array}\right]$ the multiplicative inverse of $A$ is given by the formula ${A}^{-1}=\frac{1}{ad-bc}\left[\begin{array}{rrr}\hfill d& \hfill & \hfill -b\\ \hfill -c& \hfill & \hfill a\end{array}\right]$ where $ad-bc\ne 0$. If $ad-bc=0$, then $A$ has no inverse. ### Example 4: Using the Formula to Find the Multiplicative Inverse of Matrix A Use the formula to find the multiplicative inverse of $A=\left[\begin{array}{cc}1& -2\\ 2& -3\end{array}\right]$ ### Solution Using the formula, we have $\begin{array}{l}{A}^{-1}=\frac{1}{\left(1\right)\left(-3\right)-\left(-2\right)\left(2\right)}\left[\begin{array}{cc}-3& 2\\ -2& 1\end{array}\right]\hfill \\ =\frac{1}{-3+4}\left[\begin{array}{cc}-3& 2\\ -2& 1\end{array}\right]\hfill \\ =\left[\begin{array}{cc}-3& 2\\ -2& 1\end{array}\right]\hfill \end{array}$ ### Analysis of the Solution We can check that our formula works by using one of the other methods to calculate the inverse. Let’s augment $A$ with the identity. $\left[\begin{array}{cc}1& -2\\ 2& -3\end{array}|\begin{array}{cc}1& 0\\ 0& 1\end{array}\right]$ Perform row operations with the goal of turning $A$ into the identity. 1. Multiply row 1 by $-2$ and add to row 2. $\left[\begin{array}{cc}1& -2\\ 0& 1\end{array}|\begin{array}{cc}1& 0\\ -2& 1\end{array}\right]$ 2. Multiply row 1 by 2 and add to row 1. $\left[\begin{array}{cc}1& 0\\ 0& 1\end{array}|\begin{array}{cc}-3& 2\\ -2& 1\end{array}\right]$ So, we have verified our original solution. ${A}^{-1}=\left[\begin{array}{cc}-3& 2\\ -2& 1\end{array}\right]$ ### Try It 2 Use the formula to find the inverse of matrix $A$. Verify your answer by augmenting with the identity matrix. $A=\left[\begin{array}{cc}1& -1\\ 2& 3\end{array}\right]$ ### Example 5: Finding the Inverse of the Matrix, If It Exists Find the inverse, if it exists, of the given matrix. $A=\left[\begin{array}{cc}3& 6\\ 1& 2\end{array}\right]$ ### Solution We will use the method of augmenting with the identity. $\left[\begin{array}{cc}3& 6\\ 1& 3\end{array}|\begin{array}{cc}1& 0\\ 0& 1\end{array}\right]$ 1. Switch row 1 and row 2. $\left[\begin{array}{cc}1& 3\\ 3& 6\text{ }\end{array}\text{ }\text{ }\text{ }|\begin{array}{cc}0& 1\\ 1& 0\end{array}\right]$ 2. Multiply row 1 by −3 and add it to row 2. $\left[\begin{array}{cc}1& 2\\ 0& 0\end{array}|\begin{array}{cc}1& 0\\ -3& 1\end{array}\right]$ 3. There is nothing further we can do. The zeros in row 2 indicate that this matrix has no inverse. ## Finding the Multiplicative Inverse of 3×3 Matrices Unfortunately, we do not have a formula similar to the one for a $2\text{}\times \text{}2$ matrix to find the inverse of a $3\text{}\times \text{}3$ matrix. Instead, we will augment the original matrix with the identity matrix and use row operations to obtain the inverse. Given a $3\text{}\times \text{}3$ matrix $A=\left[\begin{array}{ccc}2& 3& 1\\ 3& 3& 1\\ 2& 4& 1\end{array}\right]$ augment $A$ with the identity matrix $A|I=\left[\begin{array}{ccc}2& 3& 1\\ 3& 3& 1\\ 2& 4& 1\end{array}\text{ }|\text{ }\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\right]$ To begin, we write the augmented matrix with the identity on the right and $A$ on the left. Performing elementary row operations so that the identity matrix appears on the left, we will obtain the inverse matrix on the right. We will find the inverse of this matrix in the next example. ### How To: Given a $3\times 3$ matrix, find the inverse 1. Write the original matrix augmented with the identity matrix on the right. 2. Use elementary row operations so that the identity appears on the left. 3. What is obtained on the right is the inverse of the original matrix. 4. Use matrix multiplication to show that $A{A}^{-1}=I$ and ${A}^{-1}A=I$. ### Example 6: Finding the Inverse of a 3 × 3 Matrix Given the $3\times 3$ matrix $A$, find the inverse. $A=\left[\begin{array}{ccc}2& 3& 1\\ 3& 3& 1\\ 2& 4& 1\end{array}\right]$ ### Solution Augment $A$ with the identity matrix, and then begin row operations until the identity matrix replaces $A$. The matrix on the right will be the inverse of $A$. $\left[\begin{array}{ccc}2& 3& 1\\ 3& 3& 1\\ 2& 4& 1\end{array}|\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\right]\stackrel{\text{Interchange }{R}_{2}\text{and }{R}_{1}}{\to }\left[\begin{array}{ccc}3& 3& 1\\ 2& 3& 1\\ 2& 4& 1\end{array}|\begin{array}{ccc}0& 1& 0\\ 1& 0& 0\\ 0& 0& 1\end{array}\right]$ $-{R}_{2}+{R}_{1}={R}_{1}\to \left[\begin{array}{ccc}1& 0& 0\\ 2& 3& 1\\ 2& 4& 1\end{array}|\begin{array}{rrr}\hfill -1& \hfill 1& \hfill 0\\ \hfill 1& \hfill 0& \hfill 0\\ \hfill 0& \hfill 0& \hfill 1\end{array}\right]$ $-{R}_{2}+{R}_{3}={R}_{3}\to \left[\begin{array}{ccc}1& 0& 0\\ 2& 3& 1\\ 0& 1& 0\end{array}|\begin{array}{rrr}\hfill -1& \hfill 1& \hfill 0\\ \hfill 1& \hfill 0& \hfill 0\\ \hfill -1& \hfill 0& \hfill 1\end{array}\right]$ ${R}_{3}\leftrightarrow {R}_{2}\to \left[\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 2& 3& 1\end{array}|\begin{array}{rrr}\hfill -1& \hfill 1& \hfill 0\\ \hfill -1& \hfill 0& \hfill 1\\ \hfill 1& \hfill 0& \hfill 0\end{array}\right]$ $-2{R}_{1}+{R}_{3}={R}_{3}\to \left[\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 3& 1\end{array}|\begin{array}{rrr}\hfill -1& \hfill 1& \hfill 0\\ \hfill -1& \hfill 0& \hfill 1\\ \hfill 3& \hfill -2& \hfill 0\end{array}\right]$ $-3{R}_{2}+{R}_{3}={R}_{3}\to \left[\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}|\begin{array}{rrr}\hfill -1& \hfill 1& \hfill 0\\ \hfill -1& \hfill 0& \hfill 1\\ \hfill 6& \hfill -2& \hfill -3\end{array}\right]$ Thus, ${A}^{-1}=B=\left[\begin{array}{ccc}-1& 1& 0\\ -1& 0& 1\\ 6& -2& -3\end{array}\right]$ ### Analysis of the Solution To prove that $B={A}^{-1}$, let’s multiply the two matrices together to see if the product equals the identity, if $A{A}^{-1}=I$ and ${A}^{-1}A=I$. $\begin{array}{l}\begin{array}{l}\begin{array}{l}\hfill \\ \hfill \end{array}\hfill \\ A{A}^{-1}=\left[\begin{array}{ccc}2& 3& 1\\ 3& 3& 1\\ 2& 4& 1\end{array}\right]\text{ }\left[\begin{array}{rrr}\hfill -1& \hfill 1& \hfill 0\\ \hfill -1& \hfill 0& \hfill 1\\ \hfill 6& \hfill -2& \hfill -3\end{array}\right]\hfill \end{array}\hfill \\ =\left[\begin{array}{ccc}2\left(-1\right)+3\left(-1\right)+1\left(6\right)& 2\left(1\right)+3\left(0\right)+1\left(-2\right)& 2\left(0\right)+3\left(1\right)+1\left(-3\right)\\ 3\left(-1\right)+3\left(-1\right)+1\left(6\right)& 3\left(1\right)+3\left(0\right)+1\left(-2\right)& 3\left(0\right)+3\left(1\right)+1\left(-3\right)\\ 2\left(-1\right)+4\left(-1\right)+1\left(6\right)& 2\left(1\right)+4\left(0\right)+1\left(-2\right)& 2\left(0\right)+4\left(1\right)+1\left(-3\right)\end{array}\right]\hfill \\ =\left[\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\right]\hfill \end{array}$ $\begin{array}{l}\begin{array}{l}\begin{array}{l}\hfill \\ \hfill \end{array}\hfill \\ {A}^{-1}A=\left[\begin{array}{rrr}\hfill -1& \hfill 1& \hfill 0\\ \hfill -1& \hfill 0& \hfill 1\\ \hfill 6& \hfill -2& \hfill -3\end{array}\right]\text{ }\left[\begin{array}{ccc}2& 3& 1\\ 3& 3& 1\\ 2& 4& 1\end{array}\right]\hfill \end{array}\hfill \\ =\left[\begin{array}{rrr}\hfill -1\left(2\right)+1\left(3\right)+0\left(2\right)& \hfill -1\left(3\right)+1\left(3\right)+0\left(4\right)& \hfill -1\left(1\right)+1\left(1\right)+0\left(1\right)\\ \hfill -1\left(2\right)+0\left(3\right)+1\left(2\right)& \hfill -1\left(3\right)+0\left(3\right)+1\left(4\right)& \hfill -1\left(1\right)+0\left(1\right)+1\left(1\right)\\ \hfill 6\left(2\right)+-2\left(3\right)+-3\left(2\right)& \hfill 6\left(3\right)+-2\left(3\right)+-3\left(4\right)& \hfill 6\left(1\right)+-2\left(1\right)+-3\left(1\right)\end{array}\right]\hfill \\ =\left[\begin{array}{rrr}\hfill 1& \hfill 0& \hfill 0\\ \hfill 0& \hfill 1& \hfill 0\\ \hfill 0& \hfill 0& \hfill 1\end{array}\right]\hfill \end{array}$ ### Try It 3 Find the inverse of the $3\times 3$ matrix. $A=\left[\begin{array}{ccc}2& -17& 11\\ -1& 11& -7\\ 0& 3& -2\end{array}\right]$ ## Solving a System of Linear Equations Using the Inverse of a Matrix Solving a system of linear equations using the inverse of a matrix requires the definition of two new matrices: $X$ is the matrix representing the variables of the system, and $B$ is the matrix representing the constants. Using matrix multiplication, we may define a system of equations with the same number of equations as variables as $AX=B$ To solve a system of linear equations using an inverse matrix, let $A$ be the coefficient matrix, let $X$ be the variable matrix, and let $B$ be the constant matrix. Thus, we want to solve a system $AX=B$. For example, look at the following system of equations. $\begin{array}{c}{a}_{1}x+{b}_{1}y={c}_{1}\\ {a}_{2}x+{b}_{2}y={c}_{2}\end{array}$ From this system, the coefficient matrix is $A=\left[\begin{array}{cc}{a}_{1}& {b}_{1}\\ {a}_{2}& {b}_{2}\end{array}\right]$ The variable matrix is $X=\left[\begin{array}{c}x\\ y\end{array}\right]$ And the constant matrix is $B=\left[\begin{array}{c}{c}_{1}\\ {c}_{2}\end{array}\right]$ Then $AX=B$ looks like $\left[\begin{array}{cc}{a}_{1}& {b}_{1}\\ {a}_{2}& {b}_{2}\end{array}\right]\text{ }\left[\begin{array}{c}x\\ y\end{array}\right]=\left[\begin{array}{c}{c}_{1}\\ {c}_{2}\end{array}\right]$ Recall the discussion earlier in this section regarding multiplying a real number by its inverse, $\left({2}^{-1}\right)2=\left(\frac{1}{2}\right)2=1$. To solve a single linear equation $ax=b$ for $x$, we would simply multiply both sides of the equation by the multiplicative inverse (reciprocal) of $a$. Thus, $\begin{array}{c}\text{ }ax=b\\ \text{ }\left(\frac{1}{a}\right)ax=\left(\frac{1}{a}\right)b\\ \left({a}^{-1}\text{ }\right)ax=\left({a}^{-1}\right)b\\ \left[\left({a}^{-1}\right)a\right]x=\left({a}^{-1}\right)b\\ \text{ }1x=\left({a}^{-1}\right)b\\ \text{ }x=\left({a}^{-1}\right)b\end{array}$ The only difference between a solving a linear equation and a system of equations written in matrix form is that finding the inverse of a matrix is more complicated, and matrix multiplication is a longer process. However, the goal is the same—to isolate the variable. We will investigate this idea in detail, but it is helpful to begin with a $2\times 2$ system and then move on to a $3\times 3$ system. ### A General Note: Solving a System of Equations Using the Inverse of a Matrix Given a system of equations, write the coefficient matrix $A$, the variable matrix $X$, and the constant matrix $B$. Then $AX=B$ Multiply both sides by the inverse of $A$ to obtain the solution. $\begin{array}{r}\hfill \left({A}^{-1}\right)AX=\left({A}^{-1}\right)B\\ \hfill \left[\left({A}^{-1}\right)A\right]X=\left({A}^{-1}\right)B\\ \hfill IX=\left({A}^{-1}\right)B\\ \hfill X=\left({A}^{-1}\right)B\end{array}$ ### Q & A ### If the coefficient matrix does not have an inverse, does that mean the system has no solution? No, if the coefficient matrix is not invertible, the system could be inconsistent and have no solution, or be dependent and have infinitely many solutions. ### Example 7: Solving a 2 × 2 System Using the Inverse of a Matrix Solve the given system of equations using the inverse of a matrix. $\begin{array}{r}\hfill 3x+8y=5\\ \hfill 4x+11y=7\end{array}$ ### Solution Write the system in terms of a coefficient matrix, a variable matrix, and a constant matrix. $A=\left[\begin{array}{cc}3& 8\\ 4& 11\end{array}\right],X=\left[\begin{array}{c}x\\ y\end{array}\right],B=\left[\begin{array}{c}5\\ 7\end{array}\right]$ Then $\left[\begin{array}{cc}3& 8\\ 4& 11\end{array}\right]\text{ }\left[\begin{array}{c}x\\ y\end{array}\right]=\left[\begin{array}{c}5\\ 7\end{array}\right]$ First, we need to calculate ${A}^{-1}$. Using the formula to calculate the inverse of a 2 by 2 matrix, we have: $\begin{array}{l}{A}^{-1}=\frac{1}{ad-bc}\left[\begin{array}{cc}d& -b\\ -c& a\end{array}\right]\hfill \\ \text{ }=\frac{1}{3\left(11\right)-8\left(4\right)}\left[\begin{array}{cc}11& -8\\ -4& 3\end{array}\right]\hfill \\ \text{ }=\frac{1}{1}\left[\begin{array}{cc}11& -8\\ -4& 3\end{array}\right]\hfill \end{array}$ So, ${A}^{-1}=\left[\begin{array}{cc}11& -8\\ -4& \text{ }\text{ }3\end{array}\right]$ Now we are ready to solve. Multiply both sides of the equation by ${A}^{-1}$. $\begin{array}{l}\left({A}^{-1}\right)AX=\left({A}^{-1}\right)B\hfill \\ \left[\begin{array}{rr}\hfill 11& \hfill -8\\ \hfill -4& \hfill 3\end{array}\right]\text{ }\left[\begin{array}{cc}3& 8\\ 4& 11\end{array}\right]\text{ }\left[\begin{array}{c}x\\ y\end{array}\right]=\left[\begin{array}{rr}\hfill 11& \hfill -8\\ \hfill -4& \hfill 3\end{array}\right]\text{ }\left[\begin{array}{c}5\\ 7\end{array}\right]\hfill \\ \left[\begin{array}{cc}1& 0\\ 0& 1\end{array}\right]\text{ }\left[\begin{array}{c}x\\ y\end{array}\right]=\left[\begin{array}{r}\hfill 11\left(5\right)+\left(-8\right)7\\ \hfill -4\left(5\right)+3\left(7\right)\end{array}\right]\hfill \\ \left[\begin{array}{c}x\\ y\end{array}\right]=\left[\begin{array}{r}\hfill -1\\ \hfill 1\end{array}\right]\hfill \end{array}$ The solution is $\left(-1,1\right)$. ### Q & A ### Can we solve for $X$ by finding the product $B{A}^{-1}?$ No, recall that matrix multiplication is not commutative, so ${A}^{-1}B\ne B{A}^{-1}$. Consider our steps for solving the matrix equation. $\begin{array}{r}\hfill \left({A}^{-1}\right)AX=\left({A}^{-1}\right)B\\ \hfill \left[\left({A}^{-1}\right)A\right]X=\left({A}^{-1}\right)B\\ \hfill IX=\left({A}^{-1}\right)B\\ \hfill X=\left({A}^{-1}\right)B\end{array}$ Notice in the first step we multiplied both sides of the equation by ${A}^{-1}$, but the ${A}^{-1}$ was to the left of $A$ on the left side and to the left of $B$ on the right side. Because matrix multiplication is not commutative, order matters. ### Example 8: Solving a 3 × 3 System Using the Inverse of a Matrix Solve the following system using the inverse of a matrix. $\begin{array}{r}\hfill 5x+15y+56z=35\\ \hfill -4x - 11y - 41z=-26\\ \hfill -x - 3y - 11z=-7\end{array}$ ### Solution Write the equation $AX=B$. $\left[\begin{array}{ccc}5& 15& 56\\ -4& -11& -41\\ -1& -3& -11\end{array}\right]\text{ }\left[\begin{array}{c}x\\ y\\ z\end{array}\right]=\left[\begin{array}{r}\hfill 35\\ \hfill -26\\ \hfill -7\end{array}\right]$ First, we will find the inverse of $A$ by augmenting with the identity. $\left[\begin{array}{rrr}\hfill 5& \hfill 15& \hfill 56\\ \hfill -4& \hfill -11& \hfill -41\\ \hfill -1& \hfill -3& \hfill -11\end{array}|\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\right]$ Multiply row 1 by $\frac{1}{5}$. $\left[\begin{array}{ccc}1& 3& \frac{56}{5}\\ -4& -11& -41\\ -1& -3& -11\end{array}|\begin{array}{ccc}\frac{1}{5}& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\right]$ Multiply row 1 by 4 and add to row 2. $\left[\begin{array}{ccc}1& 3& \frac{56}{5}\\ 0& 1& \frac{19}{5}\\ -1& -3& -11\end{array}|\begin{array}{ccc}\frac{1}{5}& 0& 0\\ \frac{4}{5}& 1& 0\\ 0& 0& 1\end{array}\right]$ Add row 1 to row 3. $\left[\begin{array}{ccc}1& 3& \frac{56}{5}\\ 0& 1& \frac{19}{5}\\ 0& 0& \frac{1}{5}\end{array}|\begin{array}{ccc}\frac{1}{5}& 0& 0\\ \frac{4}{5}& 1& 0\\ \frac{1}{5}& 0& 1\end{array}\right]$ Multiply row 2 by −3 and add to row 1. $\left[\begin{array}{ccc}1& 0& -\frac{1}{5}\\ 0& 1& \frac{19}{5}\\ 0& 0& \frac{1}{5}\end{array}|\begin{array}{ccc}-\frac{11}{5}& -3& 0\\ \frac{4}{5}& 1& 0\\ \frac{1}{5}& 0& 1\end{array}\right]$ Multiply row 3 by 5. $\left[\begin{array}{ccc}1& 0& -\frac{1}{5}\\ 0& 1& \frac{19}{5}\\ 0& 0& 1\end{array}|\begin{array}{ccc}-\frac{11}{5}& -3& 0\\ \frac{4}{5}& 1& 0\\ 1& 0& 5\end{array}\right]$ Multiply row 3 by $\frac{1}{5}$ and add to row 1. $\left[\begin{array}{ccc}1& 0& 0\\ 0& 1& \frac{19}{5}\\ 0& 0& 1\end{array}|\begin{array}{ccc}-2& -3& 1\\ \frac{4}{5}& 1& 0\\ 1& 0& 5\end{array}\right]$ Multiply row 3 by $-\frac{19}{5}$ and add to row 2. $\left[\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}|\begin{array}{ccc}-2& -3& 1\\ -3& 1& -19\\ 1& 0& 5\end{array}\right]$ So, ${A}^{-1}=\left[\begin{array}{ccc}-2& -3& 1\\ -3& 1& -19\\ 1& 0& 5\end{array}\right]$ Multiply both sides of the equation by ${A}^{-1}$. We want ${A}^{-1}AX={A}^{-1}B:$ $\left[\begin{array}{rrr}\hfill -2& \hfill -3& \hfill 1\\ \hfill -3& \hfill 1& \hfill -19\\ \hfill 1& \hfill 0& \hfill 5\end{array}\right]\text{ }\left[\begin{array}{rrr}\hfill 5& \hfill 15& \hfill 56\\ \hfill -4& \hfill -11& \hfill -41\\ \hfill -1& \hfill -3& \hfill -11\end{array}\right]\text{ }\left[\begin{array}{c}x\\ y\\ z\end{array}\right]=\left[\begin{array}{rrr}\hfill -2& \hfill -3& \hfill 1\\ \hfill -3& \hfill 1& \hfill -19\\ \hfill 1& \hfill 0& \hfill 5\end{array}\right]\text{ }\left[\begin{array}{r}\hfill 35\\ \hfill -26\\ \hfill -7\end{array}\right]$ Thus, ${A}^{-1}B=\left[\begin{array}{r}\hfill -70+78 - 7\\ \hfill -105 - 26+133\\ \hfill 35+0 - 35\end{array}\right]=\left[\begin{array}{c}1\\ 2\\ 0\end{array}\right]$ The solution is $\left(1,2,0\right)$. ### Try It 4 Solve the system using the inverse of the coefficient matrix. $\begin{array}{l}\text{ }2x - 17y+11z=0\hfill \\ \text{ }-x+11y - 7z=8\hfill \\ \text{ }3y - 2z=-2\hfill \end{array}$ ### How To: Given a system of equations, solve with matrix inverses using a calculator. 1. Save the coefficient matrix and the constant matrix as matrix variables $\left[A\right]$ and $\left[B\right]$. 2. Enter the multiplication into the calculator, calling up each matrix variable as needed. 3. If the coefficient matrix is invertible, the calculator will present the solution matrix; if the coefficient matrix is not invertible, the calculator will present an error message. ### Example 9: Using a Calculator to Solve a System of Equations with Matrix Inverses Solve the system of equations with matrix inverses using a calculator $\begin{array}{l}2x+3y+z=32\hfill \\ 3x+3y+z=-27\hfill \\ 2x+4y+z=-2\hfill \end{array}$ ### Solution On the matrix page of the calculator, enter the coefficient matrix as the matrix variable $\left[A\right]$, and enter the constant matrix as the matrix variable $\left[B\right]$. $\left[A\right]=\left[\begin{array}{ccc}2& 3& 1\\ 3& 3& 1\\ 2& 4& 1\end{array}\right],\text{ }\left[B\right]=\left[\begin{array}{c}32\\ -27\\ -2\end{array}\right]$ On the home screen of the calculator, type in the multiplication to solve for $X$, calling up each matrix variable as needed. ${\left[A\right]}^{-1}\times \left[B\right]$ Evaluate the expression. $\left[\begin{array}{c}-59\\ -34\\ 252\end{array}\right]$ ## Key Equations  Identity matrix for a $2\text{}\times \text{}2$ matrix ${I}_{2}=\left[\begin{array}{cc}1& 0\\ 0& 1\end{array}\right]$ Identity matrix for a $\text{3}\text{}\times \text{}3$ matrix ${I}_{3}=\left[\begin{array}{ccc}1& 0& 0\\ 0& 1& 0\\ 0& 0& 1\end{array}\right]$ Multiplicative inverse of a $2\text{}\times \text{}2$ matrix ${A}^{-1}=\frac{1}{ad-bc}\left[\begin{array}{cc}d& -b\\ -c& a\end{array}\right],\text{ where }ad-bc\ne 0$ ## Key Concepts • An identity matrix has the property $AI=IA=A$. • An invertible matrix has the property $A{A}^{-1}={A}^{-1}A=I$. • Use matrix multiplication and the identity to find the inverse of a $2\times 2$ matrix. • The multiplicative inverse can be found using a formula. • Another method of finding the inverse is by augmenting with the identity. • We can augment a $3\times 3$ matrix with the identity on the right and use row operations to turn the original matrix into the identity, and the matrix on the right becomes the inverse. • Write the system of equations as $AX=B$, and multiply both sides by the inverse of $A:{A}^{-1}AX={A}^{-1}B$. • We can also use a calculator to solve a system of equations with matrix inverses. ## Glossary identity matrix a square matrix containing ones down the main diagonal and zeros everywhere else; it acts as a 1 in matrix algebra multiplicative inverse of a matrix a matrix that, when multiplied by the original, equals the identity matrix ## Section Exercises 1. In a previous section, we showed that matrix multiplication is not commutative, that is, $AB\ne BA$ in most cases. Can you explain why matrix multiplication is commutative for matrix inverses, that is, ${A}^{-1}A=A{A}^{-1}?$ 2. Does every $2\times 2$ matrix have an inverse? Explain why or why not. Explain what condition is necessary for an inverse to exist. 3. Can you explain whether a $2\times 2$ matrix with an entire row of zeros can have an inverse? 4. Can a matrix with an entire column of zeros have an inverse? Explain why or why not. 5. Can a matrix with zeros on the diagonal have an inverse? If so, find an example. If not, prove why not. For simplicity, assume a $2\times 2$ matrix. In the following exercises, show that matrix $A$ is the inverse of matrix $B$. 6. $A=\left[\begin{array}{cc}1& 0\\ -1& 1\end{array}\right],B=\left[\begin{array}{cc}1& 0\\ 1& 1\end{array}\right]$ 7. $A=\left[\begin{array}{cc}1& 2\\ 3& 4\end{array}\right],B=\left[\begin{array}{cc}-2& 1\\ \frac{3}{2}& -\frac{1}{2}\end{array}\right]$ 8. $A=\left[\begin{array}{cc}4& 5\\ 7& 0\end{array}\right],B=\left[\begin{array}{cc}0& \frac{1}{7}\\ \frac{1}{5}& -\frac{4}{35}\end{array}\right]$ 9. $A=\left[\begin{array}{cc}-2& \frac{1}{2}\\ 3& -1\end{array}\right],B=\left[\begin{array}{cc}-2& -1\\ -6& -4\end{array}\right]$ 10. $A=\left[\begin{array}{ccc}1& 0& 1\\ 0& 1& -1\\ 0& 1& 1\end{array}\right],B=\frac{1}{2}\left[\begin{array}{ccc}2& 1& -1\\ 0& 1& 1\\ 0& -1& 1\end{array}\right]$ 11. $A=\left[\begin{array}{ccc}1& 2& 3\\ 4& 0& 2\\ 1& 6& 9\end{array}\right],B=\frac{1}{4}\left[\begin{array}{ccc}6& 0& -2\\ 17& -3& -5\\ -12& 2& 4\end{array}\right]$ 12. $A=\left[\begin{array}{ccc}3& 8& 2\\ 1& 1& 1\\ 5& 6& 12\end{array}\right],B=\frac{1}{36}\left[\begin{array}{ccc}-6& 84& -6\\ 7& -26& 1\\ -1& -22& 5\end{array}\right]$ For the following exercises, find the multiplicative inverse of each matrix, if it exists. 13. $\left[\begin{array}{cc}3& -2\\ 1& 9\end{array}\right]$ 14. $\left[\begin{array}{cc}-2& 2\\ 3& 1\end{array}\right]$ 15. $\left[\begin{array}{cc}-3& 7\\ 9& 2\end{array}\right]$ 16. $\left[\begin{array}{cc}-4& -3\\ -5& 8\end{array}\right]$ 17. $\left[\begin{array}{cc}1& 1\\ 2& 2\end{array}\right]$ 18. $\left[\begin{array}{cc}0& 1\\ 1& 0\end{array}\right]$ 19. $\left[\begin{array}{cc}0.5& 1.5\\ 1& -0.5\end{array}\right]$ 20. $\left[\begin{array}{ccc}1& 0& 6\\ -2& 1& 7\\ 3& 0& 2\end{array}\right]$ 21. $\left[\begin{array}{ccc}0& 1& -3\\ 4& 1& 0\\ 1& 0& 5\end{array}\right]$ 22. $\left[\begin{array}{ccc}1& 2& -1\\ -3& 4& 1\\ -2& -4& -5\end{array}\right]$ 23. $\left[\begin{array}{ccc}1& 9& -3\\ 2& 5& 6\\ 4& -2& 7\end{array}\right]$ 24. $\left[\begin{array}{ccc}1& -2& 3\\ -4& 8& -12\\ 1& 4& 2\end{array}\right]$ 25. $\left[\begin{array}{ccc}\frac{1}{2}& \frac{1}{2}& \frac{1}{2}\\ \frac{1}{3}& \frac{1}{4}& \frac{1}{5}\\ \frac{1}{6}& \frac{1}{7}& \frac{1}{8}\end{array}\right]$ 26. $\left[\begin{array}{ccc}1& 2& 3\\ 4& 5& 6\\ 7& 8& 9\end{array}\right]$ For the following exercises, solve the system using the inverse of a $2\times 2$ matrix. 27. $\begin{array}{l}\text{ }5x - 6y=-61\hfill \\ 4x+3y=-2\hfill \end{array}$ 28. $\begin{array}{l}8x+4y=-100\\ 3x - 4y=1\end{array}$ 29. $\begin{array}{l}3x - 2y=6\hfill \\ -x+5y=-2\hfill \end{array}$ 30. $\begin{array}{l}5x - 4y=-5\hfill \\ 4x+y=2.3\hfill \end{array}$ 31. $\begin{array}{l}-3x - 4y=9\hfill \\ 12x+4y=-6\hfill \end{array}$ 32. $\begin{array}{l}-2x+3y=\frac{3}{10}\hfill \\ -x+5y=\frac{1}{2}\hfill \end{array}$ 33. $\begin{array}{l}\frac{8}{5}x-\frac{4}{5}y=\frac{2}{5}\hfill \\ -\frac{8}{5}x+\frac{1}{5}y=\frac{7}{10}\hfill \end{array}$ 34. $\begin{array}{l}\frac{1}{2}x+\frac{1}{5}y=-\frac{1}{4}\\ \frac{1}{2}x-\frac{3}{5}y=-\frac{9}{4}\end{array}$ For the following exercises, solve a system using the inverse of a $3\text{}\times \text{}3$ matrix. 35. $\begin{array}{l}3x - 2y+5z=21\hfill \\ 5x+4y=37\hfill \\ x - 2y - 5z=5\hfill \end{array}$ 36. $\begin{array}{l}\text{ }4x+4y+4z=40\hfill \\ \text{ }2x - 3y+4z=-12\hfill \\ \text{ }-x+3y+4z=9\hfill \end{array}$ 37. $\begin{array}{l}\text{ }6x - 5y-z=31\hfill \\ \text{ }-x+2y+z=-6\hfill \\ \text{ }3x+3y+2z=13\hfill \end{array}$ 38. $\begin{array}{l}6x - 5y+2z=-4\hfill \\ 2x+5y-z=12\hfill \\ 2x+5y+z=12\hfill \end{array}$ 39. $\begin{array}{l}4x - 2y+3z=-12\hfill \\ 2x+2y - 9z=33\hfill \\ 6y - 4z=1\hfill \end{array}$ 40. $\begin{array}{l}\frac{1}{10}x-\frac{1}{5}y+4z=\frac{-41}{2}\\ \frac{1}{5}x - 20y+\frac{2}{5}z=-101\\ \frac{3}{10}x+4y-\frac{3}{10}z=23\end{array}$ 41. $\begin{array}{l}\frac{1}{2}x-\frac{1}{5}y+\frac{1}{5}z=\frac{31}{100}\hfill \\ -\frac{3}{4}x-\frac{1}{4}y+\frac{1}{2}z=\frac{7}{40}\hfill \\ -\frac{4}{5}x-\frac{1}{2}y+\frac{3}{2}z=\frac{1}{4}\hfill \end{array}$ 42. $\begin{array}{l}0.1x+0.2y+0.3z=-1.4\hfill \\ 0.1x - 0.2y+0.3z=0.6\hfill \\ 0.4y+0.9z=-2\hfill \end{array}$ For the following exercises, use a calculator to solve the system of equations with matrix inverses. 43. $\begin{array}{l}2x-y=-3\hfill \\ -x+2y=2.3\hfill \end{array}$ 44. $\begin{array}{l}-\frac{1}{2}x-\frac{3}{2}y=-\frac{43}{20}\hfill \\ \frac{5}{2}x+\frac{11}{5}y=\frac{31}{4}\hfill \end{array}$ 45. $\begin{array}{l}12.3x - 2y - 2.5z=2\hfill \\ 36.9x+7y - 7.5z=-7\hfill \\ 8y - 5z=-10\hfill \end{array}$ 46. $\begin{array}{l}0.5x - 3y+6z=-0.8\hfill \\ 0.7x - 2y=-0.06\hfill \\ 0.5x+4y+5z=0\hfill \end{array}$ For the following exercises, find the inverse of the given matrix. 47. $\left[\begin{array}{cccc}1& 0& 1& 0\\ 0& 1& 0& 1\\ 0& 1& 1& 0\\ 0& 0& 1& 1\end{array}\right]$ 48. $\left[\begin{array}{rrrr}\hfill -1& \hfill 0& \hfill 2& \hfill 5\\ \hfill 0& \hfill 0& \hfill 0& \hfill 2\\ \hfill 0& \hfill 2& \hfill -1& \hfill 0\\ \hfill 1& \hfill -3& \hfill 0& \hfill 1\end{array}\right]$ 49. $\left[\begin{array}{rrrr}\hfill 1& \hfill -2& \hfill 3& \hfill 0\\ \hfill 0& \hfill 1& \hfill 0& \hfill 2\\ \hfill 1& \hfill 4& \hfill -2& \hfill 3\\ \hfill -5& \hfill 0& \hfill 1& \hfill 1\end{array}\right]$ 50. $\left[\begin{array}{rrrrr}\hfill 1& \hfill 2& \hfill 0& \hfill 2& \hfill 3\\ \hfill 0& \hfill 2& \hfill 1& \hfill 0& \hfill 0\\ \hfill 0& \hfill 0& \hfill 3& \hfill 0& \hfill 1\\ \hfill 0& \hfill 2& \hfill 0& \hfill 0& \hfill 1\\ \hfill 0& \hfill 0& \hfill 1& \hfill 2& \hfill 0\end{array}\right]$ 51. $\left[\begin{array}{rrrrrr}\hfill 1& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0\\ \hfill 0& \hfill 1& \hfill 0& \hfill 0& \hfill 0& \hfill 0\\ \hfill 0& \hfill 0& \hfill 1& \hfill 0& \hfill 0& \hfill 0\\ \hfill 0& \hfill 0& \hfill 0& \hfill 1& \hfill 0& \hfill 0\\ \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 1& \hfill 0\\ \hfill 1& \hfill 1& \hfill 1& \hfill 1& \hfill 1& \hfill 1\end{array}\right]$ For the following exercises, write a system of equations that represents the situation. Then, solve the system using the inverse of a matrix. 52. 2,400 tickets were sold for a basketball game. If the prices for floor 1 and floor 2 were different, and the total amount of money brought in is$64,000, how much was the price of each ticket?

53. In the previous exercise, if you were told there were 400 more tickets sold for floor 2 than floor 1, how much was the price of each ticket?

54. A food drive collected two different types of canned goods, green beans and kidney beans. The total number of collected cans was 350 and the total weight of all donated food was 348 lb, 12 oz. If the green bean cans weigh 2 oz less than the kidney bean cans, how many of each can was donated?

55. Students were asked to bring their favorite fruit to class. 95% of the fruits consisted of banana, apple, and oranges. If oranges were twice as popular as bananas, and apples were 5% less popular than bananas, what are the percentages of each individual fruit?

56. A sorority held a bake sale to raise money and sold brownies and chocolate chip cookies. They priced the brownies at $1 and the chocolate chip cookies at$0.75. They raised $700 and sold 850 items. How many brownies and how many cookies were sold? 57. A clothing store needs to order new inventory. It has three different types of hats for sale: straw hats, beanies, and cowboy hats. The straw hat is priced at$13.99, the beanie at $7.99, and the cowboy hat at$14.49. If 100 hats were sold this past quarter, $1,119 was taken in by sales, and the amount of beanies sold was 10 more than cowboy hats, how many of each should the clothing store order to replace those already sold? 58. Anna, Ashley, and Andrea weigh a combined 370 lb. If Andrea weighs 20 lb more than Ashley, and Anna weighs 1.5 times as much as Ashley, how much does each girl weigh? 59. Three roommates shared a package of 12 ice cream bars, but no one remembers who ate how many. If Tom ate twice as many ice cream bars as Joe, and Albert ate three less than Tom, how many ice cream bars did each roommate eat? 60. A farmer constructed a chicken coop out of chicken wire, wood, and plywood. The chicken wire cost$2 per square foot, the wood $10 per square foot, and the plywood$5 per square foot. The farmer spent a total of \$51, and the total amount of materials used was $14{\text{ ft}}^{2}$. He used ${\text{3 ft}}^{2}$ more chicken wire than plywood. How much of each material in did the farmer use?

61. Jay has lemon, orange, and pomegranate trees in his backyard. An orange weighs 8 oz, a lemon 5 oz, and a pomegranate 11 oz. Jay picked 142 pieces of fruit weighing a total of 70 lb, 10 oz. He picked 15.5 times more oranges than pomegranates. How many of each fruit did Jay pick?