Adjoint and Inverse of a Matrix · Question 50 of 66
Solve the following system of equations by matrix method. 5x - y = -7 2x + 3z = 1 3y - z = 5
Question 503 marksMedium
Solve the following system of equations by matrix method.
5x−y=−7
2x+3z=1
3y−z=5
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 write each equation with all three unknowns in the order x, y, z, putting 0 for a missing unknown: 5x−y+0z=−7, 2x+0y+3z=1 and 0x+3y−z=5. The coefficients form A, the unknowns form X and the right-hand sides form B.
520−10303−1xyz=−715
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∣=−47=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=−9−1−32−5−156−152adjA=−926−1−5−15−3−152
Step 5 — Write A−1.
We divide every element of adjA by ∣A∣=−47.
A−1=∣A∣1adjA=−471−926−1−5−15−3−152
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.
5(−1)−1(2)2(−1)+3(1)3(2)−1(1)=−7=1=5
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.