Determinants: summary of main results

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

Components and change of basis

Determinants Chapter 3 of Lay

Homework Set #8 Solutions

1 Last time: determinants

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

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

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

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

Matrix Operations: Determinant

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

MTH 464: Computational Linear Algebra

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

Determinant of a Matrix

Math Linear Algebra Final Exam Review Sheet

Elementary maths for GMT

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

CHAPTER 8: Matrices and Determinants

Eigenvalues and Eigenvectors

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

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

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

Math 302 Test 1 Review

Lecture 8: Determinants I

Chapter 4. Determinants

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

Lectures on Linear Algebra for IT

4. Determinants.

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

TOPIC III LINEAR ALGEBRA

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

= = 3( 13) + 4(10) = = = 5(4) + 1(22) =

3.1 SOLUTIONS. 2. Expanding along the first row: Expanding along the second column:

Math 520 Exam 2 Topic Outline Sections 1 3 (Xiao/Dumas/Liaw) Spring 2008

Matrices and Linear Algebra

Eigenvalues and Eigenvectors

Math 416, Spring 2010 The algebra of determinants March 16, 2010 THE ALGEBRA OF DETERMINANTS. 1. Determinants

CHAPTER 6. Direct Methods for Solving Linear Systems

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.

Matrices and Determinants

LINEAR ALGEBRA REVIEW

Chapter 2. Square matrices

Announcements Wednesday, October 25

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

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

Math/CS 466/666: Homework Solutions for Chapter 3

Evaluating Determinants by Row Reduction

ECON 186 Class Notes: Linear Algebra

Warm-up. True or false? Baby proof. 2. The system of normal equations for A x = y has solutions iff A x = y has solutions

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

1 Determinants. 1.1 Determinant

Notes on Determinants and Matrix Inverse

MATH2210 Notebook 2 Spring 2018

Section 1.6. M N = [a ij b ij ], (1.6.2)

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Review of Linear Algebra

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 )

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.

The Determinant: a Means to Calculate Volume

LINEAR ALGEBRA SUMMARY SHEET.

Second Midterm Exam April 14, 2011 Answers., and

SPRING OF 2008 D. DETERMINANTS

Chapter 3. Determinants and Eigenvalues

Linear algebra I Homework #1 due Thursday, Oct Show that the diagonals of a square are orthogonal to one another.

II. Determinant Functions

Math 240 Calculus III

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

Mathematical Foundations

Math 215 HW #9 Solutions

Math 3108: Linear Algebra

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

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

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

The determinant. Motivation: area of parallelograms, volume of parallepipeds. Two vectors in R 2 : oriented area of a parallelogram

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

22m:033 Notes: 3.1 Introduction to Determinants

Lecture Notes in Linear Algebra

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

. =. a i1 x 1 + a i2 x 2 + a in x n = b i. a 11 a 12 a 1n a 21 a 22 a 1n. i1 a i2 a in

Linear Algebra Primer


Determinants of 2 2 Matrices

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

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

Chapter 2: Matrices and Linear Systems

Chapter 2 Notes, Linear Algebra 5e Lay

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

1300 Linear Algebra and Vector Geometry

MTH 102A - Linear Algebra II Semester

Digital Workbook for GRA 6035 Mathematics

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear algebra I Homework #1 due Thursday, Oct. 5

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

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

LS.1 Review of Linear Algebra

Math 425 Lecture 1: Vectors in R 3, R n

Linear Systems and Matrices

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Solution Set 7, Fall '12

Extra Problems for Math 2050 Linear Algebra I

Transcription:

Determinants: summary of main results A determinant of an n n matrix is a real number associated with this matrix. Its definition is complex for the general case We start with n = 2 and list important properties for this case. DETERMINANTS CHAP. 3 Determinant of a 2 2 matrix is: Notation : det (A) or a b c d det a b = ad bc c d Next we list the main properties of determinants. These properties are also true for n n case to be defined later. Det(A) for n n case can be defined from GE when permutation is not used: Det(A) = product of pivots in GE. More on this later. 10-2 Text: 3.1-3 DET 10-1 10-2 Properties written for columns (easier to write) but are also true for rows Notation: We let A = [u, v] columns u, and v are in R 2. 1 If v = αu then det (A) = 0. Determinant of linearly dependent vectors is zero If any one column is zero then determinant is zero 2 Interchanging columns or rows: 3 Linearity: det [v, u] = det [u, v] det [u, αv + βw] = αdet [u, v] + βdet [u, w] det (A) = linear function of each column (individually) det (A) = linear function of each row (individually) What is the determinant det [u, v + αu]? 4 Determinant of transpose det (A) = det (A T ) 5 Determinant of Identity det (I) = 1 6 Determinant of a diagonal: det (D) = d 1 d 2 d n 10-3 Text: 3.1-3 DET 10-4 Text: 3.1-3 DET 10-3 10-4

7 Determinant of a triangular matrix (upper or lower) det (T ) = a 11 a 22 a nn 8 Determinant of product of matrices [IMPRTANT] det (AB) = det (A)det (B) 9 Consequence: Determinant of inverse det (A 1 ) = 1 det (A) What is the determinant of αa (for 2 2 matrices)? What can you say about the determinant of a matrix which satisfies A 2 = I? Is it true that det (A + B) = det (A) + det (B)? 10-5 Text: 3.1-3 DET Determinants 3 3 case We will define 3 3 determinants from 2 2 determinants: a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 = a 11 a 22 a 23 a 32 a 33 a 12 a 21 a 23 a 31 a 33 + a 13 a 21 a 22 a 31 a 32 This is an expansion of the det. with respect to its 1st row. 1st term = a 11 det of matrix obtained by deleting 1st row and 1st column. 2nd term = a 12 det of matrix obtained by deleting row 1 and column 2. Note the sign change. 3rd term = a 13 det of matrix obtained by deleting row 1 and column 3. 10-6 Text: 3.1-3 DET 10-5 10-6 Calculate 2 3 0 1 2 1 1 2 1 We will now generalize this definition to any dimension recursively. Need to define following notation. We will denote by A ij is the (n 1) (n 1) matrix obtained by deleting row i and column j from the matrix A. Example: If A = A 12 = 1 2 1 2 3 0 1 2 1 ; A 1 1 13 = Then: A11 = 1 2 ; A 1 2 23 = 2 1 2 1 [ 2 ] 3 1 2 ; Definition The determinant of a matrix A = [a ij ] is the sum det (A) = + a 11 det (A 11 ) a 12 det (A 12 ) + a 13 det (A 13 ) a 14 det (A 14 ) + + ( 1) 1+n a 1n det (A 1n ) Note the alternating signs We can write this as : n det (A) = ( 1) 1+j a 1j det (A 1j ) j=1 This is an expansion with respect to the 1st row. 10-7 Text: 3.1-3 DET 10-8 Text: 3.1-3 DET 10-7 10-8

Generalization: Cofactors Define c ij = ( 1) i+j det A ij = cofactor of entry i, j Then we get a more general expansion formula: det (A) can be expanded with respect to i-th as follows det (A) = a i1 c i1 + a i2 c i2 + + a in c in Note i is fixed. Can be done for any i [same result each time] Case i = 1 corresponds to definition given earlier Similar expressions for expanding w.r.t. column j (now j is fixed) Computing determinants using cofactors Compute the following deter- 1 2 0 minant by using co-factors. Ex- 2 1 3 pand with respect to 1st row. 1 0 2 Compute the above determinant by using co-factors. Expand with respect to last row. Then expand with respect to last column. Compute the following deter- 1 2 0 1 minant [expand with respect to 2 1 3 2 last row!] 1 0 2 3 0 1 0 3 Suppose two rows of A are swapped. Use the above definition to show that the determinant changes signs. det (A) = a 1j c 1j + a 2j c 2j + + a nj c nj 10-9 Text: 3.1-3 DET 10-10 Text: 3.1-3 DET 10-9 10-10 Let B be the matrix obtained from a matrix A by multiplying a certain row (or column) of A by a scalar α. Use the definition to show that: det (B) = αdet (A). What is the computational cost of evaluating the determinant using co-cofactor expansions? [Hint: It is BIG!] Compute F 2, F 3, F 4 1 when F n is the n-th dimensional determinant: 1 F n =......... (continuation) Challenge: Show a recurrence relation between F n, F n 1 and F n 2. Do you recognize this relation? Compute the first 8 values of F n Inverse of a matrix Let C = {c ij } the matrix of cofactors. Entry (i, j) of C has cofactor c ij. Then it is easy to prove that: Example: A 1 = 1 det (A) CT Inverse of a 2 2 matrix: 1 a b 1 d b = c d ad bc c a 2 2 Find the inverses of : and 2 1 1 1. 1 1 1 1 2 10-11 Text: 3.1-3 DET 10-12 Text: 3.1-3 DET 10-11 10-12

Areas in R 2 Volumes in R 3 (a+c,b+d) (x3,y3) (x2, y2) z (x2,y2,z2) (c,d) (a,b) (x1, y1) (x3,y3,z3) (x1,y1,z1) y Left figure: Area of a parallelogram spanned [ by points (0, 0), (a, b), (c, d), (a+c, b+d) a c det is: b d] Right figure: Area of triangle spanned by 1 the points (x 1, y 1 ), (x 2, y 2 ), (x 3, y 3 ) is: 2 det 1 1 1 x 1 x 2 x 3 y 1 y 2 y 3 10-13 Text: 3.1-3 DET Volume of parallelepiped spanned by origin and the 3 points (x 1, y 1, z 1 ), (x 2, y 2, z 2 ), (x 3, y 3, z 3 ) is: x det x 1 x 2 x 3 y 1 y 2 y 3 z 1 z 2 z 3 In summary: Volume (R 3 ) /area (R 2 ) of a box is det (A) when the box edges are the rows of A. 10-14 Text: 3.1-3 DET 10-13 10-14 Areas, Volumes, and Mappings Determinants are all about areas/volumes Text has a lot more detail See section Determinants as area or volume in text See example 4 in same section Linear mappings and determinants [p. 184 in text] Q: if a region in R 2 is transformed linearly (i.e., by a linear mapping T ) how does its area change? A: it is multiplied by the determinant of the matrix representing T. Stated in next theorem Theorem Let T the linear mapping from/to R 2 represented by a matrix A. If S is a parallelogram in R 2 then {area of T (S) } = det (A). {area of S } Similarly, if T is the linear mapping from/to R 3 represented by a matrix A and S is a parallelipiped in R 3 then {volume of T (S) } = det (A). {volume of S } Important point: Results also true for any region in R 2 (1st part) and R 3 (2nd part) See Example 4 in Section 3.2 which uses this to compute the area of an ellipse. 10-15 Text: 3.1-3 DET 10-16 Text: 3.1-3 DET 10-15 10-16

How to compute determinants in practice? Co-factor expansion?? *Not practical*. Instead: Perform an LU factorization of A with pivoting. If a zero column is encountered LU fails but det(a) = 0 If not get det = product of diagonal entries multiplied by a sign ±1 depending on how many times we interchanged rows. Compute the determinants of the matrices A = 2 4 6 1 5 9 1 0 12 0 1 1 2 1 2 1 1 2 0 2 0 B = 1 1 10-17 Text: 3.1-3 DET 10-17