2x2 Matrix Determinant — Formula & Examples

Calculate the determinant of a 2x2 matrix using the ad-bc formula. Understand what the determinant tells you about a matrix and its geometric meaning.

Determinant

Detailed Explanation

2x2 Determinant Formula

For a 2x2 matrix:

A = | a  b |
    | c  d |

det(A) = ad - bc

Example

A = | 3  7 |
    | 1  5 |

det(A) = (3)(5) - (7)(1) = 15 - 7 = 8

Geometric Meaning

The absolute value of the determinant equals the area of the parallelogram formed by the column (or row) vectors of the matrix. For the example above, the columns [3,1] and [7,5] form a parallelogram with area 8.

If det(A) is:

  • Positive: the transformation preserves orientation
  • Negative: the transformation reverses orientation (reflection)
  • Zero: the transformation collapses space to a lower dimension (singular matrix)

Properties

  • det(AB) = det(A) * det(B)
  • det(A^T) = det(A)
  • det(kA) = k^2 * det(A) for 2x2 matrices
  • det(A^(-1)) = 1 / det(A)
  • Swapping two rows negates the determinant
  • A row of zeros means det = 0

Invertibility

A 2x2 matrix is invertible if and only if its determinant is non-zero. The inverse formula uses the determinant directly:

A^(-1) = (1/det(A)) * | d  -b |
                       | -c   a |

Use Case

The 2x2 determinant appears frequently in computational geometry (checking if points are collinear, computing cross products), computer graphics (checking orientation of triangles for culling), and solving 2-variable linear systems using Cramer's rule. It is the building block for larger determinant calculations via cofactor expansion.

Try It — Matrix Calculator

Open full tool