Q:

Solve the system of linear equations using the Gauss-Jordan elimination method.2x + 2y + z = 18x + z = 7 4y − 3z = 20

Accepted Solution

A:
Answer:Values for each variable are:x = 19y = -4z = -12Step-by-step explanation:As we can remember the Gauss-Jordan elimination method consists of creating a matrix with all the equations of the system.  Remember that, if a variable does not appear in one of the equations, we give a value of 0 to its coefficient .  Each equation will constitute a line of the matrix. So, the matrix will look like this:2   2   1   181    0   1    70   4  -3  20For the Gauss-Jordan elimination we can multiply lines, add or subtract one line to another or we can rearrange the order at any given time. The goal is to get only 1s in the matrix diagonal, to determine the value of each variable.Since we already have a line with a 1, we'll take that line as our starting point, and we'll rearrange it as our 1st line. By multiplying the 1st line for  2 and then subtracting the result to the second line:1   0   1   70   2  -1  40   4  -3  20Now, we multiply the second line by 2 and subtract the result to the third line1   0   1   70   2  -1  40   0  -1  12In order to get the value of Z all we have to do is multiply the third line by (-1). 1   0   1   70   2  -1  40   0  1  -12Now, we add the third line to the second line. 1   0   1   70   2  0  -80   0  1  -12Then, multiply the second line by a fraction 1/2, to get the value for Y1   0   1   70   1  0  -40   0  1  -12Finally, we subtract the third line to the 1st line to get the value for X1   0   0  190   1  0  -40   0  1  -12All we got left is to prove our answer is correct by replacing the variables in the system with the values found:First equation2(19) + 2(-4) + (-12) = 1838 - 8 - 12 = 1838 - 20 = 18Second equation19 + (-12) = 719 -12 = 7Third equation4(-4) - 3(-12) = 20-16 + 36 = 20