Question
Question: How do you solve by Gaussian elimination \(2x-y+z=6\) , \(x+2y-z=1\) and \(2x-y-z=0\)?...
How do you solve by Gaussian elimination 2x−y+z=6 , x+2y−z=1 and 2x−y−z=0?
Solution
Now first we will write the equation in the matrix form AX = B. Now we will continuously perform row transformation in the equation till we get A as an identity matrix. Now once we have A as an identity matrix we can easily find the solution by multiplying the matrix.
Complete step by step solution:
Now we are given with three linear equations in 3 variables. We want to find the solution of the equation. Hence we want to find the values of x, y and z such that they satisfy all the equations.
Now to solve the linear equation we will use the Gaussian elimination method.
Now let us first understand what Gaussian elimination method is.
In this method we first represent the linear equation in Matrices form which is AX = B.
Now we will perform elementary row transformation till we get A as an identity matrix. Now using this matrix we can easily find the values of variables.
Now let us first write the corresponding Matrices and write the equation in Matrix form. Hence we get,