MX Algebra Solve Systems of Equations Using Determinants

Section 4.6Solve Systems of Equations Using Determinants

Definition

Before you get started, take this readiness quiz.

1

Simplify: \(5(-2)-(-4)(1).\)
If you missed this problem, review Example 9.

\(-6\)

Definition
2

Simplify: \(-3(8-10)+(-2)(6-3)-4(-3-(-4)).\)
If you missed this problem, review Example 8.

\(-4\)

Definition
3

Simplify: \(\frac{-12}{-8}.\)
If you missed this problem, review Example 7.

\(\frac{3}{2}\)

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 \(2\,\times \,2\) 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 \([\begin{array}{l}a\,b \\ c\,d\end{array}],\) we first write it as \(|\begin{array}{l}a\,b \\ c\,d\end{array}|.\) To get the real number value of the determinant we subtract the products of the diagonals, as shown.

A 2 by 2 determinant is show, with its first row being a, b and second one being c, d. These values are written between two vertical lines instead of brackets as in the case of matrices. Two arrows are shown, one from a to d, the other from c to b. This determinant is equal to ad minus bc.
Determinant

The determinant of any square matrix \([\begin{array}{l}a\,b \\ c\,d\end{array}],\) where a, b, c, and d are real numbers, is

\[|\begin{array}{l}a\,b \\ c\,d\end{array}|=ad-bc\]

Example 1

Evaluate the determinant of ⓐ \([\begin{array}{l}4\,-2 \\ 3\,-1\end{array}]\) ⓑ \([\begin{array}{llll}-3 & & & -4 \\ -2 & & & 0\end{array}].\)

Apply ad - bc to each matrix, using its own a, b, c, and d entries.





Table 1
A 2x2 matrix is shown, containing the numbers 4, -2, 3, and -1. The first row elements are 4 and -2, while the second row elements are 3 and -1.
Write the determinant.A 2x2 matrix with values 4, -2, 3, -1, illustrating diagonal multiplication with blue arrows, often used for determinants.
Subtract the products of the diagonals.A mathematical expression showing 4 multiplied by -1, minus 3 multiplied by -2. The expression is 4(-1) - 3(-2).
Simplify.The mathematical expression -4 + 6 is displayed in a dark gray font against a white background, showing the addition of a negative number and a positive number.
Simplify.The numeral 2 is prominently displayed in the center of a plain white background, rendered in a dark gray hue with a slight gradient effect.
Table 2
A 2x2 matrix is shown, containing the elements -3, -4 in the first row and -2, 0 in the second row, enclosed within square brackets.
Write the determinant.A mathematical diagram showing cross-multiplication with numbers -3, -4, -2, and 0 arranged in a grid, featuring diagonal blue arrows indicating pairings.
Subtract the products of the diagonals.An algebraic expression featuring multiplication and subtraction of integers: -3(0) - (-2)(-4).
Simplify.The image displays the numbers '0-8' in a simple, grayscale font on a plain white background, likely representing a range or identifier.
Simplify.A vertical representation of the number -8, with the minus sign positioned to the left of the numeral eight, against a plain white background.
Try It #1

Evaluate the determinant of ⓐ \([\begin{array}{l}5\,-3 \\ 2\,-4\end{array}]\) ⓑ \([\begin{array}{llll}-4 & & & -6 \\ 0 & & & 7\end{array}].\)

ⓐ \(-14;\) ⓑ \(-28\)

Did you get it?
Try It #2

Evaluate the determinant of ⓐ \([\begin{array}{l}-1\,3 \\ -2\,4\end{array}]\) ⓑ \([\begin{array}{llll}-7 & & & -3 \\ -5 & & & 0\end{array}].\)

ⓐ 2 ⓑ \(-15\)

Did you get it?

Evaluate the Determinant of a \(3\,\times \,3\) Matrix

To evaluate the determinant of a \(3\,\times \,3\) matrix, we have to be able to evaluate the minor of an entry in the determinant. The minor of an entry is the \(2\,\times \,2\) determinant found by eliminating the row and column in the \(3\,\times \,3\) determinant that contains the entry.

Minor of an entry in \(3\,\times \,3\) a Determinant

The minor of an entry in a \(3\,\times \,3\) determinant is the \(2\,\times \,2\) determinant found by eliminating the row and column in the \(3\,\times \,3\) determinant that contains the entry.

To find the minor of entry \({a}_{1},\) we eliminate the row and column which contain it. So we eliminate the first row and first column. Then we write the \(2\,\times \,2\) determinant that remains.

The first row of the 3 by 3 determinant is a1, b1, c1. Row 2 is a2, b2, c2. Row 3 is a3, b3, c3. a1 is highlighted. Lines strike out the first row and the first column. What remains is called minor of a1. It is shown as a separate determinant whose first row is b2, c2 and second row is b3, c3.

To find the minor of entry \({b}_{2},\) we eliminate the row and column that contain it. So we eliminate the 2nd row and 2nd column. Then we write the \(2\,\times \,2\) determinant that remains.

The first row of the 3 by 3 determinant is a1, b1, c1. Row 2 is a2, b2, c2. Row 3 is a3, b3, c3. b2 is highlighted. Lines strike out the second row and second column. What remains is minor of b2. It is written as a separate determinant whose first row is a1, c1 and second row is a3, c3.
Example 2

For the determinant \(|\begin{array}{lllllll}4 & & & -2 & & & 3 \\ 1 & & & 0 & & & -3 \\ -2 & & & -4 & & & 2\end{array}|,\) find and then evaluate the minor of ⓐ \({a}_{1}\) ⓑ \({b}_{3}\) ⓒ \({c}_{2}.\)

For each entry, cross out its row and column, then evaluate the 2x2 determinant that remains.








Table 3
A 3x3 matrix with elements [4, -2, 3; 1, 0, -3; -2, -4, 2] enclosed by vertical bars, typically denoting a determinant or the absolute value of the matrix.
Eliminate the row and column that contains \({a}_{1}.\)A 3x3 matrix showing numerical values: top row is 4, -2, 3; middle row is 1, 0, -3; and bottom row is -2, -4, 2. Vertical and horizontal lines are drawn over some of the numbers.
Write the \(2\,\times \,2\) determinant that remains.A mathematical expression showing the minor of a1 as a 2x2 matrix with elements 0, -3 in the first row and -4, 2 in the second row, enclosed by vertical lines indicating a determinant.
Evaluate.A mathematical expression 0(2) - (-3)(-4) is displayed, requiring calculation of a product of zero and two, minus the product of negative three and negative four.
Simplify.The image displays the number -12.
Table 4
Eliminate the row and column that contains \({b}_{3}.\)A 3x3 matrix with values: 4, -2, 3 in the first row; 1, 0, -3 in the second; and 2, 4, 2 in the third. Light brown grid lines intersect between the numbers.
Write the \(2\,\times \,2\) determinant that remains.The image shows the mathematical notation for the minor of b_3, which is represented by a 2x2 determinant with the first row containing 4 and 3, and the second row containing 1 and -3.
Evaluate.A mathematical expression displaying 4 multiplied by -3, followed by a subtraction sign, and then the product of 1 and 3.
Simplify.The number -15 is centrally displayed in a bold, sans-serif font against a plain white background, appearing as simple numerical text.
Table 5
A 3x3 matrix with integer entries. The first row is 4, -2, 3. The second row is 1, 0, -3. The third row is -2, -4, 2.
Eliminate the row and column that contains \({c}_{2}.\)A 3x3 mathematical matrix is shown with elements 4, -2, 3; 1, 0, -3; -2, -4, 2. Red horizontal and vertical lines highlight specific rows and columns, indicating a calculation step.
Write the \(2\,\times \,2\) determinant that remains.The image displays the mathematical expression 'minor of c₂' next to a 2x2 matrix. The matrix contains the elements 4, -2 in the first row and -2, -4 in the second row, enclosed by vertical bars.
Evaluate.A mathematical expression showing the calculation: 4 multiplied by -4, minus the product of -2 and -2.
Simplify.The number negative twenty (-20) isolated on a white background.
Try It #3

For the determinant \(|\begin{array}{lllllll}1 & & & -1 & & & 4 \\ 0 & & & 2 & & & -1 \\ -2 & & & -3 & & & 3\end{array}|,\) find and then evaluate the minor of ⓐ \({a}_{1}\) ⓑ \({b}_{2}\) ⓒ \({c}_{3}.\)

ⓐ 3 ⓑ 11 ⓒ 2

Did you get it?
Try It #4

For the determinant \(|\begin{array}{lllllll}-2 & & & -1 & & & 0 \\ 3 & & & 0 & & & -1 \\ -1 & & & -2 & & & 3\end{array}|,\) find and then evaluate the minor of ⓐ \({a}_{2}\) ⓑ \({b}_{3}\) ⓒ \({c}_{2}.\)

ⓐ \(-3\) ⓑ 2 ⓒ 3

Did you get it?

We are now ready to evaluate a \(3\,\times \,3\) determinant. To do this we expand by minors, which allows us to evaluate the \(3\,\times \,3\) determinant using \(2\,\times \,2\) determinants—which we already know how to evaluate!

To evaluate a \(3\,\times \,3\) determinant by expanding by minors along the first row, we use the following pattern:

A 3 by 3 determinant is equal to a1 times minor of a1 minus b1 times minor of b1 plus c1 times minor of c1.

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 \(3\,\times \,3\) Determinant

To evaluate a \(3\,\times \,3\) determinant by expanding by minors along the first row, the following pattern:

A 3 by 3 determinant is equal to a1 times minor of a1 minus b1 times minor of b1 plus c1 times minor of c1.
Example 3

Evaluate the determinant \(|\begin{array}{lllllll}2 & & & -3 & & & -1 \\ 3 & & & 2 & & & 0 \\ -1 & & & -1 & & & -2\end{array}|\) by expanding by minors along the first row.

Use the pattern a1·(minor of a1) − b1·(minor of b1) + c1·(minor of c1), evaluating each 2x2 minor as you go.

Table 6
A 3x3 matrix with numerical entries. The first row, in red, is 2, -3, -1. The second row is 3, 2, 0. The third row is -1, -1, -2.
Expand by minors along the first rowCalculation of a 3x3 matrix determinant using cofactor expansion, with minors of 2, -3, and -1 explicitly shown.
Evaluate each determinant.A mathematical expression reads 2(4-0)+3(6-0)-1(-3-(-2)), presented in a horizontal line with red-orange coloring on the leading coefficients and plus/minus signs.
Simplify.A mathematical expression displays 2 multiplied by -4, added to 3 multiplied by -6, and then subtracting 1 multiplied by -1. The calculation is 2(-4) + 3(-6) - 1(-1).
Simplify.A mathematical expression displays the numbers -8, -18, and +1, representing an arithmetic problem involving addition and subtraction of integers.
Simplify.The number -25 is displayed in a dark gray font on a plain white background.
Try It #5

Evaluate the determinant \(|\begin{array}{lllllll}3 & & & -2 & & & 4 \\ 0 & & & -1 & & & -2 \\ 2 & & & 3 & & & -1\end{array}|,\) by expanding by minors along the first row.

37

Did you get it?
Try It #6

Evaluate the determinant \(|\begin{array}{lllllll}3 & & & -2 & & & -2 \\ 2 & & & -1 & & & 4 \\ -1 & & & 0 & & & -3\end{array}|,\) by expanding by minors along the first row.

7

Did you get it?

To evaluate a \(3\,\times \,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.

\[|\begin{array}{l}+\,-\,+ \\ -\,+\,- \\ +\,-\,+\end{array}|\]

Sign Pattern

When expanding by minors using a row or column, the sign of the terms in the expansion follow the following pattern.

\[|\begin{array}{l}+\,-\,+ \\ -\,+\,- \\ +\,-\,+\end{array}|\]

Notice that the sign pattern in the first row matches the signs between the terms in the expansion by the first row.

A 3 by 3 determinant has row 1: plus, minus, plus, row 2: minus, plus, minus and row 3: plus, minus, plus. The three signs in the first row each point to a minor determinant in the expansion of a 3 by 3 determinant. Plus points to minor of a1, minus to the minor of b1 and plus to the minor of c1.

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

Evaluate the determinant \(|\begin{array}{lllllll}4 & & & -1 & & & -3 \\ 3 & & & 0 & & & 2 \\ 5 & & & -4 & & & -3\end{array}|\) by expanding by minors.

Look for a row or column containing a zero — expanding along it eliminates one term of the calculation entirely.

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.

Table 7
A 3x3 determinant with elements: first row (4, -1, -3), second row (3, 0, 2) in red, and third row (5, -4, -3).
Expand using the second row.
Be careful of the signs.This image illustrates the process of calculating a 3x3 determinant using cofactor expansion. It shows the alternating sign pattern for cofactors and the terms for the expansion, where each term is a coefficient multiplied by its 2x2 minor.
Evaluate each determinant.A mathematical expression featuring negative numbers, parentheses, and arithmetic operations: -3(3-12)+0(-12-(-15))-2(-16-(-5)).
Simplify.A mathematical expression featuring negative numbers, multiplication, and addition/subtraction: -3(-9) + 0 - 2(-11).
Simplify.The image displays the mathematical expression '27 + 0 + 22' in bold, dark gray text against a plain white background.
Add.The number 49 is displayed.
Try It #7

Evaluate the determinant \(|\begin{array}{lllllll}2 & & & -1 & & & -3 \\ 0 & & & 3 & & & -4 \\ 3 & & & -4 & & & -3\end{array}|\) by expanding by minors.

\(-11\)

Did you get it?
Try It #8

Evaluate the determinant \(|\begin{array}{lllllll}-2 & & & -1 & & & -3 \\ -1 & & & 2 & & & 2 \\ 4 & & & -4 & & & 0\end{array}|\) by expanding by minors.

\(-12\)

Did you get it?

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 \(\left\{\begin{array}{l}{a}_{1}x+{b}_{1}y={k}_{1} \\ {a}_{2}x+{b}_{2}y={k}_{2}\end{array}\right.,\) the solution \((x,y)\) can be determined by

x is Dx upon D and y is Dy upon D where D is determinant with row 1: a1, b1 and row 2 a2, b2, use coefficients of the variables; Dx is determinant with row 1: k1, b1 and row 2: k2, b2, replace the x coefficients with the consonants; Dy is determinant with row 1: a1, k1 and row 2: a2, k2, replace the y coefficients with constants

Notice that to form the determinant D, we use take the coefficients of the variables.

The equations are a1x plus b1y equals k1 and a2x plus b2y equals k2. Here, a1, a2, b1, b2 are coefficients. The determinant is D with row 1: a1, b1 and row 2: a2, b2. Column 1 has coefficients of x and column 2 has coefficients of

Notice that to form the determinant \({D}_{x}\) and \({D}_{y},\) we substitute the constants for the coefficients of the variable we are finding.

The equations are a1x plus b1y equals k1 and a2x plus b2y equals k2. Here, a1, a2, b1, b2 are coefficients. The determinant is Dx has row 1: k1, b1 and row 2: k2, b2. Here columns 1 and 2 re constants and coefficients of y respectively. Determinant Dy has row 1: a1, k1 and row 2: a2, k2. Here, columns 1 and 2 are coefficients of x and constants respectively.
Example 5How to Solve a System of Equations Using Cramer’s Rule

Solve using Cramer’s Rule: \(\left\{\begin{array}{l}2x+y=-4 \\ 3x-2y=-6\end{array}\right..\)

Start by evaluating the determinant D from the coefficients of x and y, since both Dx and Dy get divided by it.

The equations are 2x plus y equals minus 4 and 3x minus 2y equals minus 6. Step 1. Evaluate the determinant D, using the coefficients of the variables. Determinant D has row 1: 2, 1 and row 2: 3, minus 2. So, D is minus 7. Step 2. Evaluate the determinant Dx. Use the constants in place of the x coefficients. We replace the coefficients of x, 2 and 3, with the constants, negative 4 and negative 6. We get Dx equal to 14. Step 3. Evaluate the determinant Dy. Use the constants in place of the y coefficients. We replace the coefficients of y, 1 and 2, with the constants, negative 4 and negative 6. We get Dy equal to 0. Step 4. Find x and y. Substituting values of D, Dx and Dy in the equations x equal to Dx upon D and y equal to Dy upon D, we get x equal to minus 2 and y equal to 0. Step 5. Write the solution as an ordered pair minus 2, 0. Step 6. Check that the ordered pair is a solution to both original equations.
Try It #9

Solve using Cramer’s rule: \(\left\{\begin{array}{l}3x+y=-3 \\ 2x+3y=6\end{array}\right..\)

\((-\frac{15}{7},\frac{24}{7})\)

Did you get it?
Try It #10

Solve using Cramer’s rule: \(\left\{\begin{array}{l}\text{-}x+y=2 \\ 2x+y=-4\end{array}\right..\)

\((-2,0)\)

Did you get it?
Solve a system of two equations using Cramer’s rule.
  • Evaluate the determinant D, using the coefficients of the variables.
  • Evaluate the determinant \({D}_{x}.\) Use the constants in place of the x coefficients.
  • Evaluate the determinant \({D}_{y}.\) Use the constants in place of the y coefficients.
  • Find x and y. \(x=\frac{{D}_{x}}{D},\) \(y=\frac{{D}_{y}}{D}\)
  • Write the solution as an ordered pair.
  • 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 \(3\,\times \,3\) which will make our work more interesting!

Cramer’s Rule for Solving a System of Three Equations

For the system of equations \(\left\{\begin{array}{l}{a}_{1}x+{b}_{1}y+{c}_{1}z={k}_{1} \\ {a}_{2}x+{b}_{2}y+{c}_{2}z={k}_{2} \\ {a}_{3}x+{b}_{3}y+{c}_{3}z={k}_{3}\end{array}\right.,\) the solution \((x,y,z)\) can be determined by

The image shows equations for x, y, and z expressed as determinants. Each determinant uses variables a through c and k through d. The first determinant's first column contains the variable x coefficients. The second determinant’s first column contains the variable y coefficients. The third determinant’s first column contains the variable z coefficients.
Example 6

Solve the system of equations using Cramer’s Rule: \(\left\{\begin{array}{l}3x-5y+4z=5 \\ 5x+2y+z=0 \\ 2x+3y-2z=3\end{array}\right..\)

Evaluate D first, using the coefficients of x, y, and z, then form Dx, Dy, and Dz by swapping in the constants column by column.

Table 8
Evaluate the determinant D.Matrix D with highlighted elements in the first column, showing their rows: (3, -5, 4), (5, 2, 1) and (2, 3, -2).
Expand by minors using column 1.
Be careful with the signs. Expansion of a 3x3 determinant by cofactors to calculate D.
Evaluate the determinants.A mathematical equation involving operations with whole numbers, including multiplication and subtraction within parentheses to be solved.
Simplify.The image shows the equation D = 3(-7) - 5(-2) + 2(-13), a mathematical operation with integers.
Simplify.A mathematical equation showing D is equal to negative 21 plus 10 minus 26.
Simplify.The image shows the equation D = -37.
Evaluate the determinant \({D}_{x}.\) Use the
constants to replace the coefficients of x.
A 3x3 Dx matrix with elements 5, -5, 4 in the first row; 0, 2, 1 in the second; and 3, 3, -2 in the third. The first column is highlighted in red.
Expand by minors using column 1.Calculation of the determinant D_x using cofactor expansion, showing the algebraic sum of products of elements and subdeterminants.
Evaluate the determinants.A mathematical equation for Dx is shown on a white background: Dx = 5(-4-3) - 0(10-12) + 3(-5-8). The numbers 5, 0, and 3 are highlighted in red.
Simplify.Mathematical expression: Dx is equal to 5 multiplied by -7, minus 0, plus 3 multiplied by -13. Numbers in red highlight specific terms of the operation.
Simplify.The equation D subscript x equals -74 is displayed on a white background.
Evaluate the determinant \({D}_{y}.\) Use the
constants to replace the coefficients of y.
The 3x3 matrix D_y with numeric elements, where the second column (5, 0, 3) is highlighted in red.
Math instructions: 'Expand by minors using column 2. Be careful with the signs.' A 3x3 matrix is ​​shown with the pattern of alternating signs (+ - + / - + - / + - +) to remember. Calculation of Dy through the expansion of a 3x3 determinant. The numbers in red indicate the elements used in the cofactor expansion for the first row.
Evaluate the determinants.A mathematical equation that calculates Dy: Dy = -5(-10-2) + 0(-10-12) - 3(3-20). Some numbers appear in red, possibly indicating key steps or coefficients.
Simplify.A mathematical equation, Dy = -5(-12) + 0 - 3(-17), is shown in black text on a white background, detailing a calculation with positive and negative integers.
Simplify.Equation showing Dy equal to the sum of 60, 0, and 51.
Simplify.D sub y is equal to 111.
Evaluate the determinant \({D}_{z}.\) Use the
constants to replace the coefficients of z.
D_z matrix with the third column highlighted in red, showing the values ​​5, 0 and 3.
Expand by minors using column 3. Be careful with signs. (A sign matrix for cofactor expansion is shown) Calculation of the determinant D_x through expansion by cofactors.
Evaluate the determinants.A mathematical equation is displayed: Dx = 5(15-4) - 0(9-(-10)) + 3(6-(-25)).
Simplify.A mathematical expression for D subscript x showing the calculation as 5 multiplied by 11, minus 0, plus 3 multiplied by 31.
Simplify.Mathematical equation with D sub x equal to fifty-five minus zero plus ninety-three, showing a simple arithmetic operation.
Simplify.A close-up view of the equation Dx = 148 against a white background.
Find x, y, and z.Formulas to calculate x, y, and z using the determinants Dx, Dy, Dz, and the principal determinant D, as in Cramer's Rule.
Substitute in the values.The equations show values ​​for x, y, and z as fractions: x = -74/-37, y = 111/-37, and z = 148/-37.
Simplify.The values ​​of the variables are shown: x is equal to 2, y is equal to -3, and z is equal to -4.
Write the solution as an ordered triple.A set of three-dimensional coordinates, (2, -3, -4), is displayed in dark gray text against a plain white background.
Check that the ordered triple is a solution
to all three original equations.
We leave the check to you.
The solution is \((2,-3,-4).\)
Try It #11

Solve the system of equations using Cramer’s Rule: \(\left\{\begin{array}{l}3x+8y+2z=-5 \\ 2x+5y-3z=0 \\ x+2y-2z=-1\end{array}\right..\)

\((-9,3,-1)\)

Did you get it?
Try It #12

Solve the system of equations using Cramer’s Rule: \(\left\{\begin{array}{l}3x+y-6z=-3 \\ 2x+6y+3z=0 \\ 3x+2y-3z=-6\end{array}\right..\)

\((-6,3,-2)\)

Did you get it?

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 \(D=0,\) the system is either inconsistent or dependent.

When the value of \(D=0\) and \({D}_{x},{D}_{y}\) and \({D}_{z}\) are all zero, the system is consistent and dependent and there are infinitely many solutions.

When the value of \(D=0\) and \({D}_{x},{D}_{y}\) and \({D}_{z}\) 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 \(D=0,\)
\(\begin{array}{lllllll}\text{Value of determinants} & & & \text{Type of system} & & & \text{Solution} \\ D=0\,\text{and}\,{D}_{x},{D}_{y}\,\text{and}\,{D}_{z}\,\text{are all zero} & & & \text{consistent and dependent} & & & \text{infinitely many solutions} \\ D=0\,\text{and}\,{D}_{x},{D}_{y}\,\text{and}\,{D}_{z}\,\text{are not all zero} & & & \text{inconsistent} & & & \text{no solution}\end{array}\)

In the next example, we will use the values of the determinants to find the solution of the system.

Example 7

Solve the system of equations using Cramer’s rule : \(\left\{\begin{array}{l}x+3y=4 \\ -2x-6y=3\end{array}\right..\)

Evaluate D first — if it turns out to be 0, Cramer's Rule can't give x and y directly, so check Dx to see whether the system is inconsistent or dependent.

\(\begin{array}{llllll} & & & & & \left\{\begin{array}{l}x+3y=4 \\ \text{-}2x-6y=3\end{array}\right. \\ \begin{array}{l}\text{Evaluate the determinant}\,D,\,\text{using the} \\ \text{coefficients of the variables.}\end{array} & & & & & D=|\begin{array}{llll}1 & & & 3 \\ -2 & & & -6\end{array}| \\ & & & & & D=-6-(-6) \\ & & & & & D=0\end{array}\)

We cannot use Cramer’s Rule to solve this system. But by looking at the value of the determinants \({D}_{x}\) and \({D}_{y},\) we can determine whether the system is dependent or inconsistent.

\(\begin{array}{llllll}\text{Evaluate the determinant}\,{D}_{x}. & & & & & \,{D}_{x}=|\begin{array}{llll}4 & & & 3 \\ 3 & & & -6\end{array}| \\ & & & & & \,{D}_{x}=-24-9 \\ & & & & & \,{D}_{x}=-33\end{array}\)

Since all the determinants are not zero, the system is inconsistent. There is no solution.

Try It #13

Solve the system of equations using Cramer’s rule: \(\left\{\begin{array}{l}4x-3y=8 \\ 8x-6y=14\end{array}\right..\)

no solution

Did you get it?
Try It #14

Solve the system of equations using Cramer’s rule: \(\left\{\begin{array}{l}x=-3y+4 \\ 2x+6y=8\end{array}\right..\)

infinite solutions

Did you get it?

Solve Applications using Determinants

An interesting application of determinants allows us to test if points are collinear. Three points \(({x}_{1},{y}_{1}),\) \(({x}_{2},{y}_{2})\) and \(({x}_{3},{y}_{3})\) are collinear if and only if the determinant below is zero.

\[|\begin{array}{l}{x}_{1}\,{y}_{1}\,1 \\ {x}_{2}\,{y}_{2}\,1 \\ {x}_{3}\,{y}_{3}\,1\end{array}|=0\]

Test for Collinear Points

Three points \(({x}_{1},{y}_{1}),\) \(({x}_{2},{y}_{2})\) and \(({x}_{3},{y}_{3})\) are collinear if and only if

\[|\begin{array}{l}{x}_{1}\,{y}_{1}\,1 \\ {x}_{2}\,{y}_{2}\,1 \\ {x}_{3}\,{y}_{3}\,1\end{array}|=0\]

We will use this property in the next example.

Example 8

Determine whether the points \((5,-5),\) \((4,-3),\) and \((3,-1)\) are collinear.

Substitute the three points' coordinates into the collinearity determinant and evaluate it — collinear points make it equal 0.

Table 9
Mathematical matrix or determinant showing three points (x1, y1), (x2, y2), (x3, y3) and a column of ones, commonly used in geometry for area calculations or collinearity tests.
Substitute the values into the determinant.
\((5,-5),\) \((4,-3),\) and \((3,-1)\)
A 3x3 determinant is shown with values 5, -5, 1 in the first row; 4, -3, 1 in the second; and 3, -1, 1 in the third row.
Evaluate the determinant by expanding
by minors using column 3.
A mathematical expression showing the cofactor expansion of a 3x3 determinant, represented as a sum and difference of three 2x2 determinants with coefficients 1, -1, and 1.
Evaluate the determinants.A mathematical expression involving integers and operations is shown, featuring the sum and differences of parenthesized terms: 1(-4-(-9)) - 1(-5-(-15)) + 1(-15-(-20)).
Simplify.A mathematical expression 1(5) - 1(10) + 1(5) is shown on a white background, which simplifies to 0.
Simplify.A minimal black vertical line with a slight oval curvature is centered on a plain white background, creating a stark and simple abstract design.
The value of the determinant is 0, so the
points are collinear.
Try It #15

Determine whether the points \((3,-2),\) \((5,-3),\) and \((1,-1)\) are collinear.

yes

Did you get it?
Try It #16

Determine whether the points \((-4,-1),\) \((-6,2),\) and \((-2,-4)\) are collinear.

yes

Did you get it?
Media

Access these online resources for additional instruction and practice with solving systems of linear equations using determinants or Cramer's Rule.

Key Concepts

Section Exercises

Practice Makes Perfect

Evaluate the Determinant of a 2 × 2 Matrix

In the following exercises, evaluate the determinant of each square matrix.

4

\([\begin{array}{l}6\,-2 \\ 3\,-1\end{array}]\)

5

\([\begin{array}{l}-4\,8 \\ -3\,5\end{array}]\)

4

6

\([\begin{array}{llll}-3 & & & 5 \\ 0 & & & -4\end{array}]\)

7

\([\begin{array}{llll}-2 & & & 0 \\ 7 & & & -5\end{array}]\)

10

Evaluate the Determinant of a 3 × 3 Matrix

In the following exercises, find and then evaluate the indicated minors.

8

\(|\begin{array}{lllllll}3 & & & -1 & & & 4 \\ -1 & & & 0 & & & -2 \\ -4 & & & 1 & & & 5\end{array}|\)
Find the minor ⓐ \({a}_{1}\) ⓑ \({b}_{2}\) ⓒ \({c}_{3}\)

9

\(|\begin{array}{lllllll}-1 & & & -3 & & & 2 \\ 4 & & & -2 & & & -1 \\ -2 & & & 0 & & & -3\end{array}|\)
Find the minor ⓐ \({a}_{1}\) ⓑ \({b}_{1}\) ⓒ \({c}_{2}\)

ⓐ 6 ⓑ \(-14\) ⓒ \(-6\)

10

\(|\begin{array}{lllllll}2 & & & -3 & & & -4 \\ -1 & & & 2 & & & -3 \\ 0 & & & -1 & & & -2\end{array}|\)
Find the minor ⓐ \({a}_{2}\) ⓑ \({b}_{2}\) ⓒ \({c}_{2}\)

11

\(|\begin{array}{lllllll}-2 & & & -2 & & & 3 \\ 1 & & & -3 & & & 0 \\ -2 & & & 3 & & & -2\end{array}|\)
Find the minor ⓐ \({a}_{3}\) ⓑ \({b}_{3}\) ⓒ \({c}_{3}\)

ⓐ 9 ⓑ \(-3\) ⓒ 8

In the following exercises, evaluate each determinant by expanding by minors along the first row.

12

\(|\begin{array}{lllllll}-2 & & & 3 & & & -1 \\ -1 & & & 2 & & & -2 \\ 3 & & & 1 & & & -3\end{array}|\)

13

\(|\begin{array}{lllllll}4 & & & -1 & & & -2 \\ -3 & & & -2 & & & 1 \\ -2 & & & -5 & & & 7\end{array}|\)

\(-77\)

14

\(|\begin{array}{lllllll}-2 & & & -3 & & & -4 \\ 5 & & & -6 & & & 7 \\ -1 & & & 2 & & & 0\end{array}|\)

15

\(|\begin{array}{lllllll}1 & & & 3 & & & -2 \\ 5 & & & -6 & & & 4 \\ 0 & & & -2 & & & -1\end{array}|\)

49

In the following exercises, evaluate each determinant by expanding by minors.

16

\(|\begin{array}{lllllll}-5 & & & -1 & & & -4 \\ 4 & & & 0 & & & -3 \\ 2 & & & -2 & & & 6\end{array}|\)

17

\(|\begin{array}{lllllll}4 & & & -1 & & & 3 \\ 3 & & & -2 & & & 2 \\ -1 & & & 0 & & & 4\end{array}|\)

\(-24\)

18

\(|\begin{array}{lllllll}3 & & & 5 & & & 4 \\ -1 & & & 3 & & & 0 \\ -2 & & & 6 & & & 1\end{array}|\)

19

\(|\begin{array}{lllllll}2 & & & -4 & & & -3 \\ 5 & & & -1 & & & -4 \\ 3 & & & 2 & & & 0\end{array}|\)

25

Use Cramer’s Rule to Solve Systems of Equations

In the following exercises, solve each system of equations using Cramer’s Rule.

20

\(\left\{\begin{array}{l}-2x+3y=3 \\ x+3y=12\end{array}\right.\)

21

\(\left\{\begin{array}{l}x-2y=-5 \\ 2x-3y=-4\end{array}\right.\)

\((7,6)\)

22

\(\left\{\begin{array}{l}x-3y=-9 \\ 2x+5y=4\end{array}\right.\)

23

\(\left\{\begin{array}{l}2x+y=-4 \\ 3x-2y=-6\end{array}\right.\)

\((-2,0)\)

24

\(\left\{\begin{array}{l}x-2y=-5 \\ 2x-3y=-4\end{array}\right.\)

25

\(\left\{\begin{array}{l}x-3y=-9 \\ 2x+5y=4\end{array}\right.\)

\((-3,2)\)

26

\(\left\{\begin{array}{l}5x-3y=-1 \\ 2x-y=2\end{array}\right.\)

27

\(\left\{\begin{array}{l}3x+8y=-3 \\ 2x+5y=-3\end{array}\right.\)

\((-9,3)\)

28

\(\left\{\begin{array}{l}6x-5y+2z=3 \\ 2x+y-4z=5 \\ 3x-3y+z=-1\end{array}\right.\)

29

\(\left\{\begin{array}{l}4x-3y+z=7 \\ 2x-5y-4z=3 \\ 3x-2y-2z=-7\end{array}\right.\)

\((-3,-5,4)\)

30

\(\left\{\begin{array}{l}2x-5y+3z=8 \\ 3x-y+4z=7 \\ x+3y+2z=-3\end{array}\right.\)

31

\(\left\{\begin{array}{l}11x+9y+2z=-9 \\ 7x+5y+3z=-7 \\ 4x+3y+z=-3\end{array}\right.\)

\((2,-3,-2)\)

32

\(\left\{\begin{array}{l}x+2z=0 \\ 4y+3z=-2 \\ 2x-5y=3\end{array}\right.\)

33

\(\left\{\begin{array}{l}2x+5y=4 \\ 3y-z=3 \\ 4x+3z=-3\end{array}\right.\)

\((-3,2,3)\)

34

\(\left\{\begin{array}{l}2y+3z=-1 \\ 5x+3y=-6 \\ 7x+z=1\end{array}\right.\)

35

\(\left\{\begin{array}{l}3x-z=-3 \\ 5y+2z=-6 \\ 4x+3y=-8\end{array}\right.\)

\((-2,0,-3)\)

36

\(\left\{\begin{array}{l}2x+y=3 \\ 6x+3y=9\end{array}\right.\)

37

\(\left\{\begin{array}{l}x-4y=-1 \\ -3x+12y=3\end{array}\right.\)

infinitely many solutions

38

\(\left\{\begin{array}{l}-3x-y=4 \\ 6x+2y=-16\end{array}\right.\)

39

\(\left\{\begin{array}{l}4x+3y=2 \\ 20x+15y=5\end{array}\right.\)

inconsistent

40

\(\left\{\begin{array}{l}x+y-3z=-1 \\ y-z=0 \\ \text{-}x+2y=1\end{array}\right.\)

41

\(\left\{\begin{array}{l}2x+3y+z=12 \\ x+y+z=9 \\ 3x+4y+2z=20\end{array}\right.\)

inconsistent

42

\(\left\{\begin{array}{l}3x+4y-3z=-2 \\ 2x+3y-z=-12 \\ x+y-2z=6\end{array}\right.\)

43

\(\left\{\begin{array}{l}x-2y+3z=1 \\ x+y-3z=7 \\ 3x-4y+5z=7\end{array}\right.\)

infinitely many solutions

Solve Applications Using Determinants

In the following exercises, determine whether the given points are collinear.

44

\((0,1),\) \((2,0),\) and \((-2,2).\)

45

\((0,-5),\) \((-2,-2),\) and \((2,-8).\)

yes

46

\((4,-3),\) \((6,-4),\) and \((2,-2).\)

47

\((-2,1),\) \((-4,4),\) and \((0,-2).\)

yes

Writing Exercises

48

Explain the difference between a square matrix and its determinant. Give an example of each.

49

Explain what is meant by the minor of an entry in a square matrix.

Answers will vary.

50

Explain how to decide which row or column you will use to expand a \(3\,\times \,3\) determinant.

51

Explain the steps for solving a system of equations using Cramer’s rule.

Answers will vary.

Self Check

ⓐ After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

This table has 4 columns, 4 rows and a header row. The header row labels each column: I ca, confidently, with some help and no, I don’t get it. The first column has the following statements: Evaluate the Determinant of a 2 by 2 Matrix, Evaluate the Determinant of a 3 by 3 Matrix, Use Cramer’s Rule to Solve Systems of Equations, Solve Applications Using Determinants. The remaining columns are blank.

ⓑ After reviewing this checklist, what will you do to become confident for all objectives?

Glossary

determinant
Each square matrix has a real number associated with it called its determinant.
minor of an entry in a \(3\,\times \,3\) determinant
The minor of an entry in a \(3\,\times \,3\) determinant is the \(2\,\times \,2\) determinant found by eliminating the row and column in the \(3\,\times \,3\) determinant that contains the entry.
square matrix
A square matrix is a matrix with the same number of rows and columns.