Calculate the determinant of 2x2, 3x3, and 4x4 matrices with step-by-step solution
Enter integers, decimals, fractions (1/3) or scientific notation (1e-12). Maximum 48 characters and 24 numeric digits per cell; exponent −30 to 30. Empty cells are not zero.
A is invertible
Rank: 2 / 2
Exact result: both methods agree
A nonzero determinant means invertibility, not numerical stability. No condition number was computed.
Predict the determinant, then choose an operation. Each operation creates B from the current A; A stays unchanged.
Calculations and comparisons run locally. Clicking AI sends the current matrix and selected operation for server recomputation and explanation. Use example data.
| Entry | Sign | Minor determinant | Signed contribution | |
|---|---|---|---|---|
| a(1,1): 1 | + | 4
| 4 | |
| a(1,2): 2 | − | 3
| -6 |
det(A) = (4) + (-6) = -2
Swapping rows flips the determinant sign. Adding a multiple of one row to another preserves it. Account for swaps in the diagonal product.
1. R2 ← R2 - (3) × R1
| 1 | 2 |
| 0 | -2 |
Final row echelon matrix
| 1 | 2 |
| 0 | -2 |
det(A) = (-1)^0 × (-2) = -2