Matrix Addition — Definition, Formula & Examples
Key Formula
If A=[aij] and B=[bij], then A+B=[aij+bij]
Where:
- aij = The entry in row i, column j of matrix A
- bij = The entry in row i, column j of matrix B
Worked Example
Problem: Find A + B given A = [[1, 3], [5, 7]] and B = [[2, 4], [6, 8]].
Step 1: Confirm both matrices have the same dimensions. A is 2×2 and B is 2×2, so addition is defined.
Step 2: Add each corresponding entry: top-left with top-left, top-right with top-right, and so on.
A+B=[1+25+63+47+8]
Step 3: Compute each sum to get the resulting matrix.
A+B=[311715]
Answer: A + B = [[3, 7], [11, 15]]
Why It Matters
Matrix addition is foundational in linear algebra, computer graphics, and data science. When you represent data as matrices—such as pixel values in an image or coordinates in a transformation—adding matrices lets you combine or overlay that information. It also underpins more advanced operations like solving systems of linear equations.
Common Mistakes
Mistake: Trying to add matrices of different dimensions, such as a 2×3 matrix and a 3×2 matrix.
Correction: Matrix addition is only defined when both matrices have the exact same number of rows and the exact same number of columns. If the dimensions don't match, the sum does not exist.
Related Terms
- Matrix — The rectangular array being added
- Matrix Subtraction — Subtracting corresponding entries instead
- Matrix Multiplication — Another core matrix operation with different rules
- Scalar Multiplication of a Matrix — Multiplying every entry by a single number

![Two 2×2 matrices [1,2,3; 4,5,6] + [2,-5,1; 7,10,-1] = [3,-3,4; 11,15,5], added term-by-term.](/m/m_assets/m12.gif)