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

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

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.

Math 240 Calculus III

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

MATH2210 Notebook 2 Spring 2018

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT

Linear Systems and Matrices

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 )

Elementary maths for GMT

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

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

Linear Equations in Linear Algebra

Undergraduate Mathematical Economics Lecture 1

Elementary Row Operations on Matrices

ICS 6N Computational Linear Algebra Matrix Algebra

Matrix & Linear Algebra

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

Matrix operations Linear Algebra with Computer Science Application

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.

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

Graduate Mathematical Economics Lecture 1

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

Linear Algebra Summary. Based on Linear Algebra and its applications by David C. Lay

Chapter 2: Matrix Algebra

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Lecture Notes in Linear Algebra

MAT 2037 LINEAR ALGEBRA I web:

II. Determinant Functions

4. Determinants.

I = i 0,

Linear Algebra M1 - FIB. Contents: 5. Matrices, systems of linear equations and determinants 6. Vector space 7. Linear maps 8.

Chapter 4. Determinants

1 Determinants. 1.1 Determinant

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Linear Algebra and Matrix Inversion

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.

Matrix Arithmetic. j=1

Section 9.2: Matrices.. a m1 a m2 a mn

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

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

Chapter 2 Notes, Linear Algebra 5e Lay

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

MTH 464: Computational Linear Algebra

1 Last time: determinants

TOPIC III LINEAR ALGEBRA

Math113: Linear Algebra. Beifang Chen

Chapter 1 Matrices and Systems of Equations

Math Linear Algebra Final Exam Review Sheet

LINEAR ALGEBRA SUMMARY SHEET.

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

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

Jim Lambers MAT 610 Summer Session Lecture 1 Notes

MATRICES. a m,1 a m,n A =

MATH10212 Linear Algebra Lecture Notes

Phys 201. Matrices and Determinants

CHAPTER 6. Direct Methods for Solving Linear Systems

Eigenvalues and Eigenvectors

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

ECON 186 Class Notes: Linear Algebra

Homework Set #8 Solutions

MTH 464: Computational Linear Algebra

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

MATH10212 Linear Algebra Lecture Notes

Foundations of Matrix Analysis

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

LINEAR ALGEBRA REVIEW

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

Systems of Linear Equations and Matrices

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

Matrices and Determinants

Chapter 2: Matrices and Linear Systems

Digital Workbook for GRA 6035 Mathematics

CS 246 Review of Linear Algebra 01/17/19

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

SPRING OF 2008 D. DETERMINANTS

Eigenvalues and Eigenvectors

2. Every linear system with the same number of equations as unknowns has a unique solution.

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

Properties of the Determinant Function

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full

a11 a A = : a 21 a 22

Row Space and Column Space of a Matrix

Section 4.5. Matrix Inverses

Evaluating Determinants by Row Reduction

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Math 18, Linear Algebra, Lecture C00, Spring 2017 Review and Practice Problems for Final Exam

MATRICES AND MATRIX OPERATIONS

Determinants by Cofactor Expansion (III)

Systems of Linear Equations and Matrices

Fundamentals of Engineering Analysis (650163)

Linear Algebra. Linear Equations and Matrices. Copyright 2005, W.R. Winfrey

Linear Algebra March 16, 2019

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

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Introduction to Matrices and Linear Systems Ch. 3

Lecture Summaries for Linear Algebra M51A

Transcription:

Chapter 4 - MATRIX ALGEBRA 4.1. Matrix Operations A a 11 a 12... a 1j... a 1n a 21. a 22.... a 2j... a 2n. a i1 a i2... a ij... a in... a m1 a m2... a mj... a mn The entry in the ith row and the jth column of a matrix A is refered to as (A) ij. EXAMPLE: Algebra 2017/2018 4-1 A zero matrix is a matrix, written 0, whose entries are all zero. A square matrix has the same number of rows than columns. In general (m n), matrices are rectangular. The (main) diagonal of a matrix, or its diagonal entries, are the entries A diagonal matrix has all its nondiagonal entries equal to zero. 1 0 0 0 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 Algebra 2017/2018 4-2

A matrix is upper triangular if all its elements under the diagonal are zero A matrix is lower triangular if all its elements over the diagonal are zero The set of all possible matrices of dimension (m n) whose entries are real numbers is refered to as R m n The set of all possible matrices of dimension (m n) whose entries are complex numbers is refered to as C m n 0 1 0 0 1 1 0 0 1 2 0 0 0 0 0 0 0 0 0 1 0 0 0 0 4 2 2 7 1 3 3 K 3 2 Algebra 2017/2018 4-3 OPERATIONS: Only for matrices with the same dimensions: Equality. Two matrices are equal if and only if their corresponding entries are equal. 3 1 1 0 Addition. A matrix whose entries are the sum of the corresponding entries of the matrices. 0 1 1 1 1 0 + 1 0 2 0 1 2 Algebra 2017/2018 4-4

Scalar Multiplication. A matrix whose entries are the corresponding entries of the matrix multiplied by the scalar. 2 0 1 1 0 2 0 PROPERTIES: Let A, B and C be matrices of K m n and λ, µ K: A + B B + A A+(B+C)(A+B)+C A + 0 A λ (A+B) λ A+λ B (λ+µ) A λ A+µ A λ (µ A) (λ µ) A Algebra 2017/2018 4-5 Matrix Multiplication K p K n K m One wonders: Does C exist C x A B x x K p? PROBLEM: What dimensions would C have? Algebra 2017/2018 4-6

If we write B [ b 1 b 2... b p and x x 1. x p, then: Bx x 1 b 1 + x 2 b 2 + + x p b p A(Bx) Algebra 2017/2018 4-7 Let A be an (m n) matrix and let B be an (n p) matrix with columns b 1, b 2,..., b p. The matrix product of A by B is the (m p) matrix AB whose columns are Ab 1, Ab 2,..., Ab p. That is, AB A [ b 1 b 2... b p [ Ab 1 Ab 2... Ab p Warning: The dimensions of the matrices involved in a product must verify A B C ( ) ( ) ( ) Algebra 2017/2018 4-8

EXAMPLE: [ 2 3 1 5 [ 4 3 6 1 2 3 ( ) ( ) ( ) [ [ 2 3 1 5 [ 2 3 1 5 [ 2 3 1 5 [ Algebra 2017/2018 4-9 Row-Column Rule for computing AB Consider A K m n, and B [ b 1... b p K n p such that (A) ik a ik, and (B) kj b kj. That is, AB [ Ab 1 Ab j Ab p {}}{ a 11 a 12... a 1n 1.. b 1j a i1 a i2... a in b 2j.... i b. (AB) ij nj a m1 a m2... a mn (AB) ij a i1 a i2... a in m b 1j b 2j. b nj k a ik b kj Algebra 2017/2018 4-10

EXAMPLE: [ 2 3 1 5 [ 4 1 3 2 6 3 [ 1st row 3rd column ( 1, 3 ) entry [ 2 3 1 5 [ 4 1 3 2 6 3 [ 2nd row 1st column ( 2, 1 ) entry Algebra 2017/2018 4-11 PROBLEM: Find the 2nd row of AB. AB 2 5 0 1 3 4 6 8 7 3 0 9 4 6 7 1 3 2 PROBLEM: Compute [ 1 1 2 3 0 1 1 1 2 1 1 0 [ 1 1 0 0 0 0 1 1 Algebra 2017/2018 4-12

PROPERTIES: Let A be an (m n) matrix, and B and C matrices of appropriate dimensions: A(BC) (AB)C A(B + C) AB + AC (B + C)A BA + CA µ (AB) (µ A) B A (µ B) µ K I m A A A I n where I k is the (k k) identity matrix 4.3 Algebra 2017/2018 4-13 WARNING: In general, AB BA EXPANSION AXIS X ROTATION 30 1st EXPANSION + 2nd ROTATION [ 2 0 B A 1 3 1 0 1 2 1 AB 3 ROTATION 30 o EXPANSION AXIS X 1st ROTATION + 2nd EXPANSION [ A 2 1 3 1 1 2 0 B BA 3 0 1 Algebra 2017/2018 4-14

WARNING: In general, AB AC / B C ROTATION π/2 PROJECTION in X 1st ROTATION + 2nd PROJECTION 0 1 1 0 B A AB 1 0 0 0 REFLECTION x+y 0 PROJECTION in X 1st REFLECTION + 2nd PROJECTION 0 1 1 0 C A AC 1 0 0 0 Algebra 2017/2018 4-15 WARNING: In general, AB 0 / A 0 or B 0 PROJECTION in X PROJECTION in Y 1st X-PROJECTION + 2nd Y-PROJECTION 1 0 0 0 B A AB 0 0 0 1 WARNING: In general, A 2 0 / A 0 [ A 1 1 1 1 [, A 1 1 1 1 A 2 If two square matrices verify that AB BA, we say that A and B commute with each other. Algebra 2017/2018 4-16

The kth power of a matrix is defined: A k A A A A }{{} k times This only makes sense if A is a nonnegative integer. matrix and k is a For convenience, we define A 0 I. PROBLEM: Compute 4.4 Algebra 2017/2018 4-17 Transpose of a Matrix The transpose of an (m n) matrix A is the (n m) matrix A T whose columns are the rows of A. That is, EXAMPLE: 5 1 0 B 2 3 4 (A T ) ij (A) ji B T EXAMPLE: A symmetric matrix verifies A T A. An antisymmetric matrix verifies A T A. PROBLEM: Provide examples of (anti)symmetric matrices. Algebra 2017/2018 4-18

PROPERTIES: Let A and B be matrices of appropriate dimensions and µ K: (A T ) T A (µ A) T µ (A T ) (A + B) T A T + B T (AB) T B T A T Proof: Let be A K m n and B K n q ( (AB) T ) ij PROBLEM: Prove that (ABC) T C T B T A T. 4.7 Algebra 2017/2018 4-19 Conjugate Transpose of a Matrix The conjugate transpose of an (m n) matrix A is the (n m) matrix A, or A H, whose elements verify: (A ) ij (A) ji. EXAMPLE: 5 2 i B i 3 0 4 B A [ a 1 a 2 a n A Algebra 2017/2018 4-20

PROPERTIES: Let A and B be matrices of appropriate dimensions and µ K: (A ) A (A + B) A + B (µ A) µ (A ) (AB) B A A A T if and only if A is a real matrix. A Hermitian matrix verifies A A. An antihermitian matrix verifies A A. PROBLEM: Provide examples of (anti)hermitian matrices. 4.8 Algebra 2017/2018 4-21 4.2. Inverse of a Matrix A square (n n) matrix A is invertible, or nonsingular, if there exists a matrix B such that AB I n A noninvertible or singular matrix has no inverse. 2 5 EXAMPLE: This matrix is invertible: A 3 7 7 5 Because C 3 2 2 5 7 5 verifies AC 3 7 3 2 Algebra 2017/2018 4-22

[ cos φ sin φ EXAMPLE: This matrix is invertible: A sin φ cos φ A A 1 Thus, A 1 EXAMPLE: Matrix B has no inverse and is, therefore, a singular matrix: B 4.9 Algebra 2017/2018 4-23 Theorem 4.1. If A is an invertible (n n) matrix, then the equation Axb has the unique solution xa 1 b, b K n. Proof: That x A 1 b is a solution b can be checked by a mere substitution: As it has a solution b A must have a pivot in every row. A square No free variables Warning: Algebra 2017/2018 4-24

Theorem 4.2. Let A and B be (n n) matrices. Then: AB I BA I Proof: ( AB I BA I ) Suppose that BA X Let s define M I X [ m 1 m 2 m n. As That is, But now, Leading to Algebra 2017/2018 4-25 Theorem 4.3. If A is an invertible matrix, then A 1 is invertible and (A 1 ) 1 A. Proof: Theorem 4.4. If exists, the inverse of a matrix is unique. Proof: Let A be an invertible matrix, and B a matrix such that AB I (that is, B A 1 ). Suppose there exists C such that AC I (in other words, suppose that A has another inverse). Algebra 2017/2018 4-26

Theorem 4.5. If A is invertible, A T is also invertible and (A T ) 1 (A 1 ) T. Theorem 4.6. If A is invertible, A is also invertible and (A ) 1 (A 1 ). Proof: EXAMPLE: [ 1+i 1+2i 1 1 i [ 1 i 1 2i 1 1 + i then, [ 1 + i 1 1 + 2i 1 i 1 Algebra 2017/2018 4-27 Theorem 4.7. If A and B are invertible (n n) matrices, then AB is invertible and (AB) 1 B 1 A 1. Proof: EXAMPLE: Consider the linear transformations: A ROTATE B EXPAND. Then, AB (in this order!) and the inverse is (AB) 1 1 1 4.11 PROBLEM: If A, B and C are nonsingular matrices of equal size, show that (ABC) 1 C 1 B 1 A 1. Algebra 2017/2018 4-28

An elementary matrix is one that is obtained by performing one elementary row operation on an identity matrix. EXAMPLE: E 1 1 0 0 0 1 0 0 0 5 E 2 1 0 0 0 0 1 0 1 0 E 3 1 0 0 4 1 0 0 0 1 Notice: These matrices have a clear geometrical interpretation. They correspond to Algebra 2017/2018 4-29 Theorem 4.8. If an elementary row operation if performed on an (m n) matrix A, the resulting matrix can be written as EA, where E is the (m m) elementary matrix created by performing the same operation on I m. EXAMPLE: Consider the (3 2) matrix A a d b e c f I E 1 ( r 3 5 r 3 ) E 1 A 1 0 0 0 1 0 0 0 5 a d b e c f Algebra 2017/2018 4-30

I E 2 ( r 2 r 3 ) 1 0 0 E 2 A 0 0 1 0 1 0 a d b e c f I E 3 ( r 2 r 2 4r 1 ) 1 0 0 E 3 A 4 1 0 0 0 1 a d b e c f A A A Algebra 2017/2018 4-31 Theorem 4.9. Every elementary matrix E is invertible and its inverse E 1 is the elementary matrix corresponding to the row operation that transforms E back into I. EXAMPLE: The matrix E 1 multiplies the 3rd row by five: E 1 1 0 0 0 1 0 0 0 5 Its inverse E1 1 is the matrix that divides the 3rd row by five: E 1 1 Check: E 1 E 1 1 I 4.12 PROBLEM: Find the matrices E 1 2 and E 1 3. Algebra 2017/2018 4-32

Theorem 4.10. An (n n) matrix A is invertible if and only if A is row equivalent to I n. In this case, any sequence of elementary row operations that transforms A into I n also transforms I n in A 1. Proof: A invertible Then, A 1 E p E p 1... E 2 E 1 and, in fact, 4.14 Algebra 2017/2018 4-33 An Algorithm for finding A 1 Construct the matrix [ A I Find its reduced echelon form. If this matrix has the form [ I B, then A 1 B. Otherwise, A does not have an inverse. EXAMPLE: 0 1 2 1 0 3 4 3 8 }{{} 1 0 0 0 1 0 0 0 1 }{{} 1 0 3 0 1 2 4 3 8 0 1 0 1 0 0 0 0 1 }{{}}{{} A I Algebra 2017/2018 4-34

1 0 3 0 1 2 0 3 4 0 1 0 1 0 0 0 4 1 }{{}}{{} 1 0 3 0 1 0 0 0 2 I 0 1 0 2 4 1 3 4 1 1 0 3 0 1 2 0 0 2 0 1 0 1 0 0 3 4 1 }{{}}{{} 1 0 3 0 1 0 0 0 1 0 1 0 2 4 1 3 2 2 1 2 1 0 0 0 1 0 0 0 1 9 2 7 3 2 2 4 1 3 2 2 1 2 }{{}}{{} A 1 Algebra 2017/2018 4-35 PROBLEM: If exists, find the inverse of the matrix 1 0 2 C 3 1 2 5 1 9 [ C I 4.16 Check: C C 1 Algebra 2017/2018 4-36

Theorem 4.11. (The Square Matrix Theorem) If A K n n, the following statements are equivalent: 1. A is an invertible matrix. 2. There exists C K n n such that AC I n. 3. There exists D K n n such that DA I n. 4. A is row equivalent to I n. 5. A has n pivots. 6. The equation Ax 0 has only the trivial solution. 7. The columns/rows of A are linearly independent. 8. The equation Ax b has a (unique) solution b K n. 9. The columns/rows of A span K n. 10. The columns/rows of A form a basis of K n 11. A T is invertible. 12. A is invertible. 13. The linear transformation x Ax is bijective. 14. Col A Row A K n 15. dim Col A dim Row A n 16. rank A n 17. Nul A {0} 18. dim Nul A 0 A transformation T : K n K n is called invertible if there exists a transformation S : K n K n such that } S(T (x)) x x K n. T (S(x)) x The transformation S is called the inverse of T. Theorem 4.12. Let T : K n K n be a linear transformation and A its canonical matrix. T is invertible if and only if A is nonsingular. In this case, S(x) A 1 x. 4.17 Algebra 2017/2018 4-38

4.3. Partitioned (or Block) Matrices EXAMPLE: A A 3 0 1 5 9 2 5 2 4 0 3 1 8 6 3 1 7 4 where A 11, A 12, A 13 A 21, A 22, A 23 Algebra 2017/2018 4-39 EXAMPLE: Social web of 6 persons in 3 groups Adjacency Matrix M 0 1 1 0 0 0 1 0 1 0 0 0 1 1 0 1 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 M 11 M 12 M 13 M 21 M 22 M 23 M 31 M 32 M 33 Algebra 2017/2018 4-40

EXAMPLE: Jefferson High School Algebra 2017/2018 4-41 EXAMPLE: Trade share matrix between countries Algebra 2017/2018 4-42

PROPERTIES: Addition: Matrices of equal size and identical partition can be summed block by block: A + B [ A11 A 12 A 13 A 21 A 22 A 23 [ B11 B + 12 B 13 B 21 B 22 B 23 Scalar Multiplication: [ A11 A λa λ 12 A 13 A 21 A 22 A 23 Algebra 2017/2018 4-43 Transpose of a matrix: [ A11 A A 12 A 13 A 21 A 22 A 23 A T A T 11 A T 21 A T 12 A T 22 A T 13 A T 23 Conjugate transpose of a matrix: A 11 A 21 A11 A A 12 A 13 A A A 21 A 22 A 23 12 A 22 A 13 A 23 EXAMPLE: A 2 0 8 1 5 3 0 2 7 A T 2 1 0 0 5 2 8 3 7 Algebra 2017/2018 4-44

Multiplication of partitioned matrices: Two matrices A and B of respective dimensions (m n) and (n p) are conformable for block multiplication when the number of columns of each partition of A is equal to the number of rows of the corresponding partition of B. AB [ A11 A 12 A 21 A 22 2 3 1 0 4 1 5 2 3 1 0 4 2 7 1 [ B11 B 21 6 4 2 1 3 7 1 3 5 2 (Attention: ) Algebra 2017/2018 4-45 Concentrate on the dimensions of the blocks: (2 3) ( ) ( ) (3 5) (5 2) ( ) ( ) ( ) (2 3)(3 2) + ( )( ) ( )( ) + ( )( ) (2 2) + ( ) ( ) + ( ) ( ) ( ) [ ( ) Algebra 2017/2018 4-46

EXAMPLE: Let A be a block upper triangular matrix: A A11 A 12. 0 A 22 Assuming that A is invertible, A 11 is (p p) and A 22 is (q q), find a formula for A 1. Call B A 1. Partition B in such a way that we can write: A11 A AB 12 B11 B 12 I 0. 0 A 22 B 21 B 22 0 I The dimensions of the matrices involved are: (p p) ( ) ( ) ( ) ( ) (q q) ( ) ( ) [ ( ) ( ) ( ) ( ). Algebra 2017/2018 4-47 The equation can be written: [ I 0 0 I. Equating components, we obtain: (a) I (b) 0 (c) 0 (d) I We have to solve 4 matrix equations, which represent a linear system of (p + q) 2 equations with (p + q) 2 unknowns. Algebra 2017/2018 4-48

(d) (c) (a) (b) Obtaining, A 1. Algebra 2017/2018 4-49 Theorem 4.13. A block diagonal matrix is invertible if and only if each of the diagonal blocks is invertible. Proof: The case of two blocks follows from the above result when A 12 0. C 11 0... 0 0 C 22 0. 0 0 C nn 1 0... 0 0 0. 0 0 Algebra 2017/2018 4-50

Theorem 4.14. A diagonal matrix is invertible if and only if none of its diagonal elements is zero. 1 a 11 0... 0 0 a 22 0. 0 0 a nn 4.19 PROBLEM: Determine under what conditions the following matrix is invertible and, in that case, find its inverse: Im 0. A I n Algebra 2017/2018 4-51 4.4. Determinants Given an (m n) matrix A, we define the minor A ij as the ((m 1) (n 1)) matrix obtained by removing the ith row and the jth column of the matrix A. EXAMPLE: A 1 5 0 2 4 1 0 2 0 Let A be an (n n) matrix whose entry (A) ij a ij. We define the determinant of A as det A A n ( 1) j+1 a 1j det A 1j j1 n a 1j C 1j, j1 where C ij ( 1) i+j det A ij is refered to as the ij cofactor of A. Algebra 2017/2018 4-52

Theorem 4.15. The determinant of a square matrix A can be expressed as the cofactor expansion along any row of the matrix n n ( ) det A ( 1) k+j along the a kj det A kj a kj C kj j1 j1 kth row WARNING: Algebra 2017/2018 4-53 EXAMPLE: 1st row: det 1 5 0 2 4 1 0 2 0 2nd row: Algebra 2017/2018 4-54

Theorem 4.16. If A is an (n n) triangular matrix, its determinant is the product of its diagonal entries. det a 11 0 0 0 0 a 22 0 0 0 a 33 0 0 a 44 0 a 55 Algebra 2017/2018 4-55 Theorem 4.17. Let A be an (n n) matrix. If we obtain a matrix B, By adding to a row of A the multiple of another row, det B det A. By multiplying one row of A by λ, det B λ det A. By interchanging two rows of A, det B det A. EXAMPLE: 3 3 3 2 2 1 1 0 1 Algebra 2017/2018 4-56

Theorem 4.18. Let A be a square matrix and U an echelon matrix obtained from A by adding multiples of rows and r row interchanges (but without multiplying any row by a scalar!). Then, 0 if A is not invertible det A ) ( 1) r if A is invertible ( product of the pivots 4.20 Proof: Note: This would add a new statement to theorem 4.11: 19. The determinant of A is nonzero. Algebra 2017/2018 4-57 WARNING: In general, Check theorem 4.17! A B / det A det B. WARNING: In general, det(a + B) det A + det B. EXAMPLE: If it was true, all determinants would be zero: ([ a b a 0 det det c d 0 0 + 0 b + 0 0 ) 0 0 0 0 + c 0 0 d Algebra 2017/2018 4-58

Theorem 4.19. If A and B are square matrices, det(ab) det A det B. Theorem 4.20. If A is a square matrix, A T A and A A Proof: For elementary matrices, it s easy to see that E E T. If we obtain an echelon form of a matrix A: Leading to Now, as U is a triangular matrix, U T U and, consequently 4.23 Algebra 2017/2018 4-59