Introduction to Determinants
Start your free 7-days trial now!
The ultimate goal of this chapter is to derive the relationship between matrix invertibility and determinant. Unfortunately, we cannot dive straight into their proofs just yet - we will first need to derive a series of basic properties of determinants.
Determinant of a 2x2 matrix
Consider the
The determinant of
The determinant of
Note that there exists a more general definition of determinants that applies to a square matrix of any size. We will cover this later in this guide.
Computing the determinant of a 2x2 matrix (1)
Compute the determinant of the following matrix:
Solution. The determinant of
Later in the chapter, we will go over what it means for
the geometric interpretation behind determinants.
the relationship between determinant and invertibility.
Computing the determinant of a 2x2 matrix (2)
Compute the following determinant:
Solution. The determinant is:
Minor and cofactor of an entry
Suppose
Computing the minor and cofactor
Consider the following matrix:
Compute the minor and cofactor of the green and red entries.
Solution. To compute the minor of the green entry, we first must ignore the row and column (colored in blue below) that holds this entry:
The determinant of the remaining sub-matrix is:
Therefore, the minor of the green entry is
Next, let's find the minor and cofactor of the red entry. We ignore the following values in blue:
The minor of the red entry is the determinant of the sub-matrix:
The cofactor of the red entry is:
Notice how the cofactor of an entry is identical to the minor of that entry except that their sign might be different depending on the position of the entry in the matrix. The following theorem is useful for keeping track of the sign.
Checkerboard pattern of signs
The relationship between the signs of the cofactor and minor of an entry is described by the checkerboard pattern of signs shown below:
For instance, for the entry
Proof. By definitionlink, the cofactor of the entry
Cofactor expansion along a row or column
Suppose we have an
Where
The cofactor expansion along the
Performing the cofactor expansion along a row or column
Consider the following matrix:
Perform the following:
cofactor expansion along the
st row.cofactor expansion along the
st column.cofactor expansion along the
nd row.
Solution. The cofactor expansion along the
Remember our checkerboard pattern of signs - this is why we see a negative for the second term!
The cofactor expansion along the
The cofactor expansion along the
Notice how all of these cofactor expansions result in the same value! As we shall prove at the very end of this chapter, the cofactor expansion along any row or column is equal 🤯!
General definition of determinants
If
Where:
is the entry in the st row -th column of . is the cofactor of the entry .
As we have demonstrated in the previous example, the determinant can actually be computed using cofactor expansion along any row or column. Again, we will prove this later in the chapter!
Computing the determinant of a 3x3 matrix
Compute the determinant of the following matrix:
Solution. The determinant of
Deriving the definition of 2x2 determinant
Suppose we have the following
We have previously stated that the definition of the determinant of this
Let's derive this definition ourselves using the general definition of determinant. The determinant is defined as the cofactor expansion along the first row:
Determinant is equal to the cofactor expansion along the first column
We have originally defined the determinant to be equal to the cofactor expansion along the first row. The determinant is also equal to the co-factor expansion along the first column.
Proof. We will prove this by induction. We first must show that the proposition holds for the
The cofactor expansion along the first row is:
Remember, this is equal to
Therefore, the cofactor expansion along the first row and that along the first column are equal! This means that we can use the cofactor expansion along the first column to compute the determinant as well.
Now, in a typical proof by induction, we will assume that the proposition holds for the
Consider the following
The cofactor expansion along the first row and the cofactor expansion along the first column are:
Our goal is to show the following:
Notice how the first terms in
We express the determinants using the following notation:
Where
Let's start by focusing on
Here,
the
st row and nd column.the
nd row and st column.
Visually, the sub-matrix (the non-colored term) looks like the following:
Notice how if we were to perform cofactor expansion to find the other terms in
Let's now move on to
The same idea holds here - if we were to perform cofactor expansion on the other terms in
This is similar to
Recall that
removing row
and column first.removing row
and column after.
The ordering by which we perform the above removal does not matter. This means that the above sub-matrix
removing row
and column first.removing row
and column after.
This sub-matrix is
Let's now go over some examples to demonstrate
Here's an example for the
Now taking the determinant of both matrices in
Therefore, we can now equate
Remember, the number of times the left-hand side of
It then follows that:
Again, we have managed to prove our proposition for the