ILAM - Add and Subtract Matrices Lesson
Add and Subtract Matrices
In order to add and subtract matrices, they must have the same dimensions - or the same number of rows and columns. If two matrices have that, then you may add or subtract corresponding entries.
A=[1−2504−1]B=[2043−15]
Matrices A and B are both size 2 x 3 so I can add or subtract them. Let's try adding them:
A+B=[1−2504−1]+[2043−15]=[1+2−2+05+40+34+−1−1+5]=[3−29334]
Let's try subtracting them:
A−B=[1−2504−1]−[2043−15]=[1−2−2−05−40−34−−1−1−5]=[−1−21−35−6]
Let's try a few:
A=[−479032]B=[368−1−20]C=[10542−27−31]D=[7−205336−14]
Notice up above that A + B = B + A. This means that matrix addition (like addition with real numbers) is commutative!
IMAGES CREATED BY GAVS