Solving Systems with Inverses
June 23, 2024 | by Bloom Code Studio
Learning Objectives
In this section, you will:
- Find the inverse of a matrix.
- Solve a system of linear equations using an inverse matrix.
Soriya plans to invest $10,500 into two different bonds to spread out her risk. The first bond has an annual return of 10%, and the second bond has an annual return of 6%. In order to receive an 8.5% return from the two bonds, how much should Soriya invest in each bond? What is the best method to solve this problem?
There are several ways we can solve this problem. As we have seen in previous sections, systems of equations and matrices are useful in solving real-world problems involving finance. After studying this section, we will have the tools to solve the bond problem using the inverse of a matrix.
Finding the Inverse of a Matrix
We know that the multiplicative inverse of a real number aπ is aβ1,πβ1, and aaβ1=aβ1a=(1a)a=1.ππβ1=πβ1π=(1π)π=1. For example, 2β1=122β1=12 and (12)2=1.(12)2=1. The multiplicative inverse of a matrix is similar in concept, except that the product of matrix Aπ΄ and its inverse Aβ1π΄β1 equals the identity matrix. The identity matrix is a square matrix containing ones down the main diagonal and zeros everywhere else. We identify identity matrices by InπΌπ where nπ represents the dimension of the matrix. Observe the following equations.
I2=[1001]πΌ2=[1001]
I3=β‘β£β’100010001β€β¦β₯πΌ3=[100010001]
The identity matrix acts as a 1 in matrix algebra. For example, AI=IA=A.π΄πΌ=πΌπ΄=π΄.
A matrix that has a multiplicative inverse has the properties
AAβ1=IAβ1A=Iπ΄π΄β1=πΌπ΄β1π΄=πΌ
A matrix that has a multiplicative inverse is called an invertible matrix. Only a square matrix may have a multiplicative inverse, as the reversibility, AAβ1=Aβ1A=I,π΄π΄β1=π΄β1π΄=πΌ, is a requirement. Not all square matrices have an inverse, but if Aπ΄ is invertible, then Aβ1π΄β1 is unique. We will look at two methods for finding the inverse of a 2Γ22Γ2 matrix and a third method that can be used on both 2Γ22Γ2 and 3Γ33Γ3 matrices.
THE IDENTITY MATRIX AND MULTIPLICATIVE INVERSE
The identity matrix, In,πΌπ, is a square matrix containing ones down the main diagonal and zeros everywhere else.
I2=[1001]I3=β‘β£β’100010001β€β¦β₯ 2Γ2 3Γ3πΌ2=[1001]πΌ3=[100010001] 2Γ2 3Γ3
If Aπ΄ is an nΓnπΓπ matrix and Bπ΅ is an nΓnπΓπ matrix such that AB=BA=In,π΄π΅=π΅π΄=πΌπ, then B=Aβ1,π΅=π΄β1, the multiplicative inverse of a matrix A.π΄.
EXAMPLE 1
Showing That the Identity Matrix Acts as a 1
Given matrix A, show that AI=IA=A.π΄πΌ=πΌπ΄=π΄.
A=[3β245]π΄=[34β25]
Solution
Use matrix multiplication to show that the product of Aπ΄ and the identity is equal to the product of the identity and A.
AI=[3β245][1001]=[3β 1+4β 0β2β 1+5β 03β 0+4β 1β2β 0+5β 1]=[3β245]π΄πΌ=[34β25][1001]=[3β 1+4β 03β 0+4β 1β2β 1+5β 0β2β 0+5β 1]=[34β25]
IA=[1001][3β245]=[1β 3+0β (β2)0β 3+1β (β2)1β 4+0β 50β 4+1β 5]=[3β245]πΌπ΄=[1001][34β25]=[1β 3+0β (β2)1β 4+0β 50β 3+1β (β2)0β 4+1β 5]=[34β25]
HOW TO
Given two matrices, show that one is the multiplicative inverse of the other.
- Given matrixΒ Aπ΄Β of orderΒ nΓnπΓπΒ and matrixΒ Bπ΅Β of orderΒ nΓnπΓπΒ multiplyΒ AB.π΄π΅.
- IfΒ AB=I,π΄π΅=πΌ,Β then find the productΒ BA.π΅π΄.Β IfΒ BA=I,π΅π΄=πΌ,Β thenΒ B=Aβ1π΅=π΄β1Β andΒ A=Bβ1.π΄=π΅β1.
EXAMPLE 2
Showing That Matrix A Is the Multiplicative Inverse of Matrix B
Show that the given matrices are multiplicative inverses of each other.
A=[1β25β9],B=[β92β51]π΄=[15β2β9],π΅=[β9β521]
Solution
Multiply ABπ΄π΅ and BA.π΅π΄. If both products equal the identity, then the two matrices are inverses of each other.
AB=[1β25β9]β [β92β51]=[1(β9)+5(2)β2(β9)β9(2)1(β5)+5(1)β2(β5)β9(1)]=[1001]π΄π΅=[15β2β9]Β·[β9β521]=[1(β9)+5(2)1(β5)+5(1)β2(β9)β9(2)β2(β5)β9(1)]=[1001]
BA=[β92β51]β [1β25β9]=[β9(1)β5(β2)2(1)+1(β2)β9(5)β5(β9)2(5)+1(β9)]=[1001]π΅π΄=[β9β521]Β·[15β2β9]=[β9(1)β5(β2)β9(5)β5(β9)2(1)+1(β2)2(5)+1(β9)]=[1001]
Aπ΄ and Bπ΅ are inverses of each other.
TRY IT #1
Show that the following two matrices are inverses of each other.
A=[1β14β3],B=[β31β41]π΄=[14β1β3],π΅=[β3β411]
Finding the Multiplicative Inverse Using Matrix Multiplication
We can now determine whether two matrices are inverses, but how would we find the inverse of a given matrix? Since we know that the product of a matrix and its inverse is the identity matrix, we can find the inverse of a matrix by setting up an equation using matrix multiplication.
EXAMPLE 3
Finding the Multiplicative Inverse Using Matrix Multiplication
Use matrix multiplication to find the inverse of the given matrix.
A=[12β2β3]π΄=[1β22β3]
Solution
For this method, we multiply Aπ΄ by a matrix containing unknown constants and set it equal to the identity.
[12β2β3] [acbd]=[1001][1β22β3] [ππππ]=[1001]
Find the product of the two matrices on the left side of the equal sign.
[12β2β3] [acbd]=[1aβ2c2aβ3c1bβ2d2bβ3d][1β22β3] [ππππ]=[1πβ2π1πβ2π2πβ3π2πβ3π]
Next, set up a system of equations with the entry in row 1, column 1 of the new matrix equal to the first entry of the identity, 1. Set the entry in row 2, column 1 of the new matrix equal to the corresponding entry of the identity, which is 0.
1aβ2c=1 R12aβ3c=0 R21πβ2π=1 π 12πβ3π=0 π 2
Using row operations, multiply and add as follows: (β2)R1+R2βR2.(β2)π 1+π 2βπ 2. Add the equations, and solve for c.π.
1aβ2c=10+1c=β2c=β21πβ2π=10+1π=β2π=β2
Back-substitute to solve for a.π.
aβ2(β2)=1a+4=1a=β3πβ2(β2)=1π+4=1π=β3
Write another system of equations setting the entry in row 1, column 2 of the new matrix equal to the corresponding entry of the identity, 0. Set the entry in row 2, column 2 equal to the corresponding entry of the identity.
1bβ2d=02bβ3d=1R1R21πβ2π=0π 12πβ3π=1π 2
Using row operations, multiply and add as follows: (β2)R1+R2=R2.(β2)π 1+π 2=π 2. Add the two equations and solve for d.π.
1bβ2d=00+1d=1d=11πβ2π=00+1π=1π=1
Once more, back-substitute and solve for b.π.
bβ2(1)=0bβ2=0b=2πβ2(1)=0πβ2=0π=2
Aβ1=[β3β221]π΄β1=[β32β21]
Finding the Multiplicative Inverse by Augmenting with the Identity
Another way to find the multiplicative inverse is by augmenting with the identity. When matrix Aπ΄ is transformed into I,πΌ, the augmented matrix IπΌ transforms into Aβ1.π΄β1.
For example, given
A=[2513]π΄=[2153]
augment Aπ΄ with the identity
[2513β£β£β£1001][2153|1001]
Perform row operations with the goal of turning Aπ΄ into the identity.
- Switch row 1 and row 2.[5231β£β£β£0110][5321|0110]
- Multiply row 2 byΒ β2β2Β and add to row 1.[1211β£β£β£β2110][1121|β2110]
- Multiply row 1 byΒ β2β2Β and add to row 2.[101β1β£β£β£β251β2][110β1|β215β2]
- Add row 2 to row 1.[100β1β£β£β£35β1β2][100β1|3β15β2]
- Multiply row 2 byΒ β1.β1.[1001β£β£β£3β5β12][1001|3β1β52]
The matrix we have found is Aβ1.π΄β1.
Aβ1=[3β5β12]π΄β1=[3β1β52]
Finding the Multiplicative Inverse of 2Γ2 Matrices Using a Formula
When we need to find the multiplicative inverse of a 2Γ22Γ2 matrix, we can use a special formula instead of using matrix multiplication or augmenting with the identity.
If Aπ΄ is a 2Γ22Γ2 matrix, such as
A=[acbd]π΄=[ππππ]
the multiplicative inverse of Aπ΄ is given by the formula
Aβ1=1adβbc[dβcβba]π΄β1=1ππβππ[πβπβππ]
where adβbcβ 0.ππβππβ 0. If adβbc=0,ππβππ=0, then Aπ΄ has no inverse.
EXAMPLE 4
Using the Formula to Find the Multiplicative Inverse of Matrix A
Use the formula to find the multiplicative inverse of
A=[12β2β3]π΄=[1β22β3]
Solution
Using the formula, we have
Aβ1=1(1)(β3)β(β2)(2)[β3β221]=1β3+4[β3β221]=[β3β221]π΄β1=1(1)(β3)β(β2)(2)[β32β21]=1β3+4[β32β21]=[β32β21]
Analysis
We can check that our formula works by using one of the other methods to calculate the inverse. Letβs augment Aπ΄ with the identity.
[12β2β3β£β£β£1001][1β22β3|1001]
Perform row operations with the goal of turning Aπ΄ into the identity.
- Multiply row 1 byΒ β2β2Β and add to row 2.[10β21β£β£β£1β201][1β201|10β21]
- Multiply row 2 by 2 and add to row 1.[1001β£β£β£β3β221][1001|β32β21]
So, we have verified our original solution.
Aβ1=[β3β221]π΄β1=[β32β21]
TRY IT #2
Use the formula to find the inverse of matrix A.π΄. Verify your answer by augmenting with the identity matrix.
A=[12β13]π΄=[1β123]
EXAMPLE 5
Finding the Inverse of the Matrix, If It Exists
Find the inverse, if it exists, of the given matrix.
A=[3162]π΄=[3612]
Solution
We will use the method of augmenting with the identity.
[3162β£β£β£1001][3612|1001]
- Switch row 1 and row 2.[1332β£β£β£0110][1332|0110]
- Multiply row 1 by β3 and add it to row 2.[1020β£β£β£1β301][1200|10β31]
- There is nothing further we can do. The zeros in row 2 indicate that this matrix has no inverse.
Finding the Multiplicative Inverse of 3Γ3 Matrices
Unfortunately, we do not have a formula similar to the one for a 2Γ22Γ2 matrix to find the inverse of a 3Γ33Γ3 matrix. Instead, we will augment the original matrix with the identity matrix and use row operations to obtain the inverse.
Given a 3Γ33Γ3 matrix
A=β‘β£β’232334111β€β¦β₯π΄=[231331241]
augment Aπ΄ with the identity matrix
Aβ£β£β£β£I=β‘β£β’232334111 β£β£β£β£ 100010001β€β¦β₯π΄|πΌ=[231331241 | 100010001]
To begin, we write the augmented matrix with the identity on the right and Aπ΄ on the left. Performing elementary row operations so that the identity matrix appears on the left, we will obtain the inverse matrix on the right. We will find the inverse of this matrix in the next example.
HOW TO
Given a 3Γ33Γ3 matrix, find the inverse
- Write the original matrix augmented with the identity matrix on the right.
- Use elementary row operations so that the identity appears on the left.
- What is obtained on the right is the inverse of the original matrix.
- Use matrix multiplication to show thatΒ AAβ1=Iπ΄π΄β1=πΌΒ andΒ Aβ1A=I.π΄β1π΄=πΌ.
EXAMPLE 6
Finding the Inverse of a 3 Γ 3 Matrix
Given the 3Γ33Γ3 matrix A,π΄, find the inverse.
A=β‘β£β’232334111β€β¦β₯π΄=[231331241]
Solution
Augment Aπ΄ with the identity matrix, and then begin row operations until the identity matrix replaces A.π΄. The matrix on the right will be the inverse of A.π΄.
β‘β£β’232334111β£β£β£β£100010001β€β¦β₯βInterchange R2and R1β‘β£β’322334111β£β£β£β£010100001β€β¦β₯[231331241|100010001]βInterchange π 2and π 1[331231241|010100001]
βR2+R1=R1ββ‘β£β’122034011β£β£β£β£β110100001β€β¦β₯βπ 2+π 1=π 1β[100231241|β110100001]
βR2+R3=R3ββ‘β£β’120031010β£β£β£β£β11β1100001β€β¦β₯βπ 2+π 3=π 3β[100231010|β110100β101]
R3β R2ββ‘β£β’102013001β£β£β£β£β1β11100010β€β¦β₯π 3β π 2β[100010231|β110β101100]
β2R1+R3=R3ββ‘β£β’100013001β£β£β£β£β1β1310β2010β€β¦β₯β2π 1+π 3=π 3β[100010031|β110β1013β20]
β3R2+R3=R3ββ‘β£β’100010001β£β£β£β£β1β1610β201β3β€β¦β₯β3π 2+π 3=π 3β[100010001|β110β1016β2β3]
Thus,
Aβ1=B=β‘β£β’β1β1610β201β3β€β¦β₯π΄β1=π΅=[β110β1016β2β3]
Analysis
To prove that B=Aβ1,π΅=π΄β1, letβs multiply the two matrices together to see if the product equals the identity, if AAβ1=Iπ΄π΄β1=πΌ and Aβ1A=I.π΄β1π΄=πΌ.
AAβ1=β‘β£β’232334111β€β¦β₯ β‘β£β’β1β1610β201β3β€β¦β₯=β‘β£β’2(β1)+3(β1)+1(6)3(β1)+3(β1)+1(6)2(β1)+4(β1)+1(6)2(1)+3(0)+1(β2)3(1)+3(0)+1(β2)2(1)+4(0)+1(β2)2(0)+3(1)+1(β3)3(0)+3(1)+1(β3)2(0)+4(1)+1(β3)β€β¦β₯=β‘β£β’100010001β€β¦β₯π΄π΄β1=[231331241] [β110β1016β2β3]=[2(β1)+3(β1)+1(6)2(1)+3(0)+1(β2)2(0)+3(1)+1(β3)3(β1)+3(β1)+1(6)3(1)+3(0)+1(β2)3(0)+3(1)+1(β3)2(β1)+4(β1)+1(6)2(1)+4(0)+1(β2)2(0)+4(1)+1(β3)]=[100010001]
Aβ1A=β‘β£β’β1β1610β201β3β€β¦β₯ β‘β£β’232334111β€β¦β₯=β‘β£β’β1(2)+1(3)+0(2)β1(2)+0(3)+1(2)6(2)+β2(3)+β3(2)β1(3)+1(3)+0(4)β1(3)+0(3)+1(4)6(3)+β2(3)+β3(4)β1(1)+1(1)+0(1)β1(1)+0(1)+1(1)6(1)+β2(1)+β3(1)β€β¦β₯=β‘β£β’100010001β€β¦β₯π΄β1π΄=[β110β1016β2β3] [231331241]=[β1(2)+1(3)+0(2)β1(3)+1(3)+0(4)β1(1)+1(1)+0(1)β1(2)+0(3)+1(2)β1(3)+0(3)+1(4)β1(1)+0(1)+1(1)6(2)+β2(3)+β3(2)6(3)+β2(3)+β3(4)6(1)+β2(1)+β3(1)]=[100010001]
TRY IT #3
Find the inverse of the 3Γ33Γ3 matrix.
A=β‘β£β’2β10β1711311β7β2β€β¦β₯π΄=[2β1711β111β703β2]
Solving a System of Linear Equations Using the Inverse of a Matrix
Solving a system of linear equations using the inverse of a matrix requires the definition of two new matrices: Xπ is the matrix representing the variables of the system, and Bπ΅ is the matrix representing the constants. Using matrix multiplication, we may define a system of equations with the same number of equations as variables as
AX=Bπ΄π=π΅
To solve a system of linear equations using an inverse matrix, let Aπ΄ be the coefficient matrix, let Xπ be the variable matrix, and let Bπ΅ be the constant matrix. Thus, we want to solve a system AX=B.π΄π=π΅. For example, look at the following system of equations.
a1x+b1y=c1a2x+b2y=c2π1π₯+π1π¦=π1π2π₯+π2π¦=π2
From this system, the coefficient matrix is
A=[a1a2b1b2]π΄=[π1π1π2π2]
The variable matrix is
X=[xy]π=[π₯π¦]
And the constant matrix is
B=[c1c2]π΅=[π1π2]
Then AX=Bπ΄π=π΅ looks like
[a1a2b1b2] [xy]=[c1c2][π1π1π2π2] [π₯π¦]=[π1π2]
Recall the discussion earlier in this section regarding multiplying a real number by its inverse, (2β1)2=(12)2=1.(2β1)2=(12)2=1. To solve a single linear equation ax=bππ₯=π for x,π₯, we would simply multiply both sides of the equation by the multiplicative inverse (reciprocal) of a.π. Thus,
ax=b (1a)ax=(1a)b(aβ1 )ax=(aβ1)b[(aβ1)a]x=(aβ1)b 1x=(aβ1)b x=(aβ1)b ππ₯=π (1π)ππ₯=(1π)π(πβ1 )ππ₯=(πβ1)π[(πβ1)π]π₯=(πβ1)π 1π₯=(πβ1)π π₯=(πβ1)π
The only difference between a solving a linear equation and a system of equations written in matrix form is that finding the inverse of a matrix is more complicated, and matrix multiplication is a longer process. However, the goal is the sameβto isolate the variable.
We will investigate this idea in detail, but it is helpful to begin with a 2Γ22Γ2 system and then move on to a 3Γ33Γ3 system.
SOLVING A SYSTEM OF EQUATIONS USING THE INVERSE OF A MATRIX
Given a system of equations, write the coefficient matrix A,π΄, the variable matrix X,π, and the constant matrix B.π΅. Then
AX=Bπ΄π=π΅
Multiply both sides by the inverse of Aπ΄ to obtain the solution.
(Aβ1)AX=(Aβ1)B[(Aβ1)A]X=(Aβ1)BIX=(Aβ1)BX=(Aβ1)B(π΄β1)π΄π=(π΄β1)π΅[(π΄β1)π΄]π=(π΄β1)π΅πΌπ=(π΄β1)π΅π=(π΄β1)π΅
Q&A
If the coefficient matrix does not have an inverse, does that mean the system has no solution?
No, if the coefficient matrix is not invertible, the system could be inconsistent and have no solution, or be dependent and have infinitely many solutions.
EXAMPLE 7
Solving a 2 Γ 2 System Using the Inverse of a Matrix
Solve the given system of equations using the inverse of a matrix.
3x+8y=54x+11y=73π₯+8π¦=54π₯+11π¦=7
Solution
Write the system in terms of a coefficient matrix, a variable matrix, and a constant matrix.
A=[34811],X=[xy],B=[57]π΄=[38411],π=[π₯π¦],π΅=[57]
Then
[34811] [xy]=[57][38411] [π₯π¦]=[57]
First, we need to calculate Aβ1.π΄β1. Using the formula to calculate the inverse of a 2 by 2 matrix, we have:
Aβ1=1adβbc[dβcβba] =13(11)β8(4)[11β4β83] =11[11β4β83]π΄β1=1ππβππ[πβπβππ] =13(11)β8(4)[11β8β43] =11[11β8β43]
So,
Aβ1=[11β4β8ββ3]π΄β1=[11β8β4ββ3]
Now we are ready to solve. Multiply both sides of the equation by Aβ1.π΄β1.
(Aβ1)AX=(Aβ1)B[11β4β83] [34811] [xy]=[11β4β83] [57][1001] [xy]=[11(5)+(β8)7β4(5)+3(7)][xy]=[β11](π΄β1)π΄π=(π΄β1)π΅[11β8β43] [38411] [π₯π¦]=[11β8β43] [57][1001] [π₯π¦]=[11(5)+(β8)7β4(5)+3(7)][π₯π¦]=[β11]
The solution is (β1,1).(β1,1).
Q&A
Can we solve for Xπ by finding the product BAβ1?π΅π΄β1?
No, recall that matrix multiplication is not commutative, so Aβ1Bβ BAβ1.π΄β1π΅β π΅π΄β1. Consider our steps for solving the matrix equation.
(Aβ1)AX=(Aβ1)B[(Aβ1)A]X=(Aβ1)BIX=(Aβ1)BX=(Aβ1)B(π΄β1)π΄π=(π΄β1)π΅[(π΄β1)π΄]π=(π΄β1)π΅πΌπ=(π΄β1)π΅π=(π΄β1)π΅
Notice in the first step we multiplied both sides of the equation byΒ Aβ1,π΄β1,Β but theΒ Aβ1π΄β1Β was to the left ofΒ Aπ΄Β on the left side and to the left ofΒ Bπ΅Β on the right side. Because matrix multiplication is not commutative, order matters.
EXAMPLE 8
Solving a 3 Γ 3 System Using the Inverse of a Matrix
Solve the following system using the inverse of a matrix.
5x+15y+56z=35β4xβ11yβ41z=β26βxβ3yβ11z=β75π₯+15π¦+56π§=35β4π₯β11π¦β41π§=β26βπ₯β3π¦β11π§=β7
Solution
Write the equation AX=B.π΄π=π΅.
β‘β£β’5β4β115β11β356β41β11β€β¦β₯ β‘β£β’xyzβ€β¦β₯=β‘β£β’35β26β7β€β¦β₯[51556β4β11β41β1β3β11] [π₯π¦π§]=[35β26β7]
First, we will find the inverse of Aπ΄ by augmenting with the identity.
β‘β£β’5β4β115β11β356β41β11β£β£β£β£100010001β€β¦β₯[51556β4β11β41β1β3β11|100010001]
Multiply row 1 by 15.15.
β‘β£β’1β4β13β11β3565β41β11β£β£β£β£β£1500010001β€β¦β₯[13565β4β11β41β1β3β11|1500010001]
Multiply row 1 by 4 and add to row 2.
β‘β£β’β’10β131β3565195β11β£β£β£β£β£15450010001β€β¦β₯β₯[1356501195β1β3β11|15004510001]
Add row 1 to row 3.
β‘β£β’β’β’10031056519515β£β£β£β£β£154515010001β€β¦β₯β₯β₯[13565011950015|150045101501]
Multiply row 2 by β3 and add to row 1.
β‘β£β’β’100010β1519515β£β£β£β£β£β1154515β310001β€β¦β₯β₯[10β15011950015|β115β3045101501]
Multiply row 3 by 5.
β‘β£β’β’100010β151951β£β£β£β£β£β115451β310005β€β¦β₯β₯[10β1501195001|β115β304510105]
Multiply row 3 by 1515 and add to row 1.
β‘β£β’10001001951β£β£β£β£β£β2451β310105β€β¦β₯[10001195001|β2β314510105]
Multiply row 3 by β195β195 and add to row 2.
β‘β£β’100010001β£β£β£β£β2β31β3101β195β€β¦β₯[100010001|β2β31β31β19105]
So,
Aβ1=β‘β£β’β2β31β3101β195β€β¦β₯π΄β1=[β2β31β31β19105]
Multiply both sides of the equation by Aβ1.π΄β1. We want Aβ1AX=Aβ1B:π΄β1π΄π=π΄β1π΅:
β‘β£β’β2β31β3101β195β€β¦β₯ β‘β£β’5β4β115β11β356β41β11β€β¦β₯ β‘β£β’xyzβ€β¦β₯=β‘β£β’β2β31β3101β195β€β¦β₯ β‘β£β’35β26β7β€β¦β₯[β2β31β31β19105] [51556β4β11β41β1β3β11] [π₯π¦π§]=[β2β31β31β19105] [35β26β7]
Thus,
Aβ1B=β‘β£β’β70+78β7β105β26+13335+0β35β€β¦β₯=β‘β£β’120β€β¦β₯π΄β1π΅=[β70+78β7β105β26+13335+0β35]=[120]
The solution is (1,2,0).(1,2,0).
TRY IT #4
Solve the system using the inverse of the coefficient matrix.
2xβ17y+11z=0 βx+11yβ7z=8 3yβ2z=β2 2π₯β17π¦+11π§=0 βπ₯+11π¦β7π§=8 3π¦β2π§=β2
HOW TO
Given a system of equations, solve with matrix inverses using a calculator.
- Save the coefficient matrix and the constant matrix as matrix variablesΒ [A][π΄]Β andΒ [B].[π΅].
- Enter the multiplication into the calculator, calling up each matrix variable as needed.
- If the coefficient matrix is invertible, the calculator will present the solution matrix; if the coefficient matrix is not invertible, the calculator will present an error message.
EXAMPLE 9
Using a Calculator to Solve a System of Equations with Matrix Inverses
Solve the system of equations with matrix inverses using a calculator
2x+3y+z=323x+3y+z=β272x+4y+z=β22π₯+3π¦+π§=323π₯+3π¦+π§=β272π₯+4π¦+π§=β2
Solution
On the matrix page of the calculator, enter the coefficient matrix as the matrix variable [A],[π΄], and enter the constant matrix as the matrix variable [B].[π΅].
[A]=β‘β£β’232334111β€β¦β₯,β[B]=β‘β£β’32β27β2β€β¦β₯[π΄]=[231331241],β[π΅]=[32β27β2]
On the home screen of the calculator, type in the multiplication to solve for X,π, calling up each matrix variable as needed.
[A]β1Γ[B][π΄]β1Γ[π΅]
Evaluate the expression.
β‘β£β’β59β34252β€β¦β₯[β59β34252]
RELATED POSTS
View all