...
Oh ok.
x-x=0, but other than that you're on the right track. If you want to solve using matrices you need to encode your elimination steps into a matrix, which will eventually lead you to the inverse of the original matrix.
Strictly speaking you're not using matrices.
Here's the matrix approach:
\[\left[\begin{matrix}1 & 2 \\ 1 & 1\end{matrix}\right]\left(\begin{matrix}x \\ y\end{matrix}\right)=\left(\begin{matrix}1 \\ 9\end{matrix}\right)\]
Finding the inverse of the first matrix is easy, because it's 2X2:
So is that the final answer?
\[\left[\begin{matrix}1 &2 \\ 1 & 1\end{matrix}\right]^{-1}=\left[\begin{matrix}1/\det &-2/\det \\ -1/\det & 1/\det\end{matrix}\right]\], where det is the determinant, which in this case is (1*1)-(2*1)=-1
\[\left[\begin{matrix}-1 & 2 \\ 1 & -1\end{matrix}\right]\left[\begin{matrix}1 &2 \\ 1 &1\end{matrix}\right]\] should equal the identity matrix.
It does, I just did the multiplication, you should check for yourself as well.
So thats my final answer? Or is there more?
Multiply both sides by the inverse:
(on the left, by the way)
\[\left[\begin{matrix}-1 & 2 \\ 1 & -1\end{matrix}\right]\left[\begin{matrix}1 & 2 \\ 1 & 1\end{matrix}\right]\left(\begin{matrix}x \\ y\end{matrix}\right)=\left[\begin{matrix}-1 & 2 \\ 1 & -1\end{matrix}\right]\left(\begin{matrix}9 \\ 1\end{matrix}\right)\]
Multiply them both out, the right (as we showed earlier) gives the identitiy matrix times (x,y), and the right gives their values.
So we have (-1*9+2*1)=x, (1*9+(-1*1))=y
So my final answer would be x = -7 and y = 8?
Yup, and you can test it, and it works.
\[\left[\begin{matrix}1 & 2 \\ 1 & 1\end{matrix}\right]\left(\begin{matrix}X \\ Y\end{matrix}\right)=\left(\begin{matrix}9 \\1\end{matrix}\right) \] Or AX=B \[\left| A \right|=\]|■(1&2@1&1)|=1×1-1×2=1-2=-1≠0 \[adj A=\left[\begin{matrix}1 & -1 \\ -2 & 1\end{matrix}\right]'=\left[\begin{matrix}1 & -2 \\-1 & 1\end{matrix}\right]\] \[A ^{-1}=\frac{ adj A }{ \left| A \right| }\] \[A ^{-1}=\frac{ \left[\begin{matrix}1 & -2 \\-1 & 1\end{matrix}\right] }{ -1 }\] \[A ^{-1}=-\left[\begin{matrix}1 & -2 \\-1 & 1\end{matrix}\right]=\left[\begin{matrix}-1 & 2 \\ 1 & -1\end{matrix}\right]\] \[X=A ^{-1}B\] \[X=\left[\begin{matrix}-1 &2 \\ -1 & 1\end{matrix}\right]\left(\begin{matrix}9 \\1\end{matrix}\right)\] \[X=\left(\begin{matrix}-1\times1+2\times1 \\ -1\times9+1\times1\end{matrix}\right)\] \[X=\left(\begin{matrix}-1+2 \\ -9+1\end{matrix}\right)=\left(\begin{matrix}1 \\ -8\end{matrix}\right)\] \[\left(\begin{matrix}x\\y\end{matrix}\right)=\left(\begin{matrix}1 \\-8\end{matrix}\right)\] x=1,y=-8
You forgot to multiply by 9 in the top right of your third-to-last equation.
sorry you are correct
\[X=A ^{-1}B\] \[X=\left[\begin{matrix}-1 & 2\\ 1 & -1\end{matrix}\right]\left(\begin{matrix}9 \\ 1\end{matrix}\right)\] \[\left(\begin{matrix}x \\ y\end{matrix}\right)=\left(\begin{matrix}-1\times9+2\times1 \\1\times9+\left( -1\times1 \right)\end{matrix}\right)\] \[\left(\begin{matrix}x \\ y\end{matrix}\right)=\left(\begin{matrix}-7 \\ 8\end{matrix}\right)\] x=-7,y=8
Join our real-time social learning platform and learn together with your friends!