Answer on Question #46774 – Math - Linear Algebra
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 . Solve for c c c .
Solution
{ a + 3 b + 2 c = 3 2 a + ( − 1 ) b + ( − 3 ) c = − 8 5 a + 2 b + c = 9 \left\{ \begin{array}{c} a + 3b + 2c = 3 \\ 2a + (-1)b + (-3)c = -8 \\ 5a + 2b + c = 9 \end{array} \right. ⎩ ⎨ ⎧ a + 3 b + 2 c = 3 2 a + ( − 1 ) b + ( − 3 ) c = − 8 5 a + 2 b + c = 9
First let
A = ( 1 3 2 2 − 1 − 3 5 2 1 ) . A = \begin{pmatrix} 1 & 3 & 2 \\ 2 & -1 & -3 \\ 5 & 2 & 1 \end{pmatrix}. A = ⎝ ⎛ 1 2 5 3 − 1 2 2 − 3 1 ⎠ ⎞ .
This is the matrix formed by the coefficients of the given system of equations. The matrix method gives
( a b c ) = A − 1 ( 3 − 8 9 ) . \begin{pmatrix} a \\ b \\ c \end{pmatrix} = A^{-1} \begin{pmatrix} 3 \\ -8 \\ 9 \end{pmatrix}. ⎝ ⎛ a b c ⎠ ⎞ = A − 1 ⎝ ⎛ 3 − 8 9 ⎠ ⎞ .
Take note that the right hand values of the system are 3, -8, and 9 and they are highlighted here:
{ a + 3 b + 2 c = 3 2 a + ( − 1 ) b + ( − 3 ) c = − 8 5 a + 2 b + c = 9 \left\{ \begin{array}{c} a + 3b + 2c = 3 \\ 2a + (-1)b + (-3)c = -8 \\ 5a + 2b + c = 9 \end{array} \right. ⎩ ⎨ ⎧ a + 3 b + 2 c = 3 2 a + ( − 1 ) b + ( − 3 ) c = − 8 5 a + 2 b + c = 9
These values are important as they will be used to replace the columns of the matrix A A A .
Now let's calculate the determinant of the matrix A A A
det A = ∣ 1 3 2 2 − 1 − 3 5 2 1 ∣ = 1 ⋅ 1 ⋅ ( − 1 ) + 3 ⋅ 5 ⋅ ( − 3 ) + 2 ⋅ 2 ⋅ 2 − 2 ⋅ 5 ⋅ ( − 1 ) − 2 ⋅ 1 ⋅ 3 − 1 ⋅ 2 ⋅ ( − 3 ) = − 28. \det A = \left| \begin{array}{ccc} 1 & 3 & 2 \\ 2 & -1 & -3 \\ 5 & 2 & 1 \end{array} \right| = 1 \cdot 1 \cdot (-1) + 3 \cdot 5 \cdot (-3) + 2 \cdot 2 \cdot 2 - 2 \cdot 5 \cdot (-1) - 2 \cdot 1 \cdot 3 - 1 \cdot 2 \cdot (-3) = -28. det A = ∣ ∣ 1 2 5 3 − 1 2 2 − 3 1 ∣ ∣ = 1 ⋅ 1 ⋅ ( − 1 ) + 3 ⋅ 5 ⋅ ( − 3 ) + 2 ⋅ 2 ⋅ 2 − 2 ⋅ 5 ⋅ ( − 1 ) − 2 ⋅ 1 ⋅ 3 − 1 ⋅ 2 ⋅ ( − 3 ) = − 28.
Now replace the third column of A A A (that corresponds to the variable 'c') with the values that form the right hand side of the system of equations. We will denote this new matrix A c A_c A c (since we're replacing the 'c' column so to speak).
Now compute the determinant of A c A_c A c
det A c = ∣ 1 3 3 2 − 1 − 8 5 2 9 ∣ = 1 ⋅ 9 ⋅ ( − 1 ) + 3 ⋅ 5 ⋅ ( − 8 ) + 2 ⋅ 2 ⋅ 3 − 3 ⋅ 5 ⋅ ( − 1 ) − 2 ⋅ 9 ⋅ 3 − 1 ⋅ 2 ⋅ ( − 8 ) = − 140. \det A_c = \left| \begin{array}{ccc} 1 & 3 & 3 \\ 2 & -1 & -8 \\ 5 & 2 & 9 \end{array} \right| = 1 \cdot 9 \cdot (-1) + 3 \cdot 5 \cdot (-8) + 2 \cdot 2 \cdot 3 - 3 \cdot 5 \cdot (-1) - 2 \cdot 9 \cdot 3 - 1 \cdot 2 \cdot (-8) = -140. det A c = ∣ ∣ 1 2 5 3 − 1 2 3 − 8 9 ∣ ∣ = 1 ⋅ 9 ⋅ ( − 1 ) + 3 ⋅ 5 ⋅ ( − 8 ) + 2 ⋅ 2 ⋅ 3 − 3 ⋅ 5 ⋅ ( − 1 ) − 2 ⋅ 9 ⋅ 3 − 1 ⋅ 2 ⋅ ( − 8 ) = − 140.
To find the solution for c c c , divide the determinant of A c A_c A c by the determinant of A A A to get:
c = det A c det A = − 140 − 28 = 5. c = \frac{\det A_c}{\det A} = \frac{-140}{-28} = 5. c = det A det A c = − 28 − 140 = 5.
Answer: 5.
www.AssignmentExpert.com