Question
Question: Using matrices, solve the following system of equations: \(3x+4y+7z=4\), \(2x-y+3z=-3\) and \(x+2y...
Using matrices, solve the following system of equations:
3x+4y+7z=4, 2x−y+3z=−3 and x+2y−3z=8.
Solution
In order to solve this type of questions, we have to represent the above given three equations in matrix form and then using the cramer’s rule we can get the value of x,y and z which will be out solution of the question. According to cramer's rule if we have given a system of equation like a1x+b1y+c1z=d1; a2x+b2y+c2z=d2 and a3x+b3y+c3z=d3 then we can directly calculate the value of x,y and z as x=a1 a2 a3 b1b2b3c1c2c3d1 d2 d3 b1b2b3c1c2c3, y=a1 a2 a3 b1b2b3c1c2c3a1 a2 a3 d1d2d3c1c2c3 and z=a1 a2 a3 b1b2b3c1c2c3a1 a2 a3 b1b2b3d1d2d3.
Complete step by step answer:
As we know that it is given three simultaneous equations and we have to solve it by using matrices. So, let us represent all these three equations in the form of a matrix.
Now ,we have 3x+4y+7z=4, 2x−y+3z=−3 and x+2y−3z=8.
It can also be written in the matrix form as,
∴3 2 1 4−1273−3x y z =4 −3 8
After representing it into matrix form we can now use cramer’s rule to calculate the value of x,y and z
According to cramer's rule if we have given a system of equation:
a1x+b1y+c1z=d1
a2x+b2y+c2z=d2
a3x+b3y+c3z=d3
then x=a1 a2 a3 b1b2b3c1c2c3d1 d2 d3 b1b2b3c1c2c3, y=a1 a2 a3 b1b2b3c1c2c3a1 a2 a3 d1d2d3c1c2c3 and z=a1 a2 a3 b1b2b3c1c2c3a1 a2 a3 b1b2b3d1d2d3.
Extending the above concept in order to solve this question, we get
4 & 4 & 7 \\\ -3 & -1 & 3 \\\ 8 & 2 & -3 \\\ \end{matrix} \right|}{\left| \begin{matrix} 3 & 4 & 7 \\\ 2 & -1 & 3 \\\ 1 & 2 & -3 \\\ \end{matrix} \right|}$$ Expanding the determinants in the above equation, we get $\Rightarrow x=\dfrac{4(3-6)-4(9-24)+7(-6+8)}{3(3-6)-4(-6-3)+7(4+1)}$ $\Rightarrow x=\dfrac{-12+60+14}{-9+36+35}=\dfrac{62}{62}=1$ Similarly, $$y=\dfrac{\left| \begin{matrix} 3 & 4 & 7 \\\ 2 & -3 & 3 \\\ 1 & 8 & -3 \\\ \end{matrix} \right|}{\left| \begin{matrix} 3 & 4 & 7 \\\ 2 & -1 & 3 \\\ 1 & 2 & -3 \\\ \end{matrix} \right|}$$ Expanding the determinants in the above equation, we get $\Rightarrow y=\dfrac{3(9-24)-4(-6-3)+7(16+3)}{3(3-6)-4(-6-3)+7(4+1)}$ $\Rightarrow y=\dfrac{-45+36+133}{-9+36+35}=\dfrac{124}{62}=2$ And, $$z=\dfrac{\left| \begin{matrix} 3 & 4 & 4 \\\ 2 & -1 & -3 \\\ 1 & 2 & 8 \\\ \end{matrix} \right|}{\left| \begin{matrix} 3 & 4 & 7 \\\ 2 & -1 & 3 \\\ 1 & 2 & -3 \\\ \end{matrix} \right|}$$ Expanding the determinants in the above equation, we get $\Rightarrow z=\dfrac{3(-8+6)-4(16+3)+4(4+1)}{3(3-6)-4(-6-3)+7(4+1)}$ $\Rightarrow z=\dfrac{-6-76+20}{-9+36+35}=\dfrac{-62}{62}=-1$ . **Hence, the solution of the above simultaneous equations are $x=1,y=2$ and $z=-1$.** **Note:** These types of questions where there is a system of linear equations are given, it is wise to involve matrices and determinants to solve them. In order to solve these questions, students should carefully substitute values and take care of signs while expanding determinants as these are places where they can make silly mistakes and get the answer wrong. So, take care of these mistakes while solving and compute the correct answer.