Chapter 2. Square matrices

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

Undergraduate Mathematical Economics Lecture 1

Graduate Mathematical Economics Lecture 1

Linear Systems and Matrices

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

3 Matrix Algebra. 3.1 Operations on matrices

Chapter 4. Determinants

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

Chapter 3. Determinants and Eigenvalues

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

Determinants by Cofactor Expansion (III)

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

Properties of the Determinant Function

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

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

MATH 1210 Assignment 4 Solutions 16R-T1

Evaluating Determinants by Row Reduction

MATH 2030: EIGENVALUES AND EIGENVECTORS

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

Lecture Notes in Linear Algebra

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

ECON 186 Class Notes: Linear Algebra

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

Determinants Chapter 3 of Lay

Lecture 10: Determinants and Cramer s Rule

4. Determinants.

MATH2210 Notebook 2 Spring 2018

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

MATRICES AND MATRIX OPERATIONS

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

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

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

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.

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

Determinants - Uniqueness and Properties

Math 240 Calculus III

Math Camp Notes: Linear Algebra I

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02)

k=1 ( 1)k+j M kj detm kj. detm = ad bc. = 1 ( ) 2 ( )+3 ( ) = = 0

1 Determinants. 1.1 Determinant

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

MTH 102A - Linear Algebra II Semester

Fundamentals of Engineering Analysis (650163)

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

Math Linear Algebra Final Exam Review Sheet

Determinants: Uniqueness and more

1 Matrices and Systems of Linear Equations

LECTURE 4: DETERMINANT (CHAPTER 2 IN THE BOOK)

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

1 Matrices and Systems of Linear Equations. a 1n a 2n

Lectures on Linear Algebra for IT

Chapter 2: Matrices and Linear Systems

1111: Linear Algebra I

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

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Introduction to Determinants

Determinants. 2.1 Determinants by Cofactor Expansion. Recall from Theorem that the 2 2 matrix

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

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

22m:033 Notes: 3.1 Introduction to Determinants

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

II. Determinant Functions

Introduction to Matrices and Linear Systems Ch. 3

1300 Linear Algebra and Vector Geometry

LINEAR ALGEBRA REVIEW

Chapter 3. Basic Properties of Matrices

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

Topic 15 Notes Jeremy Orloff

Determinants. Beifang Chen

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

Lecture 8: Determinants I

Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane.

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

Chapter 5: Matrices. Daniel Chan. Semester UNSW. Daniel Chan (UNSW) Chapter 5: Matrices Semester / 33

Here are some additional properties of the determinant function.

Linear Algebra Primer

Determinant of a Matrix

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

Inverses and Determinants

Notes on Determinants and Matrix Inverse

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

9 Appendix. Determinants and Cramer s formula

Linear Algebra and Vector Analysis MATH 1120

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

Apprentice Program: Linear Algebra

NOTES FOR LINEAR ALGEBRA 133

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

TOPIC III LINEAR ALGEBRA

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

Matrices and Linear Algebra

1 Last time: determinants

5.3 Determinants and Cramer s Rule

Methods for Solving Linear Systems Part 2

MATH 106 LINEAR ALGEBRA LECTURE NOTES

= 1 and 2 1. T =, and so det A b d

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

1111: Linear Algebra I

1 procedure for determining the inverse matrix

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

LINEAR ALGEBRA WITH APPLICATIONS

Transcription:

Chapter 2. Square matrices Lecture notes for MA1111 P. Karageorgis pete@maths.tcd.ie 1/18

Invertible matrices Definition 2.1 Invertible matrices An n n matrix A is said to be invertible, if there is a matrix B such that AB = I n and BA = I n. If such a matrix exists, then it is unique. The matrix B is called the inverse of A. It is denoted by B = A 1. A square matrix is not invertible, if it has a row/column of zeros. Theorem 2.2 Inverse of a product Suppose A 1,A 2,...,A k are invertible matrices of the same size. Then their product A 1 A 2 A k is also invertible and its inverse is (A 1 A 2 A k ) 1 = A 1 k A 1 2 A 1 1. 2/18

Elementary matrices Definition 2.3 Elementary matrix An elementary matrix is a matrix obtained from the identity matrix I n using a single elementary row operation. Theorem 2.4 Elementary matrices are invertible Every elementary matrix is invertible and its inverse is elementary. Theorem 2.5 Elementary row operations Every elementary row operation corresponds to left multiplication by an elementary matrix. This matrix can be found explicitly by applying the same elementary row operation to the identity matrix. 3/18

Finding the inverse of a matrix Theorem 2.6 Reduced row echelon form of square matrices The reduced row echelon form of an n n matrix is either the identity matrix I n or else a matrix whose last row is zero. Moreover, an n n matrix is invertible if and only if its reduced row echelon form is I n. To find the inverse of an n n matrix A, one may use row reduction of the augmented matrix [A I n ]. There are two possible scenarios. If row reduction leads to a matrix of the form [I n B], then the given matrix A is invertible with inverse B. Otherwise, A is not invertible. Theorem 2.7 One-sided inverse Knowing that AB = I n, one knows that BA = I n and vice versa. 4/18

Finding the inverse: Example We compute the inverse of the matrix 1 2 2 A = 1 1 2. 1 2 1 Merge the given matrix with the identity matrix I 3 and then use row reduction on the resulting matrix to get 1 2 2 1 0 0 1 0 0 3 2 2 1 1 2 0 1 0 0 1 0 1 1 0. 1 2 1 0 0 1 0 0 1 1 0 1 The inverse of A is the rightmost submatrix, namely 3 2 2 A 1 = 1 1 0. 1 0 1 5/18

Invertibility conditions Theorem 2.8 Invertibility conditions The following statements are equivalent for each n n matrix A. 1 The system Ax = y has a unique solution for every y R n. 2 The system Ax = y has a unique solution for some y R n. 3 The reduced row echelon form of A is the identity matrix I n. 4 The matrix A is the product of elementary matrices. 5 The matrix A is invertible. The inverse of a 2 2 matrix A is given by the formula [ ] [ ] a b A = = A 1 1 d b =, c d ad bc c a provided that ad bc 0. The matrix A is not invertible, otherwise. 6/18

Definition of the determinant We are hoping to define the determinant of a square matrix in such a way that the following four properties hold. (A1) Breaking up a row into two pieces gives. det R+S = det. R +det. S.... (A2) Pulling out a common factor from a row gives. det cr = cdet. R... (A3) One has deta = 0 when A has two equal rows. (A4) One has deti n = 1 when I n is the identity matrix. 7/18

Computation of determinants: first method Theorem 2.9 Determinants using row reduction If there is a definition of the determinant so that (A1)-(A4) hold, then it is unique and one may compute determinants using row reduction. The determinant remains the same, if we add a multiple of one row to another, and it changes by a minus sign, if we interchange two rows. As a typical example, one can use row reduction to compute [ ] [ ] [ ] 3 6 1 2 1 2 det = 3det = 3det 2 9 2 9 0 5 [ ] [ ] 1 2 1 0 = 15det = 15det = 15. 0 1 0 1 More generally, the determinant of a 2 2 matrix is given by [ ] a b det = ad bc. c d 8/18

Computation of determinants: second method Definition 2.10 Expansion by minors The minor M ij of a matrix A is obtained by deleting both the ith row and the jth column of A. To define the determinant of a square matrix using induction, one defines det[a] = a for 1 1 matrices and then deta = n ( 1) i+1 a i1 detm i1 i=1 for all larger matrices. This defines deta for any square matrix A. For instance, one can use expansion by minors to compute 2 4 3 [ ] [ ] det 3 5 1 5 1 4 3 = 2det 3det 2 3 2 3 0 2 3 = 2(15 2) 3(12 6) = 26 18 = 8. 9/18

Lower and upper triangular matrices Theorem 2.11 Lower and upper triangular matrices The determinant of a lower or upper triangular matrix is equal to the product of its diagonal entries. A square matrix is called lower/upper triangular, if the entries that lie above/below its main diagonal are zero. One can prove this theorem using either expansion by minors or row reduction. For instance, expansion by minors gives a 11 0 0 [ ] det a 21 a 22 0 a22 0 = a 11 det = a a a 31 a 32 a 32 a 11 a 22 a 33. 33 33 Thus, the theorem holds in the case of 3 3 lower triangular matrices. To prove the general case, one uses a similar argument and induction. 10/18

Further properties of determinants Definition 2.12 Transpose of a matrix The transpose of an m n matrix A is the n m matrix A t obtained by turning rows into columns. One can easily check that (A+B) t = A t +B t, (A t ) t = A, (AB) t = B t A t. Theorem 2.13 Further properties of determinants 1 One has det(ab) = (deta)(detb) for all n n matrices A,B. 2 To say that A is invertible is to say that deta 0. 3 If A is invertible, then deta 1 = 1/(detA). 4 If A t is the transpose of A, then deta t = deta. 11/18

Cofactor matrix and adjoint Definition 2.14 Cofactor matrix and adjoint Let A be a square matrix and let M ij be its minors. The cofactor C ij is defined as the signed determinant of the minor M ij, namely C ij = ( 1) i+j detm ij. The adjoint of A is defined as the transpose of the cofactor matrix C. When it comes to 2 2 matrices, for instance, one has [ ] [ ] [ ] a b d c d b A = = C = = adja =. c d b a c a The identity A adja = (deta)i n holds for every square matrix A. In particular, the inverse of an invertible matrix A is given by A 1 = 1 deta adja. 12/18

Adjoint matrix: Example, page 1 We compute both the adjoint and the inverse of the matrix 1 x y A = 1 z. 1 First, we compute the cofactor entries C ij. There are 9 entries to be found. The cofactor entry C 11 is given by 1 x y C 11 = +det 0 1 z = 1, 0 0 1 while the cofactor entry C 12 is given by 1 x y C 12 = det 0 1 z = 0. 0 0 1 The remaining cofactor entries may be computed similarly. 13/18

Adjoint matrix: Example, page 2 Proceeding as above, one finds that the cofactor entries are C 11 = C 22 = C 33 = 1, C 21 = x, C 12 = C 13 = C 23 = 0, C 32 = z, C 31 = xz y. Once we now merge those into a matrix, we get 1 0 0 1 x xz y C = x 1 0 = adja = C t = 0 1 z. xz y z 1 0 0 1 Since A is upper triangular, its determinant is equal to the product of its diagonal entries. This gives deta = 1, so A 1 = 1 1 x xz y deta adja = 0 1 z. 0 0 1 14/18

Computation of determinants: third method Theorem 2.15 Complete expansion of the determinant The determinant of an n n matrix A can be expressed in the form deta = ( ) 1 2 n sign a i 1 i 2 i 1i1 a 2i2 a nin n with the sum taken over all permutations i 1,i 2,...,i n of 1,2,...,n. A permutation is called odd/even, if one needs an odd/even number of index swaps in order to get from (i 1,i 2,...,i n ) to (1,2,...,n). Even permutations have sign +1. Odd permutations have sign 1. The complete expansion of the determinant contains n! terms, so it is not particularly useful for large n. We shall mainly use it to compute determinants when n = 2,3 and use row reduction when n 4. 15/18

Determinant of 3 3 matrices The determinant of a 3 3 matrix A is given by the formula deta = a 11 a 22 a 33 +a 12 a 23 a 31 +a 13 a 21 a 32 a 31 a 22 a 13 a 32 a 23 a 11 a 33 a 21 a 12. To find the six terms on the right hand side, one repeats the first two columns of the matrix and then forms six diagonal products as in the figure below. Note that three of the products are associated with a plus sign, while the other three have a minus sign, instead. + + + a 11 a 12 a 13 a 11 a 12 a 21 a 22 a 23 a 21 a 22 a 31 a 32 a 33 a 31 a 32 16/18

Permutation matrices A permutation matrix is a square matrix that has a single 1 in each row and each column, all other entries being zero. Left multiplication by such a matrix results in a permutation of the rows. As a typical example, let us consider the equation 0 0 1 0 x 1 y 1 x 3 y 3 0 0 0 1 0 1 0 0 1 0 0 0 x 2 y 2 x 3 y 3 = x 4 y 4. x 4 y 4 x 2 y 2 x 1 y 1 We note that row 1 is mapped to row 3, row 2 is mapped to row 4, and so on. The corresponding permutation of the rows is thus ( ) 1 2 3 4. 3 4 2 1 In general, left multiplication by a permutation matrix P maps row i to row j whenever the (i,j)th entry of P is equal to 1. 17/18

Cycles and transpositions Definition 2.16 Cycles and transpositions A permutation that cyclically permutes k indices is called a k-cycle. A permutation that interchanges two indices is called a transposition. A typical example of a 3-cycle is the permutation 1 3 4 1. It is very common to denote such a cycle by (134). Every permutation can be expressed in terms of cycles. For instance, ( ) 1 2 3 4 5 6 7 = (1572)(364). 5 1 6 3 7 4 2 Since a k-cycle may be obtained using k 1 transpositions, its sign is given by ( 1) k 1. As for the permutation above, its sign is given by sign(1572)(364) = ( 1) 3 ( 1) 2 = 1. 18/18