Unit 18 Determinants



Similar documents
Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = i.

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

1 Determinants and the Solvability of Linear Systems

Notes on Determinant

Using row reduction to calculate the inverse and the determinant of a square matrix

The Determinant: a Means to Calculate Volume

Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication).

8 Square matrices continued: Determinants

DETERMINANTS TERRY A. LORING

Lecture 4: Partitioned Matrices and Determinants

The Characteristic Polynomial

DETERMINANTS IN THE KRONECKER PRODUCT OF MATRICES: THE INCIDENCE MATRIX OF A COMPLETE GRAPH

Lecture 3: Finding integer solutions to systems of linear equations

Solving Linear Systems, Continued and The Inverse of a Matrix

7 Gaussian Elimination and LU Factorization

Solving Systems of Linear Equations

Chapter 2 Determinants, and Linear Independence

4.5 Linear Dependence and Linear Independence

Direct Methods for Solving Linear Systems. Matrix Factorization

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

Determinants in the Kronecker product of matrices: The incidence matrix of a complete graph

Operation Count; Numerical Linear Algebra

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Solution to Homework 2

Chapter 17. Orthogonal Matrices and Symmetries of Space

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

Elementary Matrices and The LU Factorization

Similarity and Diagonalization. Similar Matrices

160 CHAPTER 4. VECTOR SPACES

Factorization Theorems

4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION

Lectures notes on orthogonal matrices (with exercises) Linear Algebra II - Spring 2004 by D. Klain

Row Echelon Form and Reduced Row Echelon Form

by the matrix A results in a vector which is a reflection of the given

LINEAR ALGEBRA. September 23, 2010

9.2 Summation Notation

Systems of Linear Equations

6. Cholesky factorization

Matrix algebra for beginners, Part I matrices, determinants, inverses

Figure 1.1 Vector A and Vector F

SOLVING LINEAR SYSTEMS

Introduction to Matrices for Engineers

3.2 Matrix Multiplication

Linear Algebra Notes for Marsden and Tromba Vector Calculus

NOTES ON LINEAR TRANSFORMATIONS

Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors

Linear Algebra: Determinants, Inverses, Rank

MAT188H1S Lec0101 Burbulla

Orthogonal Diagonalization of Symmetric Matrices

Continued Fractions and the Euclidean Algorithm

A note on companion matrices

5.3 The Cross Product in R 3

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Linear Algebra Notes

28 CHAPTER 1. VECTORS AND THE GEOMETRY OF SPACE. v x. u y v z u z v y u y u z. v y v z

Introduction to Matrix Algebra

1 Sets and Set Notation.

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

1 Introduction to Matrices

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: b + 90c = c + 10b

α = u v. In other words, Orthogonal Projection

SECTION 10-2 Mathematical Induction

A permutation can also be represented by describing its cycles. What do you suppose is meant by this?

Data Mining: Algorithms and Applications Matrix Math Review

F Matrix Calculus F 1

Solution of Linear Systems

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. (

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

The last three chapters introduced three major proof techniques: direct,

1.2 Solving a System of Linear Equations

Suk-Geun Hwang and Jin-Woo Park

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Style. Learning Outcomes

DERIVATIVES AS MATRICES; CHAIN RULE

University of Lille I PC first year list of exercises n 7. Review

Chapter 7. Permutation Groups

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

A =

Subspaces of R n LECTURE Subspaces

Chapter 7 - Roots, Radicals, and Complex Numbers

Name: Section Registered In:

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2

Torgerson s Classical MDS derivation: 1: Determining Coordinates from Euclidean Distances

Matrix Differentiation

2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system

Chapter 6. Orthogonality

Stanford Math Circle: Sunday, May 9, 2010 Square-Triangular Numbers, Pell s Equation, and Continued Fractions

3. Mathematical Induction

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

[1] Diagonal factorization

Section 3-3 Approximating Real Zeros of Polynomials

Typical Linear Equation Set and Corresponding Matrices

9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes

Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors

Transcription:

Unit 18 Determinants Every square matrix has a number associated with it, called its determinant. In this section, we determine how to calculate this number, and also look at some of the properties of the determinant of a (square) matrix. Calculating the determinant of a small matrix is easy. But as the order of the square matrix increases, the calculation of the determinant becomes more complicated. We define the determinant recursively. That is, for a square matrix of order 1 or 2, we will define a simple formula for calculating the determinant. However, for a square matrix of order 3 or higher, we define the determinant of the matrix in terms of the determinants of certain submatrices. Thus, we calculate the determinant of a large matrix by calculating the determinants of various smaller matrices. Definition 18.1. The Definition of Determinant, Part 1 (n 2) Let A =(a ij )beann n matrix. Then A has associated with it a number, called the determinant of A and denoted by deta. Forn = 1 or 2, the value of deta is calculated as follows: If n =1,thendetA = a 11. If n =2,thendetA = a 11 a 22 a 12 a 21. Example 1. Find the determinants[ of the following matrices: [ a b (a) A =[ 4 (b) B = (c) C = c d 1 2 3 5 Solution: (a) Here, A is 1 1, so deta = a 11 = 4. That is, for a 1 1 matrix, the determinant is the single number in the matrix. 1

(b) For a 2 2 matrix, we use the formula detb = b 11 b 22 b 12 b 21.Thatis,we take the product of the numbers going diagonally down to the right (i.e., on the main diagonal) and then subtract from that the product of the numbers going diagonally down to the left (i.e., on the other diagonal). So assuming that a, b, c and d in matrix B are any scalars, the number detb is given by detb = ad bc. (c) Again, we have a 2 2 matrix, so we do the same calculation as in (b). We get detc = c 11 c 22 c 12 c 21 = (1)(5) (2)( 3) = 5 ( 6) = 11. Now we are ready to define the notation and terminology needed to build up to the definition of deta for A a square matrix of order n 3. We will need to express certain submatrices of a matrix, as well as the determinant of such a submatrix and also a particular scalar multiple of this number. These are the focus of the next 2 definitions, after which we will be able to complete our definition of determinant. Definition 18.2. Consider any square matrix A of order n 2. We define the submatrix A ij to be the (n 1) (n 1) matrix obtained by deleting the i th row and the j th column from the matrix A. Example 2. For A = 1 2 1 3 2 1 3 1 2 5 3 4 3 7 8 9, find A 11 and A 23. Solution: To find A 11, we delete both the first row and the first column. 1 3 1 We get A 11 = 5 3 4 7 8 9 For A 23, we must delete row 2 and also column 3 from the matrix A. 1 2 3 We see that A 23 = 2 5 4 3 7 9 2

Definition 18.3. Consider any n n matrix A =(a ij ) with submatrices A ij. (1) The (i, j)-minor of A, denoted M ij, is defined to be M ij = deta ij (2) The (i, j)-cofactor of A, denoted C ij, is defined to be C ij =( 1) i+j M ij That is, C ij = M ij if i + j is even, but C ij = M ij if i + j is odd. Example 3. Find the minors and cofactors of: 3 2 1 A = 4 5 6 2 3 1 We get: [ 5 6 M 11 = det 3 1 [ 4 6 M 12 = det 2 1 [ 4 5 M 13 = det 2 3 [ 2 1 M 21 = det 3 1 =23 andc 11 =( 1) 2 M 11 =23 = 8 and C 12 =( 1) 3 M 12 =8 = 22 and C 13 =( 1) 4 M 13 = 22 =5 andc 21 =( 1) 3 M 21 = 5 Similarly, we can calculate: C 22 = M 22 = 5, M 23 =5andC 23 = 5, C 31 = M 31 =7, M 32 = 22 and C 32 =22 and finally C 33 = M 33 = 23. 3

Definition 18.4. The Definition of Determinant, Part 2 (n 3) Let A =(a ij )beann n matrix with n 3. Let C ij be the (ij)-cofactor of A. Then the value of the determinant of A can be calculated using: deta = a 11 C 11 + a 12 C 12 + + a 1n C 1n. That is, deta = n a 1j C 1j. j=1 Note: This particular calculation for deta is called expanding the determinant along the first row of A. Example 4. Find deta, wherea = 1 2 3 2 1 3 3 2 1. Solution: Recall that C ij =( 1) i+j M ij,wherem ij = deta ij.wecalculatedeta as: deta = 3 a 1j C 1j j=1 = a 11 ( 1) 1+1 deta 11 + a 12 ( 1) 1+2 deta 12 + a 13 ( 1) 1+3 deta 13 [ 1 3 =(1)( 1) 2 det 2 1 [ 2 3 +(2)( 1) 3 det 3 1 [ 2 1 +(3)( 1) 4 det 3 2 = [(1)(1) (3)(2) 2[(2)(1) (3)(3) + 3[(2)(2) (1)(3) = 5 2( 7) + 3(1) = 5+14+3=12 Notice: The ( 1) i+j multipliers on the minors alternate between + and as we expand along the row. When we defined the determinant of an n n matrix, for n 3, we expanded along the first row. The following Theorem tells us that we may, in fact, expand the determinant along any row or any column of a matrix and still get the same answer. 4

Theorem 18.5. Suppose A is a square (n n) matrix with n>1. Then the value of deta can be found by expanding along any row or column of A. That is: (1) for any fixed value of i, with1 i n, deta = a i1 ( 1) i+1 (deta i1 )+a i2 ( 1) i+2 (deta i2 )+ + a ij ( 1) i+j (deta ij )+ + a in ( 1) i+n (deta in ) n n = a ij ( 1) i+j (deta ij )= a ij C ij j=1 (this is expansion along row i) and j=1 (2) for any fixed value of j, with1 j n, deta = a 1j ( 1) 1+j (deta 1j )+a 2j ( 1) 2+j (deta 2j )+ + a ij ( 1) i+j (deta ij )+ + a nj ( 1) n+j (deta nj ) n n = a ij ( 1) i+j (deta ij )= a ij C ij i=1 (this is expansion along column j) Notice: As before, the sign of ( 1) i+j always alternates between + and as we expand along any row or column, although whether the pattern begins with + or depends on which row or column we expand along (i.e., whether the fixed i or j is odd or even). i=1 The above theorem is very important in simplifying our calculations for finding the determinant of a matrix. Suppose we are asked to find the determinant of a matrix such as: A = 1 2 3 4 2 1 3 1 2 0 0 0 3 7 8 9 Then expanding along the first row, as in our original definition of deta, we have: deta = (1)C 11 +(2)C 12 +(3)C 13 +(4)C 14 = (1)( 1) 2 deta 11 +(2)( 1) 3 deta 12 +(3)( 1) 4 deta 13 +(4)( 1) 5 deta 14 5

Each of the matrices A 11,A 12,A 13, and A 14 is a 3 3 matrix, and so each of the 4 determinants we need to calculate, in order to calculate deta, requires as much calculation as the determinant in the earlier example. We can reduce the amount of work required to calculate the determinant of a relatively large matrix by choosing wisely which row or column to expand along. Generally, we want to choose a row or column containing as many zeroes as possible, so that we only need to calculate determinants of the fewest submatrices possible. Example 5. Find deta, wherea = 2 4 6 0 3 1 0 0 5 Solution: Looking carefully at A, we see that it will save some work if we expand along column 1. (Alternatively, we could choose row 3.) deta = a 11 C 11 + a 21 C 21 + a 31 C 31 Example 6. Find deta, wherea = =(2)C 11 +(0)C 21 +(0)C 31 =(2)( 1) 1+1 M 11 +0+0 [ 3 1 =(2)( 1) 2 det 0 5 =(2)( 15) = 30 1 2 3 4 2 1 3 1 2 0 0 0 3 7 8 9 Solution: For this matrix, as we saw previously, expanding along row 1 requires us to calculate determinants of four 3 3 submatrices. However, we see that row 3 contains 3 zeroes. This means that if we calculate deta by expanding along row 3, then 3 of the 4 cofactors are going to be multiplied by 0,so there is only one 3 3 submatrix whose determinant we actually need to calculate. Choosing row 3 to expand along, we get: 6

deta = a 31 C 31 + a 32 C 32 + a 33 C 33 + a 34 C 34 =2C 31 +0C 32 +0C 33 +0C 34 =(2)( 1) 3+1 M 31 +0+0+0 =(2)( 1) 4 deta 31 =(2)det 2 3 4 1 3 1 7 8 9 { [ 3 1 =(2) 2det 8 9 [ 1 1 3det 7 9 [ 1 3 +4det 7 8 =2{2[3(9) 1(8) 3[1(9) 1(7) + 4[1(8) 3(7)} = 2[(2)(19) (3)(2) + (4)( 13) = 2( 20) = 40 This is much faster than if we had expanded along row 1. Notice: Here, deta 31 was calculated by expanding along row 1. However, if submatrix A 31 had contained some zeroes, we could have reduced the work even more by selecting an appropriate row or column to expand along for this calculation as well. There are several theorems which can be used to find the determinants of certain kinds of matrices with little or no work. } Theorem 18.6. If a square matrix A has any row or column containing only zeroes, then deta =0. Proof: If matrix A hasarow(column)ofzero swesimplychoosetoexpand the determinant along that row (column), giving us the result deta =0. Example 7. Find deta, where A = 2 4 2 1 3 1 0 0 0 7

Solution: We see, without any calculation, that deta = 0 since the last row contains only zeroes. Theorem 18.7. If a square matrix A has two equal rows, or two equal columns, then deta =0. Proof: We leave this proof until later. In the next section we will encounter another theorem which makes this proof very easy. (We will simply subtract one of the equal rows (columns) from the other, yielding a zero row (column), and then use the previous theorem). Example 8. Find deta, where A = 2 4 2 1 3 1 5 0 5 Looking at A, we see that the first and last columns are equal, so deta =0. Definition 18.8. A square matrix A is called upper triangular if all entries below the main diagonal are zero, and is called lower triangular if all entries above the main diagonal are zero. If all entries above the main diagonal and all entries below the main diagonal are zero, then A is called a diagonal matrix. For instance, among the matrices shown below, A is upper triangular, B is lower triangular and C is a diagonal matrix. 1 4 2 2 0 0 2 0 0 A = 0 3 1 B = 1 2 0 C = 0 7 0 0 0 5 5 0 1 0 0 3 Theorem 18.9. If a square matrix A =(a ij ) is either upper or lower triangular, or is a diagonal matrix, then the determinant of A is the product of the elements lying on the main diagonal. i.,e., deta =(a 11 )(a 22 )(a 33 )...(a nn ) 8

Sketch of proof: Repeatedly choosing column 1 (for an upper triangular or diagonal matrix) or row 1 (for a lower triangular matrix) to expand along yields the stated result. Corollary 18.10. For any n 1, the determinant of the identity matrix of order n is deti =1. Proof: By definition, the identity matrix is a diagonal matrix with each of the main diagonal entries 1, so by the above theorem we have: deti = (1)(1)...(1) = 1 Example 9. Find the determinants of 1 4 2 2 0 0 (a) A = 0 3 1 (b) B = 1 2 0 0 0 5 5 0 1 and (c) C = Solution: (a) Here, A is a 3 3 upper triangular matrix, so we get deta =(a 11 )(a 22 )(a 33 )=(1)( 3)(5) = 15 (b) We see that B is lower triangular, so detb = (2)(2)( 1) = 4. (c) For this diagonal matrix, we get detc = (2)(7)( 3) = 42. 2 0 0 0 7 0 0 0 3 9