Matrix operations:
A matrix A is a table of numbers:
Conversely, a column vector is equivalent to a matrix with only one column and a row vector is a matrix with only one row.
Index notation:
Summation of two matrices (must be of the same size)
Zero matrices have all coefficients zero. Adding a zero matrix to a matrix does not change the matrix.
Summation in index notation:
Scalar multiplication:
Scalar multiplication in index notation:
Transposing a matrix turns the columns into rows and vice-versa
Transpose in index notation:
Note that .
Matrix multiplication is defined in terms of the row-column product:
The dots in the above product can be omitted since the matrix product of a row vector times a column vector is by definition the same as the dot product of those vectors.
Multiplication in index notation:
For matrices to be multiplied, the second dimension of A must be the same as the first dimension of B.
Matrix multiplication does not ordinarily commute:
Transposing matrix products:
(AB)T = BT AT
Square matrices are matrices with the same number of rows as columns.
The main diagonal of a matrix A is the set of elements with i=j:
Unit (or identity) matrix:
Note, blocks of zeros are often ommitted, (or written as a humongous zero,) so
Index notation
Multiplying a matrix by an identity matrix does not change the matrix.
Inverse matrices:
A A-1 = A-1 A = I
Note thatInverting products:
(AB)-1 = B-1 A-1
Inverting transposes:
Diagonal matrices:
In index notation, dij=0 if .
Upper triangular matrices:
In index notation, uij=0 if j<i.
Lower triangular matrices:
In index notation, lij=0 if j>i.
Symmetric matrices satisfy ST=S. Skew-symmetric matrices satisfy KT= -K.
Orthonormal (orthogonal) matrices are matrices in which the columns vectors form an orthonormal set (each column vector has length one and is orthogonal to all the other colum vectors).
For square orthogonal matrices, the inverse is simply the transpose, O-1 = OT, as can be seen from:
It can be seen, from inverting the order of the factors, that the rows of a square orthonormal matrices are an orthonormal set too.
``Normal'' matrices commute with their transpose: NT N=N NT. Symmetric, skew-symmetric, and orthonormal matrices are all normal.
For complex matrices, the generalization of transpose is ``Hermitian
conjugate'', where you take the complex conjugate of each complex
number, in addition to interchanging rows and columns: . Complex matrices for which AH=A are called
``Hermitian matrices.'' Orthogonal matrices are now called ``unitary''.
Normal matrices are still called ``normal.''