Matrix operations
We introduce various operations on matrices. A matrix can be multiplied by a scalar. Two matrices can be added or multiplied. A matrix can be transposed. Writing down these operations explicitly can be tedious, so we introduce a systematic notation for representing matrices and their elements.
We want to denote each entry of a matrix systematically.
Suppose we have a
This may be written as
where
where it is understood that the indices
Definition (Scalar-matrix multiplication)
Let
That is,
Another way to write this is
Example.
Definition (Matrix addition)
Let
Another way to write this is
Remark. To add two matrices, their sizes must be exactly equal. □
Example.
Definition (Matrix multiplication)
Let
Another way to write this is
Remark.
- To multiply two matrices, the number of columns of the first matrix and the number of rows of the second matrix must be equal.
- Even if
is defined, may not be defined because the sizes may not match. - In general, matrix multiplication is not commutative. That is,
does not hold in general.
Example.
□
Example.
Thus,
□
Definition (Transpose)
Let
``The
Example.
Lemma
Let
That is, the transpose of the transpose of
Proof.
If we identify
This observation can be generalized as follows. Suppose the rows of the
Similarly, suppose the columns of the
Since
Thus, every element of a matrix product
Comments
Post a Comment