Adjoint and Inverse of a Matrix · Question 49 of 66
Solve the following system of equations by matrix method. x + y = 5 z + y = 7 z + x = 6
Question 493 marksMedium
Solve the following system of equations by matrix method.
x+y=5
z+y=7
z+x=6
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 first write each equation with all three unknowns in the order x, y, z, putting 0 for a missing unknown: x+y+0z=5, 0x+y+z=7 and x+0y+z=6. The coefficients form A, the unknowns form X and the right-hand sides form B.
101110011xyz=576
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∣=2=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=1−1111−1−111adjA=11−1−1111−11
Step 5 — Write A−1.
We divide every element of adjA by ∣A∣=2.
A−1=∣A∣1adjA=2111−1−1111−11
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(2)+1(3)1(3)+1(4)1(2)+1(4)=5=7=6
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.