Okay this may sound really like a stupid question, but 'life is like a box of chocolate you never know what your going to get' lol.

Question is when asked to put linear equations into matrix form and than add the matrices together are you suppose to not add the unknown matrix back on it self ie for instance the x1, x2, ...xn matrix.

For instance with the following sets of equations

$\displaystyle \begin{array}{l} \left\{ \begin{array}{l} 4x_1 + 7x_2 = 2 \\ x_1 + 2x_2 - x_3 = 3 \\ \end{array} \right. \\ \left\{ \begin{array}{l} 7x_2 + 8x_3 = 0 \\ x_1 - x_2 = 17 \\ \end{array} \right. \\ \end{array}$

So my matrices for the above equations are respectively as follows

$\displaystyle \left[ {\begin{array}{*{20}c} 4 & 7 & 0 \\ 1 & 2 & { - 3} \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} 2 \\ 3 \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} {x_1 } \\ {x_2 } \\ {x_3 } \\ \end{array}} \right]$

$\displaystyle \left[ {\begin{array}{*{20}c} 0 & 7 & 8 \\ 1 & { - 1} & 0 \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} 0 \\ {17} \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} {x_1 } \\ {x_2 } \\ {x_3 } \\ \end{array}} \right]$

And here is where my question, regarding to the column matrix containing the x terms.

$\displaystyle \left[ {\begin{array}{*{20}c} 4 & {14} & 8 \\ 2 & 1 & { - 3} \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} 2 \\ {20} \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} {x_1 + x_1 } \\ {x_2 + x_2 } \\ {x_3 + x_3 } \\ \end{array}} \right]$

Should it be as above or should you not add the x1+x1 , x2+x2 ... etc. If not why ?

2. Originally Posted by Craka
Okay this may sound really like a stupid question, but 'life is like a box of chocolate you never know what your going to get' lol.

Question is when asked to put linear equations into matrix form and than add the matrices together are you suppose to not add the unknown matrix back on it self ie for instance the x1, x2, ...xn matrix.

For instance with the following sets of equations

$\displaystyle \begin{array}{l} \left\{ \begin{array}{l} 4x_1 + 7x_2 = 2 \\ x_1 + 2x_2 - x_3 = 3 \\ \end{array} \right. \\ \left\{ \begin{array}{l} 7x_2 + 8x_3 = 0 \\ x_1 - x_2 = 17 \\ \end{array} \right. \\ \end{array}$

So my matrices for the above equations are respectively as follows

$\displaystyle \left[ {\begin{array}{*{20}c} 4 & 7 & 0 \\ 1 & 2 & { - 3} \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} 2 \\ 3 \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} {x_1 } \\ {x_2 } \\ {x_3 } \\ \end{array}} \right]$

$\displaystyle \left[ {\begin{array}{*{20}c} 0 & 7 & 8 \\ 1 & { - 1} & 0 \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} 0 \\ {17} \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} {x_1 } \\ {x_2 } \\ {x_3 } \\ \end{array}} \right]$

And here is where my question, regarding to the column matrix containing the x terms.

$\displaystyle \left[ {\begin{array}{*{20}c} 4 & {14} & 8 \\ 2 & 1 & { - 3} \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} 2 \\ {20} \\ \end{array}} \right]\left[ {\begin{array}{*{20}c} {x_1 + x_1 } \\ {x_2 + x_2 } \\ {x_3 + x_3 } \\ \end{array}} \right]$

Should it be as above or should you not add the x1+x1 , x2+x2 ... etc. If not why ?
The correct matrix equation for the equations you've posted is $\displaystyle \left( \begin{array}{ccc} 4 & 7 & 0 \\ 1 & 2 & -1 \\ 0 & 7 & 8 \\ 1 & -1 & 0 \end{array} \right)$ $\displaystyle \left( \begin{array}{c} x_1 \\ x_2 \\ x_3 \end{array} \right) =$ $\displaystyle \left( \begin{array}{c} 2 \\ 3 \\ 0 \\ 17\end{array} \right)$

3. oh, I think I see. So I leave the unknowns alone?