The augmented matrix for the set of equations is:
[ 2 3 1 2 − 1 2 2 1 1 − 1 − 2 − 1 ] \begin{bmatrix}
2 & 3 & 1 & 2 \\
-1 & 2 & 2 & 1 \\
1 & -1 & -2 & -1
\end{bmatrix} ⎣ ⎡ 2 − 1 1 3 2 − 1 1 2 − 2 2 1 − 1 ⎦ ⎤
Rearranging the rows:
[ 1 − 1 − 2 − 1 2 3 1 2 − 1 2 2 1 ] \begin{bmatrix}
1 & -1 & -2 & -1 \\
2 & 3 & 1 & 2 \\
-1 & 2 & 2 & 1
\end{bmatrix} ⎣ ⎡ 1 2 − 1 − 1 3 2 − 2 1 2 − 1 2 1 ⎦ ⎤
Multiply the first row by -2 and add it to the second row:
[ 1 − 1 − 2 − 1 0 5 5 4 − 1 2 2 1 ] \begin{bmatrix}
1 & -1 & -2 & -1 \\
0 & 5 & 5 & 4 \\
-1 & 2 & 2 & 1
\end{bmatrix} ⎣ ⎡ 1 0 − 1 − 1 5 2 − 2 5 2 − 1 4 1 ⎦ ⎤
Add the first row to the third row:
[ 1 − 1 − 2 − 1 0 5 5 4 0 1 0 0 ] \begin{bmatrix}
1 & -1 & -2 & -1 \\
0 & 5 & 5 & 4 \\
0 & 1 & 0 & 0
\end{bmatrix} ⎣ ⎡ 1 0 0 − 1 5 1 − 2 5 0 − 1 4 0 ⎦ ⎤
The third row translates to:
y = 0 y=0 y = 0
Therefore, the second row translates to:
5 z = 4 5z=4 5 z = 4
z = 4 / 5 z=4/5 z = 4/5
The first row then translates to:
x − 2 ( 4 / 5 ) = − 1 x-2(4/5)=-1 x − 2 ( 4/5 ) = − 1
x − 8 / 5 = − 1 x-8/5=-1 x − 8/5 = − 1
x = − 1 + 8 / 5 x=-1+8/5 x = − 1 + 8/5
x = 3 / 5 x=3/5 x = 3/5
Comments