\( \newcommand{\abs}[1]{\left| \, {#1} \, \right| } \) \( \newcommand{\cm}{\mathrm{cm} } \) \( \newcommand{\sec}{ \, \mathrm{sec} \, } \) \( \newcommand{\units}[1]{\,\text{#1}} \) \( \newcommand{\vhat}[1]{\,\hat{#1}} \) \( \newcommand{\vhati}{\,\hat{i}} \) \( \newcommand{\vhatj}{\,\hat{j}} \) \( \newcommand{\vhatk}{\,\hat{k}} \) \( \newcommand{\vect}[1]{\boldsymbol{\vec{#1}}} \) \( \newcommand{\norm}[1]{\|{#1}\|} \) \( \newcommand{\arccot}{ \, \mathrm{arccot} \, } \) \( \newcommand{\arcsec}{ \, \mathrm{arcsec} \, } \) \( \newcommand{\arccsc}{ \, \mathrm{arccsc} \, } \) \( \newcommand{\sech}{ \, \mathrm{sech} \, } \) \( \newcommand{\csch}{ \, \mathrm{csch} \, } \) \( \newcommand{\arcsinh}{ \, \mathrm{arcsinh} \, } \) \( \newcommand{\arccosh}{ \, \mathrm{arccosh} \, } \) \( \newcommand{\arctanh}{ \, \mathrm{arctanh} \, } \) \( \newcommand{\arccoth}{ \, \mathrm{arccoth} \, } \) \( \newcommand{\arcsech}{ \, \mathrm{arcsech} \, } \) \( \newcommand{\arccsch}{ \, \mathrm{arccsch} \, } \)

17Calculus Precalculus - Matrix Inverse

17Calculus
Single Variable Calculus
Derivatives
Integrals
Multi-Variable Calculus
Precalculus
Functions

This page covers matrix inverses. One big application of matrix inverses is solving linear systems using an inverse matrix.

If you are given a matrix \(A\), the inverse of \(A\) is defined as the matrix, let's call it \(B\) for now, where \(AB=BA=I\). This is similar to the inverse of a number. For example, the inverse of \(2\) is \(1/2\) since \(2(1/2)=1\). Sometimes we even write \(1/2=2^{-1}\). So \(2(2^{-1})=1\).

The same idea holds for matrices. So we call the inverse of matrix \(A\), \(A^{-1}\). This gives us \(AA^{-1}=1\) and \(A^{-1}A=1\). Notice that this is a special case of when matrix multiplication is commutative. The point of this page is learning how to calculate the inverse matrix \(A^{-1}\).

Determining the inverse of a matrix is, in general, not an easy task. And, as you know from algebra, an inverse may not exist. For example, there is no inverse of zero. So how can you tell when a matrix doesn't have an inverse? Well, there is a simple test you can do before you start calculating the inverse to see if one exists. Calculate the determinant. If the determinant is zero, then the inverse doesn't exist.

Okay, so if you have calculated the determinant and found it to be non-zero, then you can find an inverse matrix. There are several techniques, some easier than others, including using a formula (for 2x2), row reduction and using minors and cofactors.

Formula for 2x2 Matrices

For 2x2 matrices there is a formula that you can use. (As always, check with your instructor to see if they allow you to use this special case technique.)

\(\displaystyle{ A = \left[ \begin{array}{rr} a & b \\ c & d \end{array}\right] }\)

\(\displaystyle{ A^{-1} = \frac{1}{ad-bc} \left[ \begin{array}{rr} d & -b \\ -c & a \end{array} \right]}\)

Let's look at this closely. Notice that the fraction out in front has the determinant of matrix \(A\) in the denominator. The matrix part of the inverse can be summed up in these two rules.
1. Swap the upper-left and lower-right terms.
2. Negate the other two terms but leave them in the same positions.
Important Note - Be careful to use this only on 2x2 matrices. This will not work on 3x3 or any other size of matrix.

Here is a great video explaining this in more detail.

Dr Chris Tisdell - Inverse of Matrix 2 x 2 Case [10min-24secs]

video by Dr Chris Tisdell

Before you go on, work these 2x2 practice problems to make sure you can easily use this technique.

Practice - 2x2 Inverses

\(\displaystyle{ \left[\begin{array}{rr} 7 & 2 \\ 17 & 5 \end{array}\right]}\)

Problem Statement

Use the 2x2 formula to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rr} 7 & 2 \\ 17 & 5 \end{array}\right]}\)

Solution

In this solution, he shows how to confirm that the answer is the inverse of the original matrix by calculating \(A A^{-1}\) and making sure it is equal to \(I_2\). This is only a partial confirmation. He would need to calculate \(A^{-1} A\) to confirm that it equals \(I_2\) as well. This is always good to do, especially on exams when you have time.

2766 video solution

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rr} 8 & 6 \\ 5 & 4 \end{array}\right]}\)

Problem Statement

Use the 2x2 formula to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rr} 8 & 6 \\ 5 & 4 \end{array}\right]}\)

Solution

2767 video solution

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rr} 3 & 5 \\ 1 & -2 \end{array}\right]}\).

Problem Statement

Use the 2x2 formula to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rr} 3 & 5 \\ 1 & -2 \end{array}\right]}\)

Solution

PatrickJMT - 2768 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rr} 2 & 4 \\ 1 & 3 \end{array}\right]}\)

Problem Statement

Use the 2x2 formula to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rr} 2 & 4 \\ 1 & 3 \end{array}\right]}\)

Solution

2769 video solution

Log in to rate this practice problem and to see it's current rating.

Row Reduction

It would be great if there was a formula to calculate the inverse of any matrix as easily as the 2x2 case. But, alas, such is not the case. One common technique to find the inverse of any matrix is to use row reduction. The technique uses the same operations as Gaussian Elimination/Row Reduction. This next video shows how to do that with an example.

Dr Chris Tisdell - How to compute the inverse of a 3 x 3 matrix [14min-12secs]

video by Dr Chris Tisdell

Before we go on, let's make sure you have a good understanding of this idea.

Practice - Row Reduction

Use row reduction to find the inverses of these matrices.

Use row reduction to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array}\right]}\). Check your answer by using the 2x2 formula.

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rr} 1 & 2 \\ 3 & 4 \end{array}\right]}\). Check your answer by using the 2x2 formula.

Solution

2770 video solution

Log in to rate this practice problem and to see it's current rating.

Find the inverse of \(\displaystyle{ \left[\begin{array}{rr} 3 & 2 \\ 4 & 3 \end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rr} 3 & 2 \\ 4 & 3 \end{array}\right]}\)

Solution

2771 video solution

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{J = \left[\begin{array}{rr} 1 & 3 \\ 2 & 5\end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{J = \left[\begin{array}{rr} 1 & 3 \\ 2 & 5\end{array}\right]}\)

Final Answer

\(\displaystyle{J^{-1} = \left[\begin{array}{rr} -5 & 3 \\ 2 & -1\end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{J = \left[\begin{array}{rr} 1 & 3 \\ 2 & 5\end{array}\right]}\)

Solution

PatrickJMT - 2021 video solution

video by PatrickJMT

Final Answer

\(\displaystyle{J^{-1} = \left[\begin{array}{rr} -5 & 3 \\ 2 & -1\end{array}\right]}\)

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{M = \left[\begin{array}{rrr} 2 & 1 & 1 \\ 3 & 2 & 1 \\ 2 & 1 & 2\end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{M = \left[\begin{array}{rrr} 2 & 1 & 1 \\ 3 & 2 & 1 \\ 2 & 1 & 2\end{array}\right]}\)

Final Answer

\(\displaystyle{M^{-1} = \left[\begin{array}{rrr} 3 & -1 & -1 \\ -4 & 2 & 1 \\ -1 & 0 & 1\end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{M = \left[\begin{array}{rrr} 2 & 1 & 1 \\ 3 & 2 & 1 \\ 2 & 1 & 2\end{array}\right]}\)

Solution

Michel vanBiezen - 2024 video solution

video by Michel vanBiezen

Final Answer

\(\displaystyle{M^{-1} = \left[\begin{array}{rrr} 3 & -1 & -1 \\ -4 & 2 & 1 \\ -1 & 0 & 1\end{array}\right]}\)

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 1 & -1 & 2 \\ 0 & 1 & -1 \\ 1 & 0 & 2 \end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 1 & -1 & 2 \\ 0 & 1 & -1 \\ 1 & 0 & 2 \end{array}\right]}\)

Solution

2772 video solution

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 1 & 2 & -1 \\ -2 & 0 & 1 \\ 1 & -1 & 0\end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 1 & 2 & -1 \\ -2 & 0 & 1 \\ 1 & -1 & 0\end{array}\right]}\)

Solution

2773 video solution

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 2 & 4 & 1 \\ -1 & 1 & -1 \\ 1 & 4 & 0\end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 2 & 4 & 1 \\ -1 & 1 & -1 \\ 1 & 4 & 0\end{array}\right]}\)

Solution

2774 video solution

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 2 & 3 & 0 \\ 1 & -2 & 1 \\ 2 & 0 & -1 \end{array}\right]}\).

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 2 & 3 & 0 \\ 1 & -2 & 1 \\ 2 & 0 & -1 \end{array}\right]}\).

Solution

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 2 & 1 & 1 \\ 3 & 2 & 1 \\ 2 & 1 & 2 \end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 2 & 1 & 1 \\ 3 & 2 & 1 \\ 2 & 1 & 2 \end{array}\right]}\)

Solution

Michel vanBiezen - 2776 video solution

video by Michel vanBiezen

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 1 & 2 & 2 \\ 1 & 2 & -1 \\ -1 & 1 & 4 \end{array}\right]}\)

Problem Statement

Use row reduction to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 1 & 2 & 2 \\ 1 & 2 & -1 \\ -1 & 1 & 4 \end{array}\right]}\)

Solution

2777 video solution

Log in to rate this practice problem and to see it's current rating.

Determinants and Cofactors

The most involved technique uses determinants and cofactors to calculate an inverse. This will work with any size of matrix and is therefore the most general. Here is a video that shows how to do this with an example. He first calculates the inverse using row reduction and then uses cofactors to calculate the same inverse. We especially like the last way that he calculates the adj(A). If your instructor allows you to do that, we recommend it.

blackpenredpen - Inverse of a 3 by 3 matrix (3 ways) [24min-47secs]

video by blackpenredpen

Practice - Determinants and Cofactors

Use determinants and cofactors to find the inverses of these matrices.

\(\displaystyle{K = \left[\begin{array}{rrr} 0 & 0 & 1 \\ 2 & -1 & 3 \\ 1 & 1 & 4\end{array}\right]}\)

Problem Statement

Use determinants and cofactors to find the inverse of the matrix \(\displaystyle{K = \left[\begin{array}{rrr} 0 & 0 & 1 \\ 2 & -1 & 3 \\ 1 & 1 & 4\end{array}\right]}\)

Final Answer

\(\displaystyle{K^{-1}=\frac{1}{3}\left[\begin{array}{rrr} -7 & 1 & 1 \\ -5 & -1 & 2 \\ 3 & 0 & 0\end{array}\right]}\)

Problem Statement

Use determinants and cofactors to find the inverse of the matrix \(\displaystyle{K = \left[\begin{array}{rrr} 0 & 0 & 1 \\ 2 & -1 & 3 \\ 1 & 1 & 4\end{array}\right]}\)

Solution

PatrickJMT - 2022 video solution

video by PatrickJMT

Final Answer

\(\displaystyle{K^{-1}=\frac{1}{3}\left[\begin{array}{rrr} -7 & 1 & 1 \\ -5 & -1 & 2 \\ 3 & 0 & 0\end{array}\right]}\)

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{L = \left[\begin{array}{rrr} 3 & -1 & 2 \\ 5 & 1 & 0 \\ -2 & 3 & 4\end{array}\right]}\)

Problem Statement

Use determinants and cofactors to find the inverse of the matrix \(\displaystyle{L = \left[\begin{array}{rrr} 3 & -1 & 2 \\ 5 & 1 & 0 \\ -2 & 3 & 4\end{array}\right]}\)

Final Answer

\(\displaystyle{L^{-1} = \frac{1}{66}\left[\begin{array}{rrr} 4 & 10 & -2 \\ -20 & 16 & 10 \\ 17 & -7 & 8\end{array}\right]}\)

Problem Statement

Use determinants and cofactors to find the inverse of the matrix \(\displaystyle{L = \left[\begin{array}{rrr} 3 & -1 & 2 \\ 5 & 1 & 0 \\ -2 & 3 & 4\end{array}\right]}\)

Solution

PatrickJMT - 2023 video solution

video by PatrickJMT

Final Answer

\(\displaystyle{L^{-1} = \frac{1}{66}\left[\begin{array}{rrr} 4 & 10 & -2 \\ -20 & 16 & 10 \\ 17 & -7 & 8\end{array}\right]}\)

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 1 & 2 & 2 \\ 3 & -2 & 1 \\ 2 & 1 & -1 \end{array}\right]}\)

Problem Statement

Use determinants and cofactors to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 1 & 2 & 2 \\ 3 & -2 & 1 \\ 2 & 1 & -1 \end{array}\right]}\)

Solution

PatrickJMT - 2778 video solution

video by PatrickJMT

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 1 & 0 & 1 \\ 2 & -2 & -1 \\ 3 & 0 & 0 \end{array}\right]}\)

Problem Statement

Use determinants and cofactors to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 1 & 0 & 1 \\ 2 & -2 & -1 \\ 3 & 0 & 0 \end{array}\right]}\)

Solution

2779 video solution

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 2 & 1 & 0 \\ 1 & -1 & 1 \\ 3 & 2 & 1 \end{array}\right]}\)

Problem Statement

Use determinants and cofactors to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 2 & 1 & 0 \\ 1 & -1 & 1 \\ 3 & 2 & 1 \end{array}\right]}\)

Solution

2780 video solution

Log in to rate this practice problem and to see it's current rating.

\(\displaystyle{ \left[\begin{array}{rrr} 3 & 0 & 2 \\ 2 & 0 & -2 \\ 0 & 1 & 1 \end{array}\right]}\)

Problem Statement

Use determinants and cofactors to find the inverse of the matrix \(\displaystyle{ \left[\begin{array}{rrr} 3 & 0 & 2 \\ 2 & 0 & -2 \\ 0 & 1 & 1 \end{array}\right]}\)

Solution

2781 video solution

Log in to rate this practice problem and to see it's current rating.

Okay, so now that you know how to find the inverse of a matrix, you can use it to solve systems of linear equations.

Really UNDERSTAND Precalculus

Log in to rate this page and to see it's current rating.

Topics You Need To Understand For This Page

basics of matrices

matrix multiplication

To bookmark this page and practice problems, log in to your account or set up a free account.

Search Practice Problems

Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.

more calculus help

Shop Amazon - Rent eTextbooks - Save up to 80%

As an Amazon Associate I earn from qualifying purchases.

I recently started a Patreon account to help defray the expenses associated with this site. To keep this site free, please consider supporting me.

Support 17Calculus on Patreon
next: solve linear systems of equations using the inverse matrix →

Practice Search
next: solve linear systems of equations using the inverse matrix →

Practice Instructions

Unless otherwise instructed, calculate the inverse of these matrices. If given, use the indicated method to calculate the inverse.

Do NOT follow this link or you will be banned from the site!

When using the material on this site, check with your instructor to see what they require. Their requirements come first, so make sure your notation and work follow their specifications.

DISCLAIMER - 17Calculus owners and contributors are not responsible for how the material, videos, practice problems, exams, links or anything on this site are used or how they affect the grades or projects of any individual or organization. We have worked, to the best of our ability, to ensure accurate and correct information on each page and solutions to practice problems and exams. However, we do not guarantee 100% accuracy. It is each individual's responsibility to verify correctness and to determine what different instructors and organizations expect. How each person chooses to use the material on this site is up to that person as well as the responsibility for how it impacts grades, projects and understanding of calculus, math or any other subject. In short, use this site wisely by questioning and verifying everything. If you see something that is incorrect, contact us right away so that we can correct it.

Links and banners on this page are affiliate links. We carefully choose only the affiliates that we think will help you learn. Clicking on them and making purchases help you support 17Calculus at no extra charge to you. However, only you can decide what will actually help you learn. So think carefully about what you need and purchase only what you think will help you.

We use cookies on this site to enhance your learning experience.

17calculus

Copyright © 2010-2022 17Calculus, All Rights Reserved     [Privacy Policy]     [Support]     [About]

mathjax.org
Real Time Web Analytics