We can add and subtract matrices only if the dimensions of the matrices are the same. For example,
We want to find out what A+B
is. We see that we are allowed to add A
together because both A
has a dimension of 2 x 3.
To add the two matrices together, we simply just need to add the corresponding matrix elements of A
Same idea goes for subtracting. We can subtract them because the dimensions are the same. If we want to find out what A - B