Solve the following system of linear equations using matrix method:
\[3x + y + z = 1\], \[2x + 2z = 0\], \[5x + y + 2z = 2\].
Answer
545.7k+ views
Hint: Here in this question, we have to solve the variable \[x\], \[y\], and \[z\] using matrices. The method of solving this type of question is known as “Gauss-Jordan elimination”. First, we have to construct an augmented matrix by using the coefficients of variables and later by the row echelon form and using back substitution method we get the required solution.
Complete step by step solution:
The Gauss-Jordan method, also known as Gauss-Jordan elimination method is used to solve a system of linear equations and is a modified version of Gauss Elimination Method.
we have to perform 2 different process in Gauss Elimination Method i.e.,
1) Formation of upper triangular matrix, and
2) Back substitution
using reduced row echelon form.
Consider the given system of linear equations:
\[3x + y + z = 1\]--------(1)
\[2x + 2z = 0\]---------(2)
\[5x + y + 2z = 2\]------(3)
Now, write the augmented matrix of the system of linear equations
\[ \Rightarrow \,A = \left[ {\begin{array}{*{20}{c}}
3&1&1&|&1 \\
2&0&2&|&0 \\
5&1&2&|&2
\end{array}} \right]\]
Make the pivot in the first column and the first row
Now, Eliminate the first column, using row reduced echelon form
\[{R_2} \to 3{R_2} - 2{R_1}\;\] and \[{R_3} \to 3{R_3} - 5{R_1}\;\]
\[ \Rightarrow \,A = \left[ {\begin{array}{*{20}{c}}
3&1&1&|&1 \\
0&{ - 2}&4&|&{ - 2} \\
0&{ - 2}&1&|&1
\end{array}} \right]\]
Now, make the 2nd element of 2nd row as 1 by
\[{R_2} \to \dfrac{{{R_2}}}{{ - 2}}\]
\[ \Rightarrow \,A = \left[ {\begin{array}{*{20}{c}}
3&1&1&|&1 \\
0&1&{ - 2}&|&1 \\
0&{ - 2}&1&|&1
\end{array}} \right]\]
Now, Eliminate the last element of second column
\[{R_3} \to {R_3} + 2{R_2}\;\]
\[ \Rightarrow \,A = \left[ {\begin{array}{*{20}{c}}
3&1&1&|&1 \\
0&1&{ - 2}&|&1 \\
0&0&{ - 3}&|&3
\end{array}} \right]\]
Now using the back substituting method to get the values of variables \[x\], \[y\] and \[z\].
Write the three equation:
\[3x + y + z = 1\]-----(4)
\[y - 2z = 1\]-------(5)
\[ - 3z = 3\]---------(6)
Consider
\[ \Rightarrow \,\, - 3z = 3\]
Divide both side by -3, then
\[\therefore \,\,z = - 1\]
Substitute the \[z\] value in equation (5), then
\[ \Rightarrow \,\,y - 2\left( { - 1} \right) = 1\]
\[ \Rightarrow \,\,y + 2 = 1\]
Subtract both side by 2, then
\[ \Rightarrow \,\,y = 1 - 2\]
\[\therefore \,\,y = - 1\]
Now, substitute the \[y\] and \[z\] value in equation (4), then
\[ \Rightarrow \,\,3x + \left( { - 1} \right) + \left( { - 1} \right) = 1\]
\[ \Rightarrow \,\,3x - 1 - 1 = 1\]
\[ \Rightarrow \,\,3x - 2 = 1\]
Add 2 on both side, then
\[ \Rightarrow \,\,3x = 1 + 2\]
\[ \Rightarrow \,\,3x = 3\]
Divide both side by 3
\[\therefore \,\,x = 1\]
Hence, the required solution is
\[\left[ {\begin{array}{*{20}{c}}
x \\
y \\
z
\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}
1 \\
{ - 1} \\
{ - 1}
\end{array}} \right]\]
Note: When solving this type of questions, when an augmented matrix contains the coefficients of the unknowns and the "pure" coefficients. You can manipulate the rows of this matrix (elementary row operations) to transform the coefficients and to "read", at the end, the solutions of your system. And while solving the back substitution method we take the equation from the bottom of the augmented matrix.
Complete step by step solution:
The Gauss-Jordan method, also known as Gauss-Jordan elimination method is used to solve a system of linear equations and is a modified version of Gauss Elimination Method.
we have to perform 2 different process in Gauss Elimination Method i.e.,
1) Formation of upper triangular matrix, and
2) Back substitution
using reduced row echelon form.
Consider the given system of linear equations:
\[3x + y + z = 1\]--------(1)
\[2x + 2z = 0\]---------(2)
\[5x + y + 2z = 2\]------(3)
Now, write the augmented matrix of the system of linear equations
\[ \Rightarrow \,A = \left[ {\begin{array}{*{20}{c}}
3&1&1&|&1 \\
2&0&2&|&0 \\
5&1&2&|&2
\end{array}} \right]\]
Make the pivot in the first column and the first row
Now, Eliminate the first column, using row reduced echelon form
\[{R_2} \to 3{R_2} - 2{R_1}\;\] and \[{R_3} \to 3{R_3} - 5{R_1}\;\]
\[ \Rightarrow \,A = \left[ {\begin{array}{*{20}{c}}
3&1&1&|&1 \\
0&{ - 2}&4&|&{ - 2} \\
0&{ - 2}&1&|&1
\end{array}} \right]\]
Now, make the 2nd element of 2nd row as 1 by
\[{R_2} \to \dfrac{{{R_2}}}{{ - 2}}\]
\[ \Rightarrow \,A = \left[ {\begin{array}{*{20}{c}}
3&1&1&|&1 \\
0&1&{ - 2}&|&1 \\
0&{ - 2}&1&|&1
\end{array}} \right]\]
Now, Eliminate the last element of second column
\[{R_3} \to {R_3} + 2{R_2}\;\]
\[ \Rightarrow \,A = \left[ {\begin{array}{*{20}{c}}
3&1&1&|&1 \\
0&1&{ - 2}&|&1 \\
0&0&{ - 3}&|&3
\end{array}} \right]\]
Now using the back substituting method to get the values of variables \[x\], \[y\] and \[z\].
Write the three equation:
\[3x + y + z = 1\]-----(4)
\[y - 2z = 1\]-------(5)
\[ - 3z = 3\]---------(6)
Consider
\[ \Rightarrow \,\, - 3z = 3\]
Divide both side by -3, then
\[\therefore \,\,z = - 1\]
Substitute the \[z\] value in equation (5), then
\[ \Rightarrow \,\,y - 2\left( { - 1} \right) = 1\]
\[ \Rightarrow \,\,y + 2 = 1\]
Subtract both side by 2, then
\[ \Rightarrow \,\,y = 1 - 2\]
\[\therefore \,\,y = - 1\]
Now, substitute the \[y\] and \[z\] value in equation (4), then
\[ \Rightarrow \,\,3x + \left( { - 1} \right) + \left( { - 1} \right) = 1\]
\[ \Rightarrow \,\,3x - 1 - 1 = 1\]
\[ \Rightarrow \,\,3x - 2 = 1\]
Add 2 on both side, then
\[ \Rightarrow \,\,3x = 1 + 2\]
\[ \Rightarrow \,\,3x = 3\]
Divide both side by 3
\[\therefore \,\,x = 1\]
Hence, the required solution is
\[\left[ {\begin{array}{*{20}{c}}
x \\
y \\
z
\end{array}} \right] = \left[ {\begin{array}{*{20}{c}}
1 \\
{ - 1} \\
{ - 1}
\end{array}} \right]\]
Note: When solving this type of questions, when an augmented matrix contains the coefficients of the unknowns and the "pure" coefficients. You can manipulate the rows of this matrix (elementary row operations) to transform the coefficients and to "read", at the end, the solutions of your system. And while solving the back substitution method we take the equation from the bottom of the augmented matrix.
Recently Updated Pages
Master Class 10 Social Science: Engaging Questions & Answers for Success

Master Class 10 Science: Engaging Questions & Answers for Success

Master Class 10 Maths: Engaging Questions & Answers for Success

Master Class 10 General Knowledge: Engaging Questions & Answers for Success

Master Class 10 Computer Science: Engaging Questions & Answers for Success

Class 10 Question and Answer - Your Ultimate Solutions Guide

Trending doubts
What is the full form of PNG A Petrol Natural Gas B class 10 chemistry CBSE

Explain the Treaty of Vienna of 1815 class 10 social science CBSE

In cricket, how many legal balls are there in a standard over?

Why is there a time difference of about 5 hours between class 10 social science CBSE

Who Won 36 Oscar Awards? Record Holder Revealed

What is the median of the first 10 natural numbers class 10 maths CBSE

