What is a determinant
A determinant is a number associated with a square matrix. For 2×2 matrices there is a simple formula, for 3×3 we use Sarrus' rule. If det A = 0, the matrix is called singular and has no inverse.
In plain words:
The determinant is a "characteristic" of a square table: a number showing how "non-singular" a matrix is. For size 2×2 we take the product of the main diagonal and subtract the product of the other diagonal.
Example:
- A=(3245)
- Main diagonal: 3⋅5=15; other diagonal: 4⋅2=8
- detA=3⋅5−4⋅2=15−8=7
Main rule:
Criss-cross: multiply "along the diagonals", then subtract the second pair from the first: ad−bc.
In plain words:
For a 3×3 table we write the matrix and "glue" its first two columns again to the right. Then we add the products on the three diagonals going "right" and subtract the products on the three diagonals going "left".
Example:
- A=a11a21a31a12a22a32a13a23a33
- "Right": a11a22a33, a12a23a31, a13a21a32
- "Left": a13a22a31, a12a21a33, a11a23a32 — these are subtracted
Main rule:
Sarrus' rule: add the three diagonals going "right" and subtract the three going "left".
In plain words:
Transposition swaps rows and columns, but the determinant does not change. The table is reflected about the diagonal, while the number stays the same.
Example:
- A=(1324) and AT=(1234)
- detA=1⋅4−2⋅3=−2
- detAT=1⋅4−3⋅2=−2 — the same result
Main rule:
Flip the table however you like via transposition — the determinant stays unchanged: detAT=detA.
In plain words:
The determinant of the product of two matrices equals the product of their determinants taken separately. It is like "scale after scale": the total factor is obtained by multiplication.
Example:
- detA=2, detB=3
- Then det(AB)=2⋅3=6
Main rule:
You can multiply the matrices first and then compute the determinant, or the other way round — the result is the same: det(AB)=detA⋅detB.
In plain words:
If you swap two rows (or two columns) of a matrix, the determinant changes sign to the opposite: plus becomes minus and vice versa.
Example:
- A=(1324), A′=(3142)
- detA=1⋅4−2⋅3=−2
- detA′=3⋅2−4⋅1=2=−(−2) — the sign changed
Main rule:
One swap of rows (or columns) changes the sign to minus. An even number of swaps restores the original sign.
In plain words:
If a matrix has a row (or column) of zeros, the determinant is immediately zero. Such a matrix does not "stretch" anything along one of the axes — its volume collapses.
Example:
- A=104205306
- The second row is entirely zeros
- detA=0
Main rule:
A fully zero row or column instantly zeros the determinant: detA=0.
In plain words:
The identity matrix has ones on the diagonal and zeros around them. Its determinant is always equal to one: the reference matrix changes nothing, so its "scale" is 1.
Example:
- E=(1001)
- detE=1⋅1−0⋅0=1
Main rule:
The identity matrix is the reference: detE=1, which corresponds to a zero change in scale.
In plain words:
A triangular matrix is one where only zeros stand below (or above) the diagonal. Its determinant is the easiest to compute: just multiply the numbers on the main diagonal.
Example:
- A=200530146 — upper triangular
- Diagonal: 2,3,6
- detA=2⋅3⋅6=36
Main rule:
In a triangular matrix the zeros stand to one side of the diagonal: so the determinant is simply the product of its diagonal elements.