The determinant of a square matrix quantifies how the matrix scales volume in a geometric transformation. Given a square matrix A∈R2×2, its determinant is given by det([acbd])=ad−bc.
A matrix with linearly dependent columns will always yield a determinant of Det(A)=0. This is because the linear system Ax=y is inconsistent if
Intuition
Geometrically, the absolute value of the determinant of a square matrix essentially provides us with the amount of n-dimensional space that the column vectors of the matrix take up. In 2D space, this is area. In 3D space, this is volume. The sign of the determinant shows whether the vector space is flipped with respect to the unit vectors. If the determinant is zero, this means that at least one of the column vectors of the matrix is linearly dependent, and all the vectors are on a single line with an area of 0.
When applied to another structure such as a vector or a matrix, the determinant indicates the scaling factor of the area/volume of the product of the transformation relative to the original structure.
Example
Determinant as Area and Magnitude
Consider the square matrix A=[21−42]. We can plot its vectors on 2D cartesian space as a1=[21] and a2=[−42]:
We then get det(A)=8. We can interpret this as either:
The area of the space made up by the column vectors of A is 8.
The matrix A scales the area of the 2×2 identity matrix by a factor of 8.
Since the area of the parallelogram is positive, the vector space orientation has not flipped.
Let’s now swap the rows and columns of each vector of A (note that this is not the transpose and that det(A)=det(AT)) as B=[122−4]. Then, b1=[12] and b2=[2−4]. Plotting this in Cartesian space leads us to
with det(B)=−8. How are the two plots different? Matrix B, with a negative determinant, appears to have flipped the column vectors of I such that b1 is the leftmost (usually where the [01] unit vector is) and b2 is the rightmost (where the [10] unit vector is). As such, the transformation of B applied to I has flipped the vector space.