Notation:
denote the unit vectors of the plane: , they form the unit square with area .
Properties of the determinant.
Properties 4-10 are derived from the first three.
1)
2) Exchanging two rows or columns changes the sign of the determinant
3a) … multiplying a row by a scalar is the same as multiplying the entire determinant by that scalar.
3b) … determinants are linear: adding elements in a row is the same as adding the determinants. Note: )
4) Two equal rows →
5) Subtracting a multiple of one row from another does not change the determinant.
6) Row of zeros →
7) … the determinant of a triangular matrix is the product of its pivots.
8) when is singular (not invertible).
9)
10)
From 1) and 2): The determinant of every permutation matrix (permutation of the identity matrix) is either or , depending on whether the number of permutations is even or odd.
From rule 3a) we can see how the determinant behaves like volume: .
We can easily prove 4): Exchange two equal rows → sign changes, but the matrix is still the same, so the determinant must be zero (and confirmed by the fact that the rank of the matrix is less than ).
Proof for 5):
Proof for 6):
Proof for 7): We can simply eliminate the stars by multiplying the rows with the corresponding . This leavues us with a diagonal matrix. By rule 3a) we can pull out the from the determinant, leaving us with the product of the pivots times the , which is .
Proof for 8): The determinant is zero if one of the is zero, which means we can construct a row of zeros → not linearly independent.
→ So the algorithm for finding the determinant, when is invertible is .
For a matrix:
How can we calculate ? With the help of 9), easy to see when thinking about diagonal matrices:
There is nothing special about “row1”, because we can exchange rows (rule 2) and there is nothing special about rows in general, because we can exchange rows for columns (rule 10).
The proof for 10) is also about bringing the matrices into triangular forms.
Intuition
The absolute value of the determinant is the Area/Volume/… in /… etc.
It is easiest to grasp the changes of a matrix multiplied with another matrix / set of vectors does, by visualizing how it transforms the unit vectors of of the vectorspace.
The matrix multiplies by 2 and by 3, scaling the area of the unit square by :
A shear matrix like tilts the coordinate system and the unit square into a paralellogram.
For this particular , the Area of the resulting parallelogram will stay the same
():
The determinant tells us how every area on the entire space changes in size.
The elements of the transformation matrix tell us about the shape. As we are dealing with linear transformations, the grid lines always remain parallel and evenly spaced.
If , then the transformation changes the space in a way that it collapses to a lower dimension (for the case of it may be a plane, line or point: anything with 0 volume).
If the determinant is zero, the matrix is not invertible.
Negative elements mean that the positions of and have been switched.
for example puts to the left and multiplies it by two. The resulting determinant/area will be :
Computation
For matrices:
Intuition:
scales , scales . Multiplying them gives the area of the bigger / smaller rectangle.
If or is , we have a parallelogram, still with area . (If only or changes in general, the paralellogram gets more / less stretched out, but area stays .
See: Parallelogram example
Non square matrices don’t have a determinant
Rule of Sarrus
May be used for matrices up to :
Bigger than 3x3 matrices
Honestly why are you not using computers?
Laplace / cofactor expansion
This is a recursive method, simple to do by hand for small matrices but inefficient for larger matrices:
Transclude of Minor-(of-a-matrix)#^definition
For example:
First choose a row (), preferrably one with many being zero. in this case.
Create minor matrices by crossing out row and columns :
Transclude of Minor-(of-a-matrix)#^example
Multiply the determinant of each minor by the corresponding element of the original matrix :
Now we see the benefit of choosing the row with the most zeros.
Should there be more zeros in a col rather than a row, you can simply flip for (make the chosen col static and loop over the rows).
If you have bigger than matrices, apply the process recursively, i.e. split the matrices until you get to matrices.
is called the cofactor.
Elimination
We can use Gaussian Elimination to obtain an upper triangular matrix. The product of its pivots (elements on the main diagonal) is the determinant.
If you interchange (swap positions) of two rows, you need to multiply the resulting determinant by .
So for an even number of swaps, the sign stays the same.
Example computations
squished rectangle / parallelogram:
→ Area stays the same.
→ The unit vectors of the original vector space form the identity matrix.
→ The new unit vectors equal the columns of the transformation matrix:
References
3b1b: The determinant | Chapter 6, Essence of linear algebra
18. Properties of Determinant (Gilbert)