Answer on Question #54504 – Math – Linear Algebra
Solve the set of linear equations by Gaussian elimination method:
{ a + 3 b + 2 c = 3 2 a − b − 3 c = − 8 5 a + 2 b + c = 9 \left\{ \begin{array}{l} a + 3b + 2c = 3 \\ 2a - b - 3c = -8 \\ 5a + 2b + c = 9 \end{array} \right. ⎩ ⎨ ⎧ a + 3 b + 2 c = 3 2 a − b − 3 c = − 8 5 a + 2 b + c = 9
Solve for c.
Solution
At first we will rewrite our system of equations in the form of matrix:
( 1 3 2 3 2 − 1 − 3 − 8 5 2 1 9 ) \begin{pmatrix}
1 & 3 & 2 & 3 \\
2 & -1 & -3 & -8 \\
5 & 2 & 1 & 9
\end{pmatrix} ⎝ ⎛ 1 2 5 3 − 1 2 2 − 3 1 3 − 8 9 ⎠ ⎞
where fourth column is the right side of system of equations. Now,
using Gaussian method we will transform our matrix into an upper triangular form.
1. The first row does not change. Multiplying the first row by ( − 2 ) (-2) ( − 2 ) and adding to the second row, the result will be placed in the second row:
( 1 3 2 3 2 − 1 − 3 − 8 5 2 1 9 ) → ( 1 3 2 3 0 − 7 − 7 − 14 5 2 1 9 ) ; \begin{pmatrix}
1 & 3 & 2 & 3 \\
2 & -1 & -3 & -8 \\
5 & 2 & 1 & 9
\end{pmatrix}
\rightarrow
\begin{pmatrix}
1 & 3 & 2 & 3 \\
0 & -7 & -7 & -14 \\
5 & 2 & 1 & 9
\end{pmatrix}; ⎝ ⎛ 1 2 5 3 − 1 2 2 − 3 1 3 − 8 9 ⎠ ⎞ → ⎝ ⎛ 1 0 5 3 − 7 2 2 − 7 1 3 − 14 9 ⎠ ⎞ ;
2. Multiplying the first row by ( − 5 ) (-5) ( − 5 ) and adding to the third row, the result will be placed in the third row:
( 1 3 2 3 0 − 7 − 7 − 14 5 2 1 9 ) → ( 1 3 2 3 0 − 7 − 7 − 14 0 − 13 − 9 − 6 ) ; \begin{pmatrix}
1 & 3 & 2 & 3 \\
0 & -7 & -7 & -14 \\
5 & 2 & 1 & 9
\end{pmatrix}
\rightarrow
\begin{pmatrix}
1 & 3 & 2 & 3 \\
0 & -7 & -7 & -14 \\
0 & -13 & -9 & -6
\end{pmatrix}; ⎝ ⎛ 1 0 5 3 − 7 2 2 − 7 1 3 − 14 9 ⎠ ⎞ → ⎝ ⎛ 1 0 0 3 − 7 − 13 2 − 7 − 9 3 − 14 − 6 ⎠ ⎞ ;
3. Multiplying the second row by ( − 1 7 ) \left(-\frac{1}{7}\right) ( − 7 1 ) :
( 1 3 2 3 0 − 7 − 7 − 14 0 − 13 − 9 − 6 ) → ( 1 3 2 3 0 1 1 2 0 − 13 − 9 − 6 ) ; \begin{pmatrix}
1 & 3 & 2 & 3 \\
0 & -7 & -7 & -14 \\
0 & -13 & -9 & -6
\end{pmatrix}
\rightarrow
\begin{pmatrix}
1 & 3 & 2 & 3 \\
0 & 1 & 1 & 2 \\
0 & -13 & -9 & -6
\end{pmatrix}; ⎝ ⎛ 1 0 0 3 − 7 − 13 2 − 7 − 9 3 − 14 − 6 ⎠ ⎞ → ⎝ ⎛ 1 0 0 3 1 − 13 2 1 − 9 3 2 − 6 ⎠ ⎞ ;
4. Multiplying the second row by 13 and adding to the third row, the result will be placed in the third row:
( 1 3 2 3 0 1 1 2 0 − 13 − 9 − 6 ) → ( 1 3 2 3 0 1 1 2 0 0 4 20 ) ; \begin{pmatrix}
1 & 3 & 2 & 3 \\
0 & 1 & 1 & 2 \\
0 & -13 & -9 & -6
\end{pmatrix}
\rightarrow
\begin{pmatrix}
1 & 3 & 2 & 3 \\
0 & 1 & 1 & 2 \\
0 & 0 & 4 & 20
\end{pmatrix}; ⎝ ⎛ 1 0 0 3 1 − 13 2 1 − 9 3 2 − 6 ⎠ ⎞ → ⎝ ⎛ 1 0 0 3 1 0 2 1 4 3 2 20 ⎠ ⎞ ;
5. Multiplying the third row by 1 4 \frac{1}{4} 4 1 :
( 1 3 2 3 0 1 1 2 0 0 4 20 ) → ( 1 3 2 3 0 1 1 2 0 0 1 5 ) . \begin{pmatrix}
1 & 3 & 2 & 3 \\
0 & 1 & 1 & 2 \\
0 & 0 & 4 & 20
\end{pmatrix}
\rightarrow
\begin{pmatrix}
1 & 3 & 2 & 3 \\
0 & 1 & 1 & 2 \\
0 & 0 & 1 & 5
\end{pmatrix}. ⎝ ⎛ 1 0 0 3 1 0 2 1 4 3 2 20 ⎠ ⎞ → ⎝ ⎛ 1 0 0 3 1 0 2 1 1 3 2 5 ⎠ ⎞ .
And now we can write our transformed system:
{ a + 3 b + 2 c = 3 b + c = 2 c = 5 \left\{ \begin{array}{c}
a + 3b + 2c = 3 \\
b + c = 2 \\
c = 5
\end{array} \right. ⎩ ⎨ ⎧ a + 3 b + 2 c = 3 b + c = 2 c = 5
We see that c = 5 c = 5 c = 5 .
Answer: c = 5 c = 5 c = 5 .
www.AssignmentExpert.com