Subtracting Matrices

Subtracting  Matrices

For two m \timesn matrices X and Y, the different X –Y is the m \timesn matrix defined by

X – Y = X  + (-Y).

This definition means that matrix subtraction can be performed by subtracting

corresponding elements. For example, with A, B, and  – B as defined above,

A – B = A + (-B) = \begin{bmatrix}  1 & 2 &3 \\  0& -1 & 5  \end{bmatrix} + \begin{bmatrix}  2 & -3 &0 \\  -1& 7 & -2  \end{bmatrix} = \begin{bmatrix}  3 & -1 &3 \\  -1&6  & 3  \end{bmatrix}.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *