Solving systems of equations using inverse matrices

If you write your system in the form AX = B, and A is invertible, then you can multiply both sides by the inverse of A to solve for X. Here A, X, and B are matrices of the variables' coefficients, the variables themselves, and the equations' constants.

First, you must be able to write your system in Standard form, before you write your matrix equation.
Ex: 2x + 3y = 7
-x + 5y = 3

Solving systems of equations using inverse matrices

As you know from other operations, the Identity produces itself (adding 0, multiplying by 1), leaving you with the variables alone on the left side, and your answers on the right! All you have to do is multiply matrix #A^-1# times matrix B.

Solving systems of equations using inverse matrices

Here you can solve systems of simultaneous linear equations using Inverse Matrix Method Calculator with complex numbers online for free. All the auxiliary methods used in calculation can be calculated apart with more details.

Have questions? Read the instructions.

About the method

To solve a system of linear equations using inverse matrix method you need to do the following steps.

  1. Set the main matrix and calculate its inverse (in case it is not singular).
  2. Multiply the inverse matrix by the solution vector.
  3. The result vector is a solution of the matrix equation.

To understand inverse matrix method better input any example and examine the solution.

In this explainer, we will learn how to solve a system of three linear equations using the inverse of the matrix of coefficients.

We can solve a system of linear equations, which are also called simultaneous equations, using the substitution or elimination methods, but these methods become convoluted when the number of equations are more than two. Even with a system of three equations, this process is time consuming to solve by hand. But if we want to program a computer to perform this task for us, we need a more systemic approach to this task.

This is where the matrix method comes in. One of the most widely used applications of matrix operations is to formalize this process by means of the matrix inverse so that we can easily program a computer to perform this task. We will see further below in this explainer how to write these systems of ๐‘› linear equations as one matrix equation of the form ๐ด๐‘‹ =๐ต, where ๐ด is a square matrix of order ๐‘›ร—๐‘› and ๐‘‹ and ๐ต are matrices of order ๐‘›ร—1. ๐‘‹ is the unknown matrix (i.e., its ๐‘› elements are unknown). Let us begin first by discussing how to solve a matrix equation of the form ๐ด๐‘‹=๐ต using the matrix inverse.

We know that ๐ด is a square matrix. Recall that the inverse of a square matrix exists if its determinant is not equal to zero. Given a 3ร—3 matrix ๐ด with det๐ดโ‰ 0, the inverse matrix ๐ด๏Šฑ๏Šง is the 3ร—3 matrix satisfying ๐ด๐ด=๐ด๐ด=๐ผ,๏Šฑ๏Šง๏Šฑ๏Šง where ๐ผ is the 3ร—3 identity matrix.

Now, to solve the matrix equation ๐ด๐‘‹=๐ต, where ๐ด and ๐ต are known 3ร—3 and 3ร—1 matrices, respectively, we need to multiply from the left by ๐ด๏Šฑ๏Šง on both sides of the equation to obtain ๐ด๐ด๐‘‹=๐ด๐ต.๏Šฑ๏Šง๏Šฑ๏Šง

Since ๐ด๐ด=๐ผ๏Šฑ๏Šง, this equation simplifies to ๐‘‹=๐ด๐ต. ๏Šฑ๏Šง

Both ๐ด๏Šฑ๏Šง and ๐ต are known matrices; hence, this gives the solution to the matrix equation ๐ด๐‘‹=๐ต.

How To: Solving Matrix Equations

Let ๐ด be an invertible matrix and ๐ต be a matrix such that the multiplication ๐ด๐ต๏Šฑ๏Šง is defined. Matrix ๐‘‹ satisfying the equation ๐ด๐‘‹=๐ต is given by ๐‘‹=๐ด๐ต.๏Šฑ๏Šง

This method gives us a way to solve any matrix equation of the form ๐ด๐‘‹=๐ต if matrix ๐ด is invertible. However, this method cannot be used when ๐ด is not invertible. This could happen if ๐ด is not a square matrix or if ๐ด is square and det๐ด=0. In such cases, the matrix equation has either an infinite number of solutions or no solution. We will not focus on these scenarios in this explainer, and we will check that the coefficient matrix is invertible before proceeding.

In our first example, we will solve a matrix equation when the inverse of a 3ร—3 matrix is provided.

Example 1: Solving a Matrix Equation Involving a 3 ร— 3 Matrix

Given that ๏€113025301๏Œ=๏€โˆ’211โˆ’15856โˆ’3โˆ’2๏Œ,๏Šฑ ๏Šง solve the following matrix equation for ๐‘‹: ๏€ 12370โˆ’102โˆ’2๏Œโˆ’๏€113025301๏Œ๐‘‹=๏€โˆ’1226โˆ’112โˆ’20๏Œ.

Answer

In this example, we need to solve a matrix equation to find the unknown matrix ๐‘‹. To solve this equation, we want to rearrange the equation so that ๐‘‹ is the subject. We can begin by subtracting both sides of the equation by the leftmost matrix in the equation: โˆ’๏€113025301๏Œ๐‘‹=๏€โˆ’1226โˆ’112โˆ’20๏Œโˆ’๏€12370โˆ’102โˆ’2๏Œ=๏€โˆ’20โˆ’1โˆ’1โˆ’122โˆ’42๏Œ.

Now, we can multiply both sides of the equation by โˆ’1 to write ๏€11302 5301๏Œ๐‘‹=๏€20111โˆ’2โˆ’24โˆ’2๏Œ.

Finally, we can multiply from the left by the provided inverse matrix on both sides of the equation to write ๏€โˆ’211โˆ’1585 6โˆ’3โˆ’2๏Œ๏€113025301๏Œ๐‘‹=๏€โˆ’211โˆ’15856โˆ’3โˆ’2๏Œ๏€20111โˆ’2โˆ’24โˆ’2๏Œ.

We know that, for any invertible square matrix ๐ด, ๐ด๐ด=๐ผ,๏Šฑ๏Šง where ๐ผ is the identity matrix of the same order. Hence, the multiplication of the two matrices on the left-hand side of the equation will result in the identity matrix, which simplifies the equation to ๐‘‹=๏€โˆ’21 1โˆ’15856โˆ’3โˆ’2๏Œ๏€20111โˆ’2โˆ’24โˆ’2๏Œ.

Hence, we can finish by working out the matrix multiplication: ๐‘‹=๏ƒโˆ’2ร—2+1ร—1+1ร—(โˆ’2)โˆ’2ร—0+1ร—1+1ร—4โˆ’2ร—1+1ร—(โˆ’2)+1ร—(โˆ’2)โˆ’15ร—2+8ร—1+5ร—(โˆ’2)โˆ’15ร—0+8ร—1+5ร—4โˆ’15ร—1+8ร—(โˆ’2)+5ร—(โˆ’2)6ร—2+(โˆ’3)ร—1+(โˆ’2)ร—(โˆ’2)6ร—0+(โˆ’3)ร—1+(โˆ’2)ร—46ร—1+(โˆ’3)ร—(โˆ’2)+(โˆ’2)ร—(โˆ’2)๏=๏€โˆ’55โˆ’6โˆ’3228โˆ’4113โˆ’1116๏Œ.

In the previous example, we solved a matrix equation using a matrix inverse. However, we were given the inverse of the 3ร—3 matrix, which is usually the most difficult part. If we are not given the inverse matrix, we will need to first find the inverse matrix. Let us recall the adjoint method for finding the inverse of a 3ร—3 matrix.

How To: Finding the Inverse of a 3 ร— 3 Matrix with the Adjoint Method

For a 3ร—3 matrix ๐ด with det๐ดโ‰ 0, we can find the inverse matrix ๐ด๏Šฑ๏Šง by the following steps:

  1. Find the determinant of ๐ด and make sure that it is nonzero.
  2. For each ๐‘–,๐‘—โˆˆ{1,2,3}, find the determinants of matrix minor ๐ด๏ƒ๏…, which is the 2ร—2 matrix obtained by removing the ๐‘–th row and ๐‘—th column of ๐ด.
  3. Write the cofactor matrix, which is the 3ร—3 matrix ๏€น๐‘๏…๏ƒ๏…, with ๐‘=(โˆ’1)|๐ด|.๏ƒ๏… ๏ƒ๏Šฐ๏…๏ƒ๏…
  4. Find the adjoint matrix by transposing the cofactor matrix: adj๐ด=๐ถ.๏Œณ
  5. Multiply the adjoint matrix adj๐ด by the reciprocal of the determinant of ๐ด to obtain the inverse matrix: ๐ด=1๐ด๐ด.๏Šฑ๏Šงdetadj

As we can see above, finding the inverse of a 3ร—3 matrix is a tedious process. The same method can be used for square matrices of higher order; it would be too lengthy to even compute the determinant of the matrix by hand, let alone the inverse. For this reason, many scientific calculators or mathematical programs have built-in functions for computing the inverse of a matrix.

For a 3ร—3 matrix, we can compute the inverse matrix by hand using the adjoint method. In the next example, we will find the inverse of a 3ร—3 matrix using the adjoint method and use it to solve a given matrix equation.

Example 2: Solving a Matrix Equation by Finding the Inverse of a Matrix

Solve ๏€1โˆ’1โˆ’111โˆ’ 1110๏Œ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=๏€9โˆ’ 116๏Œ using the inverse of a matrix.

Answer

In this example, we need to solve a matrix equation. To solve this equation, we need to multiply from the left by the inverse of the given 3ร—3 matrix on both sides of the equation. Let us begin by finding the inverse of the 3ร—3 matrix: ๐ด=๏€1โˆ’1โˆ’11 1โˆ’1110๏Œ.

Recall that a square matrix is invertible if its determinant is nonzero. Let us begin by computing the determinant of this matrix and making sure that it is nonzero.

We recall that, for a 3ร—3 matrix ๐ด=๏€น๐‘Ž๏…๏ƒ๏…, its determinant can be computed by det๐ด=๐‘Ž|๐ด|โˆ’๐‘Ž| ๐ด|+๐‘Ž|๐ด|,๏Šง๏Šง๏Šง๏Šง ๏Šง๏Šจ๏Šง๏Šจ๏Šง๏Šฉ๏Šง๏Šฉ where ๐ด๏ƒ๏… are matrix minors obtained by taking the ๐‘–th row and ๐‘—th column from matrix ๐ด. We can apply this formula to our coefficient matrix ๐ด to obtain det๐ด=1ร—| |1โˆ’110||โˆ’(โˆ’1)ร—||1โˆ’110||+(โˆ’1)||1111||=1(1ร—0โˆ’(โˆ’1)ร—1)โˆ’(โˆ’ 1)(1ร—0โˆ’(โˆ’1)ร—1)+(โˆ’1)(1ร—1โˆ’1ร—1)=1+1+0=2.

Since det๐ดโ‰ 0, we know that the inverse matrix ๐ด๏Šฑ๏Šง exists. We can find the inverse matrix by using the adjoint method as follows:

  1. Find the cofactor matrix ๐ถ=๏€น๐‘๏…๏ƒ๏…๏Šฉ ร—๏Šฉ where ๐‘=(โˆ’1)|๐ด|.๏ƒ๏…๏ƒ๏Šฐ๏…๏ƒ๏…
  2. Find the adjoint matrix by transposing the cofactor matrix: adj๐ด=๐ถ. ๏Œณ
  3. Multiply the adjoint matrix by the reciprocal of the determinant of ๐ด to obtain the inverse matrix: ๐ด=1๐ด๐ด.๏Šฑ๏Šงdetadj

Let us first find the cofactor matrix. Entries of the cofactor matrix are the determinants of the corresponding matrix minors multiplied by the alternating sign (โˆ’1)๏ƒ๏Šฐ๏…. We need to compute the determinants of 9 matrix minors with the corresponding sign for this purpose: +|๐ด|=+||1โˆ’110||=1,โˆ’|๐ด|=โˆ’||1โˆ’110||=โˆ’1,+|๐ด|=+||1111||=0,โˆ’|๐ด|=โˆ’||โˆ’1โˆ’110||=โˆ’1,+|๐ด|=+||1โˆ’110||=1,โˆ’|๐ด|=โˆ’||1โˆ’111||=โˆ’2,+|๐ด|=+||โˆ’1โˆ’11โˆ’1||=2,โˆ’| ๐ด|=โˆ’||1โˆ’11โˆ’1| |=0,+|๐ด|=+||1โˆ’111||=2.๏Šง๏Šง๏Šง ๏Šจ๏Šง๏Šฉ๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Šฉ๏Šฉ๏Šง๏Šฉ๏Šจ๏Šฉ๏Šฉ

This leads to the cofactor matrix ๏€1โˆ’10โˆ’ 11โˆ’2202๏Œ.

We can find the adjoint matrix by taking the transpose: adj๐ด=๏€1โˆ’ 12โˆ’1100โˆ’22๏Œ.

Finally, by multiplying by the reciprocal of the determinant, which we computed earlier to be 2, we obtain ๐ด=12๏€1โˆ’12โˆ’1100โˆ’22๏Œ.๏Šฑ๏Šง

Now that we have found the inverse matrix, we can multiply this matrix from the left on both sides of the given equation to write 12๏€1โˆ’12โˆ’1100โˆ’22๏Œ๏€1โˆ’1โˆ’111โˆ’1110๏Œ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=12๏€1โˆ’12โˆ’1100โˆ’22๏Œ๏€9โˆ’116๏Œ.

We know that, for any invertible square matrix ๐ด, ๐ด๐ด=๐ผ,๏Šฑ๏Šง where ๐ผ is the identity matrix of the same order. Hence, the multiplication of the two matrices and the scalar on the left-hand side of the equation will result in the identity matrix, which simplifies the equation to ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=12๏€1โˆ’12โˆ’1100 โˆ’22๏Œ๏€9โˆ’116๏Œ.

Hence, we can finish by computing the matrix and scalar multiplication on the right-hand side of this equation: ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=12๏ƒ1ร—9+(โˆ’1)ร—(โˆ’11)+2ร—6โˆ’1ร—9+1ร—(โˆ’11)+0ร—60ร—9+(โˆ’2)ร—(โˆ’11)+2ร—6๏=12๏€32โˆ’2034๏Œ=๏€16โˆ’1017๏Œ.

This leads to ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=๏€16โˆ’1017๏Œ.

Equating the corresponding entries of the matrices above, we obtain ๐‘ฅ=16,๐‘ฆ=โˆ’10,๐‘ง=17.

In the previous example, we solved a given matrix equation by first finding the inverse of a 3ร—3 matrix. The matrix equation that we solved in this example is equivalent to a system of 3 equations with 3 unknowns. Once we write a system of equations into its matrix form, we can follow this method to solve the system of equations. Let us recall how to write a matrix equation equivalent to a given system of linear equations.

Definition: Matrix Form of a System of Linear Equations

Consider a general system of linear equations with unknown variables ๐‘ฅ,๐‘ฅ,โ€ฆ,๐‘ฅ๏Šง ๏Šจ๏Š: ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘,๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘,โ‹ฎโ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎโ‹ฎ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘.๏Šง๏Šง๏Šง๏Šง ๏Šจ๏Šจ๏Šง๏Š๏Š๏Šง๏Šจ๏Šง๏Šง๏Šจ๏Šจ๏Šจ๏Šจ๏Š๏Š๏Šจ๏‰๏Šง๏Šง๏‰๏Šจ๏Šจ๏‰๏Š๏Š๏‰

The coefficient matrix ๐ด is defined by ๐ด=โŽ›โŽœโŽœโŽ๐‘Ž๐‘Žโ‹ฏ๐‘Ž๐‘Ž๐‘Žโ‹ฏ๐‘Žโ‹ฎโ‹ฎโ‹ฑโ‹ฎ๐‘Ž๐‘Žโ‹ฏ๐‘ŽโŽžโŽŸโŽŸโŽ . ๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Š๏‰๏Šง๏‰๏Šจ๏‰๏Š

Also, the variable and constant matrices ๐‘‹ and ๐ต, respectively, are given by ๐‘‹=โŽ›โŽœโŽœโŽ๐‘ฅ๐‘ฅโ‹ฎ๐‘ฅโŽžโŽŸโŽŸโŽ ,๐ต=โŽ›โŽœโŽœโŽœโŽ๐‘๐‘โ‹ฎ๐‘โŽžโŽŸโŽŸโŽŸโŽ .๏Šง๏Šจ๏Š๏Šง๏Šจ๏‰

The given system of linear equations is equivalent to the matrix equation ๐ด๐‘‹=๐ต.

We can see that the number of rows in the coefficient matrix ๐ด is equal to the number of equations, and the number of its columns is equal to the number of unknown variables. Hence, if we begin with a system of three equations containing three unknowns, the order of the coefficient matrix ๐ด will be 3ร—3. This means that we need to find the inverse of a 3ร—3 matrix in order to solve this matrix equation.

In the next example, we will write a matrix equation that is equivalent to a given system of 3 linear equations and 3 unknowns. We will then solve the matrix equation using the matrix inverse.

Example 3: Solving a Set of Simultaneous Equations Using Matrices

Consider the system of equations 2๐‘+2 ๐‘ž+4๐‘Ÿ=4,โˆ’๐‘โˆ’๐‘žโˆ’๐‘Ÿ =14,2๐‘+5๐‘ž+6๐‘Ÿ=10.

  1. Express the system as a single matrix equation.
  2. Work out the inverse of the coefficient matrix.
  3. Multiply through by the inverse, on the left-hand side, to solve the matrix equation.

Answer

Part 1

In this part, we need to write a matrix equation that is equivalent to the given system of 3 equations. Recall that a system of linear equations ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘,๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘,โ‹ฎโ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎโ‹ฎ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘.๏Šง๏Šง๏Šง๏Šง๏Šจ๏Šจ ๏Šง๏Š๏Š๏Šง๏Šจ๏Šง๏Šง๏Šจ๏Šจ๏Šจ๏Šจ๏Š๏Š๏Šจ๏‰๏Šง๏Šง๏‰๏Šจ๏Šจ๏‰๏Š๏Š๏‰ is equivalent to the matrix equation โŽ›โŽœโŽœโŽ๐‘Ž๐‘Žโ‹ฏ๐‘Ž๐‘Ž ๐‘Žโ‹ฏ๐‘Žโ‹ฎโ‹ฎโ‹ฑโ‹ฎ๐‘Ž๐‘Žโ‹ฏ๐‘ŽโŽžโŽŸโŽŸโŽ โŽ›โŽœโŽœโŽ๐‘ฅ๐‘ฅโ‹ฎ๐‘ฅโŽžโŽŸโŽŸโŽ =โŽ›โŽœโŽœโŽœโŽ๐‘๐‘โ‹ฎ๐‘โŽžโŽŸโŽŸโŽŸโŽ .๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šจ๏Šง ๏Šจ๏Šจ๏Šจ๏Š๏‰๏Šง๏‰๏Šจ๏‰๏Š๏Šง๏Šจ๏Š๏Šง๏Šจ๏‰

The matrices in the equation above are called the coefficient, variable, and constant matrices, respectively. From the given system of equations, our variables have names ๐‘ , ๐‘ž, and ๐‘Ÿ, which form the entries of the variable matrix. The constants 4, 14, and 10 on the right-hand sides of the given equations form the entries of the constant matrix. Hence, the variable and constant matrices are, respectively, ๏€๐‘๐‘ž๐‘Ÿ ๏Œ,๏€41410๏Œ.

To find the coefficient matrix, we need to write down the coefficients of each variable in the correct order (that is, the order of ๐‘, ๐‘ž, and ๐‘Ÿ) for each equation. The coefficients are not explicitly visible in the second equation, since only the negative signs appear in front of the variables. This indicates that the coefficients of ๐‘, ๐‘ž, and ๐‘Ÿ in the second equation are โˆ’1. We can write this into the equations: 2๐‘+2๐‘ž+4๐‘Ÿ= 4,โˆ’1๐‘โˆ’1๐‘žโˆ’1๐‘Ÿ=1 4,2๐‘+5๐‘ž+6๐‘Ÿ=10 .

This leads to the coefficient matrix ๏€224โˆ’1โˆ’1โˆ’1256๏Œ.

Hence, the matrix equation is ๏€224โˆ’1โˆ’1โˆ’125 6๏Œ๏€๐‘๐‘ž๐‘Ÿ๏Œ=๏€41410๏Œ.

Part 2

In this part, we need to find the inverse of the coefficient matrix. We obtained, in the previous part, that the coefficient matrix is ๐ด=๏€224โˆ’1โˆ’1โˆ’1256๏Œ.

Recall that a square matrix is invertible if its determinant is nonzero. Let us begin by computing the determinant of this matrix and making sure that it is nonzero.

We recall that, for a 3 ร—3 matrix ๐ด=๏€น๐‘Ž๏…๏ƒ๏…, its determinant can be computed by det๐ด=๐‘Ž|๐ด|โˆ’๐‘Ž|๐ด|+๐‘Ž|๐ด|๏Šง๏Šง๏Šง๏Šง๏Šง๏Šจ๏Šง๏Šจ๏Šง๏Šฉ๏Šง๏Šฉ where ๐ด๏ƒ๏… are matrix minors obtained by taking the ๐‘–th row and ๐‘—th column from matrix ๐ด. We can apply this formula to our coefficient matrix ๐ด to obtain det๐ด=2||โˆ’1โˆ’156||โˆ’2||โˆ’1โˆ’126||+4||โˆ’1โˆ’125||=2((โˆ’1)ร—6โˆ’(โˆ’1)ร— 5)โˆ’2((โˆ’1)ร—6โˆ’(โˆ’1)ร—2)+4((โˆ’1)ร— 5โˆ’(โˆ’1)ร—2)=2ร—(โˆ’1)โˆ’2ร—(โˆ’4)+4ร—(โˆ’3)=โˆ’6.

Since det๐ดโ‰ 0, we know that the inverse matrix ๐ด๏Šฑ๏Šง exists. Let us find the inverse. Recall that we can find the inverse matrix by using the adjoint method as follows:

  1. Find the cofactor matrix ๐ถ=๏€น๐‘๏…๏ƒ๏…๏Šฉร—๏Šฉ where ๐‘=(โˆ’1)|๐ด|.๏ƒ๏…๏ƒ๏Šฐ๏…๏ƒ๏…
  2. Find the adjoint matrix by transposing the cofactor matrix: adj๐ด=๐ถ.๏Œณ
  3. Multiply the adjoint matrix by the reciprocal of the determinant of ๐ด to obtain the inverse matrix: ๐ด=1๐ด๐ด.๏Šฑ๏Šงd etadj

Let us first find the cofactor matrix. Entries of the cofactor matrix are the determinants of the corresponding matrix minors multiplied by the alternating sign (โˆ’1)๏ƒ๏Šฐ๏…. We need to compute the determinants of 9 matrix minors with the corresponding sign for this purpose: +|๐ด|=+||โˆ’1โˆ’156||=โˆ’1,โˆ’|๐ด|=โˆ’||โˆ’1โˆ’126||=4,+|๐ด|=+||โˆ’1โˆ’125||=โˆ’3,โˆ’|๐ด|=โˆ’||2456||=8,+|๐ด|=+||2426||=4,โˆ’|๐ด|=โˆ’||2225||=โˆ’6,+|๐ด|=+||24โˆ’1โˆ’1||=2,โˆ’|๐ด|=โˆ’||24โˆ’1โˆ’1||=โˆ’2, +|๐ด|=+||22โˆ’1โˆ’1||=0.๏Šง๏Šง๏Šง๏Šจ๏Šง๏Šฉ ๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Šฉ๏Šฉ๏Šง๏Šฉ๏Šจ๏Šฉ๏Šฉ

This leads to the cofactor matrix ๏€โˆ’14โˆ’384โˆ’ 62โˆ’20๏Œ.

We can find the adjoint matrix by taking the transpose: adj๐ด=๏€โˆ’18244โˆ’2โˆ’3โˆ’60๏Œ.

Finally, by multiplying by the reciprocal of the determinant, which we computed earlier to be โˆ’6, we obtain ๐ด=โˆ’16๏€โˆ’18244โˆ’2โˆ’3โˆ’60๏Œ.๏Šฑ๏Šง

Part 3

In this part, we need to solve the matrix equation by multiplying through by the inverse on the left-hand side. We recall the matrix equation we obtained in part 1: ๏€224โˆ’1โˆ’1โˆ’1256๏Œ๏€๐‘๐‘ž๐‘Ÿ๏Œ=๏€41410๏Œ.

If we multiply from the left by the inverse matrix on both sides of the equation, we obtain โˆ’16๏€โˆ’18244โˆ’2โˆ’3โˆ’60๏Œ๏€224โˆ’1โˆ’1โˆ’1256๏Œ๏€๐‘๐‘ž๐‘Ÿ๏Œ=โˆ’16๏€โˆ’18244โˆ’2โˆ’ 3โˆ’60๏Œ๏€41410๏Œ.

We know that the two matrices on the left-hand side of the equation are inverses of each other, which means that their product will be the identity matrix. This simplifies this equation to ๏€๐‘๐‘ž๐‘Ÿ๏Œ=โˆ’16๏€โˆ’18244โˆ’2โˆ’3โˆ’60๏Œ๏€41410๏Œ.

We can finish by computing the matrix multiplication on the right-hand side of the equation. This gives us ๏€๐‘๐‘ž๐‘Ÿ๏Œ=โˆ’16๏ƒโˆ’1ร—4+8ร—14+2ร—104ร—4+4ร—14+(โˆ’2)ร—10โˆ’3ร—4+(โˆ’6)ร—14+0ร—10๏=โˆ’16๏€12852โˆ’96๏Œ.

Computing the scalar multiplication and simplifying, we obtain โˆ’16๏€12852โˆ’ 96๏Œ=โŽ›โŽœโŽœโŽœโŽโˆ’643โˆ’26316โŽžโŽŸโŽŸโŽŸโŽ =13๏€โˆ’64โˆ’2648๏Œ.

Hence, ๏€๐‘๐‘ž๐‘Ÿ๏Œ =13๏€โˆ’64โˆ’2648๏Œ.

In the previous example, we wrote a matrix equation that is equivalent to a given system of three linear equations and solved the matrix equation using the matrix inverse. If we equate the corresponding entries of the solution of the matrix equation, we can find the solution of the system of equations.

In the next example, we will solve a given matrix equation and find the unknown constants of the variable matrix.

Example 4: Solving a System of Three Equation Using the Inverse of a Matrix

Use the inverse of a matrix to solve the system of linear equations โˆ’4๐‘ฅโˆ’2๐‘ฆโˆ’9๐‘ง=โˆ’8,โˆ’3๐‘ฅโˆ’2๐‘ฆโˆ’6๐‘ง=โˆ’3,โˆ’๐‘ฅ+๐‘ฆโˆ’6๐‘ง=7.

Answer

In this example, we need to solve a system of 3 equations with 3 unknowns using matrices. We can begin by writing a matrix equation that is equivalent to the given system of equations. Recall that a system of linear equations ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ= ๐‘,๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘, โ‹ฎโ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎโ‹ฎ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ ๐‘Ž๐‘ฅ=๐‘.๏Šง๏Šง๏Šง๏Šง๏Šจ๏Šจ๏Šง ๏Š๏Š๏Šง๏Šจ๏Šง๏Šง๏Šจ๏Šจ๏Šจ๏Šจ๏Š๏Š๏Šจ ๏‰๏Šง๏Šง๏‰๏Šจ๏Šจ๏‰๏Š๏Š๏‰ is equivalent to the matrix equation โŽ›โŽœโŽœโŽ๐‘Ž๐‘Žโ‹ฏ๐‘Ž๐‘Ž ๐‘Žโ‹ฏ๐‘Žโ‹ฎโ‹ฎโ‹ฑโ‹ฎ๐‘Ž๐‘Žโ‹ฏ๐‘ŽโŽžโŽŸโŽŸโŽ โŽ›โŽœโŽœโŽ๐‘ฅ๐‘ฅโ‹ฎ๐‘ฅโŽžโŽŸโŽŸโŽ =โŽ›โŽœโŽœโŽœโŽ๐‘๐‘โ‹ฎ๐‘โŽžโŽŸโŽŸโŽŸโŽ .๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šจ๏Šง ๏Šจ๏Šจ๏Šจ๏Š๏‰๏Šง๏‰๏Šจ๏‰๏Š๏Šง๏Šจ๏Š๏Šง๏Šจ๏‰

The matrices in the equation above are called the coefficient, variable, and constant matrices, respectively. From the given system of equations, our variables have names ๐‘ฅ , ๐‘ฆ, and ๐‘ง, which form the entries of the variable matrix. The constants โˆ’8, โˆ’3, and 7 on the right-hand sides of the given equations form the entries of the constant matrix. Hence, the variable and constant matrices are, respectively, ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹,๏€โˆ’8โˆ’37๏Œ.

To find the coefficient matrix, we need to write down the coefficients of each variable in the correct order (that is, the order of ๐‘ฅ, ๐‘ฆ, and ๐‘ง) for each equation. In the final equation, the coefficients of ๐‘ฅ and ๐‘ฆ are not visible, which means that they are โˆ’1 and 1, respectively. We can add these to the equation to write โˆ’4๐‘ฅโˆ’2๐‘ฆโˆ’9๐‘ง=โˆ’8,โˆ’3๐‘ฅโˆ’2๐‘ฆโˆ’6๐‘ง=โˆ’3,โˆ’1๐‘ฅ+1๐‘ฆโˆ’6๐‘ง=7.

This leads to the coefficient matrix ๏€โˆ’4โˆ’2โˆ’9โˆ’3โˆ’2โˆ’6โˆ’11โˆ’6๏Œ.

Hence, the matrix equation is

๏€โˆ’4โˆ’2โˆ’9โˆ’3โˆ’2โˆ’6โˆ’11โˆ’6๏Œ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=๏€โˆ’8โˆ’37๏Œ. (1)

We can solve this equation by multiplying from the left the inverse of the coefficient matrix on both sides of the equation (1). Let us find the inverse of the coefficient matrix ๐ด=๏€โˆ’ 4โˆ’2โˆ’9โˆ’3โˆ’2โˆ’6โˆ’11โˆ’6๏Œ.

We can use the adjoint method to obtain the inverse of this matrix, if it exists. Recall that a square matrix is invertible if its determinant is nonzero. Let us begin by computing the determinant of this matrix and making sure that it is nonzero.

We recall that, for a 3ร—3 matrix ๐ด=๏€น๐‘Ž๏…๏ƒ๏…, its determinant can be computed by d et๐ด=๐‘Ž|๐ด|โˆ’๐‘Ž|๐ด |+๐‘Ž|๐ด|๏Šง๏Šง๏Šง๏Šง๏Šง๏Šจ ๏Šง๏Šจ๏Šง๏Šฉ๏Šง๏Šฉ where ๐ด ๏ƒ๏… are matrix minors obtained by taking the ๐‘–th row and ๐‘—th column from matrix ๐ด. We can apply this formula to our coefficient matrix ๐ด to obtain det๐ด=(โˆ’4)||โˆ’2โˆ’61โˆ’6||โˆ’(โˆ’2) ||โˆ’3โˆ’6โˆ’1โˆ’6||+ (โˆ’9)||โˆ’3โˆ’2โˆ’11||=(โˆ’4)ร—18โˆ’(โˆ’2)ร—12+(โˆ’9)ร—(โˆ’5)=โˆ’3.

Since det๐ดโ‰ 0, we know that the inverse matrix ๐ด๏Šฑ ๏Šง exists. Let us find the inverse. Recall that we can find the inverse matrix by using the adjoint method as follows:

  1. Find the cofactor matrix ๐ถ=๏€น๐‘๏…๏ƒ๏…๏Šฉร—๏Šฉ where ๐‘ =(โˆ’1)|๐ด|.๏ƒ๏…๏ƒ๏Šฐ๏…๏ƒ๏…
  2. Find the adjoint matrix by transposing the cofactor matrix: adj๐ด=๐ถ.๏Œณ
  3. Multiply the adjoint matrix by the reciprocal of the determinant of ๐ด to obtain the inverse matrix: ๐ด=1๐ด๐ด.๏Šฑ๏Šงd etadj

Let us first find the cofactor matrix. Entries of the cofactor matrix are the determinants of the corresponding matrix minors multiplied by the alternating sign (โˆ’1)๏ƒ๏Šฐ๏…. We need to compute the determinants of 9 matrix minors with the corresponding sign for this purpose: +|๐ด|=+||โˆ’2โˆ’61โˆ’6||=18,โˆ’|๐ด|=โˆ’||โˆ’3โˆ’6โˆ’1โˆ’6||=โˆ’12,+|๐ด|=+||โˆ’3โˆ’2โˆ’11||=โˆ’5,โˆ’|๐ด|=โˆ’||โˆ’2โˆ’91โˆ’6||=โˆ’21,+|๐ด|=+||โˆ’4โˆ’9โˆ’1โˆ’6||=15,โˆ’|๐ด|=โˆ’||โˆ’4โˆ’2โˆ’11||=6,+|๐ด|=+||โˆ’2โˆ’9โˆ’2โˆ’6||=โˆ’6,โˆ’|๐ด|=โˆ’||โˆ’4โˆ’9โˆ’3โˆ’6||=3,+|๐ด|=+||โˆ’4โˆ’2โˆ’3โˆ’2||=2.๏Šง๏Šง๏Šง๏Šจ๏Šง๏Šฉ๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Šฉ๏Šฉ๏Šง๏Šฉ๏Šจ๏Šฉ๏Šฉ

This leads to the cofactor matrix ๏€18โˆ’12โˆ’5โˆ’ 21156โˆ’632๏Œ.

We can find the adjoint matrix by taking the transpose: adj๐ด=๏€18 โˆ’21โˆ’6โˆ’12153โˆ’562๏Œ.

Finally, by multiplying by the reciprocal of the determinant, which we computed earlier to be โˆ’3, we obtain ๐ด=โˆ’13๏€18โˆ’21โˆ’6โˆ’12153โˆ’562๏Œ.๏Šฑ๏Šง

Now that we have found the inverse matrix, let us multiply equation (1) through by the inverse on the left-hand side: โˆ’13๏€18โˆ’21โˆ’6โˆ’12153โˆ’562๏Œ๏€โˆ’18โˆ’34โˆ’386โˆ’1219๏Œ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=โˆ’13๏€18โˆ’21โˆ’6โˆ’12153โˆ’5 62๏Œ๏€โˆ’8โˆ’37๏Œ.

Since any matrix multiplied by its inverse results in the identity matrix, the two matrices and the scalar on the left-hand side of this equation cancel out. This simplifies the equation to ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=โˆ’13๏€18โˆ’21โˆ’6โˆ’12153โˆ’562๏Œ๏€โˆ’8โˆ’37๏Œ.

Hence, we can finish by computing the matrix multiplication on the right-hand side of the equation above: ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=โˆ’13๏ƒ18ร—(โˆ’8)โˆ’21ร—(โˆ’3)โˆ’6ร—7โˆ’12ร—(โˆ’8)+15ร—(โˆ’3)+3ร—7โˆ’5ร—(โˆ’8)+6ร—(โˆ’3)+2ร—7๏=โˆ’13๏€โˆ’1237236๏Œ=๏€41โˆ’24โˆ’12๏Œ.

Hence, ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹ =๏€41โˆ’24โˆ’12๏Œ.

Equating the corresponding entries in the matrices above, we obtain ๐‘ฅ=41,๐‘ฆ=โˆ’ 24,๐‘ง=โˆ’12.

In our final example, we will solve a real-world problem using the inverse of a 3ร—3 matrix.

Example 5: Solving a Real-World Problem Using Matrix Inverse

The table below shows the number of different types of rooms in three hotels owned by a company.

HotelSingle RoomDouble RoomSuite
First Hotel45 74 15
Second Hotel 48 74 19
Third hotel 49 94 10

All three hotels charge an equal amount for a room of the same size. When all the rooms are booked, the companyโ€™s daily income from the first, second, and third hotels are 50โ€Ž โ€Ž120 LE, 53โ€Ž โ€Ž560 LE, and 55โ€Ž โ€Ž660 LE respectively. Find the daily income from a suite.

Answer

In this example, we have three unknown quantities: the costs of a single room, a double room, and a suite. Let us denote these unknowns by constants ๐‘ฅ, ๐‘ฆ, and ๐‘ง respectively. We can find the cost in LE of a suite by finding the value of ๐‘ง.

We are given that the daily income from the first hotel is 50โ€Ž โ€Ž120 LE if all rooms are booked. This can be written as the following equation: 45๐‘ฅ+74๐‘ฆ+15๐‘ง=50120.

Similarly, we can obtain another two equations from the daily income of the second and third hotels respectively: 48๐‘ฅ+7 4๐‘ฆ+19๐‘ง=53560, 49๐‘ฅ+94๐‘ฆ+10๐‘ง=5 5660.

This gives us a system of three equations with three unknowns. Let us solve this system using matrices. We can begin by writing a matrix equation that is equivalent to the given system of equations. Recall that a system of linear equations ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘,๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘,โ‹ฎโ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎโ‹ฎ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘.๏Šง๏Šง๏Šง๏Šง๏Šจ๏Šจ๏Šง๏Š ๏Š๏Šง๏Šจ๏Šง๏Šง๏Šจ๏Šจ๏Šจ๏Šจ๏Š๏Š๏Šจ๏‰๏Šง๏Šง๏‰๏Šจ๏Šจ๏‰๏Š๏Š๏‰ is equivalent to the matrix equation โŽ›โŽœโŽœโŽ๐‘Ž๐‘Žโ‹ฏ๐‘Ž๐‘Ž๐‘Žโ‹ฏ๐‘Ž โ‹ฎโ‹ฎโ‹ฑโ‹ฎ๐‘Ž๐‘Žโ‹ฏ๐‘ŽโŽžโŽŸโŽŸโŽ โŽ›โŽœโŽœโŽ๐‘ฅ๐‘ฅโ‹ฎ๐‘ฅโŽžโŽŸโŽŸโŽ =โŽ›โŽœโŽœโŽœโŽ๐‘๐‘โ‹ฎ๐‘โŽžโŽŸโŽŸโŽŸโŽ .๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šจ๏Šง๏Šจ๏Šจ๏Šจ ๏Š๏‰๏Šง๏‰๏Šจ๏‰๏Š๏Šง๏Šจ๏Š๏Šง๏Šจ๏‰

The matrices in the equation above are called the coefficient, variable, and constant matrices respectively. From the given system of equations, our variables have names ๐‘ฅ, ๐‘ฆ, and ๐‘ง, which form the entries of the variable matrix. The constants 50โ€Ž โ€Ž120, 53โ€Ž โ€Ž560, and 55โ€Ž โ€Ž660 on the right-hand sides of the given equations form the entries of the constant matrix. Hence, the variable and constant matrices are, respectively, ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹,๏€501205356055660๏Œ.

To find the coefficient matrix, we need to write down the coefficients of each variable in the correct order (that is, the order of ๐‘ฅ, ๐‘ฆ, and ๐‘ง) for each equation. This leads to the coefficient matrix ๏€457415487419499410๏Œ.

Hence, the matrix equation is ๏€4 57415487419499410๏Œ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=๏€501205356055660๏Œ.

We can solve this equation by multiplying from the left the inverse of the coefficient matrix on both sides of equation above. Let us find the inverse of the coefficient matrix ๐ด=๏€457415487419499410๏Œ.

We can use the adjoint method to obtain the inverse of this matrix, if it exists. Recall that a square matrix is invertible if its determinant is nonzero. Let us begin by computing the determinant of this matrix and making sure that it is nonzero.

We recall that, for a 3ร—3 matrix ๐ด=๏€น๐‘Ž๏…๏ƒ๏…, its determinant can be computed by det๐ด=๐‘Ž| ๐ด|โˆ’๐‘Ž|๐ด|+๐‘Ž|๐ด|๏Šง๏Šง๏Šง๏Šง๏Šง๏Šจ๏Šง๏Šจ๏Šง๏Šฉ๏Šง๏Šฉ where ๐ด๏ƒ๏… are matrix minors obtained by taking the ๐‘–th row and ๐‘—th column from matrix ๐ด. We can apply this formula to our coefficient matrix ๐ด to obtain det๐ด=45||74199410||โˆ’74||48194910||+45||48744994||=45ร—(โˆ’1046)โˆ’74ร—(โˆ’451)+45ร—886=โˆ’406.

Since det๐ดโ‰ 0, we know that the inverse matrix ๐ด๏Šฑ๏Šง exists. Let us find the inverse. Recall that we can find the inverse matrix by using the adjoint method as follows:

  1. Find the cofactor matrix ๐ถ=๏€น๐‘๏…๏ƒ๏…๏Šฉร—๏Šฉ where ๐‘=(โˆ’ 1)|๐ด|.๏ƒ๏…๏ƒ๏Šฐ๏…๏ƒ ๏…
  2. Find the adjoint matrix by transposing the cofactor matrix: adj๐ด= ๐ถ.๏Œณ
  3. Multiply the adjoint matrix by the reciprocal of the determinant of ๐ด to obtain the inverse matrix: ๐ด=1๐ด๐ด.๏Šฑ๏Šงdetadj

Let us first find the cofactor matrix. Entries of the cofactor matrix are the determinants of the corresponding matrix minors multiplied by the alternating sign (โˆ’1)๏ƒ๏Šฐ๏…. We need to compute the determinants of 9 matrix minors with the corresponding sign for this purpose: +|๐ด|=+||74199410 ||=โˆ’1046,โˆ’|๐ด| =โˆ’||48194910||=451,+|๐ด|=+||48744994||=886,โˆ’|๐ด|=โˆ’||74159410||=670,+ |๐ด|=+||451549 10||=โˆ’285,โˆ’|๐ด|=โˆ’||45744994||=โˆ’604,+|๐ด|=+||74157419||= 296,โˆ’|๐ด|=โˆ’||4 5154819||=โˆ’135,+|๐ด|=+||45744874||=โˆ’222.๏Šง๏Šง๏Šง๏Šจ๏Šง๏Šฉ๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Šฉ๏Šฉ๏Šง๏Šฉ๏Šจ๏Šฉ๏Šฉ

This leads to the cofactor matrix ๏€โˆ’ 1046451886670โˆ’285โˆ’604296โˆ’135โˆ’222๏Œ.

We can find the adjoint matrix by taking the transpose: adj๐ด=๏€โˆ’1046670296451โˆ’285โˆ’ 135886โˆ’604โˆ’22 2๏Œ.

Finally, by multiplying by the reciprocal of the determinant, which we computed earlier to be โˆ’40 6, we obtain ๐ด=โˆ’ 1406๏€โˆ’1046670296451โˆ’285โˆ’135886โˆ’604โˆ’222๏Œ.๏Šฑ๏Šง

Recall that we can solve the matrix equation ๐ด๐‘‹=๐ต by writing ๐‘‹=๐ด๐ต๏Šฑ๏Šง. This leads to ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง ๏‹=โˆ’1406๏€โˆ’1046670296451โˆ’285โˆ’135886โˆ’604โˆ’222๏Œ๏€5012053560 55660๏Œ.

Hence, we can finish by computing the matrix multiplication on the right-hand side of the equation above: ๏€ฟ๐‘ฅ๐‘ฆ๐‘ง๏‹=โˆ’1406๏โˆ’ 1046ร—50120+670ร—53560+296ร—55 660451ร—50120โˆ’285ร—5356โˆ’135ร—5 5660886ร—50120โˆ’604ร—53560โˆ’222ร—55660๏=โˆ’1406๏€โˆ’64960โˆ’174580โˆ’300440๏Œ=๏€160430740๏Œ.

This leads to ๐‘ฅ=160,๐‘ฆ=4 30,๐‘ง=740.

Hence, the cost of a suite is 740 LE.

Let us finish by recapping a few important concepts from this explainer.

Key Points

  • To solve a system of equations using the matrix inverse when the coefficient matrix is invertible, we can follow the steps below:
    • Write an equivalent matrix equation in the form ๐ด๐‘‹=๐ต.
    • Find the inverse of the coefficient matrix ๐ด๏Šฑ๏Šง.
    • Multiply from the left by the inverse matrix to write ๐‘‹=๐ด๐ต๏Šฑ๏Šง.
    • Equate the corresponding entries of the variable matrix and the matrix ๐ด๐ต๏Šฑ๏Šง to find the solution.
  • Given a 3ร—3 matrix ๐ด with det๐ดโ‰ 0, we can find the inverse matrix ๐ด๏Šฑ๏Šง by the following steps:
    • Find the determinant of ๐ด and make sure that it is nonzero.
    • For each ๐‘–, ๐‘—โˆˆ{1,2,3}, find the determinants of matrix minor ๐ด๏ƒ๏…, which is the 2ร—2 matrix obtained by removing the ๐‘–th row and ๐‘—th column of ๐ด.
    • Write the cofactor matrix, which is the 3ร—3 matrix ๏€น๐‘๏…๏ƒ๏…, with ๐‘=(โˆ’1)|๐ด|.๏ƒ๏… ๏ƒ๏Šฐ๏…๏ƒ๏…
    • Find the adjoint matrix by transposing the cofactor matrix: adj๐ด=๐ถ.๏Œณ
    • Multiply the adjoint matrix adj๐ด by the reciprocal of the determinant of ๐ด to obtain the inverse matrix: ๐ด=1๐ด๐ด.๏Šฑ๏Šงdetadj
  • If the inverse of the coefficient matrix does not exist, the corresponding system of equations either has no solution or an infinite number of solutions.

How to solve a system of linear equations with an inverse matrix?

Let A be the coefficient matrix, X be the variable matrix, and B be the constant matrix to solve a system of linear equations with an inverse matrix. As a result, weโ€™d want to solve the system AX = B.

How do you find the inverse of a nonsingular matrix?

Case 1: If A is a nonsingular matrix, it has an inverse. Let A be the coefficient matrix, X be the variable matrix, and B be the constant matrix to solve a system of linear equations with an inverse matrix. As a result, weโ€™d want to solve the system AX=B.

How do you find the inverse of a system of equations?

The method of determining the inverse is used to solve a system of linear equations, and it requires two additional matrices. The variables are represented by Matrix X. The constants are represented by Matrix B.

How do you solve AB = C with the inverse matrix?

If A, B, and C are matrices in the matrix equation AB = C, and you want to solve for B, how do you do that? Just multiply by the inverse of matrix A (if the inverse exists), which you write like this: Now that you've simplified the basic equation, you need to calculate the inverse matrix in order to calculate the answer to the problem.

How do you solve equations using inverse operations?

To use an inverse operation, just do the opposite of what the equation says! Use inverse operations to complete the equation. In this example 2 is being added to 7, to undo that operation we need to subtract by 2.