Matrix addition is the most basic operation in linear algebra, yet it serves as the building block for advanced concepts in data science, physics, and computer graphics.
While it is simpler than multiplication or inversion, it still follows strict rules. In this guide, you will master matrix addition, understand its key properties (like commutativity), and use our instant matrix addition calculator to solve problems in seconds.
What Is Matrix Addition?
Matrix addition is the operation of combining two matrices by adding their corresponding elements together.
Just like regular addition ($1 + 2 = 3$), you simply take the number from the first matrix and add it to the number in the exact same position in the second matrix.
The Formula
If $A = [a_{ij}]$ and $B = [b_{ij}]$, then the sum is defined as:
$$C_{ij} = a_{ij} + b_{ij}$$
Matrix Addition Calculator
Use the tool below to verify your homework or engineering calculations. It supports fractions and negative numbers.
Matrix Addition Calculator
Step-by-Step Sum (A + B)
Rules of Matrix Addition
Before you start adding numbers, you must check if the operation is valid.
1. The Dimension Rule
This is the golden rule: You can only add matrices of the exact same size.
- A $2 \times 2$ matrix can be added to another $2 \times 2$ matrix.
- A $3 \times 1$ column vector can be added to another $3 \times 1$ column vector.
- Undefined: You cannot add a $2 \times 2$ matrix to a $3 \times 3$ matrix.
2. The Element-wise Rule
Addition happens position by position. You add the top-left number to the top-left number, the bottom-right to the bottom-right, and so on.
Matrix Addition Examples
Let’s look at a few worked examples to solidify the concept.
Example 1: 2×2 Matrix Addition
$$A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}$$
Solution:
- $1 + 5 = 6$
- $2 + 6 = 8$
- $3 + 7 = 10$
- $4 + 8 = 12$
Result:
$$A + B = \begin{bmatrix} 6 & 8 \\ 10 & 12 \end{bmatrix}$$
Example 2: Adding Negative Numbers
Be careful with signs! Adding a negative number is the same as subtraction.
$$A = \begin{bmatrix} -2 & 4 \\ 0 & -5 \end{bmatrix}, \quad B = \begin{bmatrix} 3 & -2 \\ 1 & -1 \end{bmatrix}$$
Solution:
- $(-2) + 3 = 1$
- $4 + (-2) = 2$
- $0 + 1 = 1$
- $(-5) + (-1) = -6$
Result:
$$A + B = \begin{bmatrix} 1 & 2 \\ 1 & -6 \end{bmatrix}$$
Explore Linear Algebra Tools
Properties of Matrix Addition
Unlike matrix subtraction, matrix addition shares many properties with regular number addition.
1. Commutative Property
Order does not matter.
$$A + B = B + A$$
2. Associative Property
Grouping does not matter.
$$(A + B) + C = A + (B + C)$$
3. Additive Identity
Adding a Zero Matrix (all zeros) changes nothing.
$$A + 0 = A$$
4. Additive Inverse
For every matrix $A$, there exists a matrix $-A$ such that:
Frequently Asked Questions (FAQ)
Why is matrix addition defined only for the same dimensions?
Because the operation is “element-wise.” If one matrix has an element in a position (e.g., row 3, column 1) and the other matrix doesn’t have a row 3, there is nothing to add to it.
Is A + B the same as B + A?
Yes! This is the Commutative Property. This is a key difference between addition and subtraction (where $A – B \neq B – A$).
How do I check my answer?
Manual checking involves re-calculating each cell. However, the fastest way is to use the Matrix Addition Calculator provided above to ensure your result is 100% accurate.
Conclusion
Matrix addition is a straightforward yet powerful tool in linear algebra. By ensuring your dimensions match and paying attention to negative signs, you can easily solve these problems. Ready for more? Check out our [Internal Link: Matrix Multiplication Calculator] or learn about [Internal Link: Matrix Transpose].