We explain what the inverse of a matrix is and how to find it. You will learn the formulas to calculate the inverse of a 2×2 matrix and the inverse of a 3×3 matrix. Also, you will see several solved examples. And finally, we explain the properties of the inverse matrix.

Table of Contents

## What is the inverse of a matrix?

The definition of the inverse of a matrix is as follows:

The **inverse of a matrix** is a matrix that multiplied by the original matrix results in the identity matrix, regardless of the order of the matrix multiplication.

Thus, let A be a square matrix, the inverse of matrix A is denoted by A^{-1} and satisfies:

A·A^{-1}=I

A^{-1}·A=I

Where I is the identity matrix.

## When can a matrix be inverted?

The easiest way to determine the invertibility of a matrix is by computing its determinant:

- If the determinant of the matrix is nonzero,
**the matrix is invertible**. - If the determinant of the matrix is equal to 0,
**the matrix cannot be inverted**. In such a case, the matrix is singular or degenerate.

## How to find the inverse of a 2×2 matrix

The formula to find the inverse of a 2×2 matrix is as follows:

As you can see, inverting a 2×2 dimension matrix is simple: you only have to solve the determinant of the matrix (|A|), switch the elements on the main diagonal, and change the sign of the elements on the secondary diagonal.

### Example

We are going to calculate the inverse of the following 2×2 square matrix:

First, we take the determinant of the 2×2 matrix:

Now we apply the formula of the inverse matrix:

And we multiply the matrix by the fraction:

So the inverse of matrix A is:

As you can see, inverting a matrix with this formula is very fast, but it can only be used for 2×2 matrices.

### Practice

#### Problem 1

Invert the following 2×2 dimension matrix:

**See solution**

First of all, we compute the determinant of the matrix:

Secondly, we use the formula to find the inverse matrix:

Therefore, the inverse of matrix A is:

#### Problem 2

Find the inverse of the following matrix of order 2:

**See solution**

First we compute the determinant of the matrix:

Then we use the formula of the inverse matrix:

And finally, we perform the multiplication:

#### Problem 3

Perform the matrix inversion of the following 2×2 dimension matrix:

**See solution**

The determinant of matrix A is:

Now we apply the formula to calculate the inverse of matrix A:

And we solve the product of the fraction and the matrix:

## How to find the inverse of a 3×3 matrix

The formula to calculate the **inverse of a 3×3 matrix** is as follows:

Where:

- is the determinant of matrix A.
- is the adjugate or adjoint of matrix A.

Next we will see how to calculate the inverse of a 3×3 matrix by solving an exercise step by step:

### Example

Find the inverse of the following 3×3 matrix:

To determine the inverse of the matrix, we have to apply the following formula:

Therefore, we have to calculate the determinant of the matrix and verify that it is different from 0. So we evaluate the determinant of the 3×3 matrix using cofactor expansion:

The determinant of the matrix is not 0, so the matrix is invertible.

Therefore, substituting the value of the determinant in the formula, the inverse of the matrix will be:

Now we have to calculate the adjoint of matrix A. To do this, we have to replace each element of matrix A by its cofactor in order to obtain the cofactor matrix, and then transpose the cofactor matrix.

Remember that the formula to compute the i, j cofactor of a matrix is as follows:

Where M_{ij} is the i, j minor of the matrix, that is, the determinant that results from deleting the i-th row and the j-th column of the matrix.

So the cofactors of the elements of matrix A are:

Once we have calculated all the cofactors, we simply have to replace each entry of A by its cofactor:

And we transpose the cofactor matrix to find the adjugate matrix:

Thus, we substitute the adjugate matrix in the formula of the inverse matrix:

And finally, we multiply each term in the matrix by the fraction:

Once we have seen how to compute the inverse of a 3×3 matrix, you can practice with the following exercises solved step by step to fully understand the concept.

### Practice

#### Problem 4

Invert the following 3×3 dimension matrix by the adjoint matrix method:

**See solution**

The inverse matrix formula is:

First we solve the determinant of the matrix using cofactor expansion:

The determinant is nonzero, therefore, the matrix can be inverted.

Once we have solved the determinant, we find the cofactor of each element of matrix A:

Now we calculate the cofactor matrix by replacing each element by its cofactor:

And we transpose the cofactor matrix to obtain the adjoint of matrix A:

So the inverted matrix is:

#### Problem 5

Find the inverse of the following matrix of order 3 by the adjoint matrix algorithm:

**See solution**

The formula to find the inverse of a matrix of order 3 is as follows:

So, first we have to calculate the determinant of the matrix to check the invertibility of the matrix:

The determinant of matrix A is equal to zero so **the matrix is non-invertible**, in other words, the inverse of matrix A does not exist.

#### Problem 6

Perform the matrix inversion of the following 3×3 dimension matrix by the adjugate matrix method:

**See solution**

To invert the 3×3 matrix we have to apply the following formula:

First we evaluate the determinant of the 3×3 matrix:

The determinant is nonzero, therefore, the matrix can be inverted.

Once we have solved the determinant, we find the cofactors of all the elements of matrix A:

Now we calculate the cofactor matrix by replacing each element of matrix A by its cofactor:

We transpose the cofactor matrix to find the adjugate matrix:

And we apply the formula of the inverse of a 3×3 matrix:

## Properties of the inverse matrix

The inverse matrix has the following characteristics:

- The inverse of a matrix is unique. That is, if the matrix is invertible, it only exists one inverse matrix.

- The inverse of the inverse matrix results in the original matrix:

- The inverse of a matrix multiplication is equal to the product of the inverses of the matrices but changing their order of multiplication.

- Transposing a matrix first and then finding the inverse of the matrix is the same as first calculating the inverse of the matrix and then transposing it.

- The determinant of the inverse of a matrix equals to the reciprocal of the determinant of the original matrix.

- If a matrix is invertible, the following equation holds for a scalar multiplication:

## Solving a system of equations with the inverse matrix

Now you may be wondering… what is the inverse matrix for? Is it really used for something?

Well, one of the applications of the inverse matrix is the resolution of systems of linear equations. Let’s see an example of how to do it:

A system of equations can be expressed with matrices:

We can verify that these matrices correspond to the system of equations by multiplying the matrices, since we would obtain the two equations of the system.

Now, to simplify the following steps, we will name A the square matrix that has the coefficients of the unknowns, X the column matrix with the unknowns, and B the column matrix with the independent terms:

So matrix X is the unknown of the matrix equation.

This procedure is based on the definition of the inverse matrix: any matrix multiplied by its inverse is equal to the identity (or unit) matrix. Therefore, we can easily solve for the unknown matrix X by multiplying both sides of the equation by the inverse of matrix A:

And once we have cleared matrix X, we calculate the inverse of matrix A and compute the product of matrices:

Therefore, the solution of the system of equations is:

WASSWA RobertSo wonderful I have learnt much be blessed