Professional Documents
Culture Documents
Matrices
Outline
8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 8.9 Matrix Algebra Systems of Linear Algebraic Equations Rank of a Matrix Determinants Properties of Determinants Inverse of a Matrix Cramers Rule The Eigenvalue Problem Powers of Matrices
Outline (contd.)
8.10 8.11 8.12 8.13 8.14 8.15 8.16 8.17 Orthogonal Matrices Approximation of Eigenvalues Diagonalization LU-Factorization Cryptography An Error-Correcting Code Method of Least Squares Discrete Compartmental Models
Matrix Algebra
A matrix is any rectangular array of numbers or functions a11 a1n
The numbers or functions in the a array are entries or elements a mn m1 An n n matrix is a square matrix of order n
( a1
a2 an )
Rank of a Matrix
The rank of an m n matrix A, rank(A), is the maximum number of linearly independent row vectors (no row vector is a constant multiple of another)
Determinants
Determinant of a 2 2 matrix
a11 A= a21
a11 A = a21 a 31
a12 a22
det = A
a11 a21
Determinant of a 3 3 matrix
a12 a22 a32 a13 a23 a33 a11 det A = a21 a31 a12 a22 a32 a13 a23 a33
= a11a22 a33 + a12 a23 a31 + a13 a21a32 a13 a22 a31 a11a23 a32 a12 a21a33
Properties of Determinants
If AT is the transpose of A, then det AT = det A If any two rows (columns) of A are the same, det A = 0 If all entries in a row (column) of A are zero, then det A = 0 If B is obtained by interchanging any two rows (columns) of A, then det B = det A
Inverse of a Matrix
If A is an n n matrix and there exists an n n matrix B such that AB = BA = I , then A is said to be nonsingular or invertible and B is the inverse of A
Cramers Rule
For a system of n linear equations in n variables
a11 x1 + a12 x2 + + a1n xn = b1 a21 x1 + a22 x2 + + a2 n xn = b2 an1 x1 + an 2 x2 + + ann xn = bn
Powers of Matrices
An n n matrix A satisfies its own characteristic equation n 0 is the If ( 1) n + cn1 n1 + + c1A + c0I = characteristic equation of A, then n 0 ( 1) A n + cn1A n1 + + c1A + c0I = Any power Am can be written in terms of I, A, and A2, with the coefficients depending on the value of m
A m = c0 I + c1A + c2 A 2 + + cn 1 An 1
Orthogonal Matrices
An n n matrix A is symmetric if A = A If A is symmetric, the eigenvectors corresponding to distinct eigenvalues are orthogonal An n n nonsingular matrix A is orthogonal if
T
A =A
Approximation of Eigenvalues
A dominant eigenvalue has an absolute value greater than that of the remaining eigenvalues The power method can be used to approximate dominant eigenvalues The method of deflation is a modified power method used to find nondominant eigenvalues
Diagonalization
If an n n nonsingular matrix P can be found, so that P 1AP = D is a diagonal matrix, the A can be diagonalized by P If an n n matrix A has n linearly independent eigenvectors, the A is diagonalizable A is diagonalizable if and only if it has n independent eigenvectors A is diagonalizable if it has n distinct eigenvalues
LU-Factorization
If an n n matrix A can be written as A = LU where L and U are lower triangular and upper triangular matrices, A = LU is an LUfactorization (or LU-decomposition) of A Doolittles method may be used to find L and U If an n n matrix A has an LU-factorization, = A det L det U then det
Cryptography
A message is put into an m n matrix M An encoding matrix A is created
A is nonsingular A has only integer entities A1 has only integer entities
The encoded message B is created by multiplying A by M The message is decoded using M = A1B
An Error-Correcting Code
The Hamming (7,4) code is an error-detecting/ correcting code that can detect the presence of a single error in a received message and tell which bit must be corrected Encoding consists of transforming a 4-bit word into a 7-bit code word containing 3 parity check bits Parity check equations and a parity check matrix H are constructed where HCT = 0 R is the received message and the syndrome of R is S = HRT and if S = 0 , and the transmission is correct