Adjoint and Inverse of a Matrix · Question 47 of 66
Solve the following system of equations by matrix method. x - y + z = 2 2x - y = 0 2y - z = 1
Question 473 marksMedium
Solve the following system of equations by matrix method.
x−y+z=2
2x−y=0
2y−z=1
Solution:
Concept: A system of linear equations can be written as one matrix equation AX=B, where A is the matrix of coefficients, X is the column of unknowns and B is the column of right-hand sides. If ∣A∣=0, then A has an inverse A−1=∣A∣1adjA, and multiplying both sides of the equation on the left by A−1 gives the unique solution X=A−1B. The adjoint adjA is the transpose of the matrix of cofactors.
Step 1 — Write the system in the form AX=B.
We collect the coefficients of the unknowns from each equation into the matrix A (a missing unknown has coefficient 0), the unknowns into X and the right-hand sides into B.
120−1−1210−1xyz=201
Step 2 — Find the cofactors of the elements of A.
We need the cofactor of every element of A. The cofactor of the element in row i and column j is Aij=(−1)i+jMij, where the minor Mij is the determinant left after deleting row i and column j. We work through the matrix one row at a time.
The cofactors of the elements of the first row are:
Since ∣A∣=3=0, the matrix A is non-singular. So A−1 exists and the system has exactly one solution.
Step 4 — Write the adjoint of A.
We place the cofactors in a matrix (cofactors of row 1 in row 1, and so on) and then take its transpose, because the adjoint is the transpose of the matrix of cofactors.
matrix of cofactors=1112−124−21adjA=1241−1−2121
Step 5 — Write A−1.
We divide every element of adjA by ∣A∣=3.
A−1=∣A∣1adjA=311241−1−2121
Step 6 — Find X=A−1B.
Multiplying both sides of the matrix equation on the left by A−1 gives X=A−1B. We multiply each row of adjA by the column B, and then divide by ∣A∣.
Step 7 — Check the answer in the original equations.
We put the values back into each equation (left side first). Each left side must equal its right side.
1(1)−1(2)+1(3)2(1)−1(2)2(2)−1(3)=2=0=1
All the equations are satisfied, so the solution is correct.
Watch out: The adjoint is the transpose of the matrix of cofactors: the cofactors of row 1 of A go down column 1 of adjA. Writing the cofactors in their own rows gives a wrong inverse.