The entrywise rule
Every entry keeps its row and column position. Addition is defined only when both matrices have exactly the same number of rows and columns.
Let A = [aij] and B = [bij].
A, B ∈ ℝm × n(A + B)ij = aij + bij
A worked example
Select an entry in any matrix to follow that same position across the complete addition.
Select any entry to trace its calculation
Key properties
Matrix addition inherits the familiar rules of ordinary number addition because each entry is added independently.
Commutative. Changing the order of the matrices does not change their sum.
Associative. Grouping does not matter when three equally sized matrices are added.
Additive identity. Adding the zero matrix of the same dimensions leaves every entry unchanged.
Additive inverse. A matrix and its negative cancel entry by entry.
Dimensions must match
Unlike multiplication, matrix addition never combines rows with columns. It simply pairs entries that already share an address.
(2 × 3) + (2 × 3)
Every entry has a partner in the same row and column.
(2 × 3) + (3 × 2)
The shapes differ, so corresponding positions cannot be paired.