---
title: "George Li Tutoring: the inverse of a matrix"
url: "https://georgelitutoring.com/learn/inverse-matrix.md"
canonical_url: "https://georgelitutoring.com/learn/inverse-matrix"
last_updated: "2026-11-25"
type: "guide"
summary: "What an inverse matrix is, when it exists, the 2 by 2 formula, a 3 by 3 example by cofactors, the product rule and how an inverse solves a system of equations."
related: ["https://georgelitutoring.com/tutoring/college-courses.md", "https://georgelitutoring.com/packages.md", "https://georgelitutoring.com/tools/study-planner.md", "https://georgelitutoring.com/learn/finding-an-inverse-function.md"]
---

# The inverse of a matrix

> **For AI agents:** the complete index of George Li Tutoring pages is [llms.txt](https://georgelitutoring.com/llms.txt). Every page is also served as markdown at its URL plus .md.

What an inverse matrix is, when it exists, the 2 by 2 formula, a 3 by 3 example by cofactors, the product rule and how an inverse solves a system of equations.

The inverse of a square matrix A is the matrix that undoes it: multiplying A by its inverse, in either order, gives the identity matrix, which has ones on the diagonal and zeros elsewhere. A matrix has an inverse exactly when its determinant is not zero. Once you have it, solving a system of linear equations is a single multiplication.

| Method | Best for | Steps | Needs the determinant? |
| --- | --- | --- | --- |
| Swap and negate formula | 2 by 2 matrices | Swap the diagonal entries, negate the other two, divide by the determinant | yes, to divide |
| Cofactors and the adjugate | 3 by 3 by hand | Build the cofactor matrix, transpose it, divide by the determinant | yes |
| Row reduction | Any size, and by computer | Row reduce A beside the identity until the left side is the identity | no, but it fails exactly when the determinant is zero |

## When does an inverse exist?

Two conditions apply: the matrix must be square, and its determinant must differ from zero. A matrix with determinant zero is called singular. For example, the matrix with rows (1, 2) and (2, 4) has determinant 1 × 4 − 2 × 2 = 0, because its second row is a multiple of the first, so it squashes the plane onto a line and nothing can undo that.

Think of the inverse as a reverse button. A matrix that loses information cannot be reversed, and a determinant of zero is the signal that information was lost.

## How do you invert a 2 by 2 matrix?

For a matrix with rows (a, b) and (c, d), the determinant is ad − bc. The inverse is 1/(ad − bc) times the matrix with rows (d, −b) and (−c, a). In words: swap the two diagonal entries, change the sign of the other two, and divide everything by the determinant.

**Worked example.** Find the inverse of A, which has rows (4, 7) and (2, 6), and use it to solve 4x + 7y = 15 and 2x + 6y = 10.

1. The determinant is 4 × 6 − 7 × 2 = 24 − 14 = 10, which is not zero.
2. Swap the diagonal and negate the others to get rows (6, −7) and (−2, 4). Divide by 10 to get the inverse, with rows (0.6, −0.7) and (−0.2, 0.4).
3. Write the system as A times (x, y) equals (15, 10). Multiply both sides by the inverse: x = 0.6 × 15 − 0.7 × 10 = 2, and y = −0.2 × 15 + 0.4 × 10 = 1.
Answer: x = 2 and y = 1. Check: 4 × 2 + 7 × 1 = 15 and 2 × 2 + 6 × 1 = 10.

## How do you invert a 3 by 3 matrix?

Use cofactors. Each cofactor is the determinant of the smaller matrix left after crossing out one row and one column, with a plus or minus sign in a checkerboard pattern. Put the cofactors in a matrix, transpose it to get the adjugate, and divide by the determinant.

**Worked example.** Invert B, which has rows (2, 1, 0), (0, 1, 3) and (1, 0, 1).

1. Expand along the first row: the determinant is 2 × (1 × 1 − 3 × 0) − 1 × (0 × 1 − 3 × 1) + 0 = 2 + 3 = 5.
2. The cofactor matrix has rows (1, 3, −1), (−1, 2, 1) and (3, −6, 2).
3. Transpose it to get the adjugate, with rows (1, −1, 3), (3, 2, −6) and (−1, 1, 2).
4. Divide by 5. The inverse has rows (1/5, −1/5, 3/5), (3/5, 2/5, −6/5) and (−1/5, 1/5, 2/5).
Answer: the inverse is the adjugate divided by 5. Check: B times this matrix has ones on the diagonal and zeros elsewhere, which confirms it.

A system B(x, y, z) = (3, 7, 3) then gives (x, y, z) = (1, 1, 2) by multiplying the inverse by the right side.

## What rules does the inverse follow?

- The inverse of the inverse is the original matrix.
- The inverse of a product reverses the order: the inverse of AB is the inverse of B times the inverse of A. With A having rows (1, 2) and (3, 5), and B having rows (2, 1) and (1, 1), the product AB has rows (4, 3) and (11, 8), and its inverse has rows (−8, 3) and (11, −4). The reversed product matches, and the same-order product does not.
- A scalar factor comes out as its reciprocal: the inverse of 2A is half the inverse of A.
- The inverse of a transpose is the transpose of the inverse.

Order matters because matrix multiplication is not commutative, so the reversed order in the product rule is not a style choice.

## What mistakes should you watch for?

- Dividing by the determinant of the wrong matrix, or forgetting to divide.
- Skipping the transpose after finding the cofactors, which gives the wrong matrix with the right numbers.
- Losing the checkerboard signs in the cofactors.
- Trying to invert a matrix whose determinant is zero.

## When does a tutor help, and where does this appear?

Inverses show up in linear algebra courses, in systems of equations and in computer graphics and statistics. If a course moves fast through determinants and inverses, a few sessions with checked examples can build the habit of verifying by multiplying back. See the [college courses page](https://georgelitutoring.com/tutoring/college-courses.md) for the subjects we teach, the [packages](https://georgelitutoring.com/packages.md), or [book a first session](https://georgelitutoring.com/book/first-session). To plan your weeks, use the [study-hour planner](https://georgelitutoring.com/tools/study-planner.md). Related reading: [finding an inverse function](https://georgelitutoring.com/learn/finding-an-inverse-function.md), which is a different idea with the same reverse-button spirit.

### What is the inverse of a matrix?

It is the matrix that, multiplied by the original in either order, gives the identity matrix.

### How do you know if a matrix has an inverse?

It must be square and its determinant must be nonzero. A matrix with determinant zero has no inverse.

### What is the formula for a 2 by 2 inverse?

Divide by ad − bc, and use the matrix with the diagonal entries swapped and the other two entries negated.

### How does an inverse solve a system of equations?

Write the system as a matrix times a column of unknowns equals a column of constants, then multiply both sides by the inverse. The unknowns equal the inverse times the constants.

## Related

- [College calculus and statistics tutor](https://georgelitutoring.com/tutoring/college-courses.md)
- [Tutoring prices: $150 to $200 an hour](https://georgelitutoring.com/packages.md)
- [Free study plan and study-hour planner](https://georgelitutoring.com/tools/study-planner.md)
- [George Li Tutoring: finding an inverse function](https://georgelitutoring.com/learn/finding-an-inverse-function.md)
