Britannica Sources used in this answer

How is the determinant of a 2 by 2 matrix calculated?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In linear algebra, the determinant of a 2×2 matrix is a scalar value calculated from its elements.

For a 2×2 matrix represented as:

A=(a11a12a21a22)

The determinant is calculated using the following formula:

detA=a11a22−a12a21

In this calculation, you multiply the elements of the main diagonal (a11 and a22) and subtract the product of the elements of the off-diagonal (a12 and a21).1