ENGR-1100 Introduction to Engineering Analysis. Lecture 21. Lecture outline

Similar documents
ENGR-1100 Introduction to Engineering Analysis. Lecture 21

Determinants Chapter 3 of Lay

Math 240 Calculus III

Chapter 3. Determinants and Eigenvalues

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Determinants. Samy Tindel. Purdue University. Differential equations and linear algebra - MA 262

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Lesson 3. Inverse of Matrices by Determinants and Gauss-Jordan Method

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

4. Determinants.

Linear Algebra and Vector Analysis MATH 1120

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

Chapter 2. Square matrices

Properties of the Determinant Function

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

Components and change of basis

MTH 464: Computational Linear Algebra

Linear Systems and Matrices

MATRICES AND MATRIX OPERATIONS

Determinant of a Matrix

det(ka) = k n det A.

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

Math 320, spring 2011 before the first midterm

Determinants: summary of main results

Lecture Notes in Linear Algebra

MATH 2030: EIGENVALUES AND EIGENVECTORS

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

Determinants by Cofactor Expansion (III)

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

Undergraduate Mathematical Economics Lecture 1

Graduate Mathematical Economics Lecture 1

sum of squared error.

1 Determinants. 1.1 Determinant

LECTURE 12: SOLUTIONS TO SIMULTANEOUS LINEAR EQUATIONS. Prof. N. Harnew University of Oxford MT 2012

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2.

Methods for Solving Linear Systems Part 2

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

Lecture 10: Determinants and Cramer s Rule

II. Determinant Functions

1 Last time: determinants

Matrix Operations: Determinant

Lecture 8: Determinants I

Determinants and Scalar Multiplication

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix

MATRICES The numbers or letters in any given matrix are called its entries or elements

Determinants of 2 2 Matrices

Notes on Determinants and Matrix Inverse

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

Evaluating Determinants by Row Reduction

Lectures on Linear Algebra for IT

1111: Linear Algebra I

Homework Set #8 Solutions

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

Matrices: 2.1 Operations with Matrices

Determinants. Recall that the 2 2 matrix a b c d. is invertible if

Matrices. In this chapter: matrices, determinants. inverse matrix

Matrices and Linear Algebra

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Determinants. Beifang Chen

Solution Set 7, Fall '12

a 11 a 12 a 11 a 12 a 13 a 21 a 22 a 23 . a 31 a 32 a 33 a 12 a 21 a 23 a 31 a = = = = 12

EXAM. Exam #1. Math 2360, Second Summer Session, April 24, 2001 ANSWERS

SPRING OF 2008 D. DETERMINANTS

Announcements Wednesday, October 25

Linear Algebra Primer

Lecture 12 Simultaneous Linear Equations Gaussian Elimination (1) Dr.Qi Ying

Chapter 4. Determinants

A matrix A is invertible i det(a) 6= 0.

Determinants and Cramer's Rule

Introduction to Determinants

TOPIC III LINEAR ALGEBRA

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

9 Appendix. Determinants and Cramer s formula

Chapter 2: Matrices and Linear Systems

Eigenvalues and Eigenvectors

LINEAR ALGEBRA REVIEW

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

2 b 3 b 4. c c 2 c 3 c 4

The Laplace Expansion Theorem: Computing the Determinants and Inverses of Matrices

Math 60. Rumbos Spring Solutions to Assignment #17

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

MATH 320: PRACTICE PROBLEMS FOR THE FINAL AND SOLUTIONS


Matrix Calculations: Determinants and Basis Transformation

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Section 5.3 Systems of Linear Equations: Determinants

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

Inverses and Determinants

Eigenvalues and Eigenvectors

Presentation by: H. Sarper. Chapter 2 - Learning Objectives

Recall : Eigenvalues and Eigenvectors

ECON 186 Class Notes: Linear Algebra

Row Space and Column Space of a Matrix

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

Transcription:

ENGR-1100 Introduction to Engineering Analysis Lecture 21 Lecture outline Procedure (algorithm) for finding the inverse of invertible matrix. Investigate the system of linear equation and invertibility of matrices. Determinants: Finding determinants by cofactor expansion along any row or column. S 1

Definition: row equivalent Matrices that can be obtained from one another by a finite sequence of elementary row operations are said to be row equivalent. A Finite sequence of row operation B A Inverse of the row operation in reverse order B A is row equivalent to B Theorem 1 If A is an nxn matrix, then the following statements are equivalent, that is, if one is true then all are: (a) A is invertible (b) AX=0 has only the trivial solution (the only solution is x 1 =0, x 2 =0 x n =0) (c) A is row equivalent to I n. If A -1 exists then A Finite sequence of row operation I n S 2

(b) AX=0 has only the trivial solution (the only solution is x 1 =0, x 2 =0 x n =0) a 11 a 12. a 1n 0 1 0 0. 0 0 a 21 a 22. a 2n 0 Finite sequence 0 1 0. 0 0 : : : : : : : : of row operation 0 0 1. 0 0 : : : a n1 a n2. a nn 0 0 0 0. 1 0 x 1 =0, x 2 =0 x n =0 Theorem 2 If A is an nxn invertible matrix, then the sequence of row operations that reduces A to I n reduces I n to A -1. A The same sequence I n I n of row operation A -1 S 3

The procedure The same sequence A I n I n A -1 of row operation Example 1: Find the inverse of 1 2 3 2 5 3 1 0 8 1 2 3 2 5 3 1 0 8 1 0 0 0 1 0 0 0 1 * 2 * 1 1 2 3 0 1-3 0-2 5 1 0 0-2 1 0-1 0 1 * 2 S 4

1 2 3 0 1-3 0 0-1 1 0 0-2 1 0-5 2 1 * -1 1 2 3 0 1-3 0 0 1 1 2 3 0 1 0 0 0 1 1 0 0-2 1 0 5-2 -1 * 3 1 0 0 13-5 -3 5-2 -1 * -3 1 2 0 0 1 0 0 0 1-14 6 3 13-5 -3 5-2 -1 * -2 1 0 0 0 1 0 0 0 1-40 16 9 13-5 -3 5-2 -1 Thus: A -1 = -40 16 9 13-5 -3 5-2 -1 S 5

Statement: If the procedure used in this example is attempted on a matrix that is not invertible, then, it will be impossible to reduce the left side to I by row operation. At some point in the computation a row of zeros will occur on the left side, and it can be concluded that the given matrix is not invertible. 1 0 0. 0 0 1 0. 0 0 0 1. 0 : : : 0 0 0. 0 1 2 3 2 5 3 1 0 8 In last example we found that A is invertible. What can we say about the following system of linear equations? (hint: use theorem 1) x 1 +2x 2 +3x 3 =0 2x 1 +5x 2 +3x 3 =0 x 1 +8x 3 =0 Answer: The system has only the trivial solution using the second statement in theorem 1 : x 1 =x 2 =x 3 =0 S 6

Class assignment 1: Find the inverse of the following matrices (if the matrices are invertible), and verify (for the invertible matrices) by multiplying the original matrix 3 1 5 1 0 1 2 4 1 B= 0 1 1-4 2-9 1 1 0 S 7

System of linear equations and invertibility S 8

Theorem 1 If A is invertible nxn matrix, then for each nx1 matrix B, the system of equation AX=B has exactly one solution, namely X= A -1 B. a 11 a 12. a 1n x 1 B 1 a 21 a 22. a 2n x 2 = B 2 : : : : : a n1 a n2. a nn x 1 x n a 11 a 12. a 1n -1 B n B 1 x 2 = a 21 a 22. a 2n B 2 : : : : : x n a n1 a n2. a nn B n Example: consider the system of linear equations: x 1 +2x 2 +3x 3 =5 2x 1 +5x 2 +3x 3 =3 x 1 +8x 3 =17 We can write the this system as AX=B 1 2 3 x 1 5 2 5 3 X= x 2 B= 3 1 0 8 x 3 17 S 9

In example 1 we found that the inverse of A -1 is : -40 16 9 A -1 = 13-5 -3 5-2 -1 By theorem 1 the solution of the system is: -40 16 9 5 1 X=A -1 B= 13-5 -3 3 = -1 5-2 -1 17 2 or: x 1 =1, x 2 =-1, x 3 =2 Why it is useful to find the inverse of a matrix Many problems in engineering and science involve systems of n linear equation with n unknown (that is square matrix). The method is particularly useful when it is necessary to solve a series of systems: AX=B 1, AX=B 2.. AX=B k, In this case each has the same square matrix A and the solutions are: X=A -1 B 1, X=A -1 B 2. X=A -1 B k S 10

Electronic circuitry AC=V current voltage a 11 a 12. a 1n c 1 v 1 a 21 a 22. a 2n c 2 = v 2 : : : : : a n1 a n2. a nn c n v n -1 c 1 a 11 a 12. a 1n v 1 c 2 = a 21 a 22. a 2n v 2 : : : : : c n a n1 a n2. a nn v n Theorem 3 If A is an nxn matrix, then the following statements are equivalent: (a) A is invertible (b) AX=0 has only the trivial solution (the only solution is x 1 =0, x 2 =0 x n =0) (c) A is row equivalent to I n. (d) AX=B is consistent for every nx1 matrix B. S 11

Class assignment 2: Solve the following system using the method you learned today in class x 1 +2x 2 +2x 3 =-1 x 1 +3x 2 + x 3 =4 x 1 +3x 2 + 2x 3 =3 S 12

S 13

Why study determinants? They have important applications to system of linear equations and can be used to produce formula for the inverse of an invertible matrix. The determinant of a square matrix A is denoted by det(a) or A. If A is 1x1 matrix [a 11 ] Then: det(a)= a 11 For example [-7] det (A)=det(-7)=-7 Determinant of a 2x2 matrix If A is a 2x2 matrix a 11 a 12 a 21 a 22 Then we define a 11 a 12 det(a)= a 21 a 22 = det(a)= a 11 a 22 -a 12 a 21 a 11 a 12 a 21 a 22 S 14

Example 1 Then we define det(a)= 5 4 3 2 5 4 3 2 = det(a)= 5X2-4X3=-2 5 4 3 2 Determinant of a 3x3 matrix If A is a 3x3 matrix a 11 a 12 a 13 a 21 a 22 a 23 Then we define a 11 a 12 a 13 det(a)= a 21 a 22 a 23 a 31 a 32 a 33 Example 2 1 5-3 det(a)= 1 0 2 3-1 2 = a 11 = 1 a 31 a 32 a 33 a 22 a 23 -a 12 a 21 a 23 +a 13 a 21 a 22 a 32 a 33 a 31 a 33 a 31 a 32 0 2-5 1 2-3 1 0-1 2 3 2 3-1 =1[0*2 -(-1*2)] 5 [1*2-2*3] - 3[-1*1-0*3]=25 S 15

Minor and cofactor of a matrix entry Definition: If A is a square matrix, then the minor of entry a ij is denoted by M ij and is defined to be the determinant of submatrix that remains after the i th row and j th column are deleted from A. The number (-1) i+j M ij is denoted by C ij and is called the cofactor of entry a ij. For 3x3 matrix a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 M 11 = a 22 a 23 a 32 a 33 C 11 =(-1) 1+1 M 11 = M 11 Example 4 1 2 3 2 5 3 1 0 8 The minor of a 11 is: The cofactor of a 11 is: 5 3 M 11 = 0 8 = 5X8-3X0=40 C 11 =(-1) i+j M ij =(-1) 2 M 11 =M 11 =40 The minor of a 23 is: M 23 = 1 2 1 0 = 1X0-2X1=-2 The cofactor of a 23 is: C 23 =(-1) i+j M ij =(-1) 5 M 23 =-M 23 =2 S 16

Finding determinant using the cofactor a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 C = a 22 a 23 11 C a a 21 23 a 32 a 12 = - 33 a 31 a 33 C 13 = a 21 a 22 a 31 a 32 a 11 a 12 a 13 a 21 a 22 a 23 = a 11 C 11 +a 12 C 12 +a 13 C 13 a 31 a 32 a 33 And for nxn matrix: = a 11 C 11 +a 12 C 12 +..+a 1n C 1n Example: evaluate det(a) for: 1 0 2-3 3-1 4 5 0 2 1-2 det(a) = a 11 C 11 +a 12 C 12 + a 13 C 13 +a 14 C 14 0 1 1 3 det(a)=(1) - (-3) 4 0 1 5 2-2 1 1 3 3 4 0-1 5 2 0 1 1 3 0 1 3 4 1 -(0) -1 2-2 + 2-1 5-2 0 1 3 0 1 3 = (1)(35)-0+(2)(62)-(-3)(13)=198 S 17

Theorem 1 The determinant of nxn matrix A can be computed by multiplying the entries in any row (or column) by their cofactors and adding the resulting products; that is, for each 1 i n and 1 j n, det(a)=a 1j C 1j +a 2j C 2j +..+a nj C nj Cofactor expansion along the j th column det(a)=a i1 C i1 +a i2 C i2 +..+a in C in Cofactor expansion along the i th row Example 5: evaluate 1 5-3 det(a)= 1 0 2 3-1 2 By a cofactor along the third column det(a)=a 13 C 13 +a 23 C 23 +a 33 C 33 det(a)= -3* (-1) 4 1 0 +2*(-1) 5 1 5 +2*(-1) 6 1 5 3-1 3-1 1 0 = det(a)= -3(-1-0)+2(-1) 5 (-1-15)+2(0-5)=25 S 18

Class assignment 3: Let -1 2 3 4 1-6 -3 5 2 Find det(a) using (a) cofactor expansion along any row or column. S 19