Unit 19 Properties of Determinants

Size: px
Start display at page:

Download "Unit 19 Properties of Determinants"

Transcription

1 Unit 9 Properties of Determinants Theorem 9.. Suppose A and B are identical n n matrices with the exception that one row (or column) of B is obtained by multiplying the corresponding row (or column) of A by some nonzero constant c. Then det B = c(det A) This theorem may be used in a variety of situations to make a seemingly difficult determinant (due to large numbers or fractions involved) into a much easier one, as the following examples demonstrate. Example. Find det A where A = Solution: The numbers in the first column have a common factor of. The arithmetic will be easier if we factor it out. That is, we have the matrix = so the matrix can be obtained from the matrix by multiplying the first column by. Thus, Theorem 9. tells us that det A = det = det

2 and so, expanding along row, we have 5 det A = (4 ( ) + det ) = 84 5 = 40 5 Notice: What we saw here is that we can use Theorem 9. by factoring a constant, c, out of every entry in some particular row or column of the matrix and then multiplying the determinant of the resulting matrix by the constant. For instance, for a 3 3 matrix, we can factor out a common factor in row and find the determinant as det c a c a c a 3 a a a 3 a 3 a 3 a 33 = c det a a a 3 a a a 3 a 3 a 3 a 33 Example. Find det A where A = Solution: We can see that det A is most easily found by expanding along column. However, we can simplify the arithmetic by factoring out common factors in some rows and columns. To begin with, we see that column 3 contains only even numbers (and is the largest integer factor shared by these numbers) so we can factor out a from this column: det A = det = det Now, we can see fairly easily that row contains only multiples of 3, so we can factor 3 out of row to get: 3 4 det A = (3 ) det Also, we can factor a 3 out of column and after that, a 4 out of row 3.

3 This gives: det A = 3 6 det Finally, we expand along column. det A = 6 = det ( ( ) + det ) = 3 ( ) (4 3) = 64 = 64 Example 3. Find det B, where B = Solution: We know we will want to expand along column 3, but let s see if we can get rid of the fractions inside the matrix. Notice that the (, )-entry is = 3, so there is a common factor of in row. Likewise, we can factor 6 6 out of row and out of row 3. We get: 3 4 (3) ( ) (6) 6 det B = det = det ( ) () (0) () ( ) (0) = det 0 0 Now, expanding along column 3, we get: det B = = ( 6 ( ) +3 det = = ) Notice: In general, if c is a constant then det(ca) c det A. Since ca is formed by multiplying every entry and hence every row of A by c, we need to take a factor of c out of each row. 3

4 This means that for any n n matrix A: det(ca) = c n det A For instance, if A is a 3 3 matrix, then det(a) = 3 det A = 8 deta. Theorem 9.. More Facts About Determinants Suppose A and B are square n n matrices. Then:. If A has one row (column) that is a scalar multiple of another row (column) of A then det(a) = 0.. If B is identical to A except that two rows (or columns) from A are interchanged, then det B = det A. (i.e. when rows or columns of a matrix are interchanged, the sign of the determinant is reversed). 3. If B is obtained from A by adding a scalar multiple of one row (column) of A to another row (column) of A, then det B = det A. (i.e., adding a scalar multiple of one row (or column) to another row (or colunm) does not change the value of the determinant.) 4. det(ab) = det A det B Notice: Two of these facts, along with Theorem 9., tell us how the determinant is affected when elementary row operations (or the corresponding column operations) are performed on a matrix. They are meant to be used to take a matrix whose determinant at first glance seems difficult, and transform it, through elementary row or column operations, to a matrix whose determinant is easy to calculate. For instance, we may obtain a row or column with many zeroes, or transform the entire matrix into one which is upper or lower triangular. Example 4. Find the determinant of A = 3 4 Solution: A is a 4 4 matrix and contains no zeroes. To calculate det A directly, expanding along any row or column would involve determinants of four 3 3 matrices, and evaluating each of these 3 3 determinants would involve determinants of three matrices, so in total, we would need to identify and find determinants of twelve matrices. We can significantly reduce 4

5 the work required to calculate det A by using elementary row (or column) operations to get rows or columns with lots of zeroes. We will work towards making an upper triangular matrix, but we don t have to go all the way there. To begin with, we zero-out column by replacing R by R 3R, replacing R3 with R3 R and replacing R4 with R4 R. Since each of these operations involves adding a scalar multiple of Row to another row, these 3 operations all leave the determinant unchanged, so we see that: det A = det 3 4 = det The arithmetic will be slightly easier if we interchange rows and 4. Of course, interchanging rows changes the sign of the determinant, so we get: det A = det Now, we get zeroes in the (3, ) and (4, ) entries using R3 R3 3 R and R4 R4 R. Again, these are operations which don t change the value of the determinant, so: det A = det We can get rid of the fractions by factoring a out of row 3. We get: det A = det We could continue until we were working with an upper triangular matrix. However, the determinant can easily be calculated at the current stage, by expanding along column and then expanding the only 3 3 matrix we need to deal with along column as well. 5

6 det A = det = ( ) + det = 3 (( ) () + det ) = ()(3)( 3) ( )(7) = ( ) = Example 5. Find det A, where A = Solution: This matrix looks very unfriendly. That is, it would appear that calculating the determinant requires calculating determinants of at least three 3 3 matrices, all involving not-exactly-trivial arithmetic. However, if we first do some factoring from each row, to get some friendlier numbers, we can then easily transform the matrix to an upper triangular matrix, using elementary row operations. The determinant will then be easy to find. We can factor 5 out of Row, 9 out of Row, 5 of row 4. We see that det A is given by: out of Row 3 and out det = (5 9 5 ) det

7 We now perform elementary row operations to get an upper triangular matrix. First, replace row with R ( R), and replace row 3 with (R3 R). We know that these operations have no effect on the determinant. That is, the determinant of the transformed matrix will be the same as the determinant of the matrix before the transformations. So: det A = ( 90) det Next, we can interchange Rows and 4 (so that when we subtract a multiple of one from the other we won t need to introduce fractions into the matrix). Interchanging rows changes the sign of the determinant, so to counteract this change, we need to change the sign of the scalar we re multiplying the determinant by. That is, the determinant of the matrix before interchanging the rows is equal to ( ) times the determinant of the matrix which has the rows interchanged. We have: det A = (90) det Now, we can replace row 4 by R4 ( R) to complete the process of transforming the matrix to an upper triangular matrix. Once again, this kind of elementary row operation has no effect on the determinant. That is, the determinant of the new matrix is equal to the determinant of the old matrix. So we get: det A = (90) det = (90) (4 7) = 50 This procedure was much easier than calculating det A by expanding along some row or column of A would have been. 7

8 Notice: We could have omitted the interchange of Rows and 4 above, and instead simply subtracted R from row 4. This would have given the final calculation of the determinant as ( 90) ( 4 ( )) 7 = 50. We have seen that:. When we interchange two rows of a matrix, the sign of the determinant changes,. when we add a scalar multiple of row to another row of the matrix, the determinant stays the same, and 3. when we multiply a row by a non-zero scalar, the determinant is multiplied by the same scalar. Thus the only effects on the determinant when we row reduce a matrix are sign changes and multiplication by non-zero scalars. That is, we see that: Lemma 9.3. Let A be any square matrix and let B be the RREF of A. Then det A = c det B for some non-zero scalar c. Notice: The scalar c in this lemma is the cumulative effect of all of the ero s performed in transforming the matrix to RREF, i.e., of some sign changes and some multiplications by non-zero scalars. Thus c is the product of some ( ) s and some non-zeroes, and hence c 0. This is important because it gives us the following theorem. Theorem 9.4. A square matrix A is invertible if and only if det A 0. Proof: From our list of equivalent statements in Unit 7, we know that a matrix A is invertible if and only if the row reduced form of A is the identity matrix I. Let B be the row reduced form of A. Therefore det A = c detb, where c is some nonzero scalar (by Lemma 9.3). 8

9 Suppose A is invertible. Then B = I, and of course, det I =, so det A = c detb = c() = c 0 We see that if A is invertible then det A 0. Suppose now that A is not invertible. Then r(a) < n, where n is the order of A, (because r(a) n and we know that A is invertible and r(a) = n are equivalent statements for any square matrix A, i.e., A is invertible if and only if r(a) = n). Of course, we have r(a) = r(b), so r(b) < n. But a square matrix which is in RREF and has less than full rank has, by definition, fewer than n non-zero rows, so B contains at least one row containing only zeroes. And we know that a matrix containing a zero row has determinant 0, so we have det B = 0, and we see that: det(a) = c det(b) = c(0) = 0 Therefore if A is not invertible, then det A = 0. So if det A 0, it cannot be true that A is non-invertible, i.e., it must be true that A is invertible. Thus we have shown that if A is invertible, then det A 0, and if det A 0, then A is invertible, i.e., we have shown that A is invertible if and only if det A 0. We can now add det A 0 to our list of equivalent statements from Unit 7. The new version of Theorem 7. is thus: Theorem 9.5. If A is a square matrix of order n, then the following statements are equivalent to one another (i.e. if any one statement is true then all are true).. A is invertible (i.e., nonsingular).. r(a) = n (i.e., A has full rank). 3. The RREF of A is I n (i.e., A is row-equivalent to the identity matrix). 4. A x = b has a unique solution for any b. 5. A x = 0 has only the trivial solution. 6. det A 0. 9

10 Cramer s Rule/The Classical Adjoint We now introduce new techniques for (i) solving the SLE A x = b, and (ii) finding A, when A is a square matrix with det A 0. Both of these new techniques involve using determinants. Definition 9.6. Given a linear system of equations A x = b, where A is a square matrix, we use A(i) to denote the matrix obtained by replacing the i th column of A with b. Example 6. Find A(), A() and A(3), where A is the coefficient matrix of the linear system: x +x x 3 = 6 x x +x 3 = x x 3 = 0 Solution: Writing this system in matrix equation form, A x = b, we have x 6 x = 0 x 3 0 We see that: A = 0 and b = To get A(), we replace the first column of A by the column vector b. 6 We get A() = Similarly, we have A() = 0 6 and A(3) =

11 Definition 9.7. A square linear system is a linear system in which the coefficient matrix is a square matrix, i.e., a SLE in which the number of equations is the same as the number of variables. Theorem 9.8. Cramer s Rule Suppose A x = b is a square linear system in the variables x, x, x 3,..., x n with the property that det A 0. Then the (unique) solution to the system is given by: x = det A() det A, x = det A() det A,..., x det A(n) n = det A Notice: We can only use Cramer s rule when det(a) 0. However, this means that Cramer s Rule can be used to solve any square linear system which has a unique solution, since we know (from Theorem 9.5) that A x = b has a unique solution if and only if det A 0. Example 7. Solve the following system using Cramer s rule: x +x x 3 = 6 x x +x 3 = x x 3 = 0 Solution: This is the same system as in the previous example, so we have the matrices: 6 A =, A() =, A() = 6 0, A(3) = We need to find the determinant of each of these matrices.

12 For A, we expand along column to get det A = ()( ) det + ( )( ) det = ( 3) ( ) = Notice that det A 0, so Cramer s Rule may be used to solve this system. We can find det A() most easily by expanding along row 3. 6 det A() = ( )( ) 3+3 det = ( 6 ) = 6 For A(), we again expand along column : det A() = (6)( ) det + ()( ) det = ( 6)( 3) + ()( ) = 6 For A(3), we exapand along row 3 and get det A(3) = ()( ) 3+ det = ( + 6) = Thus, by Cramer s rule we get: x = and x = and x 3 = det A() det A = 6 4 = 4 det A() det A = 6 4 = 4 det A(3) det A = 8 4 = We see that the unique solution to the given system is (x, x, x 3 ) = (4, 4, ).

13 Example 8. Use Cramer s Rule, if possible, to solve the system: x +x +x 3 = 4 x x +x 3 = 5 3x +x +4x 3 = 3 Solution: The coefficient matrix is A = the first row, we see that det A = det det det 3. By expanding along = 6 ( ) + 4 = 0 Since det A = 0, Cramer s Rule cannot be used to solve this system. The system does not have a unique solution. Gauss-Jordan elimination would be used to solve the system. Recall that given a square matrix A, we defined the (i, j)-minor, M ij, of A to be the determinant of A ij, where A ij was the submatrix of A obtained by deleting the i th row and j th column of A. We then defined the (i, j)-cofactor, C ij, of A to be ( ) i+j M ij. So C ij = ( ) i+j M ij = ( ) i+j det A ij Definition 9.9. Given a square matrix A, we define the cofactor matrix of A, denoted cof A to be cof A = c ij where c ij = C ij i.e. The (i, j)-entry of cof A is the (i, j)-cofactor of A. Definition 9.0. The classical adjoint, or simply the adjoint, of A is denoted AdjA and is the transpose of the cofactor matrix. That is: AdjA = cof A T 3

14 Example 9. Find cof A and AdjA, for A = Solution: We have: = = det det det cof A = det C C C 3 C C C 3 C 3 C 3 C det 0 0 det det det det 0 Therefore we have: AdjA = cof A T = T = Theorem 9.. The cofactor matrix of A T is equal to the transpose of the cofactor matrix of A. That is, AdjA = cof A T = cof (A T ) Notice: This means that to find AdjA, we can first take the transpose of A and then find the cofactors, so that we don t need to remember to take the transpose at the end. 4

15 Example 0. Find AdjA for A = 3 4 Solution: We have A = We get AdjA = Example. For A = 3 4 det4 det det3 det 3 4 3, so A T = 4 =. 4 3, find A(AdjA) and (AdjA)A. Also, find det A. Solution: From the previous example, we have AdjA = 4 0 So A(AdjA) = = and (AdjA)A = = Also, det A = det = 4 6 = Notice what we have here. We see that A (AdjA) = (AdjA) A. Moreover, the matrix product is just a scalar multiple of I, and that scalar is det A. This is, of course, not a coincidence. For any square matrix A, it is always true that A (AdjA) = (AdjA) A = (det A)I. So if det A 0, then we can divide through by det A to get: That is, we see that: A det A (AdjA) = But then, this means that det A A(AdjA) = det A (AdjA)A = I det A (AdjA) A = I (AdjA) is the inverse of A! We have: det A 5

16 Theorem 9.. The Adjoint Form of the Inverse Suppose A is a square matrix with det A 0. Then A is invertible, and: A = det A AdjA This gives us a new way to calculate A. It also gives a way to calculate individual entries of A, without having to find the whole matrix. We simply need to find the corresponding entry of AdjA, and multiply it by det A. Example. Consider A = (a)find the (,)-entry of A 3 0, with cof A = (b) Find A Solution: (a) We know that A = AdjA, so the (,)-entry of det A A is given by times the (,)-entry of AdjA, which is times the (,)-cofactor of det A det A A. Now, expanding the determinant of A along row, we have: det A = (0) + ()( 4) + ( )( )( ) = 6 and from the given matrix of cofactors we see that the (,)-cofactor is, so the (,)-entry of A is 6 () = 3. (b) Since det A = 6 and A = AdjA = cof det A det A AT, we have: A = T = =

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

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

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 MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

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.

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. MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column

More information

Unit 18 Determinants

Unit 18 Determinants 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

More information

8 Square matrices continued: Determinants

8 Square matrices continued: Determinants 8 Square matrices continued: Determinants 8. Introduction Determinants give us important information about square matrices, and, as we ll soon see, are essential for the computation of eigenvalues. You

More information

Notes on Determinant

Notes on Determinant ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without

More information

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

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = 36 + 41i. Math 5A HW4 Solutions September 5, 202 University of California, Los Angeles Problem 4..3b Calculate the determinant, 5 2i 6 + 4i 3 + i 7i Solution: The textbook s instructions give us, (5 2i)7i (6 + 4i)(

More information

Solving Linear Systems, Continued and The Inverse of a Matrix

Solving Linear Systems, Continued and The Inverse of a Matrix , Continued and The of a Matrix Calculus III Summer 2013, Session II Monday, July 15, 2013 Agenda 1. The rank of a matrix 2. The inverse of a square matrix Gaussian Gaussian solves a linear system by reducing

More information

Name: Section Registered In:

Name: Section Registered In: Name: Section Registered In: Math 125 Exam 3 Version 1 April 24, 2006 60 total points possible 1. (5pts) Use Cramer s Rule to solve 3x + 4y = 30 x 2y = 8. Be sure to show enough detail that shows you are

More information

Lecture 4: Partitioned Matrices and Determinants

Lecture 4: Partitioned Matrices and Determinants Lecture 4: Partitioned Matrices and Determinants 1 Elementary row operations Recall the elementary operations on the rows of a matrix, equivalent to premultiplying by an elementary matrix E: (1) multiplying

More information

The Characteristic Polynomial

The Characteristic Polynomial Physics 116A Winter 2011 The Characteristic Polynomial 1 Coefficients of the characteristic polynomial Consider the eigenvalue problem for an n n matrix A, A v = λ v, v 0 (1) The solution to this problem

More information

LINEAR ALGEBRA. September 23, 2010

LINEAR ALGEBRA. September 23, 2010 LINEAR ALGEBRA September 3, 00 Contents 0. LU-decomposition.................................... 0. Inverses and Transposes................................. 0.3 Column Spaces and NullSpaces.............................

More information

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

Using row reduction to calculate the inverse and the determinant of a square matrix Using row reduction to calculate the inverse and the determinant of a square matrix Notes for MATH 0290 Honors by Prof. Anna Vainchtein 1 Inverse of a square matrix An n n square matrix A is called invertible

More information

Row Echelon Form and Reduced Row Echelon Form

Row Echelon Form and Reduced Row Echelon Form These notes closely follow the presentation of the material given in David C Lay s textbook Linear Algebra and its Applications (3rd edition) These notes are intended primarily for in-class presentation

More information

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.

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. Chapter 7 Eigenvalues and Eigenvectors In this last chapter of our exploration of Linear Algebra we will revisit eigenvalues and eigenvectors of matrices, concepts that were already introduced in Geometry

More information

Systems of Linear Equations

Systems of Linear Equations Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and

More information

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

University of Lille I PC first year list of exercises n 7. Review University of Lille I PC first year list of exercises n 7 Review Exercise Solve the following systems in 4 different ways (by substitution, by the Gauss method, by inverting the matrix of coefficients

More information

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

13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions. 3 MATH FACTS 0 3 MATH FACTS 3. Vectors 3.. Definition We use the overhead arrow to denote a column vector, i.e., a linear segment with a direction. For example, in three-space, we write a vector in terms

More information

The Determinant: a Means to Calculate Volume

The Determinant: a Means to Calculate Volume The Determinant: a Means to Calculate Volume Bo Peng August 20, 2007 Abstract This paper gives a definition of the determinant and lists many of its well-known properties Volumes of parallelepipeds are

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

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

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Style. Learning Outcomes The Inverse of a Matrix 7.4 Introduction In number arithmetic every number a 0 has a reciprocal b written as a or such that a ba = ab =. Similarly a square matrix A may have an inverse B = A where AB =

More information

( ) which must be a vector

( ) which must be a vector MATH 37 Linear Transformations from Rn to Rm Dr. Neal, WKU Let T : R n R m be a function which maps vectors from R n to R m. Then T is called a linear transformation if the following two properties are

More information

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

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices Solving square systems of linear equations; inverse matrices. Linear algebra is essentially about solving systems of linear equations,

More information

Similarity and Diagonalization. Similar Matrices

Similarity and Diagonalization. Similar Matrices MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that

More information

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

a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 1.1 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,..., a n, b are given

More information

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A = MAT 200, Midterm Exam Solution. (0 points total) a. (5 points) Compute the determinant of the matrix 2 2 0 A = 0 3 0 3 0 Answer: det A = 3. The most efficient way is to develop the determinant along the

More information

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

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation

More information

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

Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix multiplication). MAT 2 (Badger, Spring 202) LU Factorization Selected Notes September 2, 202 Abstract: We describe the beautiful LU factorization of a square matrix (or how to write Gaussian elimination in terms of matrix

More information

Linearly Independent Sets and Linearly Dependent Sets

Linearly Independent Sets and Linearly Dependent Sets These notes closely follow the presentation of the material given in David C. Lay s textbook Linear Algebra and its Applications (3rd edition). These notes are intended primarily for in-class presentation

More information

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

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix. Nullspace Let A = (a ij ) be an m n matrix. Definition. The nullspace of the matrix A, denoted N(A), is the set of all n-dimensional column

More information

Lecture 3: Finding integer solutions to systems of linear equations

Lecture 3: Finding integer solutions to systems of linear equations Lecture 3: Finding integer solutions to systems of linear equations Algorithmic Number Theory (Fall 2014) Rutgers University Swastik Kopparty Scribe: Abhishek Bhrushundi 1 Overview The goal of this lecture

More information

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Linear Algebra Notes for Marsden and Tromba Vector Calculus Linear Algebra Notes for Marsden and Tromba Vector Calculus n-dimensional Euclidean Space and Matrices Definition of n space As was learned in Math b, a point in Euclidean three space can be thought of

More information

160 CHAPTER 4. VECTOR SPACES

160 CHAPTER 4. VECTOR SPACES 160 CHAPTER 4. VECTOR SPACES 4. Rank and Nullity In this section, we look at relationships between the row space, column space, null space of a matrix and its transpose. We will derive fundamental results

More information

Linear Algebra: Determinants, Inverses, Rank

Linear Algebra: Determinants, Inverses, Rank D Linear Algebra: Determinants, Inverses, Rank D 1 Appendix D: LINEAR ALGEBRA: DETERMINANTS, INVERSES, RANK TABLE OF CONTENTS Page D.1. Introduction D 3 D.2. Determinants D 3 D.2.1. Some Properties of

More information

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

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89 by Joseph Collison Copyright 2000 by Joseph Collison All rights reserved Reproduction or translation of any part of this work beyond that permitted by Sections

More information

Question 2: How do you solve a matrix equation using the matrix inverse?

Question 2: How do you solve a matrix equation using the matrix inverse? Question : How do you solve a matrix equation using the matrix inverse? In the previous question, we wrote systems of equations as a matrix equation AX B. In this format, the matrix A contains the coefficients

More information

Linear Algebra Notes

Linear Algebra Notes Linear Algebra Notes Chapter 19 KERNEL AND IMAGE OF A MATRIX Take an n m matrix a 11 a 12 a 1m a 21 a 22 a 2m a n1 a n2 a nm and think of it as a function A : R m R n The kernel of A is defined as Note

More information

1 Introduction to Matrices

1 Introduction to Matrices 1 Introduction to Matrices In this section, important definitions and results from matrix algebra that are useful in regression analysis are introduced. While all statements below regarding the columns

More information

DETERMINANTS TERRY A. LORING

DETERMINANTS TERRY A. LORING DETERMINANTS TERRY A. LORING 1. Determinants: a Row Operation By-Product The determinant is best understood in terms of row operations, in my opinion. Most books start by defining the determinant via formulas

More information

1 Determinants and the Solvability of Linear Systems

1 Determinants and the Solvability of Linear Systems 1 Determinants and the Solvability of Linear Systems In the last section we learned how to use Gaussian elimination to solve linear systems of n equations in n unknowns The section completely side-stepped

More information

1.2 Solving a System of Linear Equations

1.2 Solving a System of Linear Equations 1.. SOLVING A SYSTEM OF LINEAR EQUATIONS 1. Solving a System of Linear Equations 1..1 Simple Systems - Basic De nitions As noticed above, the general form of a linear system of m equations in n variables

More information

Elementary Matrices and The LU Factorization

Elementary Matrices and The LU Factorization lementary Matrices and The LU Factorization Definition: ny matrix obtained by performing a single elementary row operation (RO) on the identity (unit) matrix is called an elementary matrix. There are three

More information

Chapter 2 Determinants, and Linear Independence

Chapter 2 Determinants, and Linear Independence Chapter 2 Determinants, and Linear Independence 2.1 Introduction to Determinants and Systems of Equations Determinants can be defined and studied independently of matrices, though when square matrices

More information

7 Gaussian Elimination and LU Factorization

7 Gaussian Elimination and LU Factorization 7 Gaussian Elimination and LU Factorization In this final section on matrix factorization methods for solving Ax = b we want to take a closer look at Gaussian elimination (probably the best known method

More information

Direct Methods for Solving Linear Systems. Matrix Factorization

Direct Methods for Solving Linear Systems. Matrix Factorization Direct Methods for Solving Linear Systems Matrix Factorization Numerical Analysis (9th Edition) R L Burden & J D Faires Beamer Presentation Slides prepared by John Carroll Dublin City University c 2011

More information

Solution to Homework 2

Solution to Homework 2 Solution to Homework 2 Olena Bormashenko September 23, 2011 Section 1.4: 1(a)(b)(i)(k), 4, 5, 14; Section 1.5: 1(a)(b)(c)(d)(e)(n), 2(a)(c), 13, 16, 17, 18, 27 Section 1.4 1. Compute the following, if

More information

Introduction to Matrices for Engineers

Introduction to Matrices for Engineers Introduction to Matrices for Engineers C.T.J. Dodson, School of Mathematics, Manchester Universit 1 What is a Matrix? A matrix is a rectangular arra of elements, usuall numbers, e.g. 1 0-8 4 0-1 1 0 11

More information

Linear Codes. Chapter 3. 3.1 Basics

Linear Codes. Chapter 3. 3.1 Basics Chapter 3 Linear Codes In order to define codes that we can encode and decode efficiently, we add more structure to the codespace. We shall be mainly interested in linear codes. A linear code of length

More information

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Mathematics Course 111: Algebra I Part IV: Vector Spaces Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are

More information

Chapter 17. Orthogonal Matrices and Symmetries of Space

Chapter 17. Orthogonal Matrices and Symmetries of Space Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length

More information

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

by the matrix A results in a vector which is a reflection of the given Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that

More information

6. Cholesky factorization

6. Cholesky factorization 6. Cholesky factorization EE103 (Fall 2011-12) triangular matrices forward and backward substitution the Cholesky factorization solving Ax = b with A positive definite inverse of a positive definite matrix

More information

Typical Linear Equation Set and Corresponding Matrices

Typical Linear Equation Set and Corresponding Matrices EWE: Engineering With Excel Larsen Page 1 4. Matrix Operations in Excel. Matrix Manipulations: Vectors, Matrices, and Arrays. How Excel Handles Matrix Math. Basic Matrix Operations. Solving Systems of

More information

Linear Equations ! 25 30 35$ & " 350 150% & " 11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development

Linear Equations ! 25 30 35$ &  350 150% &  11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development MathsTrack (NOTE Feb 2013: This is the old version of MathsTrack. New books will be created during 2013 and 2014) Topic 4 Module 9 Introduction Systems of to Matrices Linear Equations Income = Tickets!

More information

5.5. Solving linear systems by the elimination method

5.5. Solving linear systems by the elimination method 55 Solving linear systems by the elimination method Equivalent systems The major technique of solving systems of equations is changing the original problem into another one which is of an easier to solve

More information

Suk-Geun Hwang and Jin-Woo Park

Suk-Geun Hwang and Jin-Woo Park Bull. Korean Math. Soc. 43 (2006), No. 3, pp. 471 478 A NOTE ON PARTIAL SIGN-SOLVABILITY Suk-Geun Hwang and Jin-Woo Park Abstract. In this paper we prove that if Ax = b is a partial signsolvable linear

More information

Continued Fractions and the Euclidean Algorithm

Continued Fractions and the Euclidean Algorithm Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction

More information

THE DIMENSION OF A VECTOR SPACE

THE DIMENSION OF A VECTOR SPACE THE DIMENSION OF A VECTOR SPACE KEITH CONRAD This handout is a supplementary discussion leading up to the definition of dimension and some of its basic properties. Let V be a vector space over a field

More information

Solving Systems of Linear Equations Using Matrices

Solving Systems of Linear Equations Using Matrices Solving Systems of Linear Equations Using Matrices What is a Matrix? A matrix is a compact grid or array of numbers. It can be created from a system of equations and used to solve the system of equations.

More information

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2 MATHEMATICS FO ENGINEES BASIC MATIX THEOY TUTOIAL This is the second of two tutorials on matrix theory. On completion you should be able to do the following. Explain the general method for solving simultaneous

More information

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

Introduction to Matrix Algebra

Introduction to Matrix Algebra Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary

More information

Factorization Theorems

Factorization Theorems Chapter 7 Factorization Theorems This chapter highlights a few of the many factorization theorems for matrices While some factorization results are relatively direct, others are iterative While some factorization

More information

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

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Matrix Algebra A. Doerr Before reading the text or the following notes glance at the following list of basic matrix algebra laws. Some Basic Matrix Laws Assume the orders of the matrices are such that

More information

Section 8.2 Solving a System of Equations Using Matrices (Guassian Elimination)

Section 8.2 Solving a System of Equations Using Matrices (Guassian Elimination) Section 8. Solving a System of Equations Using Matrices (Guassian Elimination) x + y + z = x y + 4z = x 4y + z = System of Equations x 4 y = 4 z A System in matrix form x A x = b b 4 4 Augmented Matrix

More information

1 VECTOR SPACES AND SUBSPACES

1 VECTOR SPACES AND SUBSPACES 1 VECTOR SPACES AND SUBSPACES What is a vector? Many are familiar with the concept of a vector as: Something which has magnitude and direction. an ordered pair or triple. a description for quantities such

More information

NOTES ON LINEAR TRANSFORMATIONS

NOTES ON LINEAR TRANSFORMATIONS NOTES ON LINEAR TRANSFORMATIONS Definition 1. Let V and W be vector spaces. A function T : V W is a linear transformation from V to W if the following two properties hold. i T v + v = T v + T v for all

More information

Arithmetic and Algebra of Matrices

Arithmetic and Algebra of Matrices Arithmetic and Algebra of Matrices Math 572: Algebra for Middle School Teachers The University of Montana 1 The Real Numbers 2 Classroom Connection: Systems of Linear Equations 3 Rational Numbers 4 Irrational

More information

1 Sets and Set Notation.

1 Sets and Set Notation. LINEAR ALGEBRA MATH 27.6 SPRING 23 (COHEN) LECTURE NOTES Sets and Set Notation. Definition (Naive Definition of a Set). A set is any collection of objects, called the elements of that set. We will most

More information

CS3220 Lecture Notes: QR factorization and orthogonal transformations

CS3220 Lecture Notes: QR factorization and orthogonal transformations CS3220 Lecture Notes: QR factorization and orthogonal transformations Steve Marschner Cornell University 11 March 2009 In this lecture I ll talk about orthogonal matrices and their properties, discuss

More information

1 Solving LPs: The Simplex Algorithm of George Dantzig

1 Solving LPs: The Simplex Algorithm of George Dantzig Solving LPs: The Simplex Algorithm of George Dantzig. Simplex Pivoting: Dictionary Format We illustrate a general solution procedure, called the simplex algorithm, by implementing it on a very simple example.

More information

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES I GROUPS: BASIC DEFINITIONS AND EXAMPLES Definition 1: An operation on a set G is a function : G G G Definition 2: A group is a set G which is equipped with an operation and a special element e G, called

More information

Notes on Linear Algebra. Peter J. Cameron

Notes on Linear Algebra. Peter J. Cameron Notes on Linear Algebra Peter J. Cameron ii Preface Linear algebra has two aspects. Abstractly, it is the study of vector spaces over fields, and their linear maps and bilinear forms. Concretely, it is

More information

4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION

4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION 4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION STEVEN HEILMAN Contents 1. Review 1 2. Diagonal Matrices 1 3. Eigenvectors and Eigenvalues 2 4. Characteristic Polynomial 4 5. Diagonalizability 6 6. Appendix:

More information

Lecture 2 Matrix Operations

Lecture 2 Matrix Operations Lecture 2 Matrix Operations transpose, sum & difference, scalar multiplication matrix multiplication, matrix-vector product matrix inverse 2 1 Matrix transpose transpose of m n matrix A, denoted A T or

More information

T ( a i x i ) = a i T (x i ).

T ( a i x i ) = a i T (x i ). Chapter 2 Defn 1. (p. 65) Let V and W be vector spaces (over F ). We call a function T : V W a linear transformation form V to W if, for all x, y V and c F, we have (a) T (x + y) = T (x) + T (y) and (b)

More information

1 2 3 1 1 2 x = + x 2 + x 4 1 0 1

1 2 3 1 1 2 x = + x 2 + x 4 1 0 1 (d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1 2. (11 points) This problem finds the curve y = C + D 2 t which

More information

Theory of Matrices. Chapter 5

Theory of Matrices. Chapter 5 Chapter 5 Theory of Matrices As before, F is a field We use F[x] to represent the set of all polynomials of x with coefficients in F We use M m,n (F) and M m,n (F[x]) to denoted the set of m by n matrices

More information

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

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. Vector space A vector space is a set V equipped with two operations, addition V V (x,y) x + y V and scalar

More information

Operation Count; Numerical Linear Algebra

Operation Count; Numerical Linear Algebra 10 Operation Count; Numerical Linear Algebra 10.1 Introduction Many computations are limited simply by the sheer number of required additions, multiplications, or function evaluations. If floating-point

More information

1 0 5 3 3 A = 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0

1 0 5 3 3 A = 0 0 0 1 3 0 0 0 0 0 0 0 0 0 0 Solutions: Assignment 4.. Find the redundant column vectors of the given matrix A by inspection. Then find a basis of the image of A and a basis of the kernel of A. 5 A The second and third columns are

More information

Inner products on R n, and more

Inner products on R n, and more Inner products on R n, and more Peyam Ryan Tabrizian Friday, April 12th, 2013 1 Introduction You might be wondering: Are there inner products on R n that are not the usual dot product x y = x 1 y 1 + +

More information

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method 578 CHAPTER 1 NUMERICAL METHODS 1. ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS As a numerical technique, Gaussian elimination is rather unusual because it is direct. That is, a solution is obtained after

More information

Subspaces of R n LECTURE 7. 1. Subspaces

Subspaces of R n LECTURE 7. 1. Subspaces LECTURE 7 Subspaces of R n Subspaces Definition 7 A subset W of R n is said to be closed under vector addition if for all u, v W, u + v is also in W If rv is in W for all vectors v W and all scalars r

More information

Here are some examples of combining elements and the operations used:

Here are some examples of combining elements and the operations used: MATRIX OPERATIONS Summary of article: What is an operation? Addition of two matrices. Multiplication of a Matrix by a scalar. Subtraction of two matrices: two ways to do it. Combinations of Addition, Subtraction,

More information

Math 312 Homework 1 Solutions

Math 312 Homework 1 Solutions Math 31 Homework 1 Solutions Last modified: July 15, 01 This homework is due on Thursday, July 1th, 01 at 1:10pm Please turn it in during class, or in my mailbox in the main math office (next to 4W1) Please

More information

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

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. ( 1 1 5 2 0 6 Chapter 7 Matrices Definition An m n matrix is an array of numbers set out in m rows and n columns Examples (i ( 1 1 5 2 0 6 has 2 rows and 3 columns and so it is a 2 3 matrix (ii 1 0 7 1 2 3 3 1 is a

More information

MATH 551 - APPLIED MATRIX THEORY

MATH 551 - APPLIED MATRIX THEORY MATH 55 - APPLIED MATRIX THEORY FINAL TEST: SAMPLE with SOLUTIONS (25 points NAME: PROBLEM (3 points A web of 5 pages is described by a directed graph whose matrix is given by A Do the following ( points

More information

Matrix Representations of Linear Transformations and Changes of Coordinates

Matrix Representations of Linear Transformations and Changes of Coordinates Matrix Representations of Linear Transformations and Changes of Coordinates 01 Subspaces and Bases 011 Definitions A subspace V of R n is a subset of R n that contains the zero element and is closed under

More information

Similar matrices and Jordan form

Similar matrices and Jordan form Similar matrices and Jordan form We ve nearly covered the entire heart of linear algebra once we ve finished singular value decompositions we ll have seen all the most central topics. A T A is positive

More information

Solution of Linear Systems

Solution of Linear Systems Chapter 3 Solution of Linear Systems In this chapter we study algorithms for possibly the most commonly occurring problem in scientific computing, the solution of linear systems of equations. We start

More information

Methods for Finding Bases

Methods for Finding Bases Methods for Finding Bases Bases for the subspaces of a matrix Row-reduction methods can be used to find bases. Let us now look at an example illustrating how to obtain bases for the row space, null space,

More information

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

DETERMINANTS IN THE KRONECKER PRODUCT OF MATRICES: THE INCIDENCE MATRIX OF A COMPLETE GRAPH DETERMINANTS IN THE KRONECKER PRODUCT OF MATRICES: THE INCIDENCE MATRIX OF A COMPLETE GRAPH CHRISTOPHER RH HANUSA AND THOMAS ZASLAVSKY Abstract We investigate the least common multiple of all subdeterminants,

More information

Lecture Notes 2: Matrices as Systems of Linear Equations

Lecture Notes 2: Matrices as Systems of Linear Equations 2: Matrices as Systems of Linear Equations 33A Linear Algebra, Puck Rombach Last updated: April 13, 2016 Systems of Linear Equations Systems of linear equations can represent many things You have probably

More information

MA106 Linear Algebra lecture notes

MA106 Linear Algebra lecture notes MA106 Linear Algebra lecture notes Lecturers: Martin Bright and Daan Krammer Warwick, January 2011 Contents 1 Number systems and fields 3 1.1 Axioms for number systems......................... 3 2 Vector

More information

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes Solution by Inverse Matrix Method 8.2 Introduction The power of matrix algebra is seen in the representation of a system of simultaneous linear equations as a matrix equation. Matrix algebra allows us

More information

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written

More information

Numerical Analysis Lecture Notes

Numerical Analysis Lecture Notes Numerical Analysis Lecture Notes Peter J. Olver 6. Eigenvalues and Singular Values In this section, we collect together the basic facts about eigenvalues and eigenvectors. From a geometrical viewpoint,

More information

A note on companion matrices

A note on companion matrices Linear Algebra and its Applications 372 (2003) 325 33 www.elsevier.com/locate/laa A note on companion matrices Miroslav Fiedler Academy of Sciences of the Czech Republic Institute of Computer Science Pod

More information

Solutions to Math 51 First Exam January 29, 2015

Solutions to Math 51 First Exam January 29, 2015 Solutions to Math 5 First Exam January 29, 25. ( points) (a) Complete the following sentence: A set of vectors {v,..., v k } is defined to be linearly dependent if (2 points) there exist c,... c k R, not

More information