Learning Objectives
- Evaluate the determinant of a matrix
- Evaluate the determinant of a matrix
- Use Cramer’s Rule to solve systems of equations
- Solve applications using determinants
Be Prepared 4.6
Before you get started, take this readiness quiz.
- Simplify:
If you missed this problem, review Example 1.20. - Simplify:
If you missed this problem, review Example 1.19. - Simplify:
If you missed this problem, review Example 1.18.
In this section we will learn of another method to solve systems of linear equations called Cramer’s rule. Before we can begin to use the rule, we need to learn some new definitions and notation.
Evaluate the Determinant of a Matrix
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. To find the determinant of the square matrix we first write it as To get the real number value of the determinate we subtract the products of the diagonals, as shown.
Determinant
The determinant of any square matrix where a, b, c, and d are real numbers, is
Example 4.45
Evaluate the determinate of ⓐ ⓑ
Solution
ⓐ
Write the determinant. | |
Subtract the products of the diagonals. | |
Simplify. | |
Simplify. |
ⓑ
Write the determinant. | |
Subtract the products of the diagonals. | |
Simplify. | |
Simplify. |
Try It 4.89
Evaluate the determinate of ⓐ ⓑ
Try It 4.90
Evaluate the determinate of ⓐ ⓑ
Evaluate the Determinant of a Matrix
To evaluate the determinant of a matrix, we have to be able to evaluate the minor of an entry in the determinant. The minor of an entry is the determinant found by eliminating the row and column in the determinant that contains the entry.
Minor of an entry in a Determinant
The minor of an entry in a determinant is the determinant found by eliminating the row and column in the determinant that contains the entry.
To find the minor of entry we eliminate the row and column which contain it. So we eliminate the first row and first column. Then we write the determinant that remains.
To find the minor of entry we eliminate the row and column that contain it. So we eliminate the 2nd row and 2nd column. Then we write the determinant that remains.
Example 4.46
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. |
ⓒ
Eliminate the row and column that contains | |
Write the determinant that remains. | |
Evaluate. | |
Simplify. |
Try It 4.91
For the determinant find and then evaluate the minor of ⓐ ⓑ ⓒ
Try It 4.92
For the determinant find and then evaluate the minor of ⓐ ⓑ ⓒ
We are now ready to evaluate a determinant. To do this we expand by minors, which allows us to evaluate the determinant using determinants—which we already know how to evaluate!
To evaluate a determinant by expanding by minors along the first row, we use the following pattern:
Remember, to find the minor of an entry we eliminate the row and column that contains the entry.
Expanding by Minors along the First Row to Evaluate a Determinant
To evaluate a determinant by expanding by minors along the first row, the following pattern:
Example 4.47
Evaluate the determinant by expanding by minors along the first row.
Solution
Expand by minors along the first row | |
Evaluate each determinant. | |
Simplify. | |
Simplify. | |
Simplify. |
Try It 4.93
Evaluate the determinant by expanding by minors along the first row.
Try It 4.94
Evaluate the determinant by expanding by minors along the first row.
To evaluate a 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.
Sign Pattern
When expanding by minors using a row or column, the sign of the terms in the expansion follow the following pattern.
Notice that the sign pattern in the first row matches the signs between the terms in the expansion by the first row.
Since we can expand by any row or column, how do we decide which row or column to use? Usually we try to pick a row or column that will make our calculation easier. If the determinant contains a 0, using the row or column that contains the 0 will make the calculations easier.
Example 4.48
Evaluate the determinant by expanding by minors.
Solution
To expand by minors, we look for a row or column that will make our calculations easier. Since 0 is in the second row and second column, expanding by either of those is a good choice. Since the second row has fewer negatives than the second column, we will expand by the second row.
Expand using the second row. | |
Be careful of the signs. | |
Evaluate each determinant. | |
Simplify. | |
Simplify. | |
Add. |
Try It 4.95
Evaluate the determinant by expanding by minors.
Try It 4.96
Evaluate the determinant by expanding by minors.
Use Cramer’s Rule to Solve Systems of Equations
Cramer’s Rule is a method of solving systems of equations using determinants. It can be derived by solving the general form of the systems of equations by elimination. Here we will demonstrate the rule for both systems of two equations with two variables and for systems of three equations with three variables.
Let’s start with the systems of two equations with two variables.
Cramer’s Rule for Solving a System of Two Equations
For the system of equations the solution can be determined by
Notice that to form the determinant D, we use take the coefficients of the variables.
Notice that to form the determinant and we substitute the constants for the coefficients of the variable we are finding.
Example 4.49
How to Solve a System of Equations Using Cramer’s Rule
Solve using Cramer’s Rule:
Solution
Try It 4.97
Solve using Cramer’s rule:
Try It 4.98
Solve using Cramer’s rule:
How To
Solve a system of two equations using Cramer’s rule.
- Step 1. Evaluate the determinant D, using the coefficients of the variables.
- Step 2. Evaluate the determinant Use the constants in place of the x coefficients.
- Step 3. Evaluate the determinant Use the constants in place of the y coefficients.
- Step 4. Find x and y.
- Step 5. Write the solution as an ordered pair.
- Step 6. Check that the ordered pair is a solution to both original equations.
To solve a system of three equations with three variables with Cramer’s Rule, we basically do what we did for a system of two equations. However, we now have to solve for three variables to get the solution. The determinants are also going to be which will make our work more interesting!
Cramer’s Rule for Solving a System of Three Equations
For the system of equations the solution can be determined by
Example 4.50
Solve the system of equations using Cramer’s Rule:
Solution
Evaluate the determinant D. | |
Expand by minors using column 1. | |
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
Simplify. | |
Evaluate the determinant Use the constants to replace the coefficients of x. |
|
Expand by minors using column 1. | |
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
Evaluate the determinant Use the constants to replace the coefficients of y. |
|
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
Simplify. | |
Evaluate the determinant Use the constants to replace the coefficients of z. |
|
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
Simplify. | |
Find x, y, and z. | |
Substitute in the values. | |
Simplify. | |
Write the solution as an ordered triple. | |
Check that the ordered triple is a solution to all three original equations. |
We leave the check to you. |
The solution is |
Try It 4.99
Solve the system of equations using Cramer’s Rule:
Try It 4.100
Solve the system of equations using Cramer’s Rule:
Cramer’s rule does not work when the value of the D determinant is 0, as this would mean we would be dividing by 0. But when the system is either inconsistent or dependent.
When the value of and and are all zero, the system is consistent and dependent and there are infinitely many solutions.
When the value of and and are not all zero, the system is inconsistent and there is no solution.
Dependent and Inconsistent Systems of Equations
For any system of equations, where the value of the determinant
In the next example, we will use the values of the determinants to find the solution of the system.
Example 4.51
Solve the system of equations using Cramer’s rule :
Solution
We cannot use Cramer’s Rule to solve this system. But by looking at the value of the determinants and we can determine whether the system is dependent or inconsistent.
Since all the determinants are not zero, the system is inconsistent. There is no solution.
Try It 4.101
Solve the system of equations using Cramer’s rule:
Try It 4.102
Solve the system of equations using Cramer’s rule:
Solve Applications using Determinants
An interesting application of determinants allows us to test if points are collinear. Three points and are collinear if and only if the determinant below is zero.
Test for Collinear Points
Three points and are collinear if and only if
We will use this property in the next example.
Example 4.52
Determine whether the points and are collinear.
Solution
Substitute the values into the determinant. and |
|
Evaluate the determinant by expanding by minors using column 3. |
|
Evaluate the determinants. | |
Simplify. | |
Simplify. | |
The value of the determinate is 0, so the points are collinear. |
Try It 4.103
Determine whether the points and are collinear.
Try It 4.104
Determine whether the points and are collinear.
Media
Access these online resources for additional instruction and practice with solving systems of linear inequalities by graphing.
Section 4.6 Exercises
Practice Makes Perfect
Evaluate the Determinant of a 2 × 2 Matrix
In the following exercises, evaluate the determinate of each square matrix.
Evaluate the Determinant of a 3 × 3 Matrix
In the following exercises, find and then evaluate the indicated minors.
Find the minor ⓐ ⓑ ⓒ
Find the minor ⓐ ⓑ ⓒ
In the following exercises, evaluate each determinant by expanding by minors along the first row.
In the following exercises, evaluate each determinant by expanding by minors.
Use Cramer’s Rule to Solve Systems of Equations
In the following exercises, solve each system of equations using Cramer’s Rule.
Solve Applications Using Determinants
In the following exercises, determine whether the given points are collinear.
and
and
Writing Exercises
Explain the difference between a square matrix and its determinant. Give an example of each.
Explain how to decide which row or column you will use to expand a determinant.
Self Check
ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.
ⓑ After reviewing this checklist, what will you do to become confident for all objectives?