Appendix F

Review of Matrix Algebra

In this section we present some basic definitions for matrix algebra.

Matrix

A matrix is a collection of real or complex numbers arranged to form a rectangular grid:

A=[a11a12...a1Ma21a22...a2MaN1aN2...aNM](F.1)

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.

Vector

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.

Square matrix

A square matrix is one in which the number of rows is equal to the number of columns. An example is

A=[52043-1000113-7435](F.2)

Diagonal matrix

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

A=[50000-10000100004](F.3)

Identity matrix

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

I3=[100010001](F.4)

Equality of two matrices

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

A=Baij=bijfori=1,...,Mandj=1,...,N(F.5)

Trace of a square matrix

The trace of a square matrix is defined as the arithmetic sum of all of its elements on the main diagonal.

Trace(A)=i=1Naii(F.6)

Transpose of a matrix

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

AT=[530-72-11400134035](F.7)

Determinant of a square matrix

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

A=[523-1](F.8)

is computed as

|A|=(5)(-1)-(2)(3)=-1(F.9)

Minors of a square square matrix

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

A=[5243-12-103](F.10)

The minor m23 is found by deleting row-2 and column-3 and computing the determinant of the matrix left behind as

m23=|52-10|=2(F.11)

Cofactors of a square square matrix

The row- i column-j cofactor Δij of a square matrix A is defined as

Δij=(-1)i+jmij(F.12)

Using the matrix in Eqn. (F.10) as an example, the cofactor Δ23 is

Δ23=(-1)2+3m23=-2(F.13)

Adjoint of a square square matrix

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

Adj(A)=[-3-68-11192-1-2-11](F.14)

Scaling a matrix

Scaling a matrix by a constant scale factor means multiplying each element of the matrix with that scale factor.

Addition of two matrices

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.

C=A+Bcij=aaij+bijfori=1,...,Mandj=1,...,N(F.15)

Scalar product of two vectors

The scalar product of a 1 × N row vector x and a N × 1 column vector y is defined as

xy=i=1Nxiyi(F.16)

Multiplication of two matrices

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

cij=k=1kaikbkj(F.17)

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.

Inversion of a matrix

The inverse of a square matrix A denoted by A−1 is also a square matrix. It that satisfies the equation

A-1A=AA-1=I(F.18)

It is computed by scaling the adjoint matrix by the reciprocal of the determinant, that is,

A-1=Adj(A)|A|(F.19)

The inverse does not exist if the determinant of A is equal to zero. Such a matrix is called a singular matrix.

Eigenvalues and eigenvectors

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

Av=λv(F.20)

An N × N matrix A has N eigenvalues and associated eigenvectors although they are not necessarily unique.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset