Solve the following system of linear equations using an inverse matrix
x + y + z = 4 − 2 x − y + 3 z = 1 y + 5 z = 9 x+y+z=4\\
-2x-y+3z=1\\
y+5z=9 x + y + z = 4 − 2 x − y + 3 z = 1 y + 5 z = 9
Solution
A = ( 1 1 1 − 2 − 1 3 0 1 5 ) A=\begin{pmatrix}
1 & 1&1 \\
-2 & -1&3\\
0&1&5
\end{pmatrix} A = ⎝ ⎛ 1 − 2 0 1 − 1 1 1 3 5 ⎠ ⎞
B = ( 4 1 9 ) B=\begin{pmatrix}
4 \\
1 \\
9
\end{pmatrix} B = ⎝ ⎛ 4 1 9 ⎠ ⎞
X = ( y x z ) X=\begin{pmatrix}
y \\
x\\
z
\end{pmatrix} X = ⎝ ⎛ y x z ⎠ ⎞
A ∙ X = B A∙X=B A ∙ X = B
that is
X=A-1 ∙B
Find the determinant of matrix A:
d e t A = ∣ 1 1 1 − 2 − 1 3 0 1 5 ∣ = 1 ⋅ ( − 1 ) ⋅ 5 + 1 ⋅ 3 ⋅ 0 + 1 ⋅ ( − 2 ) ⋅ 1 − 1 ⋅ ( − 1 ) ⋅ 0 − 1 ⋅ 3 ⋅ 1 − 1 ⋅ ( − 2 ) ⋅ 5 = − 5 + 0 − 2 − 0 − 3 + 10 = 0 detA=\begin{vmatrix}
1 & 1&1 \\
-2 & -1&3\\
0&1&5
\end{vmatrix}= 1·(-1)·5 + 1·3·0 + 1·(-2)·1 - 1·(-1)·0 - 1·3·1 - 1·(-2)·5 =-5 + 0 - 2 - 0 - 3 + 10 = 0 d e t A = ∣ ∣ 1 − 2 0 1 − 1 1 1 3 5 ∣ ∣ = 1 ⋅ ( − 1 ) ⋅ 5 + 1 ⋅ 3 ⋅ 0 + 1 ⋅ ( − 2 ) ⋅ 1 − 1 ⋅ ( − 1 ) ⋅ 0 − 1 ⋅ 3 ⋅ 1 − 1 ⋅ ( − 2 ) ⋅ 5 = − 5 + 0 − 2 − 0 − 3 + 10 = 0
Answer: Since the determinant of the matrix is zero , the system has no solution.
Comments