Skip to content
Home › Math Glossary: Key Terms from 6th to 12th Grade › Inverse matrix: Definition and Example

Inverse matrix: Definition and Example

Math Glossary: Algebra – Mathbot, the Math Made Easy robot coach

Definition: The inverse of a square matrix A is the matrix that multiplies with A to give the identity matrix; it exists only when the determinant is not zero.

Grade 12 – Precalculus

What is an inverse matrix?

If A times B gives the identity matrix I (ones on the diagonal, zeros elsewhere), then B is the inverse of A, written A-1. For rows (a, b) and (c, d), swap a and d, negate b and c, and divide by the determinant ad – bc.

How does it solve a system?

Write the system as AX = B. Then X = A-1B.

Worked example: 3x + y = 7 and 5x + 2y = 12. The coefficient matrix has rows (3, 1) and (5, 2), determinant 6 – 5 = 1, and inverse with rows (2, -1) and (-5, 3). Multiply by the constants (7, 12): x = 14 – 12 = 2 and y = -35 + 36 = 1.

The solution is (2, 1), and 3(2) + 1 = 7 checks out.

What goes wrong?

Dividing by a zero determinant, or multiplying on the wrong side. Mathbot places the inverse on the left of the constants, since matrix order matters.

Example: [[3, 1], [5, 2]]^-1 = [[2, -1], [-5, 3]], solution (2, 1)

Where to learn it

Related terms

← Back to the math glossary