Answer on Question #40997 – Math – Linear Algebra
Question:
Solve the set of linear equations by Gaussian elimination method: a + 2 b + 3 c = 5 a + 2b + 3c = 5 a + 2 b + 3 c = 5 , 3 a − b + 2 c = 8 3a - b + 2c = 8 3 a − b + 2 c = 8 , 4 a − 6 b − 4 c = − 2 4a - 6b - 4c = -2 4 a − 6 b − 4 c = − 2 . Find c
Solution:
Rewrite the system in matrix form and solve it by Gaussian Elimination
( 1 2 3 5 3 − 1 2 8 4 − 6 − 4 2 ) \left( \begin{array}{rrrr} 1 & 2 & 3 & 5 \\ 3 & -1 & 2 & 8 \\ 4 & -6 & -4 & 2 \end{array} \right) ⎝ ⎛ 1 3 4 2 − 1 − 6 3 2 − 4 5 8 2 ⎠ ⎞
from 2; 3 rows we subtract the 1-th row, multiplied respectively by 3; 4
( 1 2 3 5 0 − 7 − 7 − 7 0 − 14 − 16 − 18 ) \left( \begin{array}{rrrr} 1 & 2 & 3 & 5 \\ 0 & -7 & -7 & -7 \\ 0 & -14 & -16 & -18 \end{array} \right) ⎝ ⎛ 1 0 0 2 − 7 − 14 3 − 7 − 16 5 − 7 − 18 ⎠ ⎞
devide the 2-th row by -7
( 1 2 3 5 0 1 1 1 0 − 14 − 16 − 18 ) \left( \begin{array}{rrrr} 1 & 2 & 3 & 5 \\ 0 & 1 & 1 & 1 \\ 0 & -14 & -16 & -18 \end{array} \right) ⎝ ⎛ 1 0 0 2 1 − 14 3 1 − 16 5 1 − 18 ⎠ ⎞
from 1; 3 rows we subtract the 2-th row, multiplied respectively by 2; -14
( 1 0 1 3 0 1 1 1 0 0 − 2 − 4 ) \left( \begin{array}{rrrr} 1 & 0 & 1 & 3 \\ 0 & 1 & 1 & 1 \\ 0 & 0 & -2 & -4 \end{array} \right) ⎝ ⎛ 1 0 0 0 1 0 1 1 − 2 3 1 − 4 ⎠ ⎞
devide the 3-th row by -2
( 1 0 1 3 0 1 1 1 0 0 1 2 ) \left( \begin{array}{rrrr} 1 & 0 & 1 & 3 \\ 0 & 1 & 1 & 1 \\ 0 & 0 & 1 & 2 \end{array} \right) ⎝ ⎛ 1 0 0 0 1 0 1 1 1 3 1 2 ⎠ ⎞
from 1; 2 rows we subtract the 3-th row, multiplied respectively by 1; 1
( 1 0 0 1 0 1 0 − 1 0 0 1 2 ) \left( \begin{array}{rrrr} 1 & 0 & 0 & 1 \\ 0 & 1 & 0 & -1 \\ 0 & 0 & 1 & 2 \end{array} \right) ⎝ ⎛ 1 0 0 0 1 0 0 0 1 1 − 1 2 ⎠ ⎞
Answer:
{ a = 1 b = − 1 c = 2 \left\{ \begin{array}{l} a = 1 \\ b = -1 \\ c = 2 \end{array} \right. ⎩ ⎨ ⎧ a = 1 b = − 1 c = 2
Answer: c = 2 c = 2 c = 2