Matrices can be added or subtracted only when they have the same size. The relevant definitions:
|
|
|
The word "scalar" just means "number" – we use a separate word to distinguish numbers from other mathematical objects we want to calculate with, like matrices.
|
You can derive most of the calculation rules for matrix addition, subtraction and scalar multiplication from the rules for addition, subtraction and multiplication of ordinary numbers. Here is a list of ten rules that are considered to be "essential" for matrix addition and scalar multiplication.
Ten Essential Rules for m x n Matrices |
Closure rules: |
|
|
Arithmetic rules for addition: |
|
|
|
|
Arithmetic rules for scalar multiplication: |
|
|
|
|
Why are these rules "essential"? After all, they're all pretty obvious – the last says that multiplying a matrix by the scalar 1 doesn't change the matrix, for example - and other obvious rules such as 0A = Omn are not on the list.
The point is, the rules in the list are very basic mathematical properties shared with other types of mathematical objects - it's the rules themselves that are important, not the objects that obey them. You'll see how all this works out later on in the course; for now, just make sure you understand what those rules say.
If you take an extended combination of sums and scalar multiples of matrices of the same size, you get what is called a linear combination.
|
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 use the ten rules to simplify this expression to –2A + 5B + C + 5D.