Now that we have defined matrices, we will define their arithmetic operations. We start with the addition and scalar multiplication; they are the “obvious” operations. Let be integers.
Let , and let . We define:
The sum of and is the matrix whose coefficient is .
The scalar multiplication of by (a scalar) is the matrix whose coefficient is .
The sum of two matrices and is only defined when and have the same size, in which case the sum also has the same size.
Example 1.2.3.
Consider the matrices
We calculate and as follows
Example 1.2.4. (Zero matrix)
Let be the zero matrix in , that is the matrix with all zero coefficients. For instance
Then, for any :
, and
(Additive inverse) .
For convenience, we will write for the zero matrix of any dimensions we want.