# 78 Solving Systems with Cramer’s Rule

### Learning Objectives

In this section, you will:

• Evaluate  2 × 2  determinants.
• Use Cramer’s Rule to solve a system of equations in two variables.
• Evaluate  3 × 3  determinants.
• Use Cramer’s Rule to solve a system of three equations in three variables.
• Know the properties of determinants.

We have learned how to solve systems of equations in two variables and three variables, and by multiple methods: substitution, addition, Gaussian elimination, using the inverse of a matrix, and graphing. Some of these methods are easier to apply than others and are more appropriate in certain situations. In this section, we will study two more strategies for solving systems of equations.

### Evaluating the Determinant of a 2×2 Matrix

A determinant is a real number that can be very useful in mathematics because it has multiple applications, such as calculating area, volume, and other quantities. Here, we will use determinants to reveal whether a matrix is invertible by using the entries of a square matrix to determine whether there is a solution to the system of equations. Perhaps one of the more interesting applications, however, is their use in cryptography. Secure signals or messages are sometimes sent encoded in a matrix. The data can only be decrypted with an invertible matrix and the determinant. For our purposes, we focus on the determinant as an indication of the invertibility of the matrix. Calculating the determinant of a matrix involves following the specific patterns that are outlined in this section.

### Find the Determinant of a 2 × 2 Matrix

The determinant of a$\,2\text{ }×\text{ }2\,$matrix, given

$A=\left[\begin{array}{cc}a& b\\ c& d\end{array}\right]$

is defined as Notice the change in notation. There are several ways to indicate the determinant, including$\,\mathrm{det}\left(A\right)\,$and replacing the brackets in a matrix with straight lines,$\,|A|.$

### Finding the Determinant of a 2 × 2 Matrix

Find the determinant of the given matrix.

$A=\left[\begin{array}{cc}5& 2\\ -6& 3\end{array}\right]$

$\begin{array}{l}\mathrm{det}\left(A\right)=|\begin{array}{cc}5& 2\\ -6& 3\end{array}|\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,=5\left(3\right)-\left(-6\right)\left(2\right)\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,=27\hfill \end{array}$[/hidden-answer]

### Using Cramer’s Rule to Solve a System of Two Equations in Two Variables

We will now introduce a final method for solving systems of equations that uses determinants. Known as Cramer’s Rule, this technique dates back to the middle of the 18th century and is named for its innovator, the Swiss mathematician Gabriel Cramer (1704-1752), who introduced it in 1750 in Introduction à l’Analyse des lignes Courbes algébriques. Cramer’s Rule is a viable and efficient method for finding solutions to systems with an arbitrary number of unknowns, provided that we have the same number of equations as unknowns.

Cramer’s Rule will give us the unique solution to a system of equations, if it exists. However, if the system has no solution or an infinite number of solutions, this will be indicated by a determinant of zero. To find out if the system is inconsistent or dependent, another method, such as elimination, will have to be used.

To understand Cramer’s Rule, let’s look closely at how we solve systems of linear equations using basic row operations. Consider a system of two equations in two variables.

$\begin{array}{c}{a}_{1}x+{b}_{1}y={c}_{1}\,\,\,\,\left(1\right)\\ {a}_{2}x+{b}_{2}y={c}_{2}\,\,\,\,\left(2\right)\end{array}$

We eliminate one variable using row operations and solve for the other. Say that we wish to solve for$\,x.\,$If equation (2) is multiplied by the opposite of the coefficient of$\,y\,$in equation (1), equation (1) is multiplied by the coefficient of$\,y\,$in equation (2), and we add the two equations, the variable$\,y\,$will be eliminated.

$\begin{array}{l}\underset{\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_}{\begin{array}{llll}\hfill & \hfill & \hfill & \hfill \\ \,\,\,\,{b}_{2}{a}_{1}x+{b}_{2}{b}_{1}y={b}_{2}{c}_{1}\hfill & \hfill & \hfill & \text{Multiply }{R}_{1}\text{ by }{b}_{2}\hfill \\ -{b}_{1}{a}_{2}x-{b}_{1}{b}_{2}y=-{b}_{1}{c}_{2}\hfill & \hfill & \hfill & \text{Multiply }{R}_{2}\text{ by}-{b}_{1}\hfill \end{array}}\hfill \\ \,\,\,\begin{array}{ll} {b}_{2}{a}_{1}x-{b}_{1}{a}_{2}x={b}_{2}{c}_{1}-{b}_{1}{c}_{2}\hfill & \hfill \end{array}\hfill \end{array}$

Now, solve for$\,x.$

$\begin{array}{l}\,\,\,{b}_{2}{a}_{1}x-{b}_{1}{a}_{2}x={b}_{2}{c}_{1}-{b}_{1}{c}_{2}\hfill \\ \,\,\,x\left({b}_{2}{a}_{1}-{b}_{1}{a}_{2}\right)={b}_{2}{c}_{1}-{b}_{1}{c}_{2}\hfill \\ \text{ }x=\frac{{b}_{2}{c}_{1}-{b}_{1}{c}_{2}}{{b}_{2}{a}_{1}-{b}_{1}{a}_{2}}=\frac{\left[\begin{array}{cc}{c}_{1}& {b}_{1}\\ {c}_{2}& {b}_{2}\end{array}\right]}{\left[\begin{array}{cc}{a}_{1}& {b}_{1}\\ {a}_{2}& {b}_{2}\end{array}\right]}\hfill \end{array}$

Similarly, to solve for$\,y,$we will eliminate$\,x.$

$\begin{array}{l}\underset{\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_}{\begin{array}{llll}\hfill & \hfill & \hfill & \hfill \\ \,\,\,\,{a}_{2}{a}_{1}x+{a}_{2}{b}_{1}y={a}_{2}{c}_{1}\hfill & \hfill & \hfill & \text{Multiply }{R}_{1}\text{ by }{a}_{2}\hfill \\ -{a}_{1}{a}_{2}x-{a}_{1}{b}_{2}y=-{a}_{1}{c}_{2}\hfill & \hfill & \hfill & \text{Multiply }{R}_{2}\text{ by}-{a}_{1}\hfill \end{array}}\hfill \\ \,\,\,\,\,\,\begin{array}{ll}{a}_{2}{b}_{1}y-{a}_{1}{b}_{2}y={a}_{2}{c}_{1}-{a}_{1}{c}_{2}\hfill & \hfill \end{array}\hfill \end{array}$

Solving for$\,y\,$gives

$\begin{array}{l}{a}_{2}{b}_{1}y-{a}_{1}{b}_{2}y={a}_{2}{c}_{1}-{a}_{1}{c}_{2}\hfill \\ y\left({a}_{2}{b}_{1}-{a}_{1}{b}_{2}\right)={a}_{2}{c}_{1}-{a}_{1}{c}_{2}\hfill \\ \text{ }y=\frac{{a}_{2}{c}_{1}-{a}_{1}{c}_{2}}{{a}_{2}{b}_{1}-{a}_{1}{b}_{2}}=\frac{{a}_{1}{c}_{2}-{a}_{2}{c}_{1}}{{a}_{1}{b}_{2}-{a}_{2}{b}_{1}}=\frac{|\begin{array}{cc}{a}_{1}& {c}_{1}\\ {a}_{2}& {c}_{2}\end{array}|}{|\begin{array}{cc}{a}_{1}& {b}_{1}\\ {a}_{2}& {b}_{2}\end{array}|}\hfill \end{array}$

Notice that the denominator for both$\,x\,$and$\,y\,$is the determinant of the coefficient matrix.

We can use these formulas to solve for$\,x\,$and$\,y,\,$but Cramer’s Rule also introduces new notation:

• $\,\,D:$determinant of the coefficient matrix
• ${D}_{x}:$determinant of the numerator in the solution of$x$
$x=\frac{{D}_{x}}{D}$
• ${D}_{y}:$determinant of the numerator in the solution of$\,y$
$y=\frac{{D}_{y}}{D}$

The key to Cramer’s Rule is replacing the variable column of interest with the constant column and calculating the determinants. We can then express$\,x\,$and$\,y\,$as a quotient of two determinants.

### Cramer’s Rule for 2×2 Systems

Cramer’s Rule is a method that uses determinants to solve systems of equations that have the same number of equations as variables.

Consider a system of two linear equations in two variables.

$\begin{array}{c}{a}_{1}x+{b}_{1}y={c}_{1}\\ {a}_{2}x+{b}_{2}y={c}_{2}\end{array}$

The solution using Cramer’s Rule is given as

$x=\frac{{D}_{x}}{D}=\frac{|\begin{array}{cc}{c}_{1}& {b}_{1}\\ {c}_{2}& {b}_{2}\end{array}|}{|\begin{array}{cc}{a}_{1}& {b}_{1}\\ {a}_{2}& {b}_{2}\end{array}|},\,\,D\ne 0;\,\,\text{​}\text{​}\,y=\frac{{D}_{y}}{D}=\frac{|\begin{array}{cc}{a}_{1}& {c}_{1}\\ {a}_{2}& {c}_{2}\end{array}|}{|\begin{array}{cc}{a}_{1}& {b}_{1}\\ {a}_{2}& {b}_{2}\end{array}|},\,\,D\ne 0.$

If we are solving for$\,x,\,$the$\,x\,$column is replaced with the constant column. If we are solving for$\,y,\,$the$\,y\,$column is replaced with the constant column.

### Using Cramer’s Rule to Solve a 2 × 2 System

Solve the following$\,2\text{ }×\text{ }2\,$system using Cramer’s Rule.

$\begin{array}{c}12x+3y=15\\ \text{ }2x-3y=13\end{array}$

Solve for$\,x.$

$x=\frac{{D}_{x}}{D}=\frac{|\begin{array}{rr}\hfill 15& \hfill 3\\ \hfill 13& \hfill -3\end{array}|}{|\begin{array}{rr}\hfill 12& \hfill 3\\ \hfill 2& \hfill -3\end{array}|}=\frac{-45-39}{-36-6}=\frac{-84}{-42}=2$

Solve for$\,y.$

$y=\frac{{D}_{y}}{D}=\frac{|\begin{array}{rr}\hfill 12& \hfill 15\\ \hfill 2& \hfill 13\end{array}|}{|\begin{array}{rr}\hfill 12& \hfill 3\\ \hfill 2& \hfill -3\end{array}|}=\frac{156-30}{-36-6}=-\frac{126}{42}=-3$

The solution is$\,\left(2,-3\right).$[/hidden-answer]

### Try It

Use Cramer’s Rule to solve the 2 × 2 system of equations.

$\begin{array}{l}\text{ }x+2y=-11\hfill \\ -2x+y=-13\hfill \end{array}$

$\left(3,-7\right)$

### Evaluating the Determinant of a 3 × 3 Matrix

Finding the determinant of a 2×2 matrix is straightforward, but finding the determinant of a 3×3 matrix is more complicated. One method is to augment the 3×3 matrix with a repetition of the first two columns, giving a 3×5 matrix. Then we calculate the sum of the products of entries down each of the three diagonals (upper left to lower right), and subtract the products of entries up each of the three diagonals (lower left to upper right). This is more easily understood with a visual and an example.

Find the determinant of the 3×3 matrix.

$A=\left[\begin{array}{ccc}{a}_{1}& {b}_{1}& {c}_{1}\\ {a}_{2}& {b}_{2}& {c}_{2}\\ {a}_{3}& {b}_{3}& {c}_{3}\end{array}\right]$
1. Augment$\,A\,$with the first two columns.
$\mathrm{det}\left(A\right)=|\begin{array}{ccc}{a}_{1}& {b}_{1}& {c}_{1}\\ {a}_{2}& {b}_{2}& {c}_{2}\\ {a}_{3}& {b}_{3}& {c}_{3}\end{array}\,\,\,|\,\,\,\begin{array}{c}{a}_{1}\\ {a}_{2}\\ {a}_{3}\end{array}\,\,\,\,\begin{array}{c}{b}_{1}\\ {b}_{2}\\ {b}_{3}\end{array}|$
2. From upper left to lower right: Multiply the entries down the first diagonal. Add the result to the product of entries down the second diagonal. Add this result to the product of the entries down the third diagonal.
3. From lower left to upper right: Subtract the product of entries up the first diagonal. From this result subtract the product of entries up the second diagonal. From this result, subtract the product of entries up the third diagonal. The algebra is as follows:

$|A|={a}_{1}{b}_{2}{c}_{3}+{b}_{1}{c}_{2}{a}_{3}+{c}_{1}{a}_{2}{b}_{3}-{a}_{3}{b}_{2}{c}_{1}-{b}_{3}{c}_{2}{a}_{1}-{c}_{3}{a}_{2}{b}_{1}$

### Finding the Determinant of a 3 × 3 Matrix

Find the determinant of the 3 × 3 matrix given

$A=\left[\begin{array}{ccc}0& 2& 1\\ 3& -1& 1\\ 4& 0& 1\end{array}\right]$

Augment the matrix with the first two columns and then follow the formula. Thus,

$\begin{array}{l}|A|=|\begin{array}{ccc}0& 2& 1\\ 3& -1& 1\\ 4& 0& 1\end{array}\,\,|\begin{array}{c}0\\ 3\\ \,\,4\end{array}\,\,\,\,\begin{array}{c}2\\ -1\\ 0\end{array}|\hfill \\ \,\,\,\,\,\,\,=0\left(-1\right)\left(1\right)+2\left(1\right)\left(4\right)+1\left(3\right)\left(0\right)-4\left(-1\right)\left(1\right)-0\left(1\right)\left(0\right)-1\left(3\right)\left(2\right)\hfill \\ \,\,\,\,\,\,\,=0+8+0+4-0-6\hfill \\ \,\,\,\,\,\,\,=6\hfill \end{array}$[/hidden-answer]

### Try It

Find the determinant of the 3 × 3 matrix.

$\mathrm{det}\left(A\right)=|\begin{array}{ccc}1& -3& 7\\ 1& 1& 1\\ 1& -2& 3\end{array}|$

$-10$

Can we use the same method to find the determinant of a larger matrix?

No, this method only works for$\,2\text{ }×\text{ }2\,$and$\,\text{3}\text{ }×\text{ }3\,$matrices. For larger matrices it is best to use a graphing utility or computer software.

### Using Cramer’s Rule to Solve a System of Three Equations in Three Variables

Now that we can find the determinant of a 3 × 3 matrix, we can apply Cramer’s Rule to solve a system of three equations in three variables. Cramer’s Rule is straightforward, following a pattern consistent with Cramer’s Rule for 2 × 2 matrices. As the order of the matrix increases to 3 × 3, however, there are many more calculations required.

When we calculate the determinant to be zero, Cramer’s Rule gives no indication as to whether the system has no solution or an infinite number of solutions. To find out, we have to perform elimination on the system.

Consider a 3 × 3 system of equations. $x=\frac{{D}_{x}}{D},y=\frac{{D}_{y}}{D},z=\frac{{D}_{z}}{D},D\ne 0$

where If we are writing the determinant$\,{D}_{x},$we replace the$\,x\,$column with the constant column. If we are writing the determinant${D}_{y},$we replace the$\,y\,$column with the constant column. If we are writing the determinant$\,{D}_{z},$we replace the$\,z\,$column with the constant column. Always check the answer.

### Solving a 3 × 3 System Using Cramer’s Rule

Find the solution to the given 3 × 3 system using Cramer’s Rule.

$\begin{array}{c}x+y-z=6\\ 3x-2y+z=-5\\ x+3y-2z=14\end{array}$

Use Cramer’s Rule.

$D=|\begin{array}{ccc}1& \,\,1& -1\\ 3& -2& \,\,\,1\\ 1& \,\,3& -2\end{array}|,{D}_{x}=|\begin{array}{ccc}6& 1& -1\\ -5& -2& \,\,\,1\\ 14& \,\,3& -2\end{array}|,{D}_{y}=|\begin{array}{ccc}1& \,6& -1\\ 3& -5& \,\,1\\ 1& 14& -2\end{array}|,{D}_{z}=|\begin{array}{ccc}1& \,1& 6\\ 3& -2& -5\\ 1& \,\,3& 14\end{array}|$

Then,

$\begin{array}{l}x=\frac{{D}_{x}}{D}=\frac{-3}{-3}=1\hfill \\ y=\frac{{D}_{y}}{D}=\frac{-9}{-3}=3\hfill \\ z=\frac{{D}_{z}}{D}=\frac{6}{-3}=-2\hfill \end{array}$

The solution is$\left(1,3,-2\right).$[/hidden-answer]

### Try It

Use Cramer’s Rule to solve the 3 × 3 matrix.

$\begin{array}{r}\hfill x-3y+7z=13\\ \hfill x+y+z=1\,\,\,\\ \hfill x-2y+3z=4\,\,\,\end{array}$

$\left(-2,\frac{3}{5},\frac{12}{5}\right)$

### Using Cramer’s Rule to Solve an Inconsistent System

Solve the system of equations using Cramer’s Rule.

$\begin{array}{l}3x-2y=4\text{ }\left(1\right)\\ 6x-4y=0\text{ }\left(2\right)\end{array}$

We begin by finding the determinants$\,D,{D}_{x},\text{and }{D}_{y}.$

$D=|\begin{array}{cc}3& -2\\ 6& -4\end{array}|=3\left(-4\right)-6\left(-2\right)=0$

We know that a determinant of zero means that either the system has no solution or it has an infinite number of solutions. To see which one, we use the process of elimination. Our goal is to eliminate one of the variables.

1. Multiply equation (1) by$\,-2.$
2. Add the result to equation$\,\left(2\right).$
$\begin{array}{l}\underset{\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_}{\begin{array}{l}\begin{array}{l}\hfill \\ -6x+4y\,\,\,\,=-8\hfill \end{array}\hfill \\ \,\,\,6x-4y\,\,\,\,\,\,=\,\,\,\,0\hfill \end{array}}\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,0\,\,\,\,\,\,=\,-8\hfill \end{array}$

We obtain the equation$\,0=-8,\,$which is false. Therefore, the system has no solution. Graphing the system reveals two parallel lines. See (Figure).

### Use Cramer’s Rule to Solve a Dependent System

Solve the system with an infinite number of solutions.

$\begin{array}{rr}\hfill x-2y+3z=0& \hfill \left(1\right)\\ \hfill 3x+y-2z=0& \hfill \left(2\right)\\ \hfill 2x-4y+6z=0& \hfill \left(3\right)\end{array}$

Let’s find the determinant first. Set up a matrix augmented by the first two columns.

$|\begin{array}{rrr}\hfill 1& \hfill -2& \hfill 3\\ \hfill 3& \hfill 1& \hfill -2\\ \hfill 2& \hfill -4& \hfill 6\end{array}\text{ }|\text{ }\begin{array}{rr}\hfill 1& \hfill -2\\ \hfill 3& \hfill 1\\ \hfill 2& \hfill -4\end{array}|$

Then,

$1\left(1\right)\left(6\right)+\left(-2\right)\left(-2\right)\left(2\right)+3\left(3\right)\left(-4\right)-2\left(1\right)\left(3\right)-\left(-4\right)\left(-2\right)\left(1\right)-6\left(3\right)\left(-2\right)=0$

As the determinant equals zero, there is either no solution or an infinite number of solutions. We have to perform elimination to find out.

1. Multiply equation (1) by$\,-2\,$and add the result to equation (3):
$\frac{\begin{array}{r}\hfill -2x+4y-6x=0\\ \hfill 2x-4y+6z=0\end{array}}{\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,0=0}$
2. Obtaining an answer of$\,0=0,\,$a statement that is always true, means that the system has an infinite number of solutions. Graphing the system, we can see that two of the planes are the same and they both intersect the third plane on a line. See (Figure).

### Understanding Properties of Determinants

There are many properties of determinants. Listed here are some properties that may be helpful in calculating the determinant of a matrix.

### Properties of Determinants

1. If the matrix is in upper triangular form, the determinant equals the product of entries down the main diagonal.
2. When two rows are interchanged, the determinant changes sign.
3. If either two rows or two columns are identical, the determinant equals zero.
4. If a matrix contains either a row of zeros or a column of zeros, the determinant equals zero.
5. The determinant of an inverse matrix$\,{A}^{-1}\,$is the reciprocal of the determinant of the matrix$\,A.$
6. If any row or column is multiplied by a constant, the determinant is multiplied by the same factor.

### Illustrating Properties of Determinants

Illustrate each of the properties of determinants.

Property 1 states that if the matrix is in upper triangular form, the determinant is the product of the entries down the main diagonal.

$A=\left[\begin{array}{rrr}\hfill 1& \hfill \,\,2& \hfill 3\\ \hfill 0& \hfill \,\,2& \hfill 1\\ \hfill 0& \hfill \,\,0& \hfill -1\end{array}\right]$

Augment$\,A\,$with the first two columns.

$A=\left[\begin{array}{ccc}1& 2& 3\\ 0& 2& 1\\ 0& 0& -1\end{array}|\,\,\,\begin{array}{c}1\\ 0\\ 0\end{array}\,\,\,\,\begin{array}{c}2\\ 2\\ 0\end{array}\right]$

Then

$\begin{array}{l}\mathrm{det}\left(A\right)=1\left(2\right)\left(-1\right)+2\left(1\right)\left(0\right)+3\left(0\right)\left(0\right)-0\left(2\right)\left(3\right)-0\left(1\right)\left(1\right)+1\left(0\right)\left(2\right)\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,=-2\hfill \end{array}$

Property 2 states that interchanging rows changes the sign. Given

$\begin{array}{l}\begin{array}{l}\\ A=\left[\begin{array}{cc}-1& 5\\ 4& -3\end{array}\right],\,\,\mathrm{det}\left(A\right)=\left(-1\right)\left(-3\right)-\left(4\right)\left(5\right)=3-20=-17\end{array}\hfill \\ \hfill \\ B=\left[\begin{array}{cc}4& -3\\ -1& 5\end{array}\right],\,\,\mathrm{det}\left(B\right)=\left(4\right)\left(5\right)-\left(-1\right)\left(-3\right)=20-3=17\hfill \end{array}$

Property 3 states that if two rows or two columns are identical, the determinant equals zero.

$\begin{array}{l}\,\,\,\,\,\,\,\,\,\,\,A=\left[\begin{array}{ccc}1& 2& 2\\ 2& 2& 2\\ -1& 2& 2\end{array}\text{ }|\text{ }\begin{array}{c}1\\ 2\\ -1\end{array} \begin{array}{c}2\\ 2\\ 2\end{array}\right]\hfill \\ \hfill \\ \mathrm{det}\left(A\right)=1\left(2\right)\left(2\right)+2\left(2\right)\left(-1\right)+2\left(2\right)\left(2\right)+1\left(2\right)\left(2\right)-2\left(2\right)\left(1\right)-2\left(2\right)\left(2\right)\hfill \\ \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,=4-4+8+4-4-8=0\hfill \end{array}$

Property 4 states that if a row or column equals zero, the determinant equals zero. Thus,

$A=\left[\begin{array}{cc}1& 2\\ 0& 0\end{array}\right],\,\,\,\mathrm{det}\left(A\right)=1\left(0\right)-2\left(0\right)=0$

Property 5 states that the determinant of an inverse matrix$\,{A}^{-1}\,$is the reciprocal of the determinant$\,A.\,$Thus,

$\begin{array}{l}\,\,\,\,\,\,A=\left[\begin{array}{cc}1& 2\\ 3& 4\end{array}\right],\mathrm{det}\left(A\right)=1\left(4\right)-3\left(2\right)=-2\hfill \\ \hfill \\ {A}^{-1}=\left[\begin{array}{cc}-2& 1\\ \frac{3}{2}& -\frac{1}{2}\end{array}\right],\mathrm{det}\left({A}^{-1}\right)=-2\left(-\frac{1}{2}\right)-\left(\frac{3}{2}\right)\left(1\right)=-\frac{1}{2}\hfill \end{array}$

Property 6 states that if any row or column of a matrix is multiplied by a constant, the determinant is multiplied by the same factor. Thus,

$\begin{array}{l}A=\left[\begin{array}{cc}1& 2\\ 3& 4\end{array}\right],\mathrm{det}\left(A\right)=1\left(4\right)-2\left(3\right)=-2\hfill \\ \hfill \\ B=\left[\begin{array}{cc}2\left(1\right)& 2\left(2\right)\\ 3& 4\end{array}\right],\mathrm{det}\left(B\right)=2\left(4\right)-3\left(4\right)=-4\hfill \end{array}$[/hidden-answer]

### Using Cramer’s Rule and Determinant Properties to Solve a System

Find the solution to the given 3 × 3 system.

$\begin{array}{ll}2x+4y+4z=2\hfill & \left(1\right)\hfill \\ 3x+7y+7z=-5\hfill & \left(2\right)\hfill \\ \text{ }x+2y+2z=4\hfill & \left(3\right)\hfill \end{array}$

Using Cramer’s Rule, we have

$D=|\begin{array}{ccc}2& 4& 4\\ 3& 7& 7\\ 1& 2& 2\end{array}|$

Notice that the second and third columns are identical. According to Property 3, the determinant will be zero, so there is either no solution or an infinite number of solutions. We have to perform elimination to find out.

1. Multiply equation (3) by –2 and add the result to equation (1).
$\frac{\begin{array}{l}-2x-4y-4x=-8\hfill \\ \text{ }2x+4y+4z=2\,\,\,\,\,\hfill \end{array}}{\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,0=-6}$

Obtaining a statement that is a contradiction means that the system has no solution.[/hidden-answer]

Access these online resources for additional instruction and practice with Cramer’s Rule.

### Key Concepts

• The determinant for$\,\left[\begin{array}{cc}a& b\\ c& d\end{array}\right]\,$is$\,ad-bc.\,$See (Figure).
• Cramer’s Rule replaces a variable column with the constant column. Solutions are$\,x=\frac{{D}_{x}}{D},y=\frac{{D}_{y}}{D}.\,$See (Figure).
• To find the determinant of a 3×3 matrix, augment with the first two columns. Add the three diagonal entries (upper left to lower right) and subtract the three diagonal entries (lower left to upper right). See (Figure).
• To solve a system of three equations in three variables using Cramer’s Rule, replace a variable column with the constant column for each desired solution:$\,x=\frac{{D}_{x}}{D},y=\frac{{D}_{y}}{D},z=\frac{{D}_{z}}{D}.\,$See (Figure).
• Cramer’s Rule is also useful for finding the solution of a system of equations with no solution or infinite solutions. See (Figure) and (Figure).
• Certain properties of determinants are useful for solving problems. For example:
• If the matrix is in upper triangular form, the determinant equals the product of entries down the main diagonal.
• When two rows are interchanged, the determinant changes sign.
• If either two rows or two columns are identical, the determinant equals zero.
• If a matrix contains either a row of zeros or a column of zeros, the determinant equals zero.
• The determinant of an inverse matrix$\,{A}^{-1}\,$is the reciprocal of the determinant of the matrix$\,A.$
• If any row or column is multiplied by a constant, the determinant is multiplied by the same factor. See (Figure) and (Figure).

### Section Exercises

#### Verbal

Explain why we can always evaluate the determinant of a square matrix.

A determinant is the sum and products of the entries in the matrix, so you can always evaluate that product—even if it does end up being 0.

Examining Cramer’s Rule, explain why there is no unique solution to the system when the determinant of your matrix is 0. For simplicity, use a$\,2\,×\,2\,$matrix.

Explain what it means in terms of an inverse for a matrix to have a 0 determinant.

The inverse does not exist.

The determinant of$\,2\,×\,2\,$matrix$\,A\,$is 3. If you switch the rows and multiply the first row by 6 and the second row by 2, explain how to find the determinant and provide the answer.

#### Algebraic

For the following exercises, find the determinant.

$|\begin{array}{cc}1& 2\\ 3& 4\end{array}|$

$-2$

$|\begin{array}{rr}\hfill -1& \hfill 2\\ \hfill 3& \hfill -4\end{array}|$

$|\begin{array}{rr}\hfill 2& \hfill -5\\ \hfill -1& \hfill 6\end{array}|$

$7$

$|\begin{array}{cc}-8& 4\\ -1& 5\end{array}|$

$|\begin{array}{rr}\hfill 1& \hfill 0\\ \hfill 3& \hfill -4\end{array}|$

$-4$

$|\begin{array}{rr}\hfill 10& \hfill 20\\ \hfill 0& \hfill -10\end{array}|$

$|\begin{array}{cc}10& 0.2\\ 5& 0.1\end{array}|$

$0$

$|\begin{array}{rr}\hfill 6& \hfill -3\\ \hfill 8& \hfill 4\end{array}|$

$|\begin{array}{rr}\hfill -2& \hfill -3\\ \hfill 3.1& \hfill 4,000\end{array}|$

$-7,990.7$

$|\begin{array}{rr}\hfill -1.1& \hfill 0.6\\ \hfill 7.2& \hfill -0.5\end{array}|$

$|\begin{array}{rrr}\hfill -1& \hfill 0& \hfill 0\\ \hfill 0& \hfill 1& \hfill 0\\ \hfill 0& \hfill 0& \hfill -3\end{array}|$

$3$

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

$|\begin{array}{ccc}1& 0& 1\\ 0& 1& 0\\ 1& 0& 0\end{array}|$

$-1$

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

$|\begin{array}{rrr}\hfill -2& \hfill 1& \hfill 4\\ \hfill -4& \hfill 2& \hfill -8\\ \hfill 2& \hfill -8& \hfill -3\end{array}|$

$224$

$|\begin{array}{rrr}\hfill 6& \hfill -1& \hfill 2\\ \hfill -4& \hfill -3& \hfill 5\\ \hfill 1& \hfill 9& \hfill -1\end{array}|$

$|\begin{array}{rrr}\hfill 5& \hfill 1& \hfill -1\\ \hfill 2& \hfill 3& \hfill 1\\ \hfill 3& \hfill -6& \hfill -3\end{array}|$

$15$

$|\begin{array}{rrr}\hfill 1.1& \hfill 2& \hfill -1\\ \hfill -4& \hfill 0& \hfill 0\\ \hfill 4.1& \hfill -0.4& \hfill 2.5\end{array}|$

$|\begin{array}{rrr}\hfill 2& \hfill -1.6& \hfill 3.1\\ \hfill 1.1& \hfill 3& \hfill -8\\ \hfill -9.3& \hfill 0& \hfill 2\end{array}|$

$-17.03$

$|\begin{array}{ccc}-\frac{1}{2}& \frac{1}{3}& \frac{1}{4}\\ \frac{1}{5}& -\frac{1}{6}& \frac{1}{7}\\ 0& 0& \frac{1}{8}\end{array}|$

For the following exercises, solve the system of linear equations using Cramer’s Rule.

$\begin{array}{l}2x-3y=-1\\ 4x+5y=9\end{array}$

$\left(1,1\right)$

$\begin{array}{r}5x-4y=2\\ -4x+7y=6\end{array}$

$\begin{array}{l}\text{ }6x-3y=2\,\,\,\,\,\hfill \\ -8x+9y=-1\hfill \end{array}$

$\left(\frac{1}{2},\frac{1}{3}\right)$

$\begin{array}{l}2x+6y=12\\ 5x-2y=13\end{array}$

$\begin{array}{l}4x+3y=23\,\,\hfill \\ \text{ }2x-y=-1\hfill \end{array}$

$\left(2,5\right)$

$\begin{array}{l}10x-6y=2\,\,\,\,\hfill \\ -5x+8y=-1\hfill \end{array}$

$\begin{array}{l}4x-3y=-3\\ 2x+6y=-4\end{array}$

$\left(-1,-\frac{1}{3}\right)$

$\begin{array}{r}4x-5y=7\\ -3x+9y=0\end{array}$

$\begin{array}{l}4x+10y=180\,\,\,\,\hfill \\ -3x-5y=-105\hfill \end{array}$

$\left(15,12\right)$

$\begin{array}{l}\text{ }8x-2y=-3\hfill \\ -4x+6y=4\,\,\,\,\hfill \end{array}$

For the following exercises, solve the system of linear equations using Cramer’s Rule.

$\begin{array}{l}\text{ }x+2y-4z=-1\hfill \\ \text{ }7x+3y+5z=26\,\,\hfill \\ -2x-6y+7z=-6\hfill \end{array}$

$\left(1,3,2\right)$

$\begin{array}{l}-5x+2y-4z=-47\hfill \\ \text{ }4x-3y-z=-94\hfill \\ \text{ }3x-3y+2z=94\,\,\,\,\hfill \end{array}$

$\begin{array}{l}\text{ }4x+5y-z=-7\hfill \\ -2x-9y+2z=8\,\,\,\,\hfill \\ \text{ }5y+7z=21\,\hfill \end{array}$

$\left(-1,0,3\right)$

$\begin{array}{r}4x-3y+4z=10\\ 5x-2z=-2\\ 3x+2y-5z=-9\end{array}$

$\begin{array}{l}4x-2y+3z=6\,\,\,\hfill \\ \text{ }-6x+y=-2\hfill \\ 2x+7y+8z=24\hfill \end{array}$

$\left(\frac{1}{2},1,2\right)$

$\begin{array}{r}\hfill 5x+2y-z=1\,\,\,\,\,\\ \hfill -7x-8y+3z=1.5\\ \hfill 6x-12y+z=7\,\,\,\,\end{array}$

$\begin{array}{l}\text{ }13x-17y+16z=73\,\,\,\,\hfill \\ -11x+15y+17z=61\,\,\,\,\hfill \\ \text{ }46x+10y-30z=-18\hfill \end{array}$

$\left(2,1,4\right)$[/hidden-answer]

$\begin{array}{l}\begin{array}{l}\hfill \\ -4x-3y-8z=-7\hfill \end{array}\hfill \\ \text{ }2x-9y+5z=0.5\hfill \\ \text{ }5x-6y-5z=-2\hfill \end{array}$

$\begin{array}{l}\text{ }4x-6y+8z=10\,\,\hfill \\ -2x+3y-4z=-5\hfill \\ \text{ }x+y+z=1\,\,\,\,\,\hfill \end{array}$

Infinite solutions

$\begin{array}{r}\hfill 4x-6y+8z=10\,\,\,\,\,\\ \hfill -2x+3y-4z=-5\,\,\,\\ \hfill 12x+18y-24z=-30\end{array}$

#### Technology

For the following exercises, use the determinant function on a graphing utility.

$|\begin{array}{rrrr}\hfill 1& \hfill 0& \hfill 8& \hfill 9\\ \hfill 0& \hfill 2& \hfill 1& \hfill 0\\ \hfill 1& \hfill 0& \hfill 3& \hfill 0\\ \hfill 0& \hfill 2& \hfill 4& \hfill 3\end{array}|$

$24$

$|\begin{array}{rrrr}\hfill 1& \hfill 0& \hfill 2& \hfill 1\\ \hfill 0& \hfill -9& \hfill 1& \hfill 3\\ \hfill 3& \hfill 0& \hfill -2& \hfill -1\\ \hfill 0& \hfill 1& \hfill 1& \hfill -2\end{array}|$

$|\begin{array}{rrrr}\hfill \frac{1}{2}& \hfill 1& \hfill 7& \hfill 4\\ \hfill 0& \hfill \frac{1}{2}& \hfill 100& \hfill 5\\ \hfill 0& \hfill 0& \hfill 2& \hfill 2,000\\ \hfill 0& \hfill 0& \hfill 0& \hfill 2\end{array}|$

$1$

$|\begin{array}{rrrr}\hfill 1& \hfill 0& \hfill 0& \hfill 0\\ \hfill 2& \hfill 3& \hfill 0& \hfill 0\\ \hfill 4& \hfill 5& \hfill 6& \hfill 0\\ \hfill 7& \hfill 8& \hfill 9& \hfill 0\end{array}|$

#### Real-World Applications

For the following exercises, create a system of linear equations to describe the behavior. Then, calculate the determinant. Will there be a unique solution? If so, find the unique solution.

Two numbers add up to 56. One number is 20 less than the other.

Yes; 18, 38

Two numbers add up to 104. If you add two times the first number plus two times the second number, your total is 208

Three numbers add up to 106. The first number is 3 less than the second number. The third number is 4 more than the first number.

Yes; 33, 36, 37

Three numbers add to 216. The sum of the first two numbers is 112. The third number is 8 less than the first two numbers combined.

For the following exercises, create a system of linear equations to describe the behavior. Then, solve the system for all solutions using Cramer’s Rule.

You invest $10,000 into two accounts, which receive 8% interest and 5% interest. At the end of a year, you had$10,710 in your combined accounts. How much was invested in each account?

$7,000 in first account,$3,000 in second account.

You invest $80,000 into two accounts,$22,000 in one account, and $58,000 in the other account. At the end of one year, assuming simple interest, you have earned$2,470 in interest. The second account receives half a percent less than twice the interest on the first account. What are the interest rates for your accounts?

A movie theater needs to know how many adult tickets and children tickets were sold out of the 1,200 total tickets. If children’s tickets are $5.95, adult tickets are$11.15, and the total amount of revenue was $12,756, how many children’s tickets and adult tickets were sold? [reveal-answer q=”fs-id1584198″]Show Solution[/reveal-answer] [hidden-answer a=”fs-id1584198″] 120 children, 1,080 adult [/hidden-answer] A concert venue sells single tickets for$40 each and couple’s tickets for $65. If the total revenue was$18,090 and the 321 tickets were sold, how many single tickets and how many couple’s tickets were sold?

You decide to paint your kitchen green. You create the color of paint by mixing yellow and blue paints. You cannot remember how many gallons of each color went into your mix, but you know there were 10 gal total. Additionally, you kept your receipt, and know the total amount spent was $29.50. If each gallon of yellow costs$2.59, and each gallon of blue costs $3.19, how many gallons of each color go into your green mix? [reveal-answer q=”fs-id1584221″]Show Solution[/reveal-answer] [hidden-answer a=”fs-id1584221″] 4 gal yellow, 6 gal blue [/hidden-answer] You sold two types of scarves at a farmers’ market and would like to know which one was more popular. The total number of scarves sold was 56, the yellow scarf cost$10, and the purple scarf cost $11. If you had total revenue of$583, how many yellow scarves and how many purple scarves were sold?

Your garden produced two types of tomatoes, one green and one red. The red weigh 10 oz, and the green weigh 4 oz. You have 30 tomatoes, and a total weight of 13 lb, 14 oz. How many of each type of tomato do you have?

13 green tomatoes, 17 red tomatoes

At a market, the three most popular vegetables make up 53% of vegetable sales. Corn has 4% higher sales than broccoli, which has 5% more sales than onions. What percentage does each vegetable have in the market share?

At the same market, the three most popular fruits make up 37% of the total fruit sold. Strawberries sell twice as much as oranges, and kiwis sell one more percentage point than oranges. For each fruit, find the percentage of total fruit sold.

Strawberries 18%, oranges 9%, kiwi 10%

Three bands performed at a concert venue. The first band charged $15 per ticket, the second band charged$45 per ticket, and the final band charged $22 per ticket. There were 510 tickets sold, for a total of$12,700. If the first band had 40 more audience members than the second band, how many tickets were sold for each band?

A movie theatre sold tickets to three movies. The tickets to the first movie were $5, the tickets to the second movie were$11, and the third movie was $12. 100 tickets were sold to the first movie. The total number of tickets sold was 642, for a total revenue of$6,774. How many tickets for each movie were sold?

100 for movie 1, 230 for movie 2, 312 for movie 3

Men aged 20–29, 30–39, and 40–49 made up 78% of the population at a prison last year. This year, the same age groups made up 82.08% of the population. The 20–29 age group increased by 20%, the 30–39 age group increased by 2%, and the 40–49 age group decreased to$\,\frac{3}{4}\,$of their previous population. Originally, the 30–39 age group had 2% more prisoners than the 20–29 age group. Determine the prison population percentage for each age group last year.

At a women’s prison down the road, the total number of inmates aged 20–49 totaled 5,525. This year, the 20–29 age group increased by 10%, the 30–39 age group decreased by 20%, and the 40–49 age group doubled. There are now 6,040 prisoners. Originally, there were 500 more in the 30–39 age group than the 20–29 age group. Determine the prison population for each age group last year.

20–29: 2,100, 30–39: 2,600, 40–49: 825

For the following exercises, use this scenario: A health-conscious company decides to make a trail mix out of almonds, dried cranberries, and chocolate-covered cashews. The nutritional information for these items is shown in (Figure).

Fat (g) Protein (g) Carbohydrates (g)
Almonds (10) 6 2 3
Cranberries (10) 0.02 0 8
Cashews (10) 7 3.5 5.5

For the special “low-carb”trail mix, there are 1,000 pieces of mix. The total number of carbohydrates is 425 g, and the total amount of fat is 570.2 g. If there are 200 more pieces of cashews than cranberries, how many of each item is in the trail mix?

For the “hiking” mix, there are 1,000 pieces in the mix, containing 390.8 g of fat, and 165 g of protein. If there is the same amount of almonds as cashews, how many of each item is in the trail mix?

300 almonds, 400 cranberries, 300 cashews

For the “energy-booster” mix, there are 1,000 pieces in the mix, containing 145 g of protein and 625 g of carbohydrates. If the number of almonds and cashews summed together is equivalent to the amount of cranberries, how many of each item is in the trail mix?

### Review Exercises

#### Systems of Linear Equations: Two Variables

For the following exercises, determine whether the ordered pair is a solution to the system of equations.

$\begin{array}{l}3x-y=4\\ x+4y=-3\,\end{array}$and$\,\left(-1,1\right)$

No

$\begin{array}{l}6x-2y=24\\ -3x+3y=18\,\end{array}$and$\,\left(9,15\right)$

For the following exercises, use substitution to solve the system of equations.

$\begin{array}{l}10x+5y=-5\hfill \\ \,\,\,3x-2y=-12\hfill \end{array}$

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

$\begin{array}{l}\frac{4}{7}x+\frac{1}{5}y=\frac{43}{70}\\ \frac{5}{6}x-\frac{1}{3}y=-\frac{2}{3}\end{array}$

$\begin{array}{l}5x+6y=14\\ 4x+8y=8\end{array}$

$\left(4,-1\right)$

For the following exercises, use addition to solve the system of equations.

$\begin{array}{l}3x+2y=-7\\ 2x+4y=6\end{array}$

$\begin{array}{r}3x+4y=2\\ 9x+12y=3\end{array}$

No solutions exist.

$\begin{array}{l}8x+4y=2\\ 6x-5y=0.7\end{array}$

For the following exercises, write a system of equations to solve each problem. Solve the system of equations.

A factory has a cost of production$\,C\left(x\right)=150x+15\text{,}000\,$and a revenue function$\,R\left(x\right)=200x.\,$What is the break-even point?

$\left(300,60,000\right)$

#### Solving Systems with Cramer’s Rule

For the following exercises, find the determinant.

$|\begin{array}{cc}100& 0\\ 0& 0\end{array}|$

0

$|\begin{array}{cc}0.2& -0.6\\ 0.7& -1.1\end{array}|$

$|\begin{array}{ccc}-1& 4& 3\\ 0& 2& 3\\ 0& 0& -3\end{array}|$

6

$|\begin{array}{ccc}\sqrt{2}& 0& 0\\ 0& \sqrt{2}& 0\\ 0& 0& \sqrt{2}\end{array}|$

For the following exercises, use Cramer’s Rule to solve the linear systems of equations.

$\begin{array}{r}\hfill 4x-2y=23\,\,\,\,\\ \hfill -5x-10y=-35\end{array}$

$\left(6,\frac{1}{2}\right)$

$\begin{array}{l}0.2x-0.1y=0\\ -0.3x+0.3y=2.5\end{array}$

$\begin{array}{r}\hfill -0.5x+0.1y=0.3\,\,\,\\ \hfill -0.25x+0.05y=0.15\end{array}$

(x, 5x + 3)

$\begin{array}{l}x+6y+3z=4\\ 2x+y+2z=3\\ 3x-2y+z=0\end{array}$

$\begin{array}{r}\hfill 4x-3y+5z=-\frac{5}{2}\\ \hfill 7x-9y-3z=\frac{3}{2}\,\,\,\,\\ \hfill x-5y-5z=\frac{5}{2}\,\,\,\,\end{array}$

$\left(0,0,-\frac{1}{2}\right)$

$\begin{array}{r}\frac{3}{10}x-\frac{1}{5}y-\frac{3}{10}z=-\frac{1}{50}\\ \frac{1}{10}x-\frac{1}{10}y-\frac{1}{2}z=-\frac{9}{50}\\ \frac{2}{5}x-\frac{1}{2}y-\frac{3}{5}z=-\frac{1}{5}\end{array}$

### Practice Test

Is the following ordered pair a solution to the system of equations?

$\begin{array}{l}\\ \begin{array}{l}-5x-y=12\,\hfill \\ x+4y=9\hfill \end{array}\end{array}$with$\,\left(-3,3\right)$

Yes

For the following exercises, solve the systems of linear and nonlinear equations using substitution or elimination. Indicate if no solution exists.

$\begin{array}{r}\frac{1}{2}x-\frac{1}{3}y=4\\ \frac{3}{2}x-y=0\end{array}$

$\begin{array}{r}\hfill \begin{array}{l}\\ -\frac{1}{2}x-4y=4\end{array}\\ \hfill 2x+16y=2\end{array}$

No solutions exist.

$\begin{array}{r}\hfill 5x-y=1\,\,\,\,\\ \hfill -10x+2y=-2\end{array}$

$\begin{array}{l}4x-6y-2z=\frac{1}{10}\hfill \\ \,\,\,x-7y+5z=-\frac{1}{4}\hfill \\ 3x+6y-9z=\frac{6}{5}\hfill \end{array}$

$\frac{1}{20}\left(10,5,4\right)$

$\begin{array}{r}x+z=20\\ x+y+z=20\\ x+2y+z=10\end{array}$

$\begin{array}{r}5x-4y-3z=0\\ 2x+y+2z=0\\ x-6y-7z=0\end{array}$

$\left(x,\frac{16x}{5}-\frac{13x}{5}\right)$

$\begin{array}{l}y={x}^{2}+2x-3\\ y=x-1\end{array}$

$\begin{array}{l}{y}^{2}+{x}^{2}=25\\ {y}^{2}-2{x}^{2}=1\end{array}$

$\left(-2\sqrt{2},-\sqrt{17}\right),\left(-2\sqrt{2},\sqrt{17}\right),\left(2\sqrt{2},-\sqrt{17}\right),\left(2\sqrt{2},\sqrt{17}\right)$

For the following exercises, graph the following inequalities.

$y<{x}^{2}+9$

$\begin{array}{l}{x}^{2}+{y}^{2}>4\\ y<{x}^{2}+1\end{array}$

[reveal-answer q=”1380134″]Show Solution[/reveal-answer][hidden-answer a=”1380134″] [/hidden-answer]

For the following exercises, write the partial fraction decomposition.

$\frac{-8x-30}{{x}^{2}+10x+25}$

$\frac{13x+2}{{\left(3x+1\right)}^{2}}$

$\frac{5}{3x+1}-\frac{2x+3}{{\left(3x+1\right)}^{2}}$

$\frac{{x}^{4}-{x}^{3}+2x-1}{x{\left({x}^{2}+1\right)}^{2}}$

For the following exercises, perform the given matrix operations.

$5\left[\begin{array}{cc}4& 9\\ -2& 3\end{array}\right]+\frac{1}{2}\left[\begin{array}{cc}-6& 12\\ 4& -8\end{array}\right]$

$\left[\begin{array}{cc}17& 51\\ -8& 11\end{array}\right]$

$\left[\begin{array}{rrr}\hfill 1& \hfill 4& \hfill -7\\ \hfill -2& \hfill 9& \hfill 5\\ \hfill 12& \hfill 0& \hfill -4\end{array}\right]\text{ }\left[\begin{array}{cc}3& -4\\ 1& 3\\ 5& 10\end{array}\right]$

${\left[\begin{array}{rr}\hfill \frac{1}{2}& \hfill \frac{1}{3}\\ \hfill \frac{1}{4}& \hfill \frac{1}{5}\end{array}\right]}^{-1}$

$\left[\begin{array}{cc}12& -20\\ -15& 30\end{array}\right]$

$\mathrm{det}|\begin{array}{cc}0& 0\\ 400& 4\text{,}000\end{array}|$

$\mathrm{det}|\begin{array}{rrr}\hfill \frac{1}{2}& \hfill -\frac{1}{2}& \hfill 0\\ \hfill -\frac{1}{2}& \hfill 0& \hfill \frac{1}{2}\\ \hfill 0& \hfill \frac{1}{2}& \hfill 0\end{array}|$

$-\frac{1}{8}$

If$\,\mathrm{det}\left(A\right)=-6,\,$ what would be the determinant if you switched rows 1 and 3, multiplied the second row by 12, and took the inverse?

Rewrite the system of linear equations as an augmented matrix.

$\begin{array}{l}14x-2y+13z=140\hfill \\ -2x+3y-6z=-1\hfill \\ x-5y+12z=11\hfill \end{array}$

$\left[\begin{array}{rrr}\hfill 14& \hfill -2& \hfill 13\\ \hfill -2& \hfill 3& \hfill -6\\ \hfill 1& \hfill -5& \hfill 12\end{array}\text{ }|\text{ }\begin{array}{r}\hfill 140\\ \hfill -1\\ \hfill 11\end{array}\right]$

Rewrite the augmented matrix as a system of linear equations.

$\left[\begin{array}{rrr}\hfill 1& \hfill 0& \hfill 3\\ \hfill -2& \hfill 4& \hfill 9\\ \hfill -6& \hfill 1& \hfill 2\end{array}|\begin{array}{r}\hfill 12\\ \hfill -5\\ \hfill 8\end{array}\right]$

For the following exercises, use Gaussian elimination to solve the systems of equations.

$\begin{array}{r}x-6y=4\\ 2x-12y=0\end{array}$

No solutions exist.

$\begin{array}{r}\hfill 2x+y+z=-3\\ \hfill x-2y+3z=6\,\,\,\,\\ \hfill x-y-z=6\,\,\,\,\end{array}$

For the following exercises, use the inverse of a matrix to solve the systems of equations.

$\begin{array}{r}\hfill 4x-5y=-50\\ \hfill -x+2y=80\,\,\,\,\end{array}$

$\left(100,90\right)$

$\begin{array}{r}\hfill \frac{1}{100}x-\frac{3}{100}y+\frac{1}{20}z=-49\\ \hfill \frac{3}{100}x-\frac{7}{100}y-\frac{1}{100}z=13\,\,\,\,\\ \hfill \frac{9}{100}x-\frac{9}{100}y-\frac{9}{100}z=99\,\,\,\,\end{array}$

For the following exercises, use Cramer’s Rule to solve the systems of equations.

$\begin{array}{l}200x-300y=2\\ 400x+715y=4\end{array}$

$\left(\frac{1}{100},0\right)$

$\begin{array}{l}0.1x+0.1y-0.1z=-1.2\\ 0.1x-0.2y+0.4z=-1.2\\ 0.5x-0.3y+0.8z=-5.9\end{array}$

For the following exercises, solve using a system of linear equations.

A factory producing cell phones has the following cost and revenue functions:$\,C\left(x\right)={x}^{2}+75x+2\text{,}688\,$and$\,R\left(x\right)={x}^{2}+160x.\,$What is the range of cell phones they should produce each day so there is profit? Round to the nearest number that generates profit.

32 or more cell phones per day

A small fair charges $1.50 for students,$1 for children, and $2 for adults. In one day, three times as many children as adults attended. A total of 800 tickets were sold for a total revenue of$1,050. How many of each type of ticket was sold?

### Glossary

Cramer’s Rule
a method for solving systems of equations that have the same number of equations as variables using determinants
determinant
a number calculated using the entries of a square matrix that determines such information as whether there is a solution to a system of equations 