1001Ferramentas
#️⃣ Calculators

Matrix 2x2 Determinant

Computes the determinant of a 2x2 matrix from its 4 inline elements a, b, c and d.

2×2 matrix determinant

Given a 2×2 matrix A = [[a, b], [c, d]], its determinant is det(A) = ad - bc. There's a nice geometric reading too. The value |det(A)| gives you the area of the parallelogram that the row (or column) vectors span. The sign carries the orientation. When det comes out negative, the transformation has flipped things around, which is what a reflection does.

Example: take A = [[3, 2], [1, 4]]. Then det = 3·4 - 2·1 = 12 - 2 = 10, and the vectors (3,2) and (1,4) span a parallelogram whose area is 10.

Applications

The 2×2 determinant tells you whether a matrix is invertible (it is exactly when det ≠ 0). It's what makes Cramer's rule work for systems with two equations, and it gives you cross-product magnitudes in 2D. You'll also run into it in 2D computer graphics transformations, where it reveals whether a matrix keeps area and orientation intact (rotation: det = 1; reflection: det = -1; uniform scale s: det = s²).

FAQ

What does det = 0 mean? It means the two rows (or columns) are linearly dependent. They sit on the same line through the origin, so the matrix is singular and has no inverse.

Why is the area equal to |det|? Think of the columns of A as where the unit basis vectors land. The unit square, which has area 1, gets mapped to a parallelogram, and that parallelogram's area works out to exactly |ad - bc|.

Does this generalize? It does. For n×n matrices, |det(A)| is how much the transformation scales n-dimensional volume. The catch is that the formulas get messier, relying on cofactor expansion or LU.

Related Tools