Question #46677

Solve the system of equations
7 3x + 2y + 4z =
7 2x + y + z =
2 x + 3y + 5z =
using Gauss elimination with pivoting. Store the multipliers and also write the
pivoting vector.

Expert's answer

Answer on Question #46677 – Math – Algorithms | Quantitative Methods

Solve the system of equations


7 3x+2y+4z=7\ 3x + 2y + 4z =7 2x+y+z=7\ 2x + y + z =2x+3y+5z=2x + 3y + 5z =


using Gauss elimination with pivoting. Store the multipliers and also write the pivoting vector.

Solution.


{3x+2y+4z=72x+y+z=7x+3y+5z=2\left\{ \begin{array}{c} 3x + 2y + 4z = 7 \\ 2x + y + z = 7 \\ x + 3y + 5z = 2 \end{array} \right.


- Swap Row 1 and Row 3. After this step we have:


{x+3y+5z=22x+y+z=73x+2y+4z=7\left\{ \begin{array}{c} x + 3y + 5z = 2 \\ 2x + y + z = 7 \\ 3x + 2y + 4z = 7 \end{array} \right.


- Multiply the first equation by 2-2 and add the result to the second equation. The result is:


{x+3y+5z=25y9z=33x+2y+4z=7\left\{ \begin{array}{c} x + 3y + 5z = 2 \\ -5y - 9z = 3 \\ 3x + 2y + 4z = 7 \end{array} \right.


- Multiply the first equation by 3-3 and add the result to the third equation. The result is:


{x+3y+5z=25y9z=3711z=1\left\{ \begin{array}{c} x + 3y + 5z = 2 \\ -5y - 9z = 3 \\ -7 - 11z = 1 \end{array} \right.


- Multiply the second equation by 75-\frac{7}{5} and add the result to the third equation. The result is:


{x+3y+5z=25y9z=385z=165\left\{ \begin{array}{c} x + 3 y + 5 z = 2 \\ - 5 y - 9 z = 3 \\ \frac {8}{5} z = - \frac {16}{5} \end{array} \right.


- Solve for z.


z=2z = - 2


- Solve for y.


5y9z=3y=3- 5 y - 9 z = 3 \rightarrow y = 3


- solve for xx by substituting y=3y = 3 and z=2z = -2 into the first equation.


x+3y+5z=2x=3.x + 3 y + 5 z = 2 \rightarrow x = 3.


Finally, x=3x = 3, y=3y = 3, z=2z = -2.

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS