Matrix Addition Notes
These Matrix Addition Notes explain how to add two matrices, with the working shown line by line. Two matrices can only be added when they have the same number of rows and columns, because every entry needs a partner sitting in the same position. Each pair is added on its own and the total goes straight back into that position, so the answer is the same size as the two it came from. Following the same pattern every time makes matrix addition easy to check and repeat.
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair the entries in matching positions.
- Add each pair.
Formula: Matrix Addition Formula
This formula adds two matrices of the same size. Add the entries that sit in the same row and column.
Useful Tips to Remember
Only matrices of the same size can be added, so check the rows and columns first. Each answer entry comes from one pair, so entries never mix between positions. The order does not matter, because \(A + B = B + A\). Watch the signs when an entry is negative, since adding a negative is the same as subtracting.
Required knowledge
- How to add numbers, including negatives, covered in the Addition of Small Numbers Calculator.
- How to add fractions, covered in the Addition of Fractions Calculator.
- How the opposite operation works, covered in the Matrix Subtraction Calculator.
Where Is Matrix Addition Used?
Matrix addition combines two tables of numbers position by position, which is how data organised in rows and columns is totalled. Shops add monthly sales matrices to get a quarterly total for each product and store. In image editing, every pixel value is stored in a matrix, so blending or brightening images adds matrices. Physics and engineering add matrices of forces or stresses, and in machine learning every training step adds a matrix of small changes to the weights.
- Totalling sales tables across months or stores
- Blending and brightening images pixel by pixel
- Combining stress and force matrices in engineering
- Updating weights in machine learning
- Adding cost or score tables in spreadsheets
Matrix Addition Practice Problems
Example 1 adds two \(2 \times 2\) matrices with negative entries, and Example 2 adds two \(2 \times 3\) matrices. Examples 3 and 4 give you two more problems of the same kind to try. Add each pair of matching entries yourself, then compare.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair the entries in matching positions.
- Add each pair.
Formula
Formula: Matrix Addition Formula
This formula adds two matrices of the same size. Add the entries that sit in the same row and column.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A and Matrix B are both \(2 \times 2\), so every entry of A has a partner in the same position of B.
Step 2
Step 2 - Write the formula.
In this problem: Matrices of the same size are added one position at a time, so the entry in row i and column j of the answer is the sum of the two entries in that same position.
Step 3
Step 3 - Pair the entries in matching positions.
In this problem: Writing each pair in its own position gives \(A + B = \begin{bmatrix} 12 + 5 & -3 + 18 \\ 40 + \left(-9\right) & 7 + 2 \end{bmatrix}\).
Step 4
Step 4 - Add each pair.
In this problem: Adding each pair gives \(12 + 5 = 17\), \(-3 + 18 = 15\), \(40 + \left(-9\right) = 31\) and \(7 + 2 = 9\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair the entries in matching positions.
- Add each pair.
Formula
Formula: Matrix Addition Formula
This formula adds two matrices of the same size. Add the entries that sit in the same row and column.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A and Matrix B are both \(2 \times 3\), so every entry of A has a partner in the same position of B.
Step 2
Step 2 - Write the formula.
In this problem: Matrices of the same size are added one position at a time, so the entry in row i and column j of the answer is the sum of the two entries in that same position.
Step 3
Step 3 - Pair the entries in matching positions.
In this problem: Writing each pair in its own position gives \(A + B = \begin{bmatrix} 1 + 7 & 2 + 8 & 3 + 9 \\ 4 + 1 & 5 + 0 & 6 + 2 \end{bmatrix}\).
Step 4
Step 4 - Add each pair.
In this problem: Adding each pair gives \(1 + 7 = 8\), \(2 + 8 = 10\), \(3 + 9 = 12\), \(4 + 1 = 5\), \(5 + 0 = 5\) and \(6 + 2 = 8\).
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair the entries in matching positions.
- Add each pair.
Formula
Formula: Matrix Addition Formula
This formula adds two matrices of the same size. Add the entries that sit in the same row and column.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A and Matrix B are both \(2 \times 2\), so every entry of A has a partner in the same position of B.
Step 2
Step 2 - Write the formula.
In this problem: Matrices of the same size are added one position at a time, so the entry in row i and column j of the answer is the sum of the two entries in that same position.
Step 3
Step 3 - Pair the entries in matching positions.
In this problem: Writing each pair in its own position gives \(A + B = \begin{bmatrix} 3 + 6 & 8 + \left(-4\right) \\ -2 + 7 & 5 + 1 \end{bmatrix}\).
Step 4
Step 4 - Add each pair.
In this problem: Adding each pair gives \(3 + 6 = 9\), \(8 + \left(-4\right) = 4\), \(-2 + 7 = 5\) and \(5 + 1 = 6\).
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Pair the entries in matching positions.
- Add each pair.
Formula
Formula: Matrix Addition Formula
This formula adds two matrices of the same size. Add the entries that sit in the same row and column.
Step 1
Step 1 - Set up the problem.
In this problem: Matrix A and Matrix B are both \(2 \times 3\), so every entry of A has a partner in the same position of B.
Step 2
Step 2 - Write the formula.
In this problem: Matrices of the same size are added one position at a time, so the entry in row i and column j of the answer is the sum of the two entries in that same position.
Step 3
Step 3 - Pair the entries in matching positions.
In this problem: Writing each pair in its own position gives \(A + B = \begin{bmatrix} 2 + 4 & 0 + 6 & 5 + \left(-2\right) \\ -1 + 3 & 3 + 1 & 4 + 0 \end{bmatrix}\).
Step 4
Step 4 - Add each pair.
In this problem: Adding each pair gives \(2 + 4 = 6\), \(0 + 6 = 6\), \(5 + \left(-2\right) = 3\), \(-1 + 3 = 2\), \(3 + 1 = 4\) and \(4 + 0 = 4\).
Final Answer
Calculator and Practice Mode
Want to check your own working? The Matrix Addition Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, Matrix Addition Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.