Learning Objectives
In this section, you will:
- Find the inverse of a matrix.
- Solve a system of linear equations using an inverse matrix.
Corequisite Skills
Learning Objectives
- Evaluate the determinant of a 2×2 matrix (IA 4.6.1)
- Evaluate the determinant of a 3x3 matrix (IA 4.6.2)
Objective 1: Evaluate the determinant of a 2×2 matrix (IA 4.6.1)
If a matrix has the same number of rows and columns, we call it a square matrix. Each square matrix has a real number associated with it called its determinant.
Determinant
The determinant of any square matrix , where a, b, c, and d are real numbers, is
To get the real number value of the determinate we subtract the products of the diagonals, as shown.
Example 1
Find the determinant of the 2x2 matrix
Solution
Write the determinant | |
Subtract the products of the diagonals | |
Simplify |
Practice Makes Perfect
Find the determinant of the 2x2 matrices.
Objective 2: Evaluate the determinant of a 3×3 matrix (IA 4.6.2)
To evaluate the determinant of a 3×3 matrix, we must be able to evaluate the minor of an entry in the determinant.
The minor of an entry is the 2×2 determinant found by eliminating the row and column in the 3×3 determinant that contains the entry.
For example, to find the minor of entry a1, we eliminate the row and column which contain it. So, we eliminate the first row and first column. Then we write the 2×2 determinant that remains.
To find the minor of entry b2, we eliminate the row and column that contain it. So, we eliminate the second row and second column. Then we write the 2×2 determinant that remains.
Example 2
For the determinant find and then evaluate the minor of ⓐ ⓑ
Solution
ⓐ
Eliminate the row and column that contains | |
Write the determinant that remains. | |
Evaluate. | |
Simplify. |
ⓑ
Eliminate the row and column that contains | |
Write the determinant that remains. | |
Evaluate. | |
Simplify. |
Try It #1
For the following determinant, find and then evaluate the minor of c2
Eliminate the row and column that contains . | ________________________________________ |
Write the determinant that remains. | ________________________________________ |
Evaluate and simplify. | ________________________________________ |
Strategy for evaluating the determinant of a 3x3 matrix
To evaluate a 3×3 determinant we can expand by minors using any row or column. Choosing a row or column other than the first row sometimes makes the work easier.
When we expand by any row or column, we must be careful about the sign of the terms in the expansion. To determine the sign of the terms, we use the following sign pattern chart.
Expanding by minors along the first row to evaluate a 3x3 determinant.
To evaluate a 3×3 determinant by expanding by minors along the first row, we use the following pattern:
NOTE: We can evaluate the determinant of a matrix by expanding minors along any row or column. When a row or a column has a zero entry, expanding by that row or column results in less calculations.
Example 3
Evaluate the determinant of the 3x3 matrix by expanding by minors along the first row
Solution
Expand by minors along the first row | |
Evaluate each determinant. | |
Simplify. | |
Simplify. | |
Simplify. |
Practice Makes Perfect
Evaluate the determinant of the 3x3 matrix by expanding by minors along the first row.
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 is and For example, and The multiplicative inverse of a matrix is similar in concept, except that the product of matrix and its inverse 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 where represents the dimension of the matrix. [link] and the following equations.
The identity matrix acts as a 1 in matrix algebra. For example,
A matrix that has a multiplicative inverse has the properties
A matrix that has a multiplicative inverse is called an invertible matrix. Only a square matrix may have a multiplicative inverse, as the reversibility, is a requirement. Not all square matrices have an inverse, but if is invertible, then is unique. We will look at two methods for finding the inverse of a matrix and a third method that can be used on both and matrices.
The Identity Matrix and Multiplicative Inverse
The identity matrix, is a square matrix containing ones down the main diagonal and zeros everywhere else.
If is an matrix and is an matrix such that then the multiplicative inverse of a matrix
Example 1
Showing That the Identity Matrix Acts as a 1
Given matrix A, show that
Solution
Use matrix multiplication to show that the product of and the identity is equal to the product of the identity and A.
How To
Given two matrices, show that one is the multiplicative inverse of the other.
- Given matrix of order and matrix of order multiply
- If then find the product If then and
Example 2
Showing That Matrix A Is the Multiplicative Inverse of Matrix B
Show that the given matrices are multiplicative inverses of each other.
Solution
Multiply and If both products equal the identity, then the two matrices are inverses of each other.
and are inverses of each other.
Try It #2
Show that the following two matrices are inverses of each other.
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.
Solution
For this method, we multiply by a matrix containing unknown constants and set it equal to the identity.
Find the product of the two matrices on the left side of the equal sign.
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.
Using row operations, multiply and add as follows: Add the equations, and solve for
Back-substitute to solve for
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.
Using row operations, multiply and add as follows: Add the two equations and solve for
Once more, back-substitute and solve for
Finding the Multiplicative Inverse by Augmenting with the Identity
Another way to find the multiplicative inverse is by augmenting with the identity. When matrix is transformed into the augmented matrix transforms into
For example, given
augment with the identity
Perform row operations with the goal of turning into the identity.
- Switch row 1 and row 2.
- Multiply row 2 by and add to row 1.
- Multiply row 1 by and add to row 2.
- Add row 2 to row 1.
- Multiply row 2 by
The matrix we have found is
Finding the Multiplicative Inverse of 2×2 Matrices Using a Formula
When we need to find the multiplicative inverse of a matrix, we can use a special formula instead of using matrix multiplication or augmenting with the identity.
If is a matrix, such as
the multiplicative inverse of is given by the formula
where If then 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
Solution
Using the formula, we have
Analysis
We can check that our formula works by using one of the other methods to calculate the inverse. Let’s augment with the identity.
Perform row operations with the goal of turning into the identity.
- Multiply row 1 by and add to row 2.
- Multiply row 1 by 2 and add to row 1.
So, we have verified our original solution.
Try It #3
Use the formula to find the inverse of matrix Verify your answer by augmenting with the identity matrix.
Example 5
Finding the Inverse of the Matrix, If It Exists
Find the inverse, if it exists, of the given matrix.
Solution
We will use the method of augmenting with the identity.
- Switch row 1 and row 2.
- Multiply row 1 by −3 and add it to row 2.
- 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 matrix to find the inverse of a matrix. Instead, we will augment the original matrix with the identity matrix and use row operations to obtain the inverse.
Given a matrix
augment with the identity matrix
To begin, we write the augmented matrix with the identity on the right and 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 matrix, find the inverse
- Write the original matrix augmented with the identity matrix on the right.
- Use elementary row operations so that the identity appears on the left.
- What is obtained on the right is the inverse of the original matrix.
- Use matrix multiplication to show that and
Example 6
Finding the Inverse of a 3 × 3 Matrix
Given the matrix find the inverse.
Solution
Augment with the identity matrix, and then begin row operations until the identity matrix replaces The matrix on the right will be the inverse of
Thus,
Analysis
To prove that let’s multiply the two matrices together to see if the product equals the identity, if and
Try It #4
Find the inverse of the matrix.
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: is the matrix representing the variables of the system, and 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
To solve a system of linear equations using an inverse matrix, let be the coefficient matrix, let be the variable matrix, and let be the constant matrix. Thus, we want to solve a system For example, look at the following system of equations.
From this system, the coefficient matrix is
The variable matrix is
And the constant matrix is
Then looks like
Recall the discussion earlier in this section regarding multiplying a real number by its inverse, To solve a single linear equation for we would simply multiply both sides of the equation by the multiplicative inverse (reciprocal) of Thus,
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 system and then move on to a system.
Solving a System of Equations Using the Inverse of a Matrix
Given a system of equations, write the coefficient matrix the variable matrix and the constant matrix Then
Multiply both sides by the inverse of to obtain the solution.
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.
Solution
Write the system in terms of a coefficient matrix, a variable matrix, and a constant matrix.
Then
First, we need to calculate Using the formula to calculate the inverse of a 2 by 2 matrix, we have:
So,
Now we are ready to solve. Multiply both sides of the equation by
The solution is
Q&A
Can we solve for by finding the product
No, recall that matrix multiplication is not commutative, so Consider our steps for solving the matrix equation.
Notice in the first step we multiplied both sides of the equation by but the was to the left of on the left side and to the left of 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.
Solution
Write the equation
First, we will find the inverse of by augmenting with the identity.
Multiply row 1 by
Multiply row 1 by 4 and add to row 2.
Add row 1 to row 3.
Multiply row 2 by −3 and add to row 1.
Multiply row 3 by 5.
Multiply row 3 by and add to row 1.
Multiply row 3 by and add to row 2.
So,
Multiply both sides of the equation by We want
Thus,
The solution is
Try It #5
Solve the system using the inverse of the coefficient matrix.
How To
Given a system of equations, solve with matrix inverses using a calculator.
- Save the coefficient matrix and the constant matrix as matrix variables and
- Enter the multiplication into the calculator, calling up each matrix variable as needed.
- 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
Solution
On the matrix page of the calculator, enter the coefficient matrix as the matrix variable and enter the constant matrix as the matrix variable
On the home screen of the calculator, type in the multiplication to solve for calling up each matrix variable as needed.
Evaluate the expression.
Media
Access these online resources for additional instruction and practice with solving systems with inverses.
7.7 Section Exercises
Verbal
In a previous section, we showed that matrix multiplication is not commutative, that is, in most cases. Can you explain why matrix multiplication is commutative for matrix inverses, that is,
Does every matrix have an inverse? Explain why or why not. Explain what condition is necessary for an inverse to exist.
Can a matrix with an entire column of zeros have an inverse? Explain why or why not.
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 matrix.
Algebraic
In the following exercises, show that matrix is the inverse of matrix
For the following exercises, find the multiplicative inverse of each matrix, if it exists.
For the following exercises, solve the system using the inverse of a matrix.
For the following exercises, solve a system using the inverse of a matrix.
Technology
For the following exercises, use a calculator to solve the system of equations with matrix inverses.
Extensions
For the following exercises, find the inverse of the given matrix.
Real-World Applications
For the following exercises, write a system of equations that represents the situation. Then, solve the system using the inverse of a matrix.
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?
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?
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?
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?
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?
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?
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?
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?
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 He used more chicken wire than plywood. How much of each material in did the farmer use?
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?