Course contentsShow
← Mathematics
Lesson 1316 of 3,12130. Matrices (Precalculus)Free lesson

Solving with Matrix Inverses

Use the equation X = A⁻¹B to solve systems when the coefficient matrix is invertible.

Solving with Matrix Inverses

What you'll learn: How to use the formula X = A⁻¹B to solve systems of linear equations when the coefficient matrix is invertible.


The Core Idea

When you have a system of linear equations, you can write it in matrix form as AX = B, where:

  • A is the coefficient matrix (containing all the coefficients from your equations)
  • X is the column vector of unknowns (your variables)
  • B is the column vector of constants (the right-hand side values)

If the matrix A has an inverse (meaning det(A) ≠ 0), you can "divide both sides" by A using its inverse. Multiply both sides on the left by A⁻¹:

A⁻¹(AX) = A⁻¹B

Since A⁻¹A = I (the identity matrix) and IX = X, this simplifies to:

X = A⁻¹B

This single matrix multiplication gives you all your variable values at once!

Think of It This Way

In regular algebra, if you have 3x = 12, you solve by multiplying both sides by 3⁻¹ (which is 1/3), giving x = 4. Matrix inverses work the same way—they "undo" the multiplication by A, isolating X.

When to Use This Method

  • The coefficient matrix A must be square (same number of equations as unknowns)
  • A must be invertible (determinant is not zero)
  • You've already learned how to find A⁻¹ using the 2×2 formula or row reduction

Once you have A⁻¹, just multiply it by B to get your solution vector X.


Key Takeaway: For invertible systems AX = B, the solution is X = A⁻¹B—a single matrix multiplication that solves all variables simultaneously.