Matrix Determinant Calculator
Calculate determinants for square matrices (2x2 to 5x5) using cofactor expansion. Features CSV import for quick entry and detailed steps.
About
The determinant is a scalar value that describes the scaling factor of the linear transformation described by a matrix. It is essential in linear algebra for solving systems of linear equations (Cramer's Rule), finding inverses, and determining eigenvalues. A determinant of zero (det(A) = 0) indicates a singular matrix, meaning it is not invertible.
This tool supports square matrices from dimensions 2x2 up to 5x5. It employs Laplace Expansion (cofactor expansion) for calculation. While computationally heavier than Gaussian elimination, this method is superior for educational purposes as it breaks the problem down into smaller minor matrices, clearly showing the recursive structure of the calculation.
Formulas
For a square matrix A, the determinant is defined recursively. For a 2x2 matrix:
For larger matrices (Laplace Expansion along the first row):
Where M1j is the determinant of the submatrix formed by removing row 1 and column j.
Reference Data
| Dimension | Formula / Method | Complexity |
|---|---|---|
| 2x2 | ad − bc | O(1) |
| 3x3 | Sarrus' Rule or Expansion | O(n!) |
| NxN | Laplace Expansion (Recursive) | O(n!) |
| Properties | det(AB) = det(A)det(B) | Identity |