Course contentsShow
← Mathematics
Lesson 2146 of 3,12144. Linear Algebra — Matrices and SystemsFree lesson

Solving Systems Using Matrix Inverses

Apply matrix inverses to solve Ax = b as x = A⁻¹b when A is invertible.

Solving Systems Using Matrix Inverses

You'll learn how to solve linear systems by turning Ax = b into x = A⁻¹b when the coefficient matrix is invertible.

The Core Idea

Instead of using row operations to solve a system of linear equations, you can leverage matrix inverses to find solutions directly. If you have a system written in matrix form as Ax = b (where A is your coefficient matrix, x is the vector of unknowns, and b is the constants vector), and if A is invertible, you can multiply both sides by A⁻¹ to isolate x:

A⁻¹(Ax) = A⁻¹b

Since A⁻¹A equals the identity matrix I, and Ix = x, this simplifies beautifully to:

x = A⁻¹b

When and Why to Use This

This method works only when A is invertible (also called nonsingular). That means:

  • A must be square (same number of equations as unknowns)
  • A must have full rank (its columns are linearly independent)

Think of the inverse as a "universal unlock key" for any system with that coefficient matrix. Once you compute A⁻¹, you can solve for any right-hand side b by simply multiplying A⁻¹b.

Example Walkthrough

Suppose you've already found that for the system with coefficient matrix A, the inverse is:

A⁻¹ = [2, -1; -3, 2]

And your system has b = [5; 7]. Then:

x = A⁻¹b = [2, -1; -3, 2][5; 7] = [2(5) + (-1)(7); -3(5) + 2(7)] = [3; -1]

So x₁ = 3 and x₂ = -1.

Key Takeaway: When A is invertible, solve Ax = b instantly by computing x = A⁻¹b—multiply the inverse of the coefficient matrix by the constants vector to get your solution.