In this equation I have the following: $B,I$ and $A$ and I have to find the X matrix. $$3I + B -XA = -X$$
Then I calculated: $$3I + B = XA -X$$ $$3I + B = X(A-I)$$
Is this correct? $$3I + B + (A-I)^{-1} = X$$
In this equation I have the following: $B,I$ and $A$ and I have to find the X matrix. $$3I + B -XA = -X$$
Then I calculated: $$3I + B = XA -X$$ $$3I + B = X(A-I)$$
Is this correct? $$3I + B + (A-I)^{-1} = X$$
The last expression should replaced by $X=(3I+B) (A-I)^{-1}$, but note that, as pointed out by @Bernard, $(A-I)^{-1}$ may not exist (for instance, if $A=I$).