Skip to content
LoveToCalc

Theorem — what does that mean?

Inverse of a 2×2 matrix

Swap the two diagonal entries, change the sign of the other two, and divide everything by the determinant.

In Swedish: Invers av en 2×2-matris

Inverse of a 2×2 matrix

The relation

p=qabcd

For the matrix with rows (a, b) and (c, d), the inverse has the rows (d, −b) and (−c, a), each entry divided by the determinant ad − bc.

Solve for
Solved for p

p=qad−bc

p=1.5

p equals −3 divided by ((1 times 4) minus (2 times 3)), equals −3 divided by (4 minus 6), equals −3 divided by (−2), equals 1.5

Working4 steps

Practice questions

You are given

  • q=4
  • a=1
  • b=2
  • c=3
  • d=4

The formula

For the matrix with rows (a, b) and (c, d), the inverse has the rows (d, −b) and (−c, a), each entry divided by ad − bc. Entry by entry:

where p is an entry of the inverse and q the matching entry of the swapped matrix:

Entry of the inverse q
top left d
top right −b
bottom left −c
bottom right a

Enter a, b, c, d and q in the card above for one entry at a time.

Holds when ad − bc ≠ 0. At 0 the matrix is singular and has no inverse.

Worked example

The matrix with rows (1, 2) and (3, 4) has ad − bc = 4 − 6 = −2. The four entries of the inverse are 4/(−2) = −2, −2/(−2) = 1, −3/(−2) = 1.5 and 1/(−2) = −0.5, so the inverse has rows (−2, 1) and (1.5, −0.5). Check the first row of A times the first column of the inverse: 1·(−2) + 2·1.5 = 1.

A second example

The matrix with rows (4, 7) and (2, 6) has ad − bc = 24 − 14 = 10, and the inverse has rows (0.6, −0.7) and (−0.2, 0.4). The matrix with rows (2, 4) and (1, 2) has determinant 0 and no inverse.

Common mistakes

Frequently asked questions

How do I check the answer? Multiply the matrix by its inverse. The product must be the identity, with rows (1, 0) and (0, 1).

What is the swapped matrix called? The adjugate (adjoint in some books), and the inverse is the adjugate divided by the determinant.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
pqad−bc−31·4−2·31.5
qp(ad−bc)1.5(1·4−2·3)−3

Last reviewed October 11, 2026 ·How pages are reviewed

Calculate it in practice

Linear algebraAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.