Systems of Linear Equations

Solve Systems of Equations Using Determinants

Learning Objectives

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

  • Evaluate the determinant of a 2\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}2 matrix
  • Evaluate the determinant of a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 matrix
  • Use Cramer’s Rule to solve systems of equations
  • Solve applications using determinants

Before you get started, take this readiness quiz.

  1. Simplify: 5\left(-2\right)-\left(-4\right)\left(1\right).

    If you missed this problem, review (Figure).

  2. Simplify: -3\left(8-10\right)+\left(-2\right)\left(6-3\right)-4\left(-3-\left(-4\right)\right).

    If you missed this problem, review (Figure).

  3. Simplify: \frac{-12}{-8}.

    If you missed this problem, review (Figure).

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\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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 \left[\begin{array}{c}a\phantom{\rule{1.5em}{0ex}}b\hfill \\ c\phantom{\rule{1.5em}{0ex}}d\hfill \end{array}\right], we first write it as |\begin{array}{c}a\phantom{\rule{1.5em}{0ex}}b\hfill \\ c\phantom{\rule{1.5em}{0ex}}d\hfill \end{array}|. To get the real number value of the determinate 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 \left[\begin{array}{c}a\phantom{\rule{1.5em}{0ex}}b\hfill \\ c\phantom{\rule{1.5em}{0ex}}d\hfill \end{array}\right], where a, b, c, and d are real numbers, is

|\begin{array}{c}a\phantom{\rule{1.5em}{0ex}}b\hfill \\ c\phantom{\rule{1.5em}{0ex}}d\hfill \end{array}|=ad-bc

Evaluate the determinate of \left[\begin{array}{c}4\phantom{\rule{1.5em}{0ex}}-2\hfill \\ 3\phantom{\rule{1.5em}{0ex}}-1\hfill \end{array}\right] \left[\begin{array}{cccc}-3\hfill & & & \hfill -4\\ -2\hfill & & & \hfill 0\end{array}\right].

.
Write the determinant. .
Subtract the products of the diagonals. .
Simplify. .
Simplify. .

.
Write the determinant. .
Subtract the products of the diagonals. .
Simplify. .
Simplify. .

Evaluate the determinate of \left[\begin{array}{c}5\phantom{\rule{1.5em}{0ex}}-3\hfill \\ 2\phantom{\rule{1.5em}{0ex}}-4\hfill \end{array}\right] \left[\begin{array}{cccc}\hfill -4& & & \hfill -6\\ \hfill 0& & & \hfill 7\end{array}\right].

-14;-28

Evaluate the determinate of \left[\begin{array}{c}-1\phantom{\rule{1.5em}{0ex}}3\hfill \\ -2\phantom{\rule{1.5em}{0ex}}4\hfill \end{array}\right] \left[\begin{array}{cccc}-7\hfill & & & \hfill -3\\ -5\hfill & & & \hfill 0\end{array}\right].

2 -15

Evaluate the Determinant of a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 Matrix

To evaluate the determinant of a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}2 determinant found by eliminating the row and column in the 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 determinant that contains the entry.

Minor of an entry in 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 a Determinant

The minor of an entry in a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 determinant is the 2\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}2 determinant found by eliminating the row and column in the 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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.

For the determinant |\begin{array}{ccccccc}\hfill 4& & & \hfill -2& & & \hfill 3\\ \hfill 1& & & \hfill 0& & & \hfill -3\\ \hfill -2& & & \hfill -4& & & \hfill 2\end{array}|, find and then evaluate the minor of {a}_{1} {b}_{3} {c}_{2}.

.
Eliminate the row and column that contains {a}_{1}. .
Write the 2\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}2 determinant that remains. .
Evaluate. .
Simplify. .

Eliminate the row and column that contains {b}_{3}. .
Write the 2\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}2 determinant that remains. .
Evaluate. .
Simplify. .

.
Eliminate the row and column that contains {c}_{2}. .
Write the 2\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}2 determinant that remains. .
Evaluate. .
Simplify. .

For the determinant |\begin{array}{ccccccc}\hfill 1& & & \hfill -1& & & \hfill 4\\ \hfill 0& & & \hfill 2& & & \hfill -1\\ \hfill -2& & & \hfill -3& & & \hfill 3\end{array}|, find and then evaluate the minor of {a}_{1} {b}_{2} {c}_{3}.

3 11 2

For the determinant |\begin{array}{ccccccc}\hfill -2& & & \hfill -1& & & \hfill 0\\ \hfill 3& & & \hfill 0& & & \hfill -1\\ \hfill -1& & & \hfill -2& & & \hfill 3\end{array}|, find and then evaluate the minor of {a}_{2} {b}_{3} {c}_{2}.

-3 2 3

We are now ready to evaluate a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 determinant. To do this we expand by minors, which allows us to evaluate the 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 determinant using 2\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}2 determinants—which we already know how to evaluate!

To evaluate a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 Determinant

To evaluate a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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.

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

.
Expand by minors along the first row .
Evaluate each determinant. .
Simplify. .
Simplify. .
Simplify. .

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

37

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

7

To evaluate a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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}{c}+\phantom{\rule{1.5em}{0ex}}-\phantom{\rule{1.5em}{0ex}}+\hfill \\ -\phantom{\rule{1.5em}{0ex}}+\phantom{\rule{1.5em}{0ex}}-\hfill \\ +\phantom{\rule{1.5em}{0ex}}-\phantom{\rule{1.5em}{0ex}}+\hfill \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}{c}+\phantom{\rule{1.5em}{0ex}}-\phantom{\rule{1.5em}{0ex}}+\hfill \\ -\phantom{\rule{1.5em}{0ex}}+\phantom{\rule{1.5em}{0ex}}-\hfill \\ +\phantom{\rule{1.5em}{0ex}}-\phantom{\rule{1.5em}{0ex}}+\hfill \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.

Evaluate the determinant |\begin{array}{ccccccc}4\hfill & & & \hfill -1& & & \hfill -3\\ 3\hfill & & & \hfill 0& & & \hfill 2\\ 5\hfill & & & \hfill -4& & & \hfill -3\end{array}| 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.

.
Expand using the second row.
Be careful of the signs. .
Evaluate each determinant. .
Simplify. .
Simplify. .
Add. .

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

-11

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

8

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}{c}{a}_{1}x+{b}_{1}y={k}_{1}\hfill \\ {a}_{2}x+{b}_{2}y={k}_{2}\hfill \end{array}, the solution \left(x,y\right) 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.

How to Solve a System of Equations Using Cramer’s Rule

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

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.

Solve using Cramer’s rule: \left\{\begin{array}{c}3x+y=-3\hfill \\ 2x+3y=6\hfill \end{array}.

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

Solve using Cramer’s rule: \left\{\begin{array}{c}\text{−}x+y=2\hfill \\ 2x+y=-4\hfill \end{array}.

\left(-2,0\right)

Solve a system of two equations using Cramer’s rule.
  1. Evaluate the determinant D, using the coefficients of the variables.
  2. Evaluate the determinant {D}_{x}. Use the constants in place of the x coefficients.
  3. Evaluate the determinant {D}_{y}. Use the constants in place of the y coefficients.
  4. Find x and y. x=\frac{{D}_{x}}{D}, y=\frac{{D}_{y}}{D}
  5. Write the solution as an ordered pair.
  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 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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}{c}{a}_{1}x+{b}_{1}y+{c}_{1}z={k}_{1}\hfill \\ {a}_{2}x+{b}_{2}y+{c}_{2}z={k}_{2}\hfill \\ {a}_{3}x+{b}_{3}y+{c}_{3}z={k}_{3}\hfill \end{array}, the solution \left(x,y,z\right) can be determined by

x is Dx upon D, y is Dy upon D and z is Dz upon D, where D is determinant with row 1: a1, b1, c1, row 2: a2, b2, c2, row 3: a3, b3, c3, use coefficients of the variables; Dx is determinant with row 1: k1, b1, c1, row 2: k2, b2, c2 and rwo 3: k3, b3, c3, replace the x coefficients with the consonants; Dy is determinant with row 1: a1, k1, c1, row 2: a2, k2, c2 and row 3: a3, k3, c3, replace the y coefficients with constants; Dz is determinant with row 1: a1, b1, k1; row 2: a2, b2, k2, row 3: a3, b3, k3; replace the z coefficients with constants.

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

Evaluate the determinant D. .
Expand by minors using column 1.
. .
Evaluate the determinants. .
Simplify. .
Simplify. .
Simplify. .
Evaluate the determinant {D}_{x}. Use the

constants to replace the coefficients of x.

.
Expand by minors using column 1. .
Evaluate the determinants. .
Simplify. .
Simplify. .
Evaluate the determinant {D}_{y}. Use the

constants to replace the coefficients of y.

.
. .
Evaluate the determinants. .
Simplify. .
Simplify. .
Simplify. .
Evaluate the determinant {D}_{z}. 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 \left(2,-3,-4\right).

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

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

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

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

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}{ccccccc}\mathbf{\text{Value of determinants}}\hfill & & & \mathbf{\text{Type of system}}\hfill & & & \mathbf{\text{Solution}}\hfill \\ D=0\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{x},{D}_{y}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{z}\phantom{\rule{0.2em}{0ex}}\text{are all zero}\hfill & & & \text{consistent and dependent}\hfill & & & \text{infinitely many solutions}\hfill \\ D=0\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{x},{D}_{y}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{z}\phantom{\rule{0.2em}{0ex}}\text{are not all zero}\hfill & & & \text{inconsistent}\hfill & & & \text{no solution}\hfill \end{array}

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 : \left\{\begin{array}{c}\hfill x+3y=4\\ \hfill -2x-6y=3\end{array}.

\begin{array}{cccccc}& & & & & \left\{\begin{array}{c}\hfill x+3y=4\\ \hfill \text{−}2x-6y=3\end{array}\hfill \\ \begin{array}{c}\text{Evaluate the determinant}\phantom{\rule{0.2em}{0ex}}D,\phantom{\rule{0.2em}{0ex}}\text{using the}\hfill \\ \text{coefficients of the variables.}\hfill \end{array}\hfill & & & & & D=|\begin{array}{cccc}\hfill 1& & & \hfill 3\\ \hfill -2& & & \hfill -6\end{array}|\hfill \\ & & & & & D=-6-\left(-6\right)\hfill \\ & & & & & D=0\hfill \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}{cccccc}\text{Evaluate the determinant}\phantom{\rule{0.2em}{0ex}}{D}_{x}.\hfill & & & & & \phantom{\rule{3.5em}{0ex}}{D}_{x}=|\begin{array}{cccc}4\hfill & & & \hfill 3\\ 3\hfill & & & \hfill -6\end{array}|\hfill \\ & & & & & \phantom{\rule{3.5em}{0ex}}{D}_{x}=-24-9\hfill \\ & & & & & \phantom{\rule{3.5em}{0ex}}{D}_{x}=15\hfill \end{array}

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

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

no solution

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

infinite solutions

Solve Applications using Determinants

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

|\begin{array}{c}{x}_{1}\phantom{\rule{1.5em}{0ex}}{y}_{1}\phantom{\rule{1.5em}{0ex}}1\hfill \\ {x}_{2}\phantom{\rule{1.5em}{0ex}}{y}_{2}\phantom{\rule{1.5em}{0ex}}1\hfill \\ {x}_{3}\phantom{\rule{1.5em}{0ex}}{y}_{3}\phantom{\rule{1.5em}{0ex}}1\hfill \end{array}|=0
Test for Collinear Points

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

|\begin{array}{c}{x}_{1}\phantom{\rule{1.5em}{0ex}}{y}_{1}\phantom{\rule{1.5em}{0ex}}1\hfill \\ {x}_{2}\phantom{\rule{1.5em}{0ex}}{y}_{2}\phantom{\rule{1.5em}{0ex}}1\hfill \\ {x}_{3}\phantom{\rule{1.5em}{0ex}}{y}_{3}\phantom{\rule{1.5em}{0ex}}1\hfill \end{array}|=0

We will use this property in the next example.

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

.
Substitute the values into the determinant.

\left(5,-5\right), \left(4,-3\right), and \left(3,-1\right)

.
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 \left(3,-2\right), \left(5,-3\right), and \left(1,-1\right) are collinear.

yes

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

yes

Access these online resources for additional instruction and practice with solving systems of linear inequalities by graphing.

Key Concepts

  • Determinant: The determinant of any square matrix \left[\begin{array}{c}a\phantom{\rule{1.5em}{0ex}}b\hfill \\ c\phantom{\rule{1.5em}{0ex}}d\hfill \end{array}\right], where a, b, c, and d are real numbers, is
    |\begin{array}{c}a\phantom{\rule{1.5em}{0ex}}b\hfill \\ c\phantom{\rule{1.5em}{0ex}}d\hfill \end{array}|=ad-bc
  • Expanding by Minors along the First Row to Evaluate a 3 × 3 Determinant: To evaluate a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}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.

  • 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}{c}+\phantom{\rule{1.5em}{0ex}}-\phantom{\rule{1.5em}{0ex}}+\hfill \\ -\phantom{\rule{1.5em}{0ex}}+\phantom{\rule{1.5em}{0ex}}-\hfill \\ +\phantom{\rule{1.5em}{0ex}}-\phantom{\rule{1.5em}{0ex}}+\hfill \end{array}|
  • Cramer’s Rule: For the system of equations \left\{\begin{array}{c}{a}_{1}x+{b}_{1}y={k}_{1}\hfill \\ {a}_{2}x+{b}_{2}y={k}_{2}\hfill \end{array}, the solution \left(x,y\right) 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.

  • How to solve a system of two equations using Cramer’s rule.
    1. Evaluate the determinant D, using the coefficients of the variables.
    2. Evaluate the determinant {D}_{x}. Use the constants in place of the x coefficients.
    3. Evaluate the determinant {D}_{y}. Use the constants in place of the y coefficients.
    4. Find x and y. x=\frac{{D}_{x}}{D}, y=\frac{{D}_{y}}{D}.
    5. Write the solution as an ordered pair.
    6. Check that the ordered pair is a solution to both original equations.
    7. Dependent and Inconsistent Systems of Equations: For any system of equations, where the value of the determinant D=0,

      \begin{array}{ccccccc}\mathbf{\text{Value of determinants}}\hfill & & & \mathbf{\text{Type of system}}\hfill & & & \mathbf{\text{Solution}}\hfill \\ D=0\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{x},{D}_{y}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{z}\phantom{\rule{0.2em}{0ex}}\text{are all zero}\hfill & & & \text{consistent and dependent}\hfill & & & \text{infinitely many solutions}\hfill \\ D=0\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{x},{D}_{y}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{z}\phantom{\rule{0.2em}{0ex}}\text{are not all zero}\hfill & & & \text{inconsistent}\hfill & & & \text{no solution}\hfill \end{array}

    8. Test for Collinear Points: Three points \left({x}_{1},{y}_{1}\right), \left({x}_{2},{y}_{2}\right), and \left({x}_{3},{y}_{3}\right) are collinear if and only if
      |\begin{array}{c}{x}_{1}\phantom{\rule{1.5em}{0ex}}{y}_{1}\phantom{\rule{1.5em}{0ex}}1\hfill \\ {x}_{2}\phantom{\rule{1.5em}{0ex}}{y}_{2}\phantom{\rule{1.5em}{0ex}}1\hfill \\ {x}_{3}\phantom{\rule{1.5em}{0ex}}{y}_{3}\phantom{\rule{1.5em}{0ex}}1\hfill \end{array}|=0

Practice Makes Perfect

Evaluate the Determinant of a 2 × 2 Matrix

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

\left[\begin{array}{c}6\phantom{\rule{1.5em}{0ex}}-2\hfill \\ 3\phantom{\rule{1.5em}{0ex}}-1\hfill \end{array}\right]

\left[\begin{array}{c}-4\phantom{\rule{1.5em}{0ex}}8\hfill \\ -3\phantom{\rule{1.5em}{0ex}}5\hfill \end{array}\right]

4

\left[\begin{array}{cccc}\hfill -3& & & \hfill 5\\ \hfill 0& & & \hfill -4\end{array}\right]

\left[\begin{array}{cccc}\hfill -2& & & \hfill 0\\ \hfill 7& & & \hfill -5\end{array}\right]

10

Evaluate the Determinant of a 3 × 3 Matrix

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

|\begin{array}{ccccccc}\hfill 3& & & \hfill -1& & & \hfill 4\\ \hfill -1& & & \hfill 0& & & \hfill -2\\ \hfill -4& & & \hfill 1& & & \hfill 5\end{array}|

Find the minor {a}_{1}{b}_{2}{c}_{3}

|\begin{array}{ccccccc}\hfill -1& & & \hfill -3& & & \hfill 2\\ \hfill 4& & & \hfill -2& & & \hfill -1\\ \hfill -2& & & \hfill 0& & & \hfill -3\end{array}|

Find the minor {a}_{1}{b}_{1}{c}_{2}

6 -14 -6

|\begin{array}{ccccccc}\hfill 2& & & \hfill -3& & & \hfill -4\\ \hfill -1& & & \hfill 2& & & \hfill -3\\ \hfill 0& & & \hfill -1& & & \hfill -2\end{array}|

Find the minor {a}_{2}{b}_{2}{c}_{2}

|\begin{array}{ccccccc}\hfill -2& & & \hfill -2& & & \hfill 3\\ \hfill 1& & & \hfill -3& & & \hfill 0\\ \hfill -2& & & \hfill 3& & & \hfill -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.

|\begin{array}{ccccccc}\hfill -2& & & \hfill 3& & & \hfill -1\\ \hfill -1& & & \hfill 2& & & \hfill -2\\ \hfill 3& & & \hfill 1& & & \hfill -3\end{array}|

|\begin{array}{ccccccc}\hfill 4& & & \hfill -1& & & \hfill -2\\ \hfill -3& & & \hfill -2& & & \hfill 1\\ \hfill -2& & & \hfill -5& & & \hfill 7\end{array}|

-77

|\begin{array}{ccccccc}\hfill -2& & & \hfill -3& & & \hfill -4\\ \hfill 5& & & \hfill -6& & & \hfill 7\\ \hfill -1& & & \hfill 2& & & \hfill 0\end{array}|

|\begin{array}{ccccccc}1\hfill & & & \hfill 3& & & \hfill -2\\ 5\hfill & & & \hfill -6& & & \hfill 4\\ 0\hfill & & & \hfill -2& & & \hfill -1\end{array}|

49

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

|\begin{array}{ccccccc}\hfill -5& & & \hfill -1& & & \hfill -4\\ \hfill 4& & & \hfill 0& & & \hfill -3\\ \hfill 2& & & \hfill -2& & & \hfill 6\end{array}|

|\begin{array}{ccccccc}\hfill 4& & & \hfill -1& & & \hfill 3\\ \hfill 3& & & \hfill -2& & & \hfill 2\\ \hfill -1& & & \hfill 0& & & \hfill 4\end{array}|

-24

|\begin{array}{ccccccc}\hfill 3& & & \hfill 5& & & \hfill 4\\ \hfill -1& & & \hfill 3& & & \hfill 0\\ \hfill -2& & & \hfill 6& & & \hfill 1\end{array}|

|\begin{array}{ccccccc}2\hfill & & & \hfill -4& & & \hfill -3\\ 5\hfill & & & \hfill -1& & & \hfill -4\\ 3\hfill & & & \hfill 2& & & \hfill 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.

\left\{\begin{array}{c}-2x+3y=3\hfill \\ x+3y=12\hfill \end{array}

\left\{\begin{array}{c}x-2y=-5\hfill \\ 2x-3y=-4\hfill \end{array}

\left(7,6\right)

\left\{\begin{array}{c}x-3y=-9\hfill \\ 2x+5y=4\hfill \end{array}

\left\{\begin{array}{c}2x+y=-4\hfill \\ 3x-2y=-6\hfill \end{array}

\left(-2,0\right)

\left\{\begin{array}{c}x-2y=-5\hfill \\ 2x-3y=-4\hfill \end{array}

\left\{\begin{array}{c}x-3y=-9\hfill \\ 2x+5y=4\hfill \end{array}

\left(-3,2\right)

\left\{\begin{array}{c}5x-3y=-1\hfill \\ 2x-y=2\hfill \end{array}

\left\{\begin{array}{c}3x+8y=-3\hfill \\ 2x+5y=-3\hfill \end{array}

\left(-9,3\right)

\left\{\begin{array}{c}6x-5y+2z=3\hfill \\ 2x+y-4z=5\hfill \\ 3x-3y+z=-1\hfill \end{array}

\left\{\begin{array}{c}4x-3y+z=7\hfill \\ 2x-5y-4z=3\hfill \\ 3x-2y-2z=-7\hfill \end{array}

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

\left\{\begin{array}{c}2x-5y+3z=8\hfill \\ 3x-y+4z=7\hfill \\ x+3y+2z=-3\hfill \end{array}

\left\{\begin{array}{c}11x+9y+2z=-9\hfill \\ 7x+5y+3z=-7\hfill \\ 4x+3y+z=-3\hfill \end{array}

\left(2,-3,-2\right)

\left\{\begin{array}{c}x+2z=0\hfill \\ 4y+3z=-2\hfill \\ 2x-5y=3\hfill \end{array}

\left\{\begin{array}{c}2x+5y=4\hfill \\ 3y-z=3\hfill \\ 4x+3z=-3\hfill \end{array}

\left(-3,2,3\right)

\left\{\begin{array}{c}2y+3z=-1\hfill \\ 5x+3y=-6\hfill \\ 7x+z=1\hfill \end{array}

\left\{\begin{array}{c}3x-z=-3\hfill \\ 5y+2z=-6\hfill \\ 4x+3y=-8\hfill \end{array}

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

\left\{\begin{array}{c}2x+y=3\hfill \\ 6x+3y=9\hfill \end{array}

\left\{\begin{array}{c}x-4y=-1\hfill \\ -3x+12y=3\hfill \end{array}

infinitely many solutions

\left\{\begin{array}{c}-3x-y=4\hfill \\ 6x+2y=-16\hfill \end{array}

\left\{\begin{array}{c}4x+3y=2\hfill \\ 20x+15y=5\hfill \end{array}

inconsistent

\left\{\begin{array}{c}x+y-3z=-1\hfill \\ y-z=0\hfill \\ \text{−}x+2y=1\hfill \end{array}

\left\{\begin{array}{c}2x+3y+z=12\hfill \\ x+y+z=9\hfill \\ 3x+4y+2z=20\hfill \end{array}

inconsistent

\left\{\begin{array}{c}3x+4y-3z=-2\hfill \\ 2x+3y-z=-12\hfill \\ x+y-2z=6\hfill \end{array}

\left\{\begin{array}{c}\hfill x-2y+3z=1\\ \hfill x+y-3z=7\\ \hfill 3x-4y+5z=7\end{array}

infinitely many solutions

Solve Applications Using Determinants

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

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

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

yes

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

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

no

Writing Exercises

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 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 determinant.

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\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 determinant
The minor of an entry in a 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 determinant is the 2\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}2 determinant found by eliminating the row and column in the 3\phantom{\rule{0.2em}{0ex}}×\phantom{\rule{0.2em}{0ex}}3 determinant that contains the entry.
square matrix
A square matrix is a matrix with the same number of rows and columns.

License

Icon for the Creative Commons Attribution 4.0 International License

Intermediate Algebra Copyright © 2017 by OSCRiceUniversity is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book