Q:

use Gaussian elimination to write each system in triangular formx+ y+z+ w= 1x+y −w=−1−x+ y+z+2w= 2x+2y−z+ w= 0

Accepted Solution

A:
Answer:To see the steps to the diagonal form see the step-by-step explanation. The solution to the system is [tex]x =  -\frac{1}{9}[/tex], [tex]y= -\frac{1}{9}[/tex], [tex]z= \frac{4}{9}[/tex] and [tex]w = \frac{7}{9}[/tex]Step-by-step explanation:Gauss elimination method consists in reducing the matrix to a upper triangular one by using three different types of row operations (this is why the method is also called row reduction method). The three elementary row operations are:Swapping two rowsMultiplying a row by a nonzero numberAdding a multiple of one row to another rowTo solve the system using the Gauss elimination method we need to write the augmented matrix of the system. For the given system, this matrix is:[tex]\left[\begin{array}{cccc|c}1 & 1 & 1 & 1 & 1 \\1 & 1 & 0 & -1 & -1 \\-1 & 1 & 1 & 2 & 2 \\1 & 2 & -1 & 1 & 0\end{array}\right][/tex]For this matrix we need to perform the following row operations:[tex]R_2 - 1 R_1 \rightarrow R_2[/tex] (multiply 1 row by 1 and subtract it from 2 row)[tex]R_3 + 1 R_1 \rightarrow R_3[/tex] (multiply 1 row by 1 and add it to 3 row)[tex]R_4 - 1 R_1 \rightarrow R_4[/tex] (multiply 1 row by 1 and subtract it from 4 row)[tex]R_2 \leftrightarrow R_3[/tex] (interchange the 2 and 3 rows)[tex]R_2 / 2 \rightarrow R_2[/tex] (divide the 2 row by 2)[tex]R_1 - 1 R_2 \rightarrow R_1[/tex] (multiply 2 row by 1 and subtract it from 1 row)[tex]R_4 - 1 R_2 \rightarrow R_4[/tex] (multiply 2 row by 1 and subtract it from 4 row)[tex]R_3 \cdot ( -1) \rightarrow R_3[/tex] (multiply the 3 row by -1)[tex]R_2 - 1 R_3 \rightarrow R_2[/tex] (multiply 3 row by 1 and subtract it from 2 row)[tex]R_4 + 3 R_3 \rightarrow R_4[/tex] (multiply 3 row by 3 and add it to 4 row)[tex]R_4 / 4.5 \rightarrow R_4[/tex] (divide the 4 row by 4.5)After this step, the system has an upper triangular formThe triangular matrix looks like:[tex]\left[\begin{array}{cccc|c}1 & 0 & 0 & -0.5 & -0.5  \\0 & 1 & 0 & -0.5 & -0.5\\0 & 0 & 1 & 2 &  2 \\0 & 0 & 0 & 1 &  \frac{7}{9}\end{array}\right][/tex]If you later perform the following operations you can find the solution to the system.[tex]R_1 + 0.5 R_4 \rightarrow R_1[/tex] (multiply 4 row by 0.5 and add it to 1 row)[tex]R_2 + 0.5 R_4 \rightarrow R_2[/tex] (multiply 4 row by 0.5 and add it to 2 row)[tex]R_3 - 2 R_4 \rightarrow R_3[/tex](multiply 4 row by 2 and subtract it from 3 row)After this operations, the matrix should look like:[tex]\left[\begin{array}{cccc|c}1 & 0 & 0 & 0 & -\frac{1}{9}  \\0 & 1 & 0 & 0 &   -\frac{1}{9}\\0 & 0 & 1 & 0 &  \frac{4}{9} \\0 & 0 & 0 & 1 &  \frac{7}{9}\end{array}\right][/tex]Thus, the solution is:[tex]x =  -\frac{1}{9}[/tex], [tex]y= -\frac{1}{9}[/tex], [tex]z= \frac{4}{9}[/tex] and [tex]w = \frac{7}{9}[/tex]