2×2 & 3×3 Determinants with Steps
Last reviewed: April 2026
The determinant is a single number computed from a square matrix that reveals key properties. If the determinant is zero, the matrix is singular (not invertible) and the system of equations it represents has either no solution or infinite solutions. If the determinant is nonzero, the matrix is invertible and the system has exactly one solution. The determinant also represents the scaling factor for areas (2D) or volumes (3D) under the linear transformation.
For a 2×2 matrix [[a,b],[c,d]]: determinant = ad − bc. For a 3×3 matrix, use cofactor expansion along any row or column — this calculator shows the full expansion. Determinants are used in Cramer's rule, eigenvalue problems, and checking whether transformations preserve orientation. For full matrix operations, see our Matrix Calculator.
| Property | Rule | Example |
|---|---|---|
| 2×2 matrix | ad - bc | det [[3,2],[1,4]] = 10 |
| Triangular matrix | Product of diagonal | det [[2,0],[0,5]] = 10 |
| det(AB) | det(A) × det(B) | Multiplicative |
| det = 0 | Matrix is singular | No inverse exists |
| Row swap | Changes sign of det | det flips ± |
The determinant is a scalar value computed from a square matrix that encodes essential geometric and algebraic properties of the matrix. For a 2×2 matrix [[a, b], [c, d]], the determinant is ad - bc. For a 3×3 matrix, the determinant is calculated using cofactor expansion (also called Laplace expansion) along any row or column. Geometrically, the absolute value of the determinant represents the factor by which the matrix transformation scales area (in 2D) or volume (in 3D). A determinant of 2 means the transformation doubles area; a determinant of 0.5 means it halves area; and a determinant of 0 means the transformation collapses at least one dimension, mapping all of space onto a lower-dimensional subspace.
The sign of the determinant carries additional geometric meaning — a positive determinant preserves orientation (handedness), while a negative determinant reverses it (equivalent to a reflection combined with other transformations). A rotation matrix always has a determinant of +1, while a reflection matrix always has a determinant of -1. These geometric interpretations make the determinant indispensable in computer graphics, physics, engineering, and any field that involves coordinate transformations.
For 2×2 matrices, the determinant formula ad - bc is straightforward. For 3×3 matrices, the Sarrus method (a visual diagonal-product technique) or cofactor expansion provides the answer with reasonable effort. The cofactor expansion formula expands the determinant along any row or column as the sum of element × cofactor products, where each cofactor is ±1 times the determinant of the submatrix formed by deleting the element's row and column. Choosing the row or column with the most zeros minimizes computation.
For larger matrices (4×4 and above), cofactor expansion becomes impractical because it requires computing multiple sub-determinants recursively — the computational complexity is O(n!), making it infeasible for matrices much larger than 5×5. In practice, larger determinants are computed using Gaussian elimination to reduce the matrix to row echelon form, at which point the determinant equals the product of the diagonal entries (multiplied by -1 for each row swap performed during elimination). This approach has O(n³) complexity, making it feasible for matrices of thousands of rows and columns. LU decomposition provides a similar efficient approach — the determinant equals the product of the diagonal entries of the U (upper triangular) factor.
Determinants follow several important algebraic properties that simplify computation and enable theoretical results. The determinant of a product equals the product of determinants: det(AB) = det(A) × det(B). The determinant of an inverse equals the reciprocal: det(A⁻¹) = 1/det(A). The determinant of a transpose equals the original determinant: det(Aᵀ) = det(A). Swapping two rows (or columns) negates the determinant. Multiplying a row by a scalar k multiplies the determinant by k. Adding a scalar multiple of one row to another row does not change the determinant.
These properties have immediate practical applications. The multiplicative property means that composing two transformations scales area by the product of their individual scaling factors. The inverse property means that undoing a transformation that doubles area must halve it. The row-operation properties enable efficient computation through Gaussian elimination — elementary row operations that reduce a matrix to triangular form modify the determinant in predictable ways, allowing the original determinant to be recovered from the simplified form.
The determinant's most fundamental application is determining whether a matrix is invertible (non-singular). A matrix has an inverse if and only if its determinant is nonzero. This has practical implications across mathematics and engineering: a system of linear equations Ax = b has a unique solution if and only if det(A) ≠ 0. In circuit analysis, the solvability of Kirchhoff's equations depends on the determinant of the impedance matrix. In structural engineering, a zero determinant in the stiffness matrix indicates a structural instability (mechanism).
Cramer's Rule uses determinants to solve systems of linear equations directly — each variable equals the ratio of two determinants, where the numerator determinant is formed by replacing one column of the coefficient matrix with the constant vector. While computationally inefficient for large systems (Gaussian elimination is far faster), Cramer's Rule is valuable for theoretical analysis, for small systems that can be solved by hand, and for computing individual variables without solving the entire system. In calculus, the Jacobian determinant measures how a coordinate transformation distorts area or volume, which is essential for changing variables in multivariable integration. The Wronskian determinant tests whether a set of functions is linearly independent, which determines the structure of solution sets for differential equations. Our Graphing Calculator and Quadratic Solver handle related mathematical computations.
One of the most important uses of determinants in applied mathematics is computing eigenvalues through the characteristic polynomial. The eigenvalues of a matrix A are the values λ for which det(A - λI) = 0, where I is the identity matrix. Expanding this determinant produces the characteristic polynomial — a polynomial of degree n for an n×n matrix — whose roots are the eigenvalues. For a 2×2 matrix, the characteristic polynomial is quadratic and can be solved with the quadratic formula. For 3×3 matrices, it is cubic. For larger matrices, numerical methods (QR algorithm, power method) are used instead of computing the polynomial explicitly.
Eigenvalues have profound practical significance. In structural engineering, eigenvalues of the stiffness matrix determine natural frequencies of vibration. In quantum mechanics, eigenvalues of the Hamiltonian operator give allowed energy levels. In data science, eigenvalues of the covariance matrix determine the principal components in PCA (Principal Component Analysis). In Google's PageRank algorithm, the dominant eigenvalue of the link matrix determines the relative importance of web pages. The determinant itself equals the product of all eigenvalues, providing another efficient computation path when eigenvalues are already known.
See also: Ratio Calculator · Proportion Calculator · Average Calculator · Area of Circle Calculator · Correlation Calculator
→ The 2×2 determinant is the simplest: ad − bc. For matrix [[3,7],[1,4]], det = (3)(4) − (7)(1) = 12 − 7 = 5. Geometrically, the determinant represents the area scaling factor of the linear transformation — a determinant of 5 means the transformation scales areas by a factor of 5.
→ A zero determinant means the matrix "collapses" a dimension. Geometrically, a 2×2 matrix with det = 0 maps 2D space onto a line (or a point). This means information is lost — you can't undo the transformation, which is why no inverse exists. In equation systems, this means the equations are either contradictory or redundant.
→ Determinant properties simplify computation. Swapping two rows negates the determinant. Multiplying a row by k multiplies the determinant by k. Adding a multiple of one row to another doesn't change the determinant. These properties let you row-reduce before computing, which is faster for larger matrices. Use our Matrix Calculator for full operations.
→ For 3×3 matrices, the Sarrus rule provides a visual shortcut. Write the matrix and repeat the first two columns to the right. Sum the products along the three downward diagonals and subtract the products along the three upward diagonals. This shortcut only works for 3×3 — larger matrices require cofactor expansion or row reduction.
See also: Matrix Calculator · Equation Solver · Cross Multiplication Calculator · Proportion Calculator