Section 5.2 Computing Determinants (GT2)
Learning Outcomes
Compute the determinant of a \(4\times 4\) matrix.
Subsection 5.2.1 Class Activities
Remark 5.2.1.
We've seen that row reducing all the way into RREF gives us a method of computing determinants.
However, we learned in Chapter 1 that this can be tedious for large matrices. Thus, we will try to figure out how to turn the determinant of a larger matrix into the determinant of a smaller matrix.
Activity 5.2.2.
The following image illustrates the transformation of the unit cube by the matrix \(\left[\begin{array}{ccc} 1 & 1 & 0 \\ 1 & 3 & 1 \\ 0 & 0 & 1\end{array}\right]\text{.}\)
Recall that for this solid \(V=Bh\text{,}\) where \(h\) is the height of the solid and \(B\) is the area of its parallelogram base. So what must its volume be?
\(\displaystyle \det \left[\begin{array}{cc} 1 & 1 \\ 1 & 3 \end{array}\right]\)
\(\displaystyle \det \left[\begin{array}{cc} 1 & 0 \\ 3 & 1 \end{array}\right]\)
\(\displaystyle \det \left[\begin{array}{cc} 1 & 1 \\ 0 & 1 \end{array}\right]\)
\(\displaystyle \det \left[\begin{array}{cc} 1 & 3 \\ 0 & 0 \end{array}\right]\)
Fact 5.2.3.
If row \(i\) contains all zeros except for a \(1\) on the main (upper-left to lower-right) diagonal, then both column and row \(i\) may be removed without changing the value of the determinant.
Since row and column operations affect the determinants in the same way, the same technique works for a column of all zeros except for a \(1\) on the main diagonal.
Activity 5.2.4.
Remove an appropriate row and column of \(\det \left[\begin{array}{ccc} 1 & 0 & 0 \\ 1 & 5 & 12 \\ 3 & 2 & -1 \end{array}\right]\) to simplify the determinant to a \(2\times 2\) determinant.
Activity 5.2.5.
Simplify \(\det \left[\begin{array}{ccc} 0 & 3 & -2 \\ 2 & 5 & 12 \\ 0 & 2 & -1 \end{array}\right]\) to a multiple of a \(2\times 2\) determinant by first doing the following:
(a)
Factor out a \(2\) from a column.
(b)
Swap rows or columns to put a \(1\) on the main diagonal.
Activity 5.2.6.
Simplify \(\det \left[\begin{array}{ccc} 4 & -2 & 2 \\ 3 & 1 & 4 \\ 1 & -1 & 3\end{array}\right]\) to a multiple of a \(2\times 2\) determinant by first doing the following:
(a)
Use row/column operations to create two zeroes in the same row or column.
(b)
Factor/swap as needed to get a row/column of all zeroes except a \(1\) on the main diagonal.
Observation 5.2.7.
Using row/column operations, you can introduce zeros and reduce dimension to whittle down the determinant of a large matrix to a determinant of a smaller matrix.
Activity 5.2.8.
Rewrite
as a multiple of a determinant of a \(3\times3\) matrix.
Activity 5.2.9.
Compute \(\det\left[\begin{array}{cccc} 2 & 3 & 5 & 0 \\ 0 & 3 & 2 & 0 \\ 1 & 2 & 0 & 3 \\ -1 & -1 & 2 & 2 \end{array}\right]\) by using any combination of row/column operations.
Observation 5.2.10.
Another option is to take advantage of the fact that the determinant is linear in each row or column. This approach is called Laplace expansion or cofactor expansion.
For example, since \(\color{blue}{ \left[\begin{array}{ccc} 1 & 2 & 4 \end{array}\right] = 1\left[\begin{array}{ccc} 1 & 0 & 0 \end{array}\right] + 2\left[\begin{array}{ccc} 0 & 1 & 0 \end{array}\right] + 4\left[\begin{array}{ccc} 0 & 0 & 1 \end{array}\right]} \text{,}\)
Observation 5.2.11.
Applying Laplace expansion to a \(2 \times 2\) matrix yields a short formula you may have seen:
There are formulas for the determinants of larger matrices, but they can be pretty tedious to use. For example, writing out a formula for a \(4\times 4\) determinant would require 24 different terms!
So this is why we either use Laplace expansion or row/column operations directly.
Activity 5.2.12.
Based on the previous activities, which technique is easier for computing determinants?
Memorizing formulas.
Using row/column operations.
Laplace expansion.
Some other technique (be prepared to describe it).
Activity 5.2.13.
Use your preferred technique to compute \(\det\left[\begin{array}{cccc} 4 & -3 & 0 & 0 \\ 1 & -3 & 2 & -1 \\ 3 & 2 & 0 & 3 \\ 0 & -3 & 2 & -2 \end{array}\right] \text{.}\)
Insight 5.2.14.
You can check your answer using Octave.Subsection 5.2.2 Videos
Subsection 5.2.3 Slideshow
Slideshow of activities available at https://teambasedinquirylearning.github.io/linear-algebra/2022/GT2.slides.html
.
Exercises 5.2.4 Exercises
Exercises available at https://teambasedinquirylearning.github.io/linear-algebra/2022/exercises/#/bank/GT2/
.
Subsection 5.2.5 Mathematical Writing Explorations
Exploration 5.2.15.
Prove that the equation of a line in the plane, through points \((x_1,y_1), (x_2,y_2)\text{,}\) when \(x_1 \neq x_2\) is given by the equation \(\mbox{det}\left(\begin{array}{ccc}x&y&1\\x_1&y_1&1\\x_2&y_2&1\end{array}\right) = 0.\)Exploration 5.2.16.
Prove that the determinant of any diagonal matrix, upper triangular matrix, or lower triangular matrix, is the product of it's diagonal entries.Exploration 5.2.17.
Show that, if an \(n \times n\) matrix \(M\) has a non-zero determinant, then any \(\vec{v} \in \mathbb{R}^n\) can be represented as a linear combination of the columns of \(M\text{.}\)Exploration 5.2.18.
What is the smallest number of zeros necessary to place in a \(4 \times 4\) matrix, and the placement of those zeros, such that the matrix has a zero determinant?Subsection 5.2.6 Sample Problem and Solution
Sample problem Example B.1.22.