To add or subtract two m x n matrices, add or subtract their corresponding entries.
For any matrix A, A + O = A and O + A = A.
For any matrix A, A + (-A) = O
For any m x n matrices A and B and any scalar c,
c(A + B) = cA + cB
For any m x n matrix A and any scalars c and d,
(c + d)A = cA + dA.
These rules work because they work for number addition and multiplication - you're just doing the calculation "in bulk" again.
A linear combination of several matrices A1, A2, ..., Ak of the same size is any matrix of the form
c1A1 + c2A2 + ... + ckAk
where c1, c2, ..., ck are all scalars.
For example, if A, B, C and D are all 2 x 3 matrices, then the 2 x 3 matrix
3A – 2B – 5C + D
is a linear combination of A, B, C and D. So is
3(A + 2B) – 4C + 5(D – A + C) – B,
since you can simplify this expression to –2A + 5B + C + 5D.
Matrix addition is commutative: for any m x n matrices A and B,
A + B = B + A.Matrix addition is associative: for any m x n matrices A, B and C,
A + (B + C) = (A + B) + C.
Matrices and Matrix Calculations |
|||
Introduction | Addition, subtraction and scalar multiplication | Multiplying matrices | The inverse of a matrix and how to find it. |