Adding And Subtracting Matrices
Theory
Two matrices can be added or subtracted only if they have the same order. The operation is done element by element:
Two matrices can be added or subtracted only if they have the same order — the same number of rows AND the same number of columns. The result is a matrix of that same order, with each entry computed by adding (or subtracting) the corresponding entries:
The zero matrix
Matrix addition is commutative (
The first diagram shows how addition works entry-by-entry. The second shows that the operation is only defined when the matrices have the same order.
The rules are simple element-wise definitions.
Addition
Subtraction
Key properties
| Property | Statement |
|---|---|
| Commutative (addition) | |
| Associative (addition) | |
| Zero matrix is identity | |
| Subtraction is not commutative |
How to add or subtract two matrices
- Check the orders match. Both matrices must have the same number of rows AND the same number of columns. If they don't, the operation is undefined.
- Set up a result matrix of the same order.
- Compute each entry by adding (or subtracting) the corresponding entries from the two originals.
- Watch the signs, especially when subtracting negative entries:
.
Solving for an unknown matrix
- Rearrange to isolate
: . - Subtract matrix
from matrix , entry by entry. - State the resulting matrix
.
Solving for a missing entry
- Use the addition rule on each entry. Most entries will simplify with no unknowns and just confirm the working.
- For the entry containing the unknown, write the equation it gives and solve.
Both matrices are
| Row 1, col 1 | ||
| Row 1, col 2 | ||
| Row 2, col 1 | ||
| Row 2, col 2 |
Subtract entry-by-entry. Watch the signs — subtracting a negative becomes adding a positive.
| Row 1, col 1 | ||
| Row 1, col 2 | ||
| Row 2, col 1 | ||
| Row 2, col 2 |
Rearrange the equation:
| Row 1, col 1 | ||
| Row 1, col 2 | ||
| Row 2, col 1 | ||
| Row 2, col 2 |
Match corresponding entries. The only unknown is in row 1, column 2.
Answer:
Common pitfalls
Frequently asked questions
When can two matrices be added or subtracted?
Only when they have exactly the same order — the same number of rows AND the same number of columns. A 2 by 3 matrix cannot be added to a 3 by 2 matrix, even though both contain 6 entries.
How do I add two matrices?
Add element by element. The entry in row i, column j of the result is the sum of the entries in row i, column j of the two original matrices. The result has the same order as the originals.
How does subtraction differ from addition?
Subtraction works the same way, element-by-element, but you subtract the corresponding entries instead of adding them. Watch the signs carefully — subtracting a negative entry gives a positive contribution.
Is matrix addition commutative?
Yes — A plus B equals B plus A for any two matrices of the same order. Matrix addition is also associative, meaning the way you group three or more matrices when adding doesn't change the result.
Is matrix subtraction commutative?
No — A minus B is generally not equal to B minus A. The two results differ by a sign in every entry. Always do the subtraction in the order asked.
How do I solve a matrix equation like A plus X equals C?
Treat X as the unknown and rearrange the equation as you would with ordinary numbers. From A plus X equals C, subtract A from both sides to get X equals C minus A. Then compute the right-hand side element by element.
Video Lesson
- Adding and Subtracting Matrices Watch
Practice Questions
5 questions available.
Practice Questions