We motivated matrix multiplication via obtaining one system of linear equations from another. Let us focus for a moment on obtaining a single equation. From
adding negative three times the first equation to the second equation gives:
The actual variable symbols are not relevant so we can simply work with the coefficients and constants representing them as entries in a one by six matrix for each equation separately
Above on the left side there is multiplication of scalar with a matrix and addition of matrices. It is only natural that we define those two operations.
Let be an matrix and be a scalar. Define
The scalar matrix multiplication is commutative that is
While the example above multiplied a constant with a one times five matrix any scalar can be multiplied with any matrix.
Bear in mind that multiplying the one times one matrix whose single entry is five is not possible i.e., the following:
is not defined. No matrix can be multiplied by any matrix.
Any two matrices can be added.
Let and be two matrices. Define
Here is an example
As with the usual addition whenever two matrices can be added the addition is:
Due to associativity omitting the brackets as with the real numbers is accepted notation. There is a zero matrix denoted by whose all entries are all zeroes and for any matrix we have
We will simply write when the number of rows and columns can be deduced from the context.
For every matrix there is a matrix such that
Typically , which of course is , is denoted via and we simply write
We can perform a number of scalar (column) matrix multiplications and matrix additions as with the real numbers.
Verify
and compare with the vector form of the system of linear equations
Recall scalar matrix multiplication unlike matrix-matrix multiplication is commutative.