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.
- Augment [latex]A[/latex] with the first two columns.
[latex]\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}|[/latex]
- 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.
- 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:
Example 3: Finding the Determinant of a 3 × 3 Matrix
Find the determinant of the 3 × 3 matrix given
Solution
Augment the matrix with the first two columns and then follow the formula. Thus,
Try It 2
Find the determinant of the 3 × 3 matrix.
Q & A
Can we use the same method to find the determinant of a larger matrix?
No, this method only works for [latex]2\text{ }\times \text{ }2[/latex] and [latex]\text{3}\text{ }\times \text{ }3[/latex] 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.
where
If we are writing the determinant [latex]{D}_{x}[/latex], we replace the [latex]x[/latex] column with the constant column. If we are writing the determinant [latex]{D}_{y}[/latex], we replace the [latex]y[/latex] column with the constant column. If we are writing the determinant [latex]{D}_{z}[/latex], we replace the [latex]z[/latex] column with the constant column. Always check the answer.
Example 4: Solving a 3 × 3 System Using Cramer’s Rule
Find the solution to the given 3 × 3 system using Cramer’s Rule.
Solution
Use Cramer’s Rule.
Then,
The solution is [latex]\left(1,3,-2\right)[/latex].
Try It 3
Use Cramer’s Rule to solve the 3 × 3 matrix.
Example 5: Using Cramer’s Rule to Solve an Inconsistent System
Solve the system of equations using Cramer’s Rule.
Solution
We begin by finding the determinants [latex]D,{D}_{x},\text{and }{D}_{y}[/latex].
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.
- Multiply equation (1) by [latex]-2[/latex].
- Add the result to equation [latex]\left(2\right)[/latex].
We obtain the equation [latex]0=-8[/latex], which is false. Therefore, the system has no solution. Graphing the system reveals two parallel lines.
Example 6: Use Cramer’s Rule to Solve a Dependent System
Solve the system with an infinite number of solutions.
Solution
Let’s find the determinant first. Set up a matrix augmented by the first two columns.
Then,
As the determinant equals zero, there is either no solution or an infinite number of solutions. We have to perform elimination to find out.
- Multiply equation (1) by [latex]-2[/latex] and add the result to equation (3):
[latex]\frac{\begin{array}{r}\hfill -2x+4y - 6x=0\\ \hfill 2x - 4y+6z=0\end{array}}{0=0}[/latex]
- Obtaining an answer of [latex]0=0[/latex], 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.
Candela Citations
- Precalculus. Authored by: OpenStax College. Provided by: OpenStax. Located at: http://cnx.org/contents/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1/Preface. License: CC BY: Attribution