1.5 elementary matrices and a method for finding an elementary row operation on a matrix a is any...

21
1.5 Elementary Matrices and a Method for Finding 1 A elementary row operation on a matrix A is any one of the following es of operations: Interchange of two rows of A. Replacement of a row r of A by c r for some number c ≠ 0. Replacement of a row r 1 of A by the sum r 1 + c r 2 of that row and a ultiple of another row r 2 of A. An n×n elementary matrix is a matrix produced by applying exactly one elementary row operation to In 1 0 0 0 1 4 0 1 0 0 1 0 0 1 0 0 ,0 1 0,0 1 0, 0 2 0 0 0 1 0 0 1 0 0 1 0 0 1 0 Examples:

Upload: annis-melton

Post on 17-Dec-2015

242 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

1.5 Elementary Matrices and a Method for Finding 1A

An elementary row operation on a matrix A is any one of the following three types of operations:

• Interchange of two rows of A.• Replacement of a row r of A by c r for some number c ≠ 0.• Replacement of a row r1 of A by the sum r1 + c r2 of that row and a multiple of another row r2 of A.

An n×n elementary matrix is a matrix produced by applying exactlyone elementary row operation to In

1 0 0 01 4 0 1 0 0

1 0 0 1 0 0, 0 1 0 , 0 1 0 ,

0 2 0 0 0 10 0 1 0 0 1

0 0 1 0

Examples:

Page 2: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Theorem (Row Operations by Matrix Multiplication)Suppose that E is an m×m elementary matrix produced by applying a particular elementary row operation to Im, and that A is an m×n matrix. Then EA is the matrix that results from applying that same elementary row operation to A

Remark:The above theorem is primarily of theoretical interest. Computationally, it is preferable to perform row operations directly rather than multiplying on the left by an elementary matrix.

When a matrix A is multiplied on the left by an elementary matrix E, the effect isTo perform an elementary row operation on A.

TheoremEvery elementary matrix is invertible, and the inverse is also an elementary matrix.

Page 3: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Theorem (Equivalent Statements)

If A is an n×n matrix, then the following statements are equivalent, that is, all true or all false.• A is invertible.• Ax = 0 has only the trivial solution.• The reduced row-echelon form of A is In.• A is expressible as a product of elementary matrices.

Theorem

Page 4: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

A Method for Inverting Matrices

By previous Theorem, if A is invertible, then the reduced row-echelon form of A is In. That is, we can find elementary matrices E1, E2, …, Ek such that

Ek …E2E1A = In.

Multiplying it on the right by A-1 yields

Ek …E2E1In = A-1

That is,

A-1 = Ek …E2E1In

To find the inverse of an invertible matrix A, we must find a sequence of elementary row operations that reduces A to the identity and then perform this same sequence of operations on In to obtain

1A

Page 5: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Example: Find the inverse of

1 2 3

2 5 3

1 0 8

A

Solution:• To accomplish this we shall adjoin the identity matrix to the right side of A, thereby producing a matrix of the form [A | I ]

• We shall apply row operations to this matrix until the left side is reduced to I; these operations will convert the right side to , so that the final matrix will have the form [I | ]

1A1A

Using Row Operations to Find A-1

Page 6: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

1 2 3 1 0 0

2 5 3 0 1 0

1 0 8 0 0 1

1 0 0 40 16 9

0 1 0 13 5 3

0 0 1 5 2 1

Row operations

rref

1

40 16 9

13 5 3

5 2 1

A

Thus

Page 7: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

If and n X n matrix A is not invertible, then it cannot be reduced to In by elementary row operations, i.e, the computation can be stopped.

Example: 1 6 4

2 4 1

1 2 5

A

Page 8: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

1.6 Further Results on Systems of Equations and Invertibility

Theorem 1.6.1Every system of linear equations has either no solutions, exactly one solution, or in finitely many solutions.

Theorem 1.6.2If A is an invertible n×n matrix, then for each n×1 matrix b, the system of equations Ax = b has exactly one solution, namely, x = b.1A

Remark: this method is less efficient, computationally, than Gaussian elimination,But it is important in the analysis of equations involving matrices.

Page 9: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Example: Solve the system by using 1A

1 2 3

1 2 3

1 3

2 3 5

2 5 3 3

8 17

x x x

x x x

x x

Page 10: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

To solve a sequence of linear systems, Ax = b1, Ax = b2, …, Ax = bk, with common coefficient matrix A

Linear Systems with a Common Coefficient Matrix

• If A is invertible, then the solutions x1 = b1, x2 = b2 , …, xk = bk

• A more efficient method is to form the matrix [ A | b1 | b2| … | bk ], then reduce it to reduced row-echelon form we can solve all k systems at once by Gauss-Jordan elimination (Here A may not be invertible)

1A 1A 1A

Page 11: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Example: Solve the system

1 2 3 1 2 3

1 2 3 1 2 3

1 3 1 3

( ) 2 3 4 ( ) 2 3 1

2 5 3 5 2 5 3 6

8 9 8 6

a x x x b x x x

x x x x x x

x x x x

Solution:

Page 12: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Theorem 1.6.3Let A be a square matrix(a) If B is a square matrix satisfying BA = I, then B = (b) If B is a square matrix satisfying AB = I, then B =

Theorem 1.6.5Let A and B be square matrices of the same size. If AB is invertible, then A and B must also be invertible

1A

1A

Page 13: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Theorem 1.6.4 (Equivalent Statements)

If A is an n×n matrix, then the following statements are equivalent

• A is invertible

• Ax = 0 has only the trivial solution• The reduced row-echelon form of A is In

• A is expressible as a product of elementary matrices

• Ax = b is consistent for every n×1 matrix b

• Ax = b has exactly one solution for every n×1 matrix b

Page 14: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

A Fundamental Problem: Let A be a fixed mXn matrix. Find all mX1 matrices b such Such that the system of equations Ax=b is consistent.

If A is an invertible matrix, then for every mXn matrix b, the linear system Ax=b hasThe unique solution x= b.

1A

If A is not square, or if A is a square but not invertible, then theorem 1.6.2 does notApply. In these cases the matrix b must satisfy certain conditions in order for Ax=b To be consistent.

Page 15: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Determine Consistency by Elimination

Example: What conditions must b1, b2, and b3 satisfy in order for the system of equations

To be consistent?

1 2 3 1

1 3 2

1 2 3 3

2

2 3

x x x b

x x b

x x x b

Solution:

Page 16: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Example: What conditions must b1, b2, and b3 satisfy in order for the system of equations

To be consistent?

1 2 3 1

1 2 3 2

1 3 3

2 3

2 5 3

8

x x x b

x x x b

x x b

Solution:

Page 17: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Section 1.7 Diagonal, Triangular, and Symmetric matrices

A square matrix in which all the entries off the main diagonal are zero is called a diagonal matrix.

For example:

A general nxn diagonal matrix (1)

A diagonal matrix is invertible if and only if all its diagonal entries are nonzero; in this case the inverse of (1) is

1

2

0 ... 0

0 ... 0

. . .

. . .

. . .

0 0 ... n

d

d

D

d

1

2

1

1/ 0 ... 0

0 1/ ... 0

. . .

. . .

. . .

0 0 ... 1/ n

d

d

D

d

Page 18: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Diagonal Matrices

Powers of diagonal matrices are easy to compute: if D is the diagonal matrix (1) and k is a positive integer, then

In words, to multiply a matrix A on the left by a diagonal matrix D, one can multiply successive rows of A by the successive diagonal entries of D, and to multiply A on the right by D, one can multiply successive columns of A by the successive diagonal entries of D.

1

2

0 ... 0

0 ... 0

. . .

. . .

. . .

0 0 ...

k

k

k

kn

d

d

D

d

Page 19: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Triangular Matrices

A square matrix in which all the entries above the main diagonal are zero is called low triangular, and a square matrix in which all the entries below the main diagonal are zero is called upper triangular. A matrix that is either upper triangular or lower triangular is called triangular.

Theorem 1.7.1a) The transpose of a lower triangular matrix is upper triangular, and the

transpose of an upper triangular matrix is lower triangular.b) The product of lower triangular matrices is lower triangular, and the product

of upper triangular is upper triangular.c) A triangular matrix is invertible if and only if its diagonal entries are all

nonzero.d) The inverse of an invertible lower triangular matrix is lower triangular, and

the inverse of an invertible upper triangular matrix is upper triangular.

Page 20: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Symmetric matrices

A square matrix A is called symmetric if A=AT.

A matrix A=[aij] is symmetric if and only if aij=aji for all values of I and j.

Theorem 1.7.2If A and B are symmetric matrices with the same size, and if k is any scalar,

then:a) AT is symmetric.b) A+B and A-B are symmetric.c) kA is symmetric.

Note: in general, the product of symmetric matrices is not symmetric.If A and B are matrices such that AB=BA, then we say A and B commute.The product of two symmetric matrices is symmetric if and only if the matrices

commute.

Page 21: 1.5 Elementary Matrices and a Method for Finding An elementary row operation on a matrix A is any one of the following three types of operations: Interchange

Theorems

Theorem 1.7.3

If A is an invertible symmetric matrix, then A-1 is symmetric.

Theorem 1.7.4

If A is an invertible matrix, then AAT and ATA are also invertible.