Answer on Question #40855 – Math - Linear Algebra
Question:
Solve the set of linear equations by the matrix method: a + 3 b + 2 c = 3 a + 3b + 2c = 3 a + 3 b + 2 c = 3 , 2 a − b − 3 c = − 8 2a - b - 3c = -8 2 a − b − 3 c = − 8 , 5 a + 2 b + c = 9 5a + 2b + c = 9 5 a + 2 b + c = 9 . Sove for c c c .
Solution:
The matrix of this system is A = ( 1 3 2 2 − 1 − 1 5 2 1 ) A = \begin{pmatrix} 1 & 3 & 2 \\ 2 & -1 & -1 \\ 5 & 2 & 1 \end{pmatrix} A = ⎝ ⎛ 1 2 5 3 − 1 2 2 − 1 1 ⎠ ⎞ , the column of free terms is b = ( 3 − 8 9 ) b = \begin{pmatrix} 3 \\ -8 \\ 9 \end{pmatrix} b = ⎝ ⎛ 3 − 8 9 ⎠ ⎞ .
In matrix form this equation has presentation A x = b Ax = b A x = b , where x = ( a b c ) x = \begin{pmatrix} a \\ b \\ c \end{pmatrix} x = ⎝ ⎛ a b c ⎠ ⎞ .
Let premultiply both sides of the equation by A − 1 A^{-1} A − 1 , the inverse of A A A .
Since A − 1 A x = I x = x A^{-1}Ax = Ix = x A − 1 A x = I x = x , we know the following.
x = A − 1 b x = A^{-1}b x = A − 1 b
So let's find the inverse of A A A . Compute the algebraic addition to the elements of the matrix A A A
M 1 , 1 = ( − 1 ) 1 + 1 ∣ − 1 − 3 2 1 ∣ = 5 \mathbf{M}_{1,1} = (-1)^{1+1} \left| \begin{array}{cc} -1 & -3 \\ 2 & 1 \end{array} \right| = 5 M 1 , 1 = ( − 1 ) 1 + 1 ∣ ∣ − 1 2 − 3 1 ∣ ∣ = 5 M 1 , 2 = ( − 1 ) 1 + 2 ∣ 2 − 3 5 1 ∣ = − 17 \mathbf{M}_{1,2} = (-1)^{1+2} \left| \begin{array}{cc} 2 & -3 \\ 5 & 1 \end{array} \right| = -17 M 1 , 2 = ( − 1 ) 1 + 2 ∣ ∣ 2 5 − 3 1 ∣ ∣ = − 17 M 1 , 3 = ( − 1 ) 1 + 3 ∣ 2 − 1 5 2 ∣ = 9 \mathbf{M}_{1,3} = (-1)^{1+3} \left| \begin{array}{cc} 2 & -1 \\ 5 & 2 \end{array} \right| = 9 M 1 , 3 = ( − 1 ) 1 + 3 ∣ ∣ 2 5 − 1 2 ∣ ∣ = 9 M 2 , 1 = ( − 1 ) 2 + 1 ∣ 3 2 2 1 ∣ = 1 \mathbf{M}_{2,1} = (-1)^{2+1} \left| \begin{array}{cc} 3 & 2 \\ 2 & 1 \end{array} \right| = 1 M 2 , 1 = ( − 1 ) 2 + 1 ∣ ∣ 3 2 2 1 ∣ ∣ = 1 M 2 , 2 = ( − 1 ) 2 + 2 ∣ 1 2 5 1 ∣ = − 9 \mathbf{M}_{2,2} = (-1)^{2+2} \left| \begin{array}{cc} 1 & 2 \\ 5 & 1 \end{array} \right| = -9 M 2 , 2 = ( − 1 ) 2 + 2 ∣ ∣ 1 5 2 1 ∣ ∣ = − 9 M 2 , 3 = ( − 1 ) 2 + 3 ∣ 1 3 5 2 ∣ = 13 \mathbf{M}_{2,3} = (-1)^{2+3} \left| \begin{array}{cc} 1 & 3 \\ 5 & 2 \end{array} \right| = 13 M 2 , 3 = ( − 1 ) 2 + 3 ∣ ∣ 1 5 3 2 ∣ ∣ = 13 M 3 , 1 = ( − 1 ) 3 + 1 ∣ 3 2 − 1 − 3 ∣ = − 7 \mathbf{M}_{3,1} = (-1)^{3+1} \left| \begin{array}{cc} 3 & 2 \\ -1 & -3 \end{array} \right| = -7 M 3 , 1 = ( − 1 ) 3 + 1 ∣ ∣ 3 − 1 2 − 3 ∣ ∣ = − 7 M 3 , 2 = ( − 1 ) 3 + 2 ∣ 1 2 2 − 3 ∣ = 7 \mathbf{M}_{3,2} = (-1)^{3+2} \left| \begin{array}{cc} 1 & 2 \\ 2 & -3 \end{array} \right| = 7 M 3 , 2 = ( − 1 ) 3 + 2 ∣ ∣ 1 2 2 − 3 ∣ ∣ = 7 \begin{array}{l}
\mathbf{M}_{3,3} = (-1)^{3+3} \left| \begin{array}{cc} 1 & 3 \\ 2 & -1 \end{array} \right| = -7 \\
C^* = \left( \begin{array}{ccc} 5 & -17 & 9 \\ 1 & -9 & 13 \\ -7 & 7 & -7 \end{array} \right) \\
C^*^T = \left( \begin{array}{ccc} 5 & 1 & -7 \\ -17 & -9 & 7 \\ 9 & 13 & -7 \end{array} \right) \\
\end{array}
So, an inverse of A is
A^{-1} = \frac{C^*^T}{\det A} = \left( \begin{array}{ccc} -\frac{5}{28} & -\frac{1}{28} & \frac{1}{4} \\ \frac{17}{28} & \frac{9}{28} & -\frac{1}{4} \\ -\frac{9}{28} & -\frac{13}{28} & \frac{1}{4} \end{array} \right)
Thus our solution is
x = A − 1 b = ( − 5 28 − 1 28 1 4 17 28 9 28 − 1 4 − 9 28 − 13 28 1 4 ) ∗ ( 3 − 8 9 ) = ( 2 − 3 5 ) x = A^{-1}b = \left( \begin{array}{ccc} -\frac{5}{28} & -\frac{1}{28} & \frac{1}{4} \\ \frac{17}{28} & \frac{9}{28} & -\frac{1}{4} \\ -\frac{9}{28} & -\frac{13}{28} & \frac{1}{4} \end{array} \right) * \left( \begin{array}{c} 3 \\ -8 \\ 9 \end{array} \right) = \left( \begin{array}{c} 2 \\ -3 \\ 5 \end{array} \right) x = A − 1 b = ⎝ ⎛ − 28 5 28 17 − 28 9 − 28 1 28 9 − 28 13 4 1 − 4 1 4 1 ⎠ ⎞ ∗ ⎝ ⎛ 3 − 8 9 ⎠ ⎞ = ⎝ ⎛ 2 − 3 5 ⎠ ⎞
Answer: a = 2 , b = − 3 , c = 5 a = 2, b = -3, c = 5 a = 2 , b = − 3 , c = 5 .