PX153 - K2 - matrix operations
addition
-
let
and -
if and only if: , and -
for matrices with the same dimensions:
scalar multiplication
- for a scalar,
, and a matric,
multiplication
- let
and - note:
- if
, is not defined
- note:
- the product,
, is matrix , where,
-
dot product of the
row of with the column of -
matrix multiplication of square matrices of order
can result in -
matrix multiplication is not commutative
-
the commutator:
-
generally,
-
for a square matrix,
, there exists
dot product
outer product
examples
-
eg:
, and
$$AB = \begin{bmatrix} 5+0 & -3-4 \ -5+0 & 3-6 \end{bmatrix} = \begin{bmatrix} 5 & -7 \ -5 & -3\end{bmatrix}$$
$$BA = \begin{bmatrix} 5+3 & 10-9 \ 0+2 & 0-6\end{bmatrix} = \begin{bmatrix}8 & 1 \ 2 & -6\end{bmatrix}$$
$$[A,B] = \begin{bmatrix}-3 & -8 \ -7 & 3 \end{bmatrix}$$ -
eg:
, and is not a valid product - however,
-
eg:
-
but