In this lesson, I have prepared seven (7) worked examples to illustrate the basic approach on how to easily add or subtract matrices.

If you know how to add and subtract real numbers, this topic should really be a breeze. The only thing required in order to “legally” perform the operations of addition or subtraction in the “world” of matrices is to make sure that the given matrices must have the same size or dimension.

What does it mean for a given matrix to have the same size or dimension?

Suppose we’re given matrices A and B. They have the same size or dimension because their number of rows and columns are the same.

We can describe the size or dimension of a matrix using the following standard format:

number of rows x number of columns

Let me show you some examples…

The last matrix with a dimension of 5 x 5 is also considered to be a “square matrix” because the number of rows and the number of columns are equal. It is important to know that for any given matrix to have an inverse, it must be a square matrix. I am not saying that all square matrices have inverses but the first requirement for a matrix to have an inverse is that it must be a square matrix first.

Check out my separate tutorial on how to find the inverse of a 2×2 matrix.

I must emphasize that in order to add or subtract two given matrices, they should have the same size or dimension. Otherwise, we conclude that the sum (addition) or difference (subtraction) of two matrices having different sizes or dimensions is undefined!

Now let’s take a look at the general rule on how to add and subtract matrices which sizes or dimensions are the same.

## Rules on Adding and Subtracting Matrices with the Same Size or Dimension

Suppose matrices A and B both have two rows and two columns (2×2) with some arbitrary elements or entries…

The “formulas” to add and subtract matrices are shown below…

• Subtract matrices by subtracting their corresponding entries

Let’s work on some problems.

### Examples of How to Add and Subtract Matrices

Example 1: Perform the indicated operation for A + C.

Notice that matrices A and C have the same “size” or “dimension” because their number of rows and column are the same. Both can be described as a 3 x 3 matrix. This tells me that it is okay to find their sum.

I will add their corresponding entries and simplify.

That’s how simple it is!

Example 2: Perform the indicated operation for B + F.

Observe that matrix B has a dimension of 2×3 while matrix F has a dimension of 2×2.

Since the number of rows and columns don’t match, then the sum of matrices B and F doesn’t exist or undefined. I will stop here. That’s our answer believe it or not.

Example 3: Perform the indicated operation for E − B.

The last two examples showed you how to add matrices. This time, we’ll talk about the subtraction of matrices. Remember that the process involved in both adding and subtracting matrices are extremely similar. Review the “formula” above in case you forgot.

In this example, we need to find the difference between matrix E and matrix B.

However, it appears that it is not possible since they have different sizes or dimensions. Matrix E is a 3×2 while matrix B is 2×3.

Since I can’t subtract entry-wise, due to the entries of the two matrices having no direct correspondence, I must claim that it is NOT possible to find their difference. Therefore, our answer is undefined.

This is not a trick question. Teachers sometimes “throw” this in the mix to test if you understand the concept that only matrices with the same sizes or dimensions can be added or subtracted. Don’t feel bad, I myself fell into this “trap”. Hopefully now that you know, you’ll be careful the next time you come across a problem like this.

Example 4: Perform the indicated operation for F − D.

By quick inspection, I can see that it is possible to find the difference between matrices F and D because both have the same number of rows and columns. Great!

To start, I will subtract the corresponding entries of F and D. My only word of caution is be very careful when subtracting real numbers. This is usually where common errors occur. Remember that two adjacent negative signs turns out to be positive.

Example 5: Perform the indicated operation for C − A.

The two given matrices C and A have the same sizes or dimensions (both 3×3 matrices). This allows us to be able to perform the subtraction operation .

Subtracting entry-wise, I got…

Example 6: Perform the indicated operation for A + ) + ( C − ).

This is a great example of a “multi-step” problem that involves addition and subtraction of matrices. The goal is to perform the indicated operation on each parenthesis, and then ADD them together.

To skip some steps, review how we solved for A + C in Example 1 and C − A in Example 5.

We have these partial answers so far…

So then, the final step is to add them together to obtain the required answer.

As you see, addition and subtraction of matrices are really easy. I hope that you gained some confidence and knowledge on how to work this out.

Example 7: Perform the indicated operation for ( A + C ) + ( C − A ).

This is the same problem as Example 6. But I want to solve this a little bit differently to demonstrate the fact that there are other ways to approach a certain problem. Although the method applied in Example 6 is perfectly acceptable, this “alternative” approach makes a lot more sense because it is very straightforward.

Here we go…

If you consider the expression ( A + C ) + ( C − Aas combining like or similar terms type problem, then it makes sense that we can quickly simplify the original problem without even dealing with the addition and subtraction of matrices.

Notice that I can combined the C-terms as 2C.

Now, the A-terms should cancel out because they have opposite signs.

Our original problem is reduced to 2C which is twice or double of matrix C.

This means that I am going to multiply each entry of matrix C by 2. This is actually the subject of my other algebra tutorial on Scalar Multiplication of Matrix.

Since

then 2C is solved by…

The final answer obtained using this method is exactly the same as in Example 6. Easy, right?

##### Practice with Worksheets

You might also be interested in:

Scalar Multiplication

Matrix Multiplication