To compute the sum \(A + B\), both matrices must have the exact same dimensions (number of rows and columns).
Matrix addition is performed by adding corresponding entries: \((A + B)_{ij} = a_{ij} + b_{ij}\)