3.5.2 Matrix Addition and Subtraction

Adding or subtracting matrices is accomplished using this formula:

Illustration

Here's an easy example showing how to add matrices together:

Illustration

Here's another example. This one switches the order of the same matrices and shows that the result is still the same:

Illustration

As you can see from these examples, the commutative law is valid for matrix addition and subtraction. In other words, you can switch the calculation order:

The associative law is also valid: