Determinants of 2×2 and 3×3 matrices via cofactor expansion.
Input
Answer
Steps
Why it works
The determinant measures signed volume scaling: det = 0 means the matrix squashes space flat (no inverse). For 2×2 it is ad−bc; for 3×3, cofactor expansion along a row reduces it to 2×2 determinants with alternating signs.