Question
Question: Using matrices, solve the following system of equations \(2x+3y+3z=5;\text{ }x-2y+z=-4;\text{ }3x-...
Using matrices, solve the following system of equations
2x+3y+3z=5; x−2y+z=−4; 3x−y−2z=3.
Solution
In this, to find the solution of the system of equation we used the method of reduction which is as follows:
We start with converting the linear system of equation into matrix equation AX=b. Then we perform the suitable row transformation on the matrix A. Using row transformations on A reduce it to an upper triangular matrix or lower triangular matrix. The same operations are performed simultaneously on matrix b. After this step we rewrite the equation again in the form of the system of the linear equation. Now they are in such a form that they can easily be solved by the elimination method.
Complete step by step answer:
The given system of equation is
2x+3y+3z=5; x−2y+z=−4; 3x−y−2z=3.
The above system of equations can be written in the form AX=b as follows
2 1 3 3−2−131−2x y z =5 −4 3
Now, we will interchange the row 1 by row 2, we get
1 2 3 −23−113−2x y z =−4 5 3
Now, we will multiply row 1 by 2 and then subtract by row 2, we get
1 0 3 −27−111−2x y z =−4 13 3
Now, we will multiply row 1 by 3 and then subtract by row 3, we get
1 0 0 −27511−5x y z =−4 13 15
Now we will divide row 2 by 7, we get
1 0 0 −215171−5x y z =−4 713 15
Now, we will multiply row 2 by 5 and then subtract by row 3, we get
1 0 0 −210171−740x y z =−4 713 740
Now A is reduced to an upper triangular matrix, we rewrite the equations in the original form as
x−2y+z=−4...(1)y+71z=713 ...(2)−740z=740 ...(3)
From equation (3)
z=−1
Using z=−1 in the equation (2) we get
y+71(−1)=713
y−71=713
By adding both sides by 71, we get
y=713+71=713+1
y=714=2
y=2
Using y=2 and z=−1 in equation (1), we get
x−2(2)−1=−4
x−5=−4
By adding both sides by 5, we get
x=−4+5=1
x=1
Hence the values of x, y and z are 1, 2 and -1 respectively,
The required solution is x=1, y=2 and z=−1
Note:
In this method we cannot use the column transformation. Alternative method, the alternative method is known method of inversion. In this method we use the inverse of the matrix. Consider a system of equation which has matrix form AX=b then by finding inverse of matrix A and pre-multiplying to matrix for AX=b, we get
X=A−1b
Which is the solution of system