Compute the determinant of any square matrix (up to 6×6) using cofactor expansion — with full step-by-step breakdown of each minor and sign pattern.
The determinant of a square matrix can be found by cofactor expansion along any row or column: det(A) = Σ (−1)^(i+j) · a(i,j) · M(i,j), where M(i,j) is the minor obtained by deleting row i and column j. Swapping two rows flips the sign, multiplying a row by k multiplies the determinant by k, and adding a multiple of one row to another leaves it unchanged. A matrix is invertible exactly when its determinant is not zero.
The matrix is singular: it has no inverse and its rows (and columns) are linearly dependent.
No. The determinant is defined only for square matrices.
More tools: all free maths calculators · previous year papers · practice quizzes