Lesson Explainer: Solving a System of Three Equations Using a Matrix Inverse | Nagwa Lesson Explainer: Solving a System of Three Equations Using a Matrix Inverse | Nagwa

Lesson Explainer: Solving a System of Three Equations Using a Matrix Inverse Mathematics • Third Year of Secondary School

Join Nagwa Classes

Attend live Mathematics sessions on Nagwa Classes to learn more about this topic from an expert teacher!

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=2111585632, solve the following matrix equation for 𝑋: 123701022113025301𝑋=122611220.

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𝑋=122611220123701022=201112242.

Now, we can multiply both sides of the equation by 1 to write 113025301𝑋=201112242.

Finally, we can multiply from the left by the provided inverse matrix on both sides of the equation to write 2111585632113025301𝑋=2111585632201112242.

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 𝑋=2111585632201112242.

Hence, we can finish by working out the matrix multiplication: 𝑋=2×2+1×1+1×(2)2×0+1×1+1×42×1+1×(2)+1×(2)15×2+8×1+5×(2)15×0+8×1+5×415×1+8×(2)+5×(2)6×2+(3)×1+(2)×(2)6×0+(3)×1+(2)×46×1+(3)×(2)+(2)×(2)=556322841131116.

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 111111110𝑥𝑦𝑧=9116 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: 𝐴=111111110.

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×||1110||(1)×||1110||+(1)||1111||=1(1×0(1)×1)(1)(1×0(1)×1)+(1)(1×11×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: +|𝐴|=+||1110||=1,|𝐴|=||1110||=1,+|𝐴|=+||1111||=0,|𝐴|=||1110||=1,+|𝐴|=+||1110||=1,|𝐴|=||1111||=2,+|𝐴|=+||1111||=2,|𝐴|=||1111||=0,+|𝐴|=+||1111||=2.

This leads to the cofactor matrix 110112202.

We can find the adjoint matrix by taking the transpose: adj𝐴=112110022.

Finally, by multiplying by the reciprocal of the determinant, which we computed earlier to be 2, we obtain 𝐴=12112110022.

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 12112110022111111110𝑥𝑦𝑧=121121100229116.

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 𝑥𝑦𝑧=121121100229116.

Hence, we can finish by computing the matrix and scalar multiplication on the right-hand side of this equation: 𝑥𝑦𝑧=121×9+(1)×(11)+2×61×9+1×(11)+0×60×9+(2)×(11)+2×6=12322034=161017.

This leads to 𝑥𝑦𝑧=161017.

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𝑟=14,2𝑝+5𝑞+6𝑟=10.

This leads to the coefficient matrix 224111256.

Hence, the matrix equation is 224111256𝑝𝑞𝑟=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 𝐴=224111256.

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||1156||2||1126||+4||1125||=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𝐴𝐴.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: +|𝐴|=+||1156||=1,|𝐴|=||1126||=4,+|𝐴|=+||1125||=3,|𝐴|=||2456||=8,+|𝐴|=+||2426||=4,|𝐴|=||2225||=6,+|𝐴|=+||2411||=2,|𝐴|=||2411||=2,+|𝐴|=+||2211||=0.

This leads to the cofactor matrix 143846220.

We can find the adjoint matrix by taking the transpose: adj𝐴=182442360.

Finally, by multiplying by the reciprocal of the determinant, which we computed earlier to be 6, we obtain 𝐴=16182442360.

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: 224111256𝑝𝑞𝑟=41410.

If we multiply from the left by the inverse matrix on both sides of the equation, we obtain 16182442360224111256𝑝𝑞𝑟=1618244236041410.

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 𝑝𝑞𝑟=1618244236041410.

We can finish by computing the matrix multiplication on the right-hand side of the equation. This gives us 𝑝𝑞𝑟=161×4+8×14+2×104×4+4×14+(2)×103×4+(6)×14+0×10=161285296.

Computing the scalar multiplication and simplifying, we obtain 161285296=64326316=13642648.

Hence, 𝑝𝑞𝑟=13642648.

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, 𝑥𝑦𝑧,837.

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 429326116.

Hence, the matrix equation is

429326116𝑥𝑦𝑧=837.(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 𝐴=429326116.

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𝐴=(4)||2616||(2)||3616||+(9)||3211||=(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𝐴𝐴.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: +|𝐴|=+||2616||=18,|𝐴|=||3616||=12,+|𝐴|=+||3211||=5,|𝐴|=||2916||=21,+|𝐴|=+||4916||=15,|𝐴|=||4211||=6,+|𝐴|=+||2926||=6,|𝐴|=||4936||=3,+|𝐴|=+||4232||=2.

This leads to the cofactor matrix 1812521156632.

We can find the adjoint matrix by taking the transpose: adj𝐴=1821612153562.

Finally, by multiplying by the reciprocal of the determinant, which we computed earlier to be 3, we obtain 𝐴=131821612153562.

Now that we have found the inverse matrix, let us multiply equation (1) through by the inverse on the left-hand side: 13182161215356218343861219𝑥𝑦𝑧=131821612153562837.

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 𝑥𝑦𝑧=131821612153562837.

Hence, we can finish by computing the matrix multiplication on the right-hand side of the equation above: 𝑥𝑦𝑧=1318×(8)21×(3)6×712×(8)+15×(3)+3×75×(8)+6×(3)+2×7=131237236=412412.

Hence, 𝑥𝑦𝑧=412412.

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 Hotel457415
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𝑥+74𝑦+19𝑧=53560,49𝑥+94𝑦+10𝑧=55660.

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 457415487419499410𝑥𝑦𝑧=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,+|𝐴|=+||45154910||=285,|𝐴|=||45744994||=604,+|𝐴|=+||74157419||=296,|𝐴|=||45154819||=135,+|𝐴|=+||45744874||=222.

This leads to the cofactor matrix 1046451886670285604296135222.

We can find the adjoint matrix by taking the transpose: adj𝐴=1046670296451285135886604222.

Finally, by multiplying by the reciprocal of the determinant, which we computed earlier to be 406, we obtain 𝐴=14061046670296451285135886604222.

Recall that we can solve the matrix equation 𝐴𝑋=𝐵 by writing 𝑋=𝐴𝐵. This leads to 𝑥𝑦𝑧=14061046670296451285135886604222501205356055660.

Hence, we can finish by computing the matrix multiplication on the right-hand side of the equation above: 𝑥𝑦𝑧=14061046×50120+670×53560+296×55660451×50120285×5356135×55660886×50120604×53560222×55660=140664960174580300440=160430740.

This leads to 𝑥=160,𝑦=430,𝑧=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.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy