Matrix addition

Illustration of the addition of two matrices.

In mathematics, matrix addition is the operation of adding two matrices by adding the corresponding entries together.

For a vector, v→, adding two matrices would have the geometric effect of applying each matrix transformation separately onto v→, then adding the transformed vectors.

𝐀v→+𝐁v→=(𝐀+𝐁)v→

Definition

Two matrices must have an equal number of rows and columns to be added. In which case, the sum of two matrices A and B will be a matrix which has the same number of rows and columns as A and B. The sum of A and B, denoted A + B, is computed by adding corresponding elements of A and B:

𝐀+𝐁=[a11a12⋯a1na21a22⋯a2n⋮⋮⋱⋮am1am2⋯amn]+[b11b12⋯b1nb21b22⋯b2n⋮⋮⋱⋮bm1bm2⋯bmn]=[a11+b11a12+b12⋯a1n+b1na21+b21a22+b22⋯a2n+b2n⋮⋮⋱⋮am1+bm1am2+bm2⋯amn+bmn]

Or more concisely (assuming that A + B = C):

cij=aij+bij

For example:

[131012]+[007521]=[1+03+01+70+51+22+1]=[138533]

Similarly, it is also possible to subtract one matrix from another, as long as they have the same dimensions. The difference of A and B, denoted A − B, is computed by subtracting elements of B from corresponding elements of A, and has the same dimensions as A and B. For example:

[131012]−[007521]=[1−03−01−70−51−22−1]=[13−6−5−11]

See also

Notes

  1. ↑ Elementary Linear Algebra by Rorres Anton 10e p53
  2. ↑ Lipschutz & Lipson 2017.
  3. ↑ Riley, Hobson & Bence 2006.
  4. ↑ Weisstein, Eric W. "Matrix Addition". mathworld.wolfram.com. Retrieved 2020-09-07.

References