Question
Question: Using matrices solve the following system of equations: \[x + y - z = 3\];\[2x + 3y + z = 10\];\[3...
Using matrices solve the following system of equations:
x+y−z=3;2x+3y+z=10;3x−y−7z=1.
Solution
To solve the question, at first we have to find out the coefficients of x, y and z from the system of equation and represent it in matrix P. x, y, and z in the system of linear equations are represented in the column matrix X and the constants in the system of equations are represented in the column matrix Q. By solving the matrix equation that is PX=Qwe can get the respective values of x, y and z.
Complete step by step answer:
The system of equations are given by,
x+y−z=3…………….. (1)
2x+3y+z=10………………… (2)
And 3x−y−7z=1 ………………….. (3)
Now we must represent the above system of equations in matrices. The three sets of coefficients 1,1,−1; 2,3,1 and3,−1,−7must occupy first, second and third rows respectively in the matrix P which is given by