By the end of this section, you will be able to:
matrix
matrix
Before you get started, take this readiness quiz.
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.
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.
<div data-type="note" markdown="1">
The determinant of any square matrix
where a, b, c, and d are real numbers, is
</div>
Evaluate the determinate of ⓐ
ⓑ
ⓐ* * *
| | | {: valign=”top”}| Write the determinant. | | {: valign=”top”}| Subtract the products of the diagonals. | | {: valign=”top”}| Simplify. | | {: valign=”top”}| Simplify. | | {: valign=”top”}{: .unnumbered .unstyled summary=”Row 1 of the 2 by 2 matrix is 4, minus 2. Row 2 is 3, minus 1. The same is written in determinant form with diagonal arrows. Subtracting the products of the diagonals, we get 4 times minus 1 minus 3 times minus 2. We simplify to get 2.” data-label=””}
ⓑ* * *
| | | {: valign=”top”}| Write the determinant. | | {: valign=”top”}| Subtract the products of the diagonals. | | {: valign=”top”}| Simplify. | | {: valign=”top”}| Simplify. | | {: valign=”top”}{: .unnumbered .unstyled summary=”Row 1 of the 2 by 2 matrix is minus 3, minus 4. Row 2 is minus 2, 0. The same is written in determinant form with diagonal arrows. Subtracting the products of the diagonals, we get minus 3 times 0 minus minus 2 times minus 4. We simplify to get minus 8.” data-label=””}
Evaluate the determinate of ⓐ
ⓑ
ⓐ
ⓑ
Evaluate the determinate of ⓐ
ⓑ
ⓐ 2 ⓑ
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.
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.
<div data-type="example">
For the determinant
find and then evaluate the minor of ⓐ
ⓑ
ⓒ
ⓐ* * *
{: valign=”top”} | Eliminate the row and column that contains |
{: valign=”top”} | Write the |
determinant that remains. | | {: valign=”top”}| Evaluate. | | {: valign=”top”}| Simplify. | | {: valign=”top”}{: .unnumbered .unstyled summary=”The first row of the 3 by 3 determinant is 4, minus 2, 3. Row 2 is 1, 0, minus 3. Row 3 is minus 2, minus 4, 2. Eliminating the row and column containing a1, we get the minor of a1. This 2 by 2 determinant has row 1: 0, minus 3 and row 2: minus 4, 2. Evaluate and simplify to get minus 12.” data-label=””}
ⓑ* * *
Eliminate the row and column that contains |
{: valign=”top”} | Write the |
determinant that remains. | | {: valign=”top”}| Evaluate. | | {: valign=”top”}| Simplify. | | {: valign=”top”}{: .unnumbered .unstyled summary=”The 3 by 3 matrix has row 1: 4, minus 2, 3, row 2: 1, 0, minus 3 and row 3: minus 2, minus 4, 2. Eliminating the row and column containing b3, we get minor of b3 with row 1: 4, 3 and row 2: 1, minus 3. Evaluate and simplify to get minus 15.” data-label=””}
ⓒ* * *
{: valign=”top”} | Eliminate the row and column that contains |
{: valign=”top”} | Write the |
determinant that remains. | | {: valign=”top”}| Evaluate. | | {: valign=”top”}| Simplify. | | {: valign=”top”}{: .unnumbered .unstyled .can-break summary=”The 3 by 3 matrix has row 1: 4, minus 2, 3, row 2: 1, 0, minus 3 and row 3: minus 2, minus 4, 2. Eliminating the row and column containing c2, we get minor of c2 with row 1: 4, minus 2 and row 2: minus 2, 4. Evaluate and simplify to get 12” data-label=””}
</div>
For the determinant
find and then evaluate the minor of ⓐ
ⓑ
ⓒ
ⓐ 3 ⓑ 11 ⓒ 2
For the determinant
find and then evaluate the minor of ⓐ
ⓑ
ⓒ
ⓐ
ⓑ 2 ⓒ 3
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.
To evaluate a
determinant by expanding by minors along the first row, the following pattern:
Evaluate the determinant
by expanding by minors along the first row.
| | | {: valign=”top”}| Expand by minors along the first row | | {: valign=”top”}| Evaluate each determinant. | | {: valign=”top”}| Simplify. | | {: valign=”top”}| Simplify. | | {: valign=”top”}| Simplify. | | {: valign=”top”}{: .unnumbered .unstyled summary=”The first row of the determinant is 2, minus 3, minus 1. Row 2 is 3, 2, 0. Row 3 is minus 1, minus 1, minus 2. Expanding by minors, we get 2 times minor of 2 minus 3 times minor of 3 plus minus 1 times minor of minus 1. Evaluating each determinant and simplifying, we get minus 25.” data-label=””}
Evaluate the determinant
by expanding by minors along the first row.
37
Evaluate the determinant
by expanding by minors along the first row.
7
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.
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.
Evaluate the determinant
by expanding by minors.
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.
| | | {: valign=”top”}| Expand using the second row. | | {: valign=”top”}| Be careful of the signs. | | {: valign=”top”}| Evaluate each determinant. | | {: valign=”top”}| Simplify. | | {: valign=”top”}| Simplify. | | {: valign=”top”}| Add. | | {: valign=”top”}{: .unnumbered .unstyled summary=”A 3 by 3 determinant has row 1 4, minus 1, minus 3, row 2: 3, 0, 2 and row 3 5, minus 4, minus 3. The second row is highlighted. Expand using the second row. Be careful of the signs. The middle row is minus, plus, minus. Expanding, we get minus 3 times minor of 3 plus 0 times minor of 0 minus 2 times minor of 2. Evaluating each minor determinant and simplifying, we get 49.” data-label=””}
Evaluate the determinant
by expanding by minors.
Evaluate the determinant
by expanding by minors.
8
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.
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.
<div data-type="example">
Solve using Cramer’s Rule:
</div>
Solve using Cramer’s rule:
Solve using Cramer’s rule:
Use the constants in place of the x coefficients.
Use the constants in place of the y coefficients.
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!
For the system of equations
the solution
can be determined by
Solve the system of equations using Cramer’s Rule:
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 |
Solve the system of equations using Cramer’s Rule:
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.
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.
Solve the system of equations using Cramer’s rule :
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.
Solve the system of equations using Cramer’s rule:
no solution
Solve the system of equations using Cramer’s rule:
infinite solutions
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.
Three points
and
are collinear if and only if
We will use this property in the next example.
Determine whether the points
and
are collinear.
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. |
Determine whether the points
and
are collinear.
yes
Determine whether the points
and
are collinear.
yes
Access these online resources for additional instruction and practice with solving systems of linear inequalities by graphing.
where a, b, c, and d are real numbers, is
determinant by expanding by minors along the first row, the following pattern:
the solution
can be determined by
Notice that to form the determinant D, we use take the coefficients of the variables.
Use the constants in place of the x coefficients.
Use the constants in place of the y coefficients.
and
are collinear if and only if
Evaluate the Determinant of a 2 × 2 Matrix
In the following exercises, evaluate the determinate of each square matrix.
4
10
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 ⓐ
ⓑ
ⓒ
ⓐ 6 ⓑ
ⓒ
Find the minor ⓐ
ⓑ
ⓒ
Find the minor ⓐ
ⓑ
ⓒ
ⓐ 9 ⓑ
ⓒ 8
In the following exercises, evaluate each determinant by expanding by minors along the first row.
49
In the following exercises, evaluate each determinant by expanding by minors.
25
Use Cramer’s Rule to Solve Systems of Equations
In the following exercises, solve each system of equations using Cramer’s Rule.
infinitely many solutions
inconsistent
inconsistent
infinitely many solutions
Solve Applications Using Determinants
In the following exercises, determine whether the given points are collinear.
and
and
yes
and
and
no
Explain the difference between a square matrix and its determinant. Give an example of each.
Explain what is meant by the minor of an entry in a square matrix.
Answers will vary.
Explain how to decide which row or column you will use to expand a
determinant.
Explain the steps for solving a system of equations using Cramer’s rule.
Answers will vary.
ⓐ 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?
minor of an entry in a
determinant is the
determinant found by eliminating the row and column in the
determinant that contains the entry.
You can also download for free at http://cnx.org/contents/02776133-d49d-49cb-bfaa-67c7f61b25a1@4.13
Attribution: