Precalculus 2e — Original English

Solving Systems with Cramer's Rule

Learning Objectives

  • Use Cramer’s Rule to solve systems of equations (IA 4.6.3)

Objective 1: Use Cramer’s Rule to solve systems of equations (IA 4.6.3)

Cramer’s Rule uses determinants to solve systems of equations.

Example 1

Use Cramer’s rule to solve the system of equations.

-2x+3y=3x+3y=12

Solution
.
Evaluate the determinant of the system by using the coefficients of the variables D=-2313=-6-3=-9
Evaluate the determinant Dx. Replace the coefficients of the variable x, -2 and 1, by the constants 3 and 12 Dx=33123=9-36=-27
Evaluate the determinant Dy. Replace the coefficients of the variable y, 3 and 3, by the constants 3 and 12 Dy=-23112=-24-3=-27
Find x and y x=DxD=-27-9=3y=DyD=-27-9=3
Write the solution as an ordered pair (3, 3)
Check the solution in the original equations

Practice Makes Perfect

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

3x+8y=-32x+5y=-3

Example 2

Solve the system of equations using Cramer’s Rule: {3x5y+4z=55x+2y+z=02x+3y2z=3.

Solution
Evaluate the determinant D. D has row 1: 3, minus 5, 4. Row 2 is 5, 2, 1. Row 3 is 2, 3, minus 2. Expand by minors using column 1. Column 1 has the signs plus minus plus. D is 3 times first minor minus 5 times second minor plus 2 times third minor where the first minor has row 1: 2, 1 and row 2: 3, minus 2; second minor has row 1: minus 5, 4 and row 2: 3, minus 2; third minor has row 1: minus 5, 4 and row 2: 2, 1. Evaluate the determinants and simplify to get D equal to minus 37. To evaluate the determinant Dx, use the constants to replace the coefficients of x. Expand by minors using column 1. Evaluate and simplify to get Dx equal to minus 74. To evaluate the determinant Dy, use the constants to replace the coefficients of y. Expand by minors using column 2. Evaluate and simplify to get Dy equal to 111. To evaluate the determinant Dz, use the constants to replace the coefficients of z. Expand by minors using column 3. Evaluate and simplify to get Dz equal to 148. Find x, y, z and write the ordered triple 2, minus 3, minus 4. Check.
Evaluate the determinant D. A 3x3 matrix labeled D is shown. The elements of the matrix are: row 1: 3, -5, 4; row 2: 5, 2, 1; row 3: 2, 3, -2. The numbers in the first column (3, 5, 2) are highlighted in red.
Expand by minors using column 1.
Text 'Be careful of the signs.' next to a 3x3 grid of alternating plus and minus symbols, where the starting symbol of each row is red. The image shows the expansion of a 3x3 determinant D, expressed as the sum of three terms. Each term consists of a scalar (3, -5, and 2 respectively) multiplied by a 2x2 sub-determinant.
Evaluate the determinants. A mathematical equation is displayed, starting with 'D ='. The equation is 'D = 3(-4-3) - 5(10-12) + 2(-5-8)'. Some numbers, specifically 3, 5, and 2, are highlighted in red.
Simplify. A mathematical equation is displayed: D = 3(-7) - 5(-2) + 2(-13).
Simplify. A mathematical equation is displayed with the text "D = -21 + 10 - 26" against a white background.
Simplify. A mathematical equation shows "D = -37" on a white background.
Evaluate the determinant Dx. Use the
constants to replace the coefficients of x.
The image shows a 3x3 matrix denoted as D_x. The elements of the matrix are presented in three rows and three columns. The first column of the matrix, consisting of the numbers 5, 0, and 3, is highlighted in red. The second column contains -5, 2, and 3. The third column contains 4, 1, and -2.
Expand by minors using column 1. The image displays the calculation of Dx, likely representing a determinant, using a cofactor expansion along the first row. It shows the expression as Dx = 5 multiplied by the determinant of the 2x2 matrix [[2, 1], [3, -2]], minus 0 multiplied by the determinant of [[-5, 4], [3, -2]], plus 3 multiplied by the determinant of [[-5, 4], [2, 1]]. The coefficients 5, 0, and 3 are highlighted in red.
Evaluate the determinants. A mathematical equation is displayed: Dx = 5(-4-3) - 0(10-12) + 3(-5-8).
Simplify. A mathematical equation is displayed as D_x = 5(-7) - 0 + 3(-13) against a white background.
Simplify. The image displays a mathematical expression written in black text on a plain white background, which reads "Dx = -74".
Evaluate the determinant Dy. Use the
constants to replace the coefficients of y.
A 3x3 matrix, denoted D_y, contains the elements [[3, 5, 4], [5, 0, 1], [2, 3, -2]]. The numbers in the second column (5, 0, 3) are highlighted in red.
The image displays instructions for calculating a determinant by expanding by minors using column 2. It also includes a warning to 'Be careful of the signs'. To aid in this, a 3x3 matrix of signs (+ - +, - + -, + - +) is shown, indicating the pattern of positive and negative signs to apply to the cofactors during the expansion process. An equation for D_y is shown, calculating its value using a sum of three terms. Each term involves a scalar coefficient multiplied by a 2x2 determinant, with coefficients -5, +0, and -3.
Evaluate the determinants. A mathematical equation for Dy, featuring terms involving -5, 0, and -3 multiplied by parenthetical expressions like (-10-2), (-10-12), and (3-20), with some numbers highlighted in red.
Simplify. A mathematical equation is displayed on a white background. It reads: Dy = -5(-12) + 0 - 3(-17).
Simplify. The image displays the mathematical equation Dy = 60 + 0 + 51, showing the calculation of Dy as the sum of three numerical values.
Simplify. A mathematical expression "D subscript y equals 111" is displayed in black text on a plain white background.
Evaluate the determinant Dz. Use the
constants to replace the coefficients of z.
A mathematical notation showing a 3x3 matrix labeled as D subscript z. The matrix contains numerical values: the first column is 3, 5, 2; the second column is -5, 2, 3; and the third column, highlighted in red, is 5, 0, 3.
Instructions to expand by minors using column 3, with a visual reminder of the alternating signs for a 3x3 matrix, highlighting the positive and negative signs in the third column. A mathematical expression calculating the determinant Dz is shown, using the cofactor expansion method. It consists of three terms: 5 times the determinant of [[5,2],[2,3]], minus 0 times the determinant of [[3,-5],[2,3]], plus 3 times the determinant of [[3,-5],[5,2]]. The coefficients 5, 0, and 3 are highlighted in red.
Evaluate the determinants. The equation D_x = 5(15 - 4) - 0(9 - (-10)) + 3(6 - (-25)) is shown.
Simplify. A mathematical equation shows "Dx = 5(11) - 0 + 3(31)" written in black text on a white background, representing a calculation with multiplication, subtraction, and addition.
Simplify. A mathematical equation is displayed on a white background, showing D subscript x equals 55 minus 0 plus 93. The equation includes a variable, an equality sign, numerical values, and arithmetic operations.
Simplify. An image displaying the mathematical equation D subscript x equals 148 against a white background.
Find x, y, and z. Formulas for x, y, and z, defined as ratios Dx/D, Dy/D, and Dz/D, respectively, typically seen in Cramer's Rule for solving linear equations.
Substitute in the values. The image displays three mathematical equations defining x, y, and z as fractions: x = -74/-37, y = 111/-37, and z = 148/-37.
Simplify. The image displays the values of three variables: x = 2, y = -3, and z = -4.
Write the solution as an ordered triple. (2, -3, -4)
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).

Practice Makes Perfect

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

3x+8y+2z=-52x+5y-3z=0x+2y-2z=-1

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.

Example 3

Finding the Determinant of a 2 × 2 Matrix

Find the determinant of the given matrix.

A=[ 5 2 6 3 ]
Solution
det(A)=| 5 2 6 3 | =5(3)(−6)(2) =27

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.

a 1 x+ b 1 y= c 1 ( 1 ) a 2 x+ b 2 y= c 2 ( 2 )

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.

b 2 a 1 x+ b 2 b 1 y= b 2 c 1 Multiply  R 1 by  b 2 b 1 a 2 x b 1 b 2 y= b 1 c 2 Multiply  R 2 by b 1 ________________________________________________________   b 2 a 1 x b 1 a 2 x= b 2 c 1 b 1 c 2

Now, solve for x.

b 2 a 1 x b 1 a 2 x= b 2 c 1 b 1 c 2 x( b 2 a 1 b 1 a 2 )= b 2 c 1 b 1 c 2                       x= b 2 c 1 b 1 c 2 b 2 a 1 b 1 a 2 = | c 1 b 1 c 2 b 2 | | a 1 b 1 a 2 b 2 |

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

a 2 a 1 x+ a 2 b 1 y= a 2 c 1 Multiply  R 1 by  a 2 a 1 a 2 x a 1 b 2 y= a 1 c 2 Multiply  R 2 by a 1 ________________________________________________________ a 2 b 1 y a 1 b 2 y= a 2 c 1 a 1 c 2

Solving for y gives

a 2 b 1 y a 1 b 2 y= a 2 c 1 a 1 c 2 y( a 2 b 1 a 1 b 2 )= a 2 c 1 a 1 c 2                        y= a 2 c 1 a 1 c 2 a 2 b 1 a 1 b 2 = a 1 c 2 a 2 c 1 a 1 b 2 a 2 b 1 = | a 1 c 1 a 2 c 2 | | a 1 b 1 a 2 b 2 |

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= D x D
  • D y : determinant of the numerator in the solution of y
    y= 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.

Example 4

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

Solve the following 2×2 system using Cramer’s Rule.

12x+3y=15  2x3y=13
Solution

Solve for x.

x= D x D = | 15 3 13 3 | | 12 3 2 3 | = 4539 366 = 84 42 =2

Solve for y.

y= D y D = | 12 15 2 13 | | 12 3 2 3 | = 15630 366 = 126 42 =−3

The solution is ( 2,−3 ).

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=[ a 1 b 1 c 1 a 2 b 2 c 2 a 3 b 3 c 3 ]
  1. Augment A with the first two columns.
    det(A)=| a 1 b 1 c 1 a 2 b 2 c 2 a 3 b 3 c 3 | a 1 a 2 a 3 b 1 b 2 b 3 |
  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.
An image illustrating Sarrus' rule for calculating the determinant of a 3x3 matrix, det(A). The elements of the matrix (a_1 to c_3) are shown, along with a repetition of the first two columns to the right. Blue arrows indicate products to be added, and orange arrows indicate products to be subtracted, demonstrating the visual method for applying Sarrus' rule.

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
Example 5

Finding the Determinant of a 3 × 3 Matrix

Find the determinant of the 3 × 3 matrix given

A=[ 0 2 1 3 1 1 4 0 1 ]
Solution

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

| A |=| 0 2 1 3 1 1 4 0 1 | 0 3 4 2 1 0 | =0( 1 )( 1 )+2( 1 )( 4 )+1( 3 )( 0 )4( 1 )( 1 )0( 1 )( 0 )1( 3 )( 2 ) =0+8+0+406 =6

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.

A general representation of a system of three linear equations with three variables (x, y, z), where a_i, b_i, c_i are coefficients and d_i are constants for i=1, 2, 3.
x= D x D ,y= D y D ,z= D z D ,D0

where

Cramer's Rule determinants D, Dx, Dy, and Dz for a 3x3 system of linear equations, highlighting how the 'd' column replaces 'a', 'b', and 'c' columns respectively.

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.

Example 6

Solving a 3 × 3 System Using Cramer’s Rule

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

x+yz=6 3x2y+z=−5 x+3y2z=14
Solution

Use Cramer’s Rule.

D=| 1 1 1 3 2 1 1 3 2 |, D x =| 6 1 1 5 2 1 14 3 2 |, D y =| 1 6 1 3 5 1 1 14 2 |, D z =| 1 1 6 3 2 5 1 3 14 |

Then,

x= D x D = 3 3 =1 y= D y D = 9 3 =3 z= D z D = 6 3 =2

The solution is ( 1,3,−2 ).

Example 7

Using Cramer’s Rule to Solve an Inconsistent System

Solve the system of equations using Cramer’s Rule.

3x2y=4(1) 6x4y=0(2)
Solution

We begin by finding the determinants D, D x ,and  D y .

D=| 3 2 6 4 |=3( 4 )6( 2 )=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 ( 2 ).
6x+4y=−8 6x4y=0 _______________ 0=−8

We obtain the equation 0=−8, which is false. Therefore, the system has no solution. Graphing the system reveals two parallel lines. See Figure 1.

Two parallel lines are graphed on an xy-plane. The blue line represents y = (3/2)x and passes through the origin. The orange line represents y = (3/2)x - 2, with a y-intercept of -2.
Figure 1
Example 8

Use Cramer’s Rule to Solve a Dependent System

Solve the system with an infinite number of solutions.

x2y+3z=0 (1) 3x+y2z=0 (2) 2x4y+6z=0 (3)
Solution

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

| 1 −2 3 3 1 −2 2 −4 6   |    1 −2 3 1 2 −4 |

Then,

1( 1 )( 6 )+( 2 )( 2 )( 2 )+3( 3 )( 4 )2( 1 )( 3 )( 4 )( 2 )( 1 )6( 3 )( 2 )=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):
    2x+4y6z=0 2x4y+6z=0 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 2.
A blue and a green strip overlap to form an X-shape. Three linear equations are presented: x - 2y + 3z = 0 and 2x - 4y + 6z = 0 are in blue text, while 3x + y + 2z = 0 is in green text. The two blue equations are equivalent, defining a single plane associated with the blue strip. The green equation defines a second, distinct plane associated with the green strip. The intersection of these two planes is represented by the overlapping region of the strips, and a horizontal double-headed arrow spans a portion of this intersection.
Figure 2

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.

Example 9

Illustrating Properties of Determinants

Illustrate each of the properties of determinants.

Solution

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=[ 1 2 3 0 2 1 0 0 1 ]

Augment A with the first two columns.

A=[ 1 2 3 0 2 1 0 0 1 | 1 0 0 2 2 0 ]

Then

det(A)=1(2)(−1)+2(1)(0)+3(0)(0)0(2)(3)0(1)(1)+1(0)(2) =−2

Property 2 states that interchanging rows changes the sign. Given

A=[ −1 5 4 −3 ],det(A)=(−1)(−3)(4)(5)=320=−17 B=[ 4 3 1 5 ],det(B)=(4)(5)(−1)(−3)=203=17

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

A=[ 1 2 2 2 2 2 −1 2 2  |   1 2 −1   2 2 2 ] det(A)=1(2)(2)+2(2)(−1)+2(2)(2)+1(2)(2)2(2)(1)2(2)(2) =44+8+448=0

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

A=[ 1 2 0 0 ],det(A)=1( 0 )2( 0 )=0

Property 5 states that the determinant of an inverse matrix A 1 is the reciprocal of the determinant A. Thus,

A=[ 1 2 3 4 ],det( A )=1( 4 )3( 2 )=−2 A 1 =[ 2 1 3 2 1 2 ],det( A 1 )=2( 1 2 )( 3 2 )( 1 )= 1 2

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,

A=[ 1 2 3 4 ],det( A )=1( 4 )2( 3 )=−2 B=[ 2( 1 ) 2( 2 ) 3 4 ],det( B )=2( 4 )3( 4 )=−4
Example 10

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

Find the solution to the given 3 × 3 system.

2x+4y+4z=2 (1) 3x+7y+7z=−5 (2)  x+2y+2z=4 (3)
Solution

Using Cramer’s Rule, we have

D=| 2 4 4 3 7 7 1 2 2 |

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).
    2x4y4x=8   2x+4y+4z=2 0=6

Obtaining a statement that is a contradiction means that the system has no solution.

Key Concepts

  • The determinant for [ a b c d ] is adbc. See Example 3.
  • Cramer’s Rule replaces a variable column with the constant column. Solutions are x= D x D ,y= D y D . See Example 4.
  • 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 Example 5.
  • 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= D x D ,y= D y D ,z= D z D . See Example 6.
  • Cramer’s Rule is also useful for finding the solution of a system of equations with no solution or infinite solutions. See Example 7 and Example 8.
  • 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 Example 9 and Example 10.

Section Exercises

Verbal

Exercise 1

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

Solution

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.

Exercise 2

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.

Exercise 3

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

Solution

The inverse does not exist.

Exercise 4

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.

Exercise 5

| 1 2 3 4 |

Solution

2

Exercise 6

| 1 2 3 4 |

Exercise 7

| 2 5 1 6 |

Solution

7

Exercise 8

| 8 4 1 5 |

Exercise 9

| 1 0 3 4 |

Solution

4

Exercise 10

| 10 20 0 10 |

Exercise 11

| 10 0.2 5 0.1 |

Solution

0

Exercise 12

| 6 3 8 4 |

Exercise 13

| 2 3 3.1 4,000 |

Solution

7,990.7

Exercise 14

| 1.1 0.6 7.2 0.5 |

Exercise 15

| 1 0 0 0 1 0 0 0 3 |

Solution

3

Exercise 16

| 1 4 0 0 2 3 0 0 3 |

Exercise 17

| 1 0 1 0 1 0 1 0 0 |

Solution

1

Exercise 18

| 2 3 1 3 4 1 5 6 1 |

Exercise 19

| 2 1 4 4 2 8 2 8 3 |

Solution

224

Exercise 20

| 6 1 2 4 3 5 1 9 1 |

Exercise 21

| 5 1 1 2 3 1 3 6 3 |

Solution

15

Exercise 22

| 1.1 2 1 4 0 0 4.1 0.4 2.5 |

Exercise 23

| 2 1.6 3.1 1.1 3 8 9.3 0 2 |

Solution

17.03

Exercise 24

| 1 2 1 3 1 4 1 5 1 6 1 7 0 0 1 8 |

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

Exercise 25

2x3y=−1 4x+5y=9

Solution

( 1,1 )

Exercise 26

5x4y=2 4x+7y=6

Exercise 27

6x3y=2 8x+9y=−1

Solution

( 1 2 , 1 3 )

Exercise 28

2x+6y=12 5x2y=13

Exercise 29

4x+3y=23 2xy=−1

Solution

( 2,5 )

Exercise 30

10x6y=2 5x+8y=−1

Exercise 31

4x3y=−3 2x+6y=−4

Solution

( 1, 1 3 )

Exercise 32

4x5y=7 3x+9y=0

Exercise 33

4x+10y=180 3x5y=−105

Solution

( 15,12 )

Exercise 34

8x2y=−3 4x+6y=4

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

Exercise 35

x+2y4z=1 7x+3y+5z=26 2x6y+7z=6

Solution

( 1,3,2 )

Exercise 36

5x+2y4z=47 4x3yz=94 3x3y+2z=94

Exercise 37

4x+5yz=−7 −2x9y+2z=8 5y+7z=21

Solution

( 1,0,3 )

Exercise 38

4x3y+4z=10 5x2z=2 3x+2y5z=9

Exercise 39

4x2y+3z=6 6x+y=2 2x+7y+8z=24

Solution

( 1 2 ,1,2 )

Exercise 40

5x+2yz=1 7x8y+3z=1.5 6x12y+z=7

Exercise 41

13x17y+16z=73 11x+15y+17z=61 46x+10y30z=18

Solution

( 2,1,4 )

Exercise 42

4x3y8z=7 2x9y+5z=0.5 5x6y5z=2

Exercise 43

4x6y+8z=10 2x+3y4z=5 x+y+z=1

Solution

Infinite solutions

Exercise 44

4x6y+8z=10 2x+3y4z=5 12x+18y24z=30

Technology

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

Exercise 45

| 1 0 8 9 0 2 1 0 1 0 3 0 0 2 4 3 |

Solution

24

Exercise 46

| 1 0 2 1 0 −9 1 3 3 0 −2 −1 0 1 1 −2 |

Exercise 47

| 1 2 1 7 4 0 1 2 100 5 0 0 2 2,000 0 0 0 2 |

Solution

1

Exercise 48

| 1 0 0 0 2 3 0 0 4 5 6 0 7 8 9 0 |

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.

Exercise 49

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

Solution

Yes; 18, 38

Exercise 50

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

Exercise 51

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.

Solution

Yes; 33, 36, 37

Exercise 52

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.

Exercise 53

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?

Solution

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

Exercise 54

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?

Exercise 55

A 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?

Solution

120 children, 1,080 adult

Exercise 56

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?

Exercise 57

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?

Solution

4 gal yellow, 6 gal blue

Exercise 58

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?

Exercise 59

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?

Solution

13 green tomatoes, 17 red tomatoes

Exercise 60

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?

Exercise 61

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.

Solution

Strawberries 18%, oranges 9%, kiwi 10%

Exercise 62

Three artists performed at a concert venue. The first one charged $15 per ticket, the second artist charged $45 per ticket, and the final one 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?

Exercise 63

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?

Solution

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

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 Table 1.

Table 1 ..
Fat (g) Protein (g) Carbohydrates (g)
Almonds (10) 6 2 3
Cranberries (10) 0.02 0 8
Cashews (10) 7 3.5 5.5
Exercise 64

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?

Exercise 65

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?

Solution

300 almonds, 400 cranberries, 300 cashews

Exercise 66

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.

3xy=4 x+4y=3 and (1,1)

Solution

No

6x2y=24 3x+3y=18 and (9,15)

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

10x+5y=−5 3x2y=−12

Solution

( 2,3 )

4 7 x+ 1 5 y= 43 70 5 6 x 1 3 y= 2 3

5x+6y=14 4x+8y=8

Solution

( 4,1 )

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

3x+2y=−7 2x+4y=6

3x+4y=2 9x+12y=3

Solution

No solutions exist.

8x+4y=2 6x5y=0.7

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(x)=150x+15,000 and a revenue function R(x)=200x. What is the break-even point?

Solution

(300,60,000)

A performer charges C(x)=50x+10,000, where x is the total number of attendees at a show. The venue charges $75 per ticket. After how many people buy tickets does the venue break even, and what is the value of the total tickets sold at that point?

Systems of Linear Equations: Three Variables

For the following exercises, solve the system of three equations using substitution or addition.

0.5x0.5y=10 0.2y+0.2x=4 0.1x+0.1z=2

Solution

Infinite solutions

5x+3yz=5 3x2y+4z=13 4x+3y+5z=22

x+y+z=1 2x+2y+2z=1 3x+3y=2

Solution

No solutions exist.

2x3y+z=−1 x+y+z=−4 4x+2y3z=33

3x+2yz=−10 xy+2z=7 x+3y+z=−2

Solution

( 1,2,3 )

3x+4z=−11 x2y=5 4yz=−10

2x3y+z=0 2x+4y3z=0 6x2yz=0

Solution

( x, 8x 5 , 14x 5 )

6x4y2z=2 3x+2y5z=4 6y7z=5

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

Three odd numbers sum up to 61. The smaller is one-third the larger and the middle number is 16 less than the larger. What are the three numbers?

Solution

11, 17, 33

A local theatre sells out for their show. They sell all 500 tickets for a total purse of $8,070.00. The tickets were priced at $15 for students, $12 for children, and $18 for adults. If the band sold three times as many adult tickets as children’s tickets, how many of each type was sold?

Systems of Nonlinear Equations and Inequalities: Two Variables

For the following exercises, solve the system of nonlinear equations.

y= x 2 7 y=5x13

Solution

( 2,3 ),( 3,2 )

y= x 2 4 y=5x+10

x 2 + y 2 =16 y=x8

Solution

No solution

x 2 + y 2 =25 y= x 2 +5

x 2 + y 2 =4 y x 2 =3

Solution

No solution

For the following exercises, graph the inequality.

y> x 2 1

1 4 x 2 + y 2 <4

Solution
A coordinate plane with x and y axes ranging from -5 to 5. A light blue shaded ellipse is shown, centered at the origin (0,0). The ellipse has a dashed dark blue boundary. It extends horizontally from x = -4 to x = 4, and vertically from y = -2 to y = 2.

For the following exercises, graph the system of inequalities.

x 2 + y 2 +2x<3 y> x 2 3

x 2 2x+ y 2 4x<4 y<x+4

Solution
A two-dimensional graph displays an x-axis and a y-axis. A light blue shaded region is enclosed by two dashed lines. One boundary is a straight line segment connecting the points (1, 3) and (4, 0). The other boundary is a continuous curve that starts at (0, 3), passes through approximately (-0.5, 0) and (0, -1), and ends at (6, -2). The region extends across all four quadrants.

x 2 + y 2 <1 y 2 <x

Partial Fractions

For the following exercises, decompose into partial fractions.

2x+6 x 2 +3x+2

Solution

2 x+2 , 4 x+1

10x+2 4 x 2 +4x+1

7x+20 x 2 +10x+25

Solution

7 x+5 , 15 (x+5) 2

x18 x 2 12x+36

x 2 +36x+70 x 3 125

Solution

3 x5 , 4x+1 x 2 +5x+25

5 x 2 +6x2 x 3 +27

x 3 4 x 2 +3x+11 ( x 2 2) 2

Solution

x4 ( x 2 2) , 5x+3 ( x 2 2) 2

4 x 4 2 x 3 +22 x 2 6x+48 x ( x 2 +4) 2

Matrices and Matrix Operations

For the following exercises, perform the requested operations on the given matrices.

A=[ 4 2 1 3 ],B=[ 6 7 3 11 2 4 ],C=[ 6 7 11 2 14 0 ],D=[ 1 4 9 10 5 7 2 8 5 ],E=[ 7 14 3 2 1 3 0 1 9 ]

4A

Solution

[ 16 8 4 12 ]

10D6E

B+C

Solution

undefined; dimensions do not match

AB

BA

Solution

undefined; inner dimensions do not match

BC

CB

Solution

[ 113 28 10 44 81 41 84 98 42 ]

DE

ED

Solution

[ 127 74 176 2 11 40 28 77 38 ]

EC

CE

Solution

undefined; inner dimensions do not match

A 3

Solving Systems with Gaussian Elimination

For the following exercises, write the system of linear equations from the augmented matrix. Indicate whether there will be a unique solution.

[ 1 0 −3 0 1 2 0 0 0 | 7 −5 0 ]

Solution

x3z=7 y+2z=5 with infinite solutions

[ 1 0 5 0 1 −2 0 0 0 | −9 4 3 ]

For the following exercises, write the augmented matrix from the system of linear equations.

2x+2y+z=7 2x8y+5z=0 19x10y+22z=3

Solution

[ 2 2 1 2 8 5 19 10 22 | 7 0 3 ]

4x+2y3z=14 12x+3y+z=100 9x6y+2z=31

x+3z=12 x+4y=0 y+2z=7

Solution

[ 1 0 3 −1 4 0 0 1 2 | 12 0 −7 ]

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

3x4y=7 6x+8y=14

3x4y=1 6x+8y=6

Solution

No solutions exist.

1.1x2.3y=6.2 5.2x4.1y=4.3

2x+3y+2z=1 4x6y4z=2 10x+15y+10z=0

Solution

No solutions exist.

x+2y4z=8 3y+8z=4 7x+y+2z=1

Solving Systems with Inverses

For the following exercises, find the inverse of the matrix.

[ 0.2 1.4 1.2 0.4 ]

Solution

1 8 [ 2 7 6 1 ]

[ 1 2 1 2 1 4 3 4 ]

[ 12 9 6 1 3 2 4 3 2 ]

Solution

No inverse exists.

[ 2 1 3 1 2 3 3 2 1 ]

For the following exercises, find the solutions by computing the inverse of the matrix.

0.3x0.1y=10 0.1x+0.3y=14

Solution

( 20,40 )

0.4x0.2y=0.6 0.1x+0.05y=0.3

4x+3y3z=4.3 5x4yz=6.1 x+z=0.7

Solution

( 1,0.2,0.3 )

2x3y+2z=3 x+2y+4z=5 2y+5z=3

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

Students were asked to bring their favorite fruit to class. 90% of the fruits consisted of banana, apple, and oranges. If oranges were half as popular as bananas and apples were 5% more popular than bananas, what are the percentages of each individual fruit?

Solution

17% oranges, 34% bananas, 39% apples

A school club held a bake sale to raise money and sold brownies and chocolate chip cookies. They priced the brownies at $2 and the chocolate chip cookies at $1. They raised $250 and sold 175 items. How many brownies and how many cookies were sold?

Solving Systems with Cramer's Rule

For the following exercises, find the determinant.

| 100 0 0 0 |

Solution

0

| 0.2 0.6 0.7 1.1 |

| 1 4 3 0 2 3 0 0 3 |

Solution

6

| 2 0 0 0 2 0 0 0 2 |

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

4x2y=23 5x10y=35

Solution

( 6, 1 2 )

0.2x0.1y=0 0.3x+0.3y=2.5

0.5x+0.1y=0.3 0.25x+0.05y=0.15

Solution

(x, 5x + 3)

x+6y+3z=4 2x+y+2z=3 3x2y+z=0

4x3y+5z= 5 2 7x9y3z= 3 2 x5y5z= 5 2

Solution

( 0,0, 1 2 )

3 10 x 1 5 y 3 10 z= 1 50 1 10 x 1 10 y 1 2 z= 9 50 2 5 x 1 2 y 3 5 z= 1 5

Practice Test

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

5xy=12 x+4y=9 with (3,3)

Solution

Yes

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

1 2 x 1 3 y=4 3 2 xy=0

1 2 x4y=4 2x+16y=2

Solution

No solutions exist.

5xy=1 10x+2y=2

4x6y2z= 1 10 x7y+5z= 1 4 3x+6y9z= 6 5

Solution

1 20 ( 10,5,4 )

x+z=20 x+y+z=20 x+2y+z=10

5x4y3z=0 2x+y+2z=0 x6y7z=0

Solution

( x, 16x 5 13x 5 )

y= x 2 +2x3 y=x1

y 2 + x 2 =25 y 2 2 x 2 =1

Solution

(2 2 , 17 ),( 2 2 , 17 ),( 2 2 , 17 ),( 2 2 , 17 )

For the following exercises, graph the following inequalities.

y< x 2 +9

x 2 + y 2 >4 y< x 2 +1

Solution
This graph displays a coordinate plane with x and y axes ranging from -4 to 4. A light blue shaded region represents the solution set. This region is defined as being outside a dashed circle centered at the origin (0,0) with a radius of 2 units. The circle passes through points (2,0), (0,2), (-2,0), and (0,-2). The shaded region is also above a dashed parabola that opens upwards, with its vertex at the point (0,1). The parabola appears to pass through approximately (-1, 2) and (1, 2).

For the following exercises, write the partial fraction decomposition.

8x30 x 2 +10x+25

13x+2 (3x+1) 2

Solution

5 3x+1 2x+3 (3x+1) 2

x 4 x 3 +2x1 x ( x 2 +1) 2

For the following exercises, perform the given matrix operations.

5[ 4 9 2 3 ]+ 1 2 [ 6 12 4 8 ]

Solution

[ 17 51 8 11 ]

[ 1 4 7 2 9 5 12 0 4 ][ 3 4 1 3 5 10 ]

[ 1 2 1 3 1 4 1 5 ] 1

Solution

[ 12 20 15 30 ]

det| 0 0 400 4,000 |

det| 1 2 1 2 0 1 2 0 1 2 0 1 2 0 |

Solution

1 8

If det(A)=−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.

14x2y+13z=140 2x+3y6z=1 x5y+12z=11
Solution

[ 14 2 13 2 3 6 1 5 12 | 140 1 11 ]

Rewrite the augmented matrix as a system of linear equations.

[ 1 0 3 2 4 9 6 1 2 | 12 5 8 ]

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

x6y=4 2x12y=0

Solution

No solutions exist.

2x+y+z=3 x2y+3z=6 xyz=6

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

4x5y=50 x+2y=80

Solution

( 100,90 )

1 100 x 3 100 y+ 1 20 z=49 3 100 x 7 100 y 1 100 z=13 9 100 x 9 100 y 9 100 z=99

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

200x300y=2 400x+715y=4

Solution

( 1 100 ,0 )

0.1x+0.1y0.1z=1.2 0.1x0.2y+0.4z=1.2 0.5x0.3y+0.8z=5.9

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

A factory producing cell phones has the following cost and revenue functions: C(x)= x 2 +75x+2,688 and R(x)= 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.

Solution

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?

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