by Guest » Mon May 04, 2020 2:22 pm
Another way to do this is to find the inverse to the matrix [tex]\begin{bmatrix}1 & 1\\ 1 & -1\end{bmatrix}[/tex] and multiply both sides of the equation by that inverse matrix.
To do that write the "augmented matrix" [tex]\begin{bmatrix}1 & 1 & 1 & 0 \\ 1 & -1 & 0 & 1 \end{bmatrix}[/tex], the given matrix with the identity matrix appended on the right. Now use "row operations" to reduce the original matrix to the identity matrix while applying the same row operations to the identity matrix.
There are three kinds or row operations:
multiply every number in one row by the same number
swap two rows
add a multiple of one row to another.
We have [tex]\begin{bmatrix}1 & 1 & 1 & 0 \\ 1 & -1 & 0 & 1 \end{bmatrix}[/tex] and we want [tex]\begin{bmatrix}1 & 0 & a & b\\ 0 & 1 & c & d \end{bmatrix}[/tex] where we need to determine a, b, c, and d. We already have a "1" in the upper left corner but we have a "1" below it where we want a "0". Subtract the first row from the second to get [tex]\begin{bmatrix}1 & 1 & 1 & 0 \\0 & -2 & -1 & 1[/tex] we want "1" in the low right where now we have "-2". Divide the second row by -2 to get [tex]\begin{bmatrix}1 & 1 & 1 & 0 \\ 0 & 1& 1/2 & -1/2\end{bmatrix}[/tex]. Finally we have a "1" in the upper right where we want a "0". Subtract the second row from the first row to get [tex]\begin{bmatrix}1 & 0 & 1/2 & 1/2 \\ 0 & 1 & 1/2 & 1/2 \end[bmatrix}[/tex]. So the inverse matrix to [tex]\begin{bmatrix} 1 & 1 \\ 1 & -1\end{bmatrix}[/tex] is [tex]\begin{bmatrix} 1/2 & 1/2 \\ 1/2 & -1/2 \end{bmatrix}[/tex].
You can check that is true by multiplying :
[tex]\begin{bmatrix} 1 & 1 \\ 1 & -1\end{bmatrix}\begin{bmatrix} 1/2 & 1/2 \\ 1/2 & -1/2 \end{bmatrix}= \begin{bmatrix}1/2+ 1/2 & 1/2- 1/2 \\ 1/2- 1/2 & 1/2+ 1/2\end{bmatrix}= \begin{bmatrix}1 & 0 \\ 0 & 1 \end{bmatrix}[/tex] and
[tex]\begin{bmatrix} 1/2 & 1/2 \\ 1/2 & -1/2\end{bmatrix}\begin{bmatrix} 1& 1 \\ 1 & -1 \end{bmatrix}= \begin{bmatrix}1/2+ 1/2 & 1/2- 1/2 \\ 1/2- 1/2 & 1/2+ 1/2\end{bmatrix}= \begin{bmatrix}1 & 0 \\ 0 & 1 \end{bmatrix}[/tex]
So [tex]\begin{bmatrix} 1/2 & 1/2 \\ 1/2 & -1/2 \end{bmatrix}\begin{bmatrix}\begin{bmatrix}1 & 1 \\ 1 & -1 \end{bmatrix}\begin{bmatrix}x \\ y\end{bmatrix}= \begin{bmatrix}1/2 & 1/2 \\ 1/2 & -1/2\end{bmatrix}\begin{bmatrix}5 \\ 7 \end{bmatrix}[/tex]
[tex]begin{bmatrix}1 & 0 \\ 0 & 1 \end{bmatrix}\begin{bmatrix} x\\ y \end{bmatrix}= \begin{bmatrix}x \\ y\end{bmatrix}= \begin{bmatrix}5/2+ 7/2 \\ 5/2- 7/2\end{bmatrix}= \begin{bmatrix}6 \\ -1\end{bmatrix}[/tex].
Of course with just a two by two matrix, it is much simpler to solve two equations in two unknowns as previously suggested. But "real life" problems might involve thousands of equations in thousands of unknowns so you need to use a very "mechanical" method such as this in a computer.