Could you give me your feedback ?
Determine the inverse of the following Matrix: $$A = \begin{bmatrix} 1 & 2 & -1 \\ -3 & 1 & 2 \\ -2 & 2 & 1 \end{bmatrix}$$
We want to perform row operations until we get the identity matrix (we could also do it with the determinant method). We will apply the same operations to an identity matrix and the resulting matrix will be the inverse of $A$.
We add 3 times first row to second row, 2 times first row to third row. Then we add -1 third row to second row. Then we add -2 second row to first row and -6 second row to third row. Then we multiply third row by -1. Then we add 1 third row to first row. And we get our identity matrix.
If we apply those operations to an identity matrix, we get
$$A^{-1} = \begin{bmatrix} 3 & 4 & -5 \\ 1 & 1 & -1 \\ 4 & 6 & -7 \end{bmatrix}$$
Is this correct ?
Thanks for your help !
Yes, your answer is correct. You can check by doing a dot product of the first row of $A$ with the first column of $B$ and it is $1$. That's usually good enough to know whether you got it right or wrong.