Solve the following equations using Gauss Elimination Method. x + 2y + 3z = 4 2x + 3y + 4z = 5 3x + 4y + 5z = 6

Man Ly

New member
Solve the following equations using Gauss Elimination Method.
x + 2y + 3z = 4
2x + 3y + 4z = 5
3x + 4y + 5z = 6
A. x=0.5 y=0 and z=1
B. x=-0.5 y=0 and z=-1.5
C. x=-0.5 y=0 and z=1.5
D. x=0.5 y=0 and z=1.5
 
Answer: C
Explanation: Converting the equations into Matrix Form:
\(\begin{bmatrix}1&2&3\\2&3&4\\3&4&5\end{bmatrix}
\begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}4\\5\\6\end{bmatrix}\)
We now need to convert this matrix into Upper Triangular Matrix by Elementary Row Transformation only.
R$_{2}$=R$_{2}$-2R$_{1}$ and R$_{3}$=R$_{3}$-3R$_{1}$
\(\begin{bmatrix}1&2&3\\0&-1&-2\\0&-5&-4\end{bmatrix}
\begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}4\\-3\\-6\end{bmatrix}\)
R$_{3}$=R$_{3}$-5R$_{2}$
\(\begin{bmatrix}1&2&3\\0&-1&-2\\0&0&6\end{bmatrix}
\begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}4\\-3\\9\end{bmatrix}\)
From the above Matrix, we get –
x+2y+3z=4 -(2)
-y-2z=-3 -(1)
6z=9
Thus, z=1.5
Substituting in (1)
y=3-2(1.5)
y=0
Substituting in (2)
x=4-2(0)-3(1.5)
x=-0.5
Thus, x=-0.5 y=0 and z=1.5.
 

Tìm kiếm

Back
Top