Systems of Three Equations
Solving using Matrices and Cramer's Rule
There is another way to solve systems of equations with three variables. It involves a quantity called the determinant.
matrix has a unique determinant. The determinant is
a single number. To find the determinant of a
multiply the numbers on the downward diagonal and subtract the product
of the numbers on the upward diagonal:
detA = a 1 b 2 - a 2 b 1 .
|det = 4(6) - (- 1)(- 2) = 24 - 2 = 22|
To find the determinant of a 3×3 matrix, copy the first two columns of the matrix to the right of the original matrix. Next, multiply the numbers on the three downward diagonals, and add these products together. Multiply the numbers on the upward diagonals, and add these products together. Then subtract the sum of the products of the upward diagonals from the sum of the product of the downward diagonals (subtract the second number from the first number):
Example: Find the determinant of:
10 - 80 = -70. detA = - 70 .
Recall the general 3×4 matrix used to solve systems of three equations:
This matrix will be used to solve systems by Cramer's Rule. We divide it into four separate 3×3 matrices:
|D x =|
|D y =|
|D z =|
D is the 3×3 coefficient matrix, and D x , D y , and D z are each the result of substituting the constant column for one of the coefficient columns in D .
Cramer's Rule states that:
x =Thus, to solve a system of three equations with three variables using Cramer's Rule,
- Arrange the system in the following form:
a 1 x + b 1 y + c 1 z = d 1
a 2 x + b 2 y + c 2 z = d 2
a 3 x + b 3 y + c 3 z = d 3
- Create D , D x , D y , and D z .
- Find detD , detD x , detD y , and detD z .
- x = , y = , and z = .
Example:Solve the following system:
8x + 10z = 7y + 15
2x + 3y + 8z = 7
5y + 9 = 4x + 2z
- Rearrange the system:
8x - 7y + 10z = 15
2x + 3y + 8z = 7
-4x + 5y - 2z = - 9
- Create the matrices:
D x =
D y =
D z =
- Find the determinants:
detD = (- 48 + 224 + 100) - (- 120 + 320 + 28) = 276 - 228 = 48
detD x = (- 90 + 504 + 350) - (- 270 + 600 + 98) = 764 - 428 = 336
detD y = (- 112 - 480 - 180) - (- 280 - 576 - 60) = - 772 - (- 916) = 144
detD z = (- 216 + 196 + 150) - (- 180 + 280 + 126) = 130 - 226 = - 96
- x = = 7 . y = = 3 . z = = - 2 .