Question
Question: How do you solve the system \(x+2y-z=6,-3x-2y+5z=-12,x-2z=3\)?...
How do you solve the system x+2y−z=6,−3x−2y+5z=−12,x−2z=3?
Solution
We first form the multiplication form of matrices to find the coefficient matrix AX=B. Then we use the inverse matrix to find the variable matrix with the form of X=A−1B. We find the inverse after finding the matrix being singular or not.
Complete step-by-step answer:
We have three unknowns and three equations to solve. We use the matrix multiplication form and its inverse form to solve the variables.
We take 3 matrices A, X, B where they denote the coefficient matrix, variable matrix and solution matrix respectively.
Therefore, A=1 −3 1 2−20−15−2;X=x y z ;B=6 −12 3 .
Matrix multiplication form gives AX=B.
We multiply the equation AX=B with A−1 to get
A−1.AX=A−1.B⇒IX=X=A−1B
The variables matrix will be in the form of X=A−1B. We have to multiply the inverse matrix of A with the solution matrix.
The inverse of any matrix A=[aij] will be A−1=∣A∣adj(A). Here aij denotes the element of ith row and jth column.
∣A∣ is defined as the determinant value of the matrix A.
The adj(A) is defined by the adj(A)=[Aij]T=[Aji]. Here, Aij denotes the co-factor of the element aij. The term ‘T’ denotes the transpose of the matrix.
We find the cofactors of the matrix A and get [Aij]=4 4 8 −1−1−2224 which gives
adj(A)=[Aij]T=[Aji]=4 −1 2 4−128−24.
Now we find the determinant which is ∣A∣=1×4+2×(−1)+(−1)×2=4−2−2=0.
As the matrix A is a singular matrix the inverse of the matrix is not possible.
Therefore, the system of equations x+2y−z=6,−3x−2y+5z=−12,x−2z=3 have no solutions.
Note: The addition of first two equations x+2y−z=6,−3x−2y+5z=−12 give
x+2y−z−3x−2y+5z=6−12⇒−2x+4z=−6⇒x−2z=3
This is the same as the third equations. Therefore, there is no exact solution for the system of equations.