# Yet another matrix equation [closed]

Solve the following matrix equation for $X$.

$$\left[\begin{array}{cc} 5 &-8\cr 8 &1 \end{array}\right] X + \left[\begin{array}{cc} 6 &6\cr 3 &5 \end{array}\right] = \left[\begin{array}{cc} -1 &4\cr -3 &-1 \end{array}\right] X$$

Please give me some hint to do this question. Thanks.

## closed as off-topic by Saad, user99914, Xander Henderson, Parcly Taxel, Brian BorchersMar 12 '18 at 2:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – Saad, Community, Xander Henderson, Parcly Taxel, Brian Borchers
If this question can be reworded to fit the rules in the help center, please edit the question.

• How would you solve the scalar equation $ax+b=cx$ for $x$? The same ideas apply here. – amd Mar 11 '18 at 15:58

Your matrix equation is $$AX+B=CX$$

You solve for X.

$$(A-C)X=-B$$

$$X=-(A-C)^{-1}B$$ $$X= \left[\begin{array}{cc} -6 &12\cr -11 &-2 \end{array}\right]^{-1}\left[\begin{array}{cc} 6 &6\cr 3 &5 \end{array}\right]$$

$$X = \frac{1}{12}\left[\begin{array}{cc} -4 & -6\cr 4 &3 \end{array}\right]$$

This is a linear equation in four variables.

Let $X = \begin{bmatrix} x_{11} & x_{12} \\ x_{21} & x_{22} \end{bmatrix}$.

Consider each entry of the RHS and LHS as a seperate equation:

\begin{align} 5x_{11} - 8x_{21} + 6 &= -1x_{11}+4x_{12} & \text{(top left entry)}\\ 5x_{12} - 8x_{22} + 6 &= -1x_{12}+4x_{22} & \text{(top right entry)}\\ 8x_{11} - 1x_{21} + 3 &= -3x_{11}-1x_{12} & \text{(bottom left entry)}\\ 8x_{12} - 1x_{22} + 5 &= -3x_{12}-1x_{22} & \text{(bottom right entry)}\\ \end{align}

Now you get a linear system of four equations wich can be solved using the usual methods.

As an alternative you can directly use matrix operations and solve

$$\left[\begin{array}{cc} 5 &-8\cr 8 &1 \end{array}\right] X + \left[\begin{array}{cc} 6 &6\cr 3 &5 \end{array}\right] = \left[\begin{array}{cc} -1 &4\cr -3 &-1 \end{array}\right] X$$

iff

$$\left[\begin{array}{cc} 6 &6\cr 3 &5 \end{array}\right] = \left[\begin{array}{cc} -1 &4\cr -3 &-1 \end{array}\right] X - \left[\begin{array}{cc} 5 &-8\cr 8 &1 \end{array}\right] X =\left[\begin{array}{cc} -6 &12\cr -11 &-2 \end{array}\right]X$$

iff

$$\left[\begin{array}{cc} -6 &12\cr -11 &-2 \end{array}\right]^{-1}\left[\begin{array}{cc} 6 &6\cr 3 &5 \end{array}\right] =X$$

(Note that the matrix that we are trying to invert is actually invertible since its determinant is $(-6)(-2)-(-11)12 = 144 \neq 0$.)

iff

$$X = \frac{1}{12}\left[\begin{array}{cc} -4 & -6\cr 4 &3 \end{array}\right]$$

• it should be $$X = \frac{1}{12}\left[\begin{array}{cc} -4 & -6\cr 4 &3 \end{array}\right]$$, thanks. – kdhug886 Mar 11 '18 at 9:53