Determinant of a 2×2 Matrix

April 13, 2026

Problem

Compute det([[3,7],[1,5]]) and interpret it as the signed area of the parallelogram formed by the column vectors.

Explanation

Definition

For a 2×22 \times 2 matrix A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}

the determinant is detA=adbc\det A = ad - bc

Step-by-step

A=(3715)A = \begin{pmatrix} 3 & 7 \\ 1 & 5 \end{pmatrix}

Step 1 — Cross products:

  • Main diagonal: 35=153 \cdot 5 = 15.
  • Anti-diagonal: 71=77 \cdot 1 = 7.

Step 2 — Subtract: detA=157=8\det A = 15 - 7 = \boxed{8}

Geometric meaning — signed area

The columns of AA are vectors a=(3,1)\mathbf{a} = (3, 1) and b=(7,5)\mathbf{b} = (7, 5). These span a parallelogram in the plane with vertices 0,a,b,a+b\mathbf{0}, \mathbf{a}, \mathbf{b}, \mathbf{a} + \mathbf{b}.

The determinant detA=8\det A = 8 is the signed area of this parallelogram:

  • Magnitude detA=8|\det A| = 8: the area (in square units).
  • Sign: positive if ab\mathbf{a} \to \mathbf{b} is counter-clockwise, negative if clockwise.

A square matrix acts on the plane as a linear map. The determinant tells you the area-scaling factor of that map:

  • detA>1|\det A| > 1: expands areas.
  • detA<1|\det A| < 1: contracts areas.
  • detA=0|\det A| = 0: collapses everything onto a line (or a point) — the matrix is singular.
  • detA<0\det A < 0: flips orientation.

Key properties

  • det(I)=1\det(I) = 1.
  • det(AT)=det(A)\det(A^T) = \det(A).
  • det(AB)=det(A)det(B)\det(AB) = \det(A) \cdot \det(B) — determinants multiply under matrix multiplication.
  • det(A1)=1/det(A)\det(A^{-1}) = 1 / \det(A) (when AA is invertible).
  • Row operations:
    • Swap two rows: det\det changes sign.
    • Scale a row by cc: det\det multiplies by cc.
    • Add a multiple of one row to another: det\det unchanged.
  • AA is invertible ⟺ detA0\det A \ne 0.

When the determinant is zero

If detA=0\det A = 0, the two column vectors are parallel — they don't span a proper 2D parallelogram, just a line segment. The matrix cannot be inverted, and Ax=bA \mathbf{x} = \mathbf{b} has either no solutions or infinitely many.

Common mistakes

  • Flipping the sign: it's adbcad - bc, not abcdab - cd or acbdac - bd.
  • Confusing minor/cofactor with the full determinant for larger matrices. The 2×22 \times 2 formula is the base case; larger ones use cofactor expansion or row reduction.
  • Forgetting that row swaps flip the sign. Tracking row operations is crucial when computing determinants via reduction.

Try it in the visualization

Drag column endpoints to reshape the parallelogram. The signed area displays live — color-coded blue for positive, red for negative. Watch the sign flip as you swap the two vectors.

Interactive Visualization

Parameters

3.00
7.00
1.00
5.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Determinant of a 2×2 Matrix | MathSpin