Matrix addition
= Matrix addition
{title2=$(A+B)_{ij}=A_{ij}+B_{ij}$}
Matrices of the same shape are added entry by entry. For fixed dimensions over a field, this operation and scalar multiplication make the matrices a <vector space>. A <matrix product> has a different dimension-matching rule: its inner dimensions must agree, whereas addition requires the entire shapes to agree.