The determinant assigns to each square matrix a single real number. Its value records crucial information about the matrix: whether it is invertible, how its rows are related, and how it scales volumes when applied as a transformation. The 2×2 formula is one line; the 3×3 requires cofactor expansion; for larger matrices the recursive expansion continues. This subtopic shows the computation and prepares the way for the structural properties of the next subtopic.
The 2×2 determinant
For A=(acbd),
detA=∣A∣=ad−bc.
The determinant is denoted detA or ∣A∣. (The vertical-bar notation does not mean absolute value here , it is a different symbol.)
This is expansion along the first row. The alternating signs +,−,+ are characteristic. Note that the three pieces are each a multiplication of an entry of row 1 by a 2×2 determinant , the determinant of the matrix you get by deleting that entry's row and column. These smaller determinants are called minors (next subtopic).
The determinant being zero tells us the rows are linearly dependent , indeed, R3=2R2−R1.
Expansion along any row or column
A theorem (proved in any linear algebra textbook): the determinant equals the cofactor expansion along any row or column, with the signs (−1)i+j on each cofactor.
This lets you choose the easiest row or column , typically one containing many zeros.
Example: det123058069 along column 1:
=1⋅(45−48)−2⋅0+3⋅0=−3.
Even simpler: expand along the top row, which has two zeros:
=1⋅(45−48)−0+0=−3. Same answer.
Determinants of triangular matrices
For an upper or lower triangular matrix, the determinant equals the product of the diagonal entries. Reason: expanding along a non-diagonal row repeatedly hits zeros.
So det2007308−15=2⋅3⋅5=30.
Sarrus' rule for 3×3 matrices
A mnemonic: write the first two columns again to the right, multiply along the three downward diagonals (with positive sign), and along the three upward diagonals (with negative sign):