Solving an equation like is straightforward in basic algebra. To isolate the unknown variable , you multiply both sides by the multiplicative inverse of 5, which is or . This gives you , which simplifies to , or just .
We can apply a very similar logic to the matrix equation . We want to isolate the vector . However, you cannot "divide" by a matrix. Instead, we need to find the matrix equivalent of a multiplicative inverse: the matrix inverse.
The inverse of a square matrix is denoted as . When you multiply a matrix by its inverse, you get the identity matrix, . The identity matrix, which we will look at more closely in the next section, is the matrix equivalent of the number 1. It is a square matrix with 1s on the main diagonal and 0s everywhere else.
The defining property of the inverse is:
With the matrix inverse , we have a direct method for solving our system of equations. Let's see how it works by applying it to our original problem, .
Start with the equation:
Pre-multiply both sides by the inverse, : It's important to multiply from the left side on both sides of the equation, because matrix multiplication is not commutative (meaning is not always equal to ).
Group the matrices: Since matrix multiplication is associative, we can regroup the terms on the left.
Simplify using the inverse property: We know that simplifies to the identity matrix .
Isolate x: Multiplying any vector or matrix by the identity matrix leaves it unchanged (just like multiplying a number by 1). Therefore, is simply .
This final equation gives us a direct formula to find the unknown vector . If we can find the inverse of matrix , we can solve the system by simply multiplying by the vector .
The diagram shows how the inverse, , is used to transform the problem into a direct solution for .
Before we get too excited, there is a major condition: not all matrices have an inverse. For a matrix to have an inverse, it must meet two conditions:
Let's look at a simple example. Consider the matrix :
The inverse of this matrix (which can be found using methods we'll see later) is:
To verify that this is indeed the inverse, let's multiply them together and see if we get the identity matrix:
It works. If we had a system of equations where was our coefficient matrix, we could use this to find the solution.
The matrix inverse is a foundational tool for solving linear systems. But this raises two important questions: How do we know if a matrix is invertible without just trying to find its inverse? And how do we calculate the inverse or solve the system efficiently? We'll begin to answer these questions in the next section on determinants.
Was this section helpful?
© 2026 ApX Machine LearningEngineered with