In this section we present some basic definitions for matrix algebra.
A matrix is a collection of real or complex numbers arranged to form a rectangular grid:
A total of NM numbers arranged into N rows and M columns as shown in Eqn. (F.1) form a N × M matrix. The numbers that make up the matrix are referred to as the elements of the matrix. Two subscripts are used to specify the placement of an element in the matrix. The element at the in row-i and column-j is denoted by aij.
A vector is a special matrix with only one row or only one column. A matrix with only one row (a 1 × N matrix) is called a row vector of length N. A matrix with only one column (a M × 1 matrix) is called a column vector of length M.
A square matrix is one in which the number of rows is equal to the number of columns. An example is
A diagonal matrix is a square matrix in which all elements that are not on the main diagonal are equal to zero. The main diagonal of a square matrix is the diagonal from the top left corner to the bottom right corner. Elements on the main diagonal have identical row and column indices such as a11, a22,...,aN N. An example is
An identity matrix is a diagonal matrix in which all diagonal elements are equal to unity. For example, the identity matrix of order 3 is
Two matrices A and B are equal to each other if they have the same dimensions and if all corresponding elements are equal, that is
The trace of a square matrix is defined as the arithmetic sum of all of its elements on the main diagonal.
The transpose of a matrix A is denoted by AT, and is obtained by interchanging rows and columns so that row-i of A becomes column-i of AT. For example, the transpose of the matrix A in Eqn. (F.2) is
Each square matrix has a scalar value associated with it referred to as the determinant. Methods for computing determinants can be found in most texts on linear algebra. As an example, the determinant of the matrix
is computed as
The row-i column- j minor mij of a square matrix A is defined as the determinant of the submatrix obtained by deleting row-i and column-j from the matrix A. Consider, for example the square matrix
The minor m23 is found by deleting row-2 and column-3 and computing the determinant of the matrix left behind as
The row- i column-j cofactor Δij of a square matrix A is defined as
Using the matrix in Eqn. (F.10) as an example, the cofactor Δ23 is
The adjoint of a square matrix A is found by first transposing A and then replacing each element by its cofactor. For example, the adjoint of the matrix A in Eqn. (F.10) is
Scaling a matrix by a constant scale factor means multiplying each element of the matrix with that scale factor.
Addition of two matrices is only defined for matrices with identical dimensions. The sum of two matrices A and B is the matrix C in which each element is equal to the sum of corresponding elements of A and B.
The scalar product of a 1 × N row vector x and a N × 1 column vector y is defined as
The product of an M × K matrix A and a K × N matrix B is a M × N matrix C the elements of which are computed as
In other words, the row-i column-j element of matrix C is the scalar product of row-i of of matrix A and column-j of matrix B.
The inverse of a square matrix A denoted by A−1 is also a square matrix. It that satisfies the equation
It is computed by scaling the adjoint matrix by the reciprocal of the determinant, that is,
The inverse does not exist if the determinant of A is equal to zero. Such a matrix is called a singular matrix.
The scalar λ and the N × 1 vector v are called an eigenvalue and an eigenvector of the N × N matrix A respectively if they satisfy the equation
An N × N matrix A has N eigenvalues and associated eigenvectors although they are not necessarily unique.