This page covers matrix inverses. One big application of matrix inverses is solving linear systems using an inverse matrix.
Recommended Books on Amazon (affiliate links) | ||
---|---|---|
![]() |
![]() |
![]() |
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.
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.
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
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
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
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.
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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 |
---|
To bookmark this page and practice problems, log in to your account or set up a free account.
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.
| |
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 Instructions
Unless otherwise instructed, calculate the inverse of these matrices. If given, use the indicated method to calculate the inverse.