Here's the matrix $A$:
\begin{pmatrix} -1 & 1 & 2\\ 2 & -2 & 3\\ -1 & 1 & -2 \end{pmatrix}
How do I solve the matrix equation $XA = X - A$?
Here's the matrix $A$:
\begin{pmatrix} -1 & 1 & 2\\ 2 & -2 & 3\\ -1 & 1 & -2 \end{pmatrix}
How do I solve the matrix equation $XA = X - A$?
Your equation is $XA = X - A$. This can be rewritten as follows:
$X - XA = A$
$X(I - A) = A$, where $I$ is the identity matrix.
Multiplying by the inverse of $I - A$ on the right gives:
$X(I-A)(I-A)^{-1} = A(I-A)^{-1}$,
giving you $X = A(I-A)^{-1}$.
You can then just compute the right hand side.
Hope this helps :)