In this explainer, we will learn how to add and subtract matrices using the properties of their addition and subtraction.

If is an matrix, it consists of rows and columns, and a square matrix is an matrix containing the same number of rows and columns ,

For this explainer, we will only look at matrices up to and including matrices , but the same rules apply for more rows and columns. To add or subtract matrices, you have to add or subtract their corresponding elements.

We can only add or subtract matrices of the same order (i.e., both matrices have the same number of rows and the same number of columns as each other). This makes sense because you cannot perform these operations with the corresponding elements if both matrices do not have the same number of rows and columns.

### Adding and Subtracting ๐ ร ๐ Matrices:

To see this in action, consider the matrices

In order to add these matrices, we add corresponding elements:

In order to subtract matrix from matrix , we subtract each element in matrix from its corresponding element in matrix :

Now, consider the matrices

Again, letโs add and subtract these matrices by completing each operation on their corresponding elements:

Finally, consider the matrices

Letโs repeat the same operations on these matrices by completing each operation on their corresponding elements as before:

There are also properties of addition of matrices that we should be aware of:

- Matrix addition is commutative, which means that if and are two matrices of the same order such that is defined, then meaning the order in which you perform the addition does not matter. This arises due to the commutative law of addition of numbers, since we perform the addition on the corresponding elements of each matrix.
- Matrix addition is associative, which means if , , and are three matrices of the same order such that , and , are defined, then meaning the sum of the three matrices remains the same regardless of how they are grouped. You can find first then add the result to or add to and get the same result.
- Matrix addition satisfies the additive identity, which means that if is a matrix, then where is the zero (or null) matrix of the same order of consisting of zeros in each element. The zero matrix is called the additive identity for matrices.
- Matrix addition satisfies the additive inverse of a matrix, which means that if is a matrix, then where is the additive identity and is called the additive inverse of .

Now, letโs look at a few examples in order to practice and deepen our understanding, starting with the addition of two matrices.

### Example 1: Addition of One-by-Three Matrices

Find

### Answer

In this example, we have to perform the addition of two matrices.

In order to add these matrices, we add the corresponding elements of each matrix:

The same method of carrying out operations on all corresponding elements of the two matrices of the same order applies to addition of larger matrices, as we can see in our next example.

### Example 2: Addition of Two-by-Two Matrices

Evaluate

### Answer

In this example, we have to perform the addition of two matrices.

In order to add these matrices, we add the corresponding elements of each matrix:

In our next example we subtract one matrix from another.

### Example 3: Finding the Difference between Two Given Matrices

Find

### Answer

In this example, we have to find the difference between matrices.

In order to subtract these matrices, we subtract the corresponding elements of each matrix:

Next, let us consider an example that requires us to rearrange and solve a matrix equation using our knowledge of the properties of matrix addition and subtraction.

### Example 4: Addition and Subtraction of Matrices

Consider the matrix

Suppose the sum of matrices and is

Find the matrix .

### Answer

In this example, we have to find the unknown matrix by applying operations on matrices. Since we can only add or subtract matrices of the same order as we apply the operations on the corresponding elements and both the given matrix and are matrices, must also be a matrix.

In order to find , we rearrange the equation to make the subject and subtract the corresponding elements of each matrix:

Since matrix addition is commutative, we know that . We can then subtract matrix from each side of our equation, leaving

Therefore, after substituting , we have

Now let us use our knowledge of matrix addition and subtraction in an example that requires us to perform an inverse operation to find the answer.

### Example 5: Finding an Unknown Matrix by Applying Operations on Matrices Involving the Zero Matrix

Given that where is the zero matrix, find the value of .

### Answer

In this example, we have to find the unknown matrix by applying operations on matrices. Since we can only add or subtract matrices of the same order as we apply the operations on the corresponding elements and both the given matrix and the zero matrix are matrices, must also be a matrix.

In order to find the unknown matrix , we will rearrange the equation to make the subject and then we will subtract the corresponding elements of the given matrix from the zero matrix:

Since matrix addition is commutative, we can subtract the given matrix from each side of our equation. As the first matrix is the zero matrix, this has the effect of switching signs on each element of the second matrix:

In our final example, we will use our knowledge of the commutativity of matrix addition to help us perform a calculation involving the addition and subtraction of three matrices.

### Example 6: Commutative and Associative Properties of Operations on Matrices

Given that find .

### Answer

In this example, we have to perform addition and subtraction operations on three matrices.

In order to do this, we perform each operation on the corresponding elements of each matrix:

Matrix addition is commutative, so if we consider subtracting a matrix as being equivalent to adding the negative of the matrix, we can see that we could perform the calculation in several different ways and still get the same answer:

Matrix addition is also associative, so we can group the items in different ways and still get the same answer:

### Key Points

- To add two matrices, we need to add each corresponding element.
- To subtract one matrix from another, we need to subtract the corresponding elements.
- To perform these operations, the order of each matrix must be the same.
- Matrix addition is commutative and associative.
- Matrix addition satisfies the additive identity and additive inverse properties.