Chapter 2: Operations with Matrices

Matrix Addition

For matrix addition to be defined, both matrices must be of the same dimension, that is, both matrices must have the same number of rows and columns. Addition then proceeds by adding corresponding components, as in $$C_{ij}=A_{ij}+B{ij} .$$

For example, if $$ A = \left(\begin{array}{cc} a&b\\ c&d\\ \end{array} \right) ,\qquad B = \left(\begin{array}{cc} e&f\\ g&h\\ \end{array} \right) ,$$ then $$A+B= \left(\begin{array}{cc} a&b\\ c&d\\ \end{array} \right) + \left(\begin{array}{cc} e&f\\ g&h\\ \end{array} \right) = \left(\begin{array}{cc} a+e&b+f\\ c+g&d+h\\ \end{array} \right).$$ Similarly, $$\left(\begin{array}{cc} 1&2\\ 3&4\\ 5&6\\ \end{array} \right) + \left(\begin{array}{cc} 7&8\\ 9&10\\ 11&12\\ \end{array} \right) = \left(\begin{array}{cc} 8&10\\ 12&14\\ 16&18\\ \end{array} \right).$$ However, $$ \left(\begin{array}{cc} 1&2\\ 3&4\\ \end{array} \right) + \left(\begin{array}{ccc} 5&6&7\\ 8&9&10\\ 11&12&13\\ \end{array} \right)$$ is undefined.


Personal Tools