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

Similar documents
CHAPTER 8: Matrices and Determinants

1. In this problem, if the statement is always true, circle T; otherwise, circle F.

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

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

Linear Systems and Matrices

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

Lecture Notes in Linear Algebra

Name: MATH 3195 :: Fall 2011 :: Exam 2. No document, no calculator, 1h00. Explanations and justifications are expected for full credit.

This MUST hold matrix multiplication satisfies the distributive property.

Topic 15 Notes Jeremy Orloff

Lecture 10: Determinants and Cramer s Rule

Section Gaussian Elimination

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.

Chapter 2 Notes, Linear Algebra 5e Lay

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

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

No books, notes, any calculator, or electronic devices are allowed on this exam. Show all of your steps in each answer to receive a full credit.

Math 313 Chapter 1 Review

Introduction to Matrices and Linear Systems Ch. 3

Linear Algebra 1 Exam 1 Solutions 6/12/3

MODEL ANSWERS TO THE THIRD HOMEWORK

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

ANSWERS. Answer: Perform combo(3,2,-1) on I then combo(1,3,-4) on the result. The elimination matrix is

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

Solving Linear Systems Using Gaussian Elimination

Linear Algebra Math 221

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

MATH 1553 PRACTICE MIDTERM 3 (VERSION B)

det(ka) = k n det A.

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

INVERSE OF A MATRIX [2.2]

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

MIDTERM 1 - SOLUTIONS

Math 314H EXAM I. 1. (28 points) The row reduced echelon form of the augmented matrix for the system. is the matrix

Digital Workbook for GRA 6035 Mathematics

Determinants and Scalar Multiplication

and let s calculate the image of some vectors under the transformation T.

Extra Problems: Chapter 1

Math 240 Calculus III

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

Math Computation Test 1 September 26 th, 2016 Debate: Computation vs. Theory Whatever wins, it ll be Huuuge!

Section 6.2 Larger Systems of Linear Equations

Chapter 2. Square matrices

Math Linear Algebra Final Exam Review Sheet

Gauss-Jordan Row Reduction and Reduced Row Echelon Form

1300 Linear Algebra and Vector Geometry

Math 313 (Linear Algebra) Exam 2 - Practice Exam

4. Determinants.

MATH 1210 Assignment 4 Solutions 16R-T1

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

1 Last time: determinants

Chapter 1. Vectors, Matrices, and Linear Spaces

1 - Systems of Linear Equations

Chapter 4. Solving Systems of Equations. Chapter 4

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

MODEL ANSWERS TO THE FIRST QUIZ. 1. (18pts) (i) Give the definition of a m n matrix. A m n matrix with entries in a field F is a function

Inverting Matrices. 1 Properties of Transpose. 2 Matrix Algebra. P. Danziger 3.2, 3.3

Determinants by Cofactor Expansion (III)

CHAPTER 7: Systems and Inequalities

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

MTH 102A - Linear Algebra II Semester

Linear System Equations

Methods for Solving Linear Systems Part 2

Math 320, spring 2011 before the first midterm

4 Elementary matrices, continued

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

Calculating determinants for larger matrices

Math 54 HW 4 solutions

APPENDIX: MATHEMATICAL INDUCTION AND OTHER FORMS OF PROOF

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

Undergraduate Mathematical Economics Lecture 1

Matrices and systems of linear equations

Linear Algebra: Sample Questions for Exam 2

Lecture 8: Determinants I

Properties of the Determinant Function

Chapter 2: Matrices and Linear Systems

Elementary Linear Algebra

Evaluating Determinants by Row Reduction

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Solutions to Final Exam

MATH 15a: Linear Algebra Practice Exam 2

Elementary matrices, continued. To summarize, we have identified 3 types of row operations and their corresponding

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

1111: Linear Algebra I

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.

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

LINEAR ALGEBRA WITH APPLICATIONS

Homework Set #8 Solutions

Determinants Chapter 3 of Lay

SOLVING Ax = b: GAUSS-JORDAN ELIMINATION [LARSON 1.2]

1. Solve each linear system using Gaussian elimination or Gauss-Jordan reduction. The augmented matrix of this linear system is

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

Math 2030, Matrix Theory and Linear Algebra I, Fall 2011 Final Exam, December 13, 2011 FIRST NAME: LAST NAME: STUDENT ID:

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

MATH 300, Second Exam REVIEW SOLUTIONS. NOTE: You may use a calculator for this exam- You only need something that will perform basic arithmetic.

Lecture 2 Systems of Linear Equations and Matrices, Continued

1 Determinants. 1.1 Determinant

Notes on Row Reduction

4 Elementary matrices, continued

Transcription:

Review for Exam. Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions. x + y z = 2 x + 2y + z = 3 x + y + (a 2 5)z = a 2 The augmented matrix for this system is 2 3. Doing the a 2 5 a elementary row operations r 2 r 2 r 2 and r 3 r r 3, this becomes 2. To get the matrix in row echelon form, we want to a 2 4 a 2 divide row three by a 2 4, but we can only do this if a 2 4 so we need to consider the cases where a 2 4 = and a 2 4 separately. The case where a 2 4 = splits into two cases, a = 2 and a = 2 so we have three cases to consider. If a 2 4, then the row echelon form of the matrix is 2 2 a 2 a 2 4, y + 2z = and x + y z = 2. There This gives us the equations z = a 2 a 2 4 are leading ones in each column corresponding to the three variables an no equations that look like =, so there is one solution. In particular, it is z = a 2 2(a 2), x = 2 ( a 2 4 a 2 4 a 2 4 a 2 4 2 If a = 2, then the matrix is 2 so the equations are x + y z = 2, y + 2z =, =. There are infinitely many solutions as z canbe anything. + 3z In particular, the solutions are all vectors of the form 2z where z is z anything. If a = 2 then the matrix is which has no solutions. 2 2 4. and the last equation is = 4

Combining these results we get that the system has no solutions when a = 2, one solution when a 2, 2, and infinitely many solutions when a = 2. 2. Find the augmented matrix of each system of linear equations. Use Gaussian elimination or Gauss-Jordan reduction to solve the linear system. (a) y + 3z = x + 2z = 2x y + 7z = 4 The augmented matrix is 3 2 2 7 4. This can be gotten into row echelon form by doing the following row operations: r r 2, 2r + r 3 2 r 3, r 3 + r 2 r 3, r 6 3 r 3. The resulting matrix is 3. 3 We then proceed one of two different ways. One way to finish solving the problem is to write this as the equations x+2z =, y +3z =, z = 3. Using back substitution we get that y = + 9 =, x = + 6 = 7 7 so the solution is. 3 Another way to finish the problem is to do row operations to get the matrix in reduced row echelon form. The following row operations will get the matrix into reduced row echelon form: 3r 3 + r 2 r 2, 2r 3 + r r 7 and the resulting matrix is. The equations are x = 3 7 7, y =, z = 3 so the solution is. 3 (b) x + 3y z + w = 5 x 6y + 2z = 2x + w = 6 The augmented matrix is 3 5 6 2 2 6. The following elementary row operations will get a matrix in row echelon form: r + r 2 r 2, 2r + r 3 r 3, 9 r 2 r 2, 6r 2 + r 3 r 3, 3r 3 r 3. The resulting 2

matrix is 3 5 /3 /9 4/9 4. We see from here that w = 4. There is no leading one in the z column so z can be anything. To find y, use that y z + w = 4 so y = z. 3 9 9 3 Then x + 3y z + w = 5 so x 3y + 3y + 4 = 5 and x =. There are infinitely many solutions, they are all vectors of the form 3 z z 4 where z is anything. Alternatively, we could do the row operations r 9 3 + r 2 r 2, r 3 + r r, 3r 2 + r r to get the matrix in reduced row echelon form. The resulting matrix is /3 4 and y = z. So the solutions are vectors of the form 3 anything. This could also be written as all vectors of the form anything. (c) 2x + 3y + z w = x y + w = 2 4x + y + z + w = 4 6x + 3y 7z w = 2 The augmented matrix is 2 3 2 4 4 6 3 7 2. We again see that x =, w = 4, z 3 z where z is 4 y 3y 4 where y is. The row operations r r 2, 2r +r 2 r 2, 4r +r 3 r 3, 6r +r 4 r 4 give us the matrix 2 5 3 3 5 3 4. We can see looking at rows 2 and 3 that there 9 7 7 will not be any solutions because we cannot have 5y +z 3w equal to both 3 and 4. We can also see this by taking r 2 r 3 r 2. Then r 2 would 3

be [ ] and there are no solutions to the equation =. [ ] [ ] [ ] 2 4 2 3. Let A =, B =, C =. 3 Compute D = AB T + 2C 2. Which of the following terms describe D: diagonal, scalar, upper triangular, lower triangular, symmetric, skew symmetric, invertible. Circle all (if any) that apply. [ ] 2 AB T = [ ] 5. 5 4 3 = [ 2 5 5 2 ] and C 2 = [ ] so D = This matrix is symmetric and invertible. It is not diagonal, scalar, upper triangular, lower triangular, or skew symmetric. 4. Let A be an m n matrix with n > m (so A has more columns than rows). (a) Prove that the homogeneous linear system Ax = has infinite solutions. The system is homogeneous so it has at least one solution. Whether it has or infinite solutions will depend on if the columns of the RREF of A all contain leading ones. Let B be the RREF of A. The augmented matrix of the linear system is [A : ] and the RREF of this matrix is [B : ]. B is the same size as A so it has more columns then rows. There are at most m leading s (one per nonzero row) in B and there are n columns with n > m, so at least one columm of B does not contain a leading one. The variable corresponding to the column without a leading one is a free variable that can be anything so there will be infinite solutions. (b) What are the possible numbers of solutions to Ax = b? By the same argument as above, we know that the RREF of A has a least one column without a leading one, so we can rule out that the possibility of having one solution. The other two possibilities are or infinite. We will write down examples to show that both are possible. If A has more columns than rows, the linear system has more variables than equations. An example with no solutions would be x + y + z =, x + y + z = 2. An example with infinite solutions would be x + y =, z =. Therefore Ax = b can have or infinitely many solutions. 4

[ ] 2 5. Let A =. Determine if A is a linear combination of the matrices 3 4 [ ] [ ] [ ] B, C, D where B =, C =, D =. [ ] [ ] 2 We want to see if we can find real numbers b, c, d such that = b + [ ] [ ] [ ] 3 4 b + c d b c +d =. This gives us the system b+c d = c d, b = 2, c = 3, d = 4 which has solution b = 2, c = 3, d = 4 so [ ] [ ] [ ] [ ] 2 = 2 + 3 + 4. 3 4 Therefore A is a linear combination of B, C, and D. 2 y z 6. Let A = x. y + z Find all possible choices for the variables x, y, z for which A is in RREF. To be in RREF, the first nonzero entry of each nonzero row must be. This forces x to be or and y + z to be or. If x =, then it is a leading one and the other entries in column 2 must be, so y =. The,4 entry can be anything so this does not put any restrictions on z, but as y + z is or and y = we see that z has to be or. We have so far found two possibilities which are x =, y =, z = or x =, y =, z =. If x =, then the entry above it can be anything. But then the in the 2,4 position is a leading one so the other entries in column 4 must be so z =. Then as y + z is or and z = we get that y = or y =. This gives two more possibilities x =, y =, z = or x =, y =, z =. There are a total of 4 different wants to pick x, y, z. i) x =, y =, z = ii) x =, y =, z = iii) x =, y =, z = iv) x =, y =, z = 7. (a) Let A = 2, B = 3 4 5 7 5. Compute AB.

AB = 4 2 (b) Let C be an n n diagonal matrix with diagonal entries c, c 2,..., c n and D be an n n diagonal matrix with diagonal entries d, d 2,..., d n. Describe the matrix CD. CD is also n n and diagonal. The diagonal entries are c d, c 2 d 2,..., c n d n. (c) Determine if the following statement is true or false. If C and D are diagonal n n matrices then CD = DC. True. Use part (b). Both CD and DC are diagonal matrices. The entries on the diagonal of CD are c d, c 2 d 2,..., c n d n and the entries on the diagonal of DC are d c, d 2 c 2,..., d n c n. The c i and d i are just numbers so c i d i = d i c i for all i and the entries of CD and DC are all equal. 8. Determine if each statement is true or false. If it is true give a proof. If it is false find a counterexample. (a) If v is a solution to the linear system Ax = b, then 5v is also a solution to Ax = b. False. If v is a solution to the linear system Ax = b, then Av = b. Then A(5v) = 5(Av) = 5b. This is not equal to b unless b =, so this fails for any consistent linear system which is not homogeneous. (b) If A is an n n matrix and A k = I n for some positive integer k, then A is invertible. TRUE. Suppose A k = I n. If k =, then A = I n so A is invertible. If k >, then we can rewrite A k as A k A or AA k so we see that AA k = A k A = I n so A has inverse A k. Another way to prove this is using determinants. If A k = I n, then det(a) k = so det(a) =,. As det(a), A is invertible. (c) If A is an invertible n n matrix, then A k = I n for some positive integer k. False. For example, the matrix 2I is invertible (it has inverse I), but 2 (2I) k = 2 k I which does not equal I for any positive integer k. (d) If A is an n n matrix with det(a) = 3, then det(a 2 A) = 6. False. There is no nice property for the determinant of a difference of matrices, so there [ is ] no way to find det(a 2 A) from [ just det(a). ] For 3 6 example if A =, then det(a) = 3 but A 2 A = which has determinant, not 6. 6

9. Find the inverse of A or show that A is not invertible. 2 (a) A = 2 3 3 4 5 2 Start with the partitioned matrix 2 3. Perform the following 3 4 5 row operations: 2r +r 2 r 2, 3r +r 3 r 3, r 2 r 3, r 4 2 r 2, r 3 r 3, r 4 3 + r 2 r 2, and 2r 3 + r r. 3 2 The resulting matrix is /4 /4 /4, so the inverse of 2 3 2 is A = /4 /4 /4. 2 7 5 (b) A = 3 2 5 3 2 7 5 Start with the partitioned matrix 3 2. If we do the 5 3 2 row operations 3r + r 2 r 2, 5r + r 3 r 3, and r 2 + r 3 r 3 we 7 5 get 22 3 3. We can stop here because A is row 2 equivalent to matrix with a row of zeros so the RREF of A is not going to be I 3 and A is not invertible. (c) A = 3 4 2 Start with the partitioned matrix 3 4. Perform 2 the following row operations: 2r + r 4 r 4, r 2 r 3, 3r 2 + r 3 r 3, r 3 r 4, r 2 3 r 3, 2 4 r 4, r 2 4 + r 3 r 3, 4r 4 + r 2 r 2, and r 3 + r r. 7

The resulting matrix is inverse of is A = 24 /24 /8 /2 /3 /24 /8 /2 /2 /4 3 2 8 24 3 2 2 6., so the. Let A be an n n matrix such that the n-th row is a linear combination of rows through n. Prove that A is not invertible. Row n is a linear combination of rows through n so there are constants k,..., k n such that r n = k r + k 2 r 2 +... + k n r n (where r, r 2,..., r n are the rows of A). If we do the following type three row operations r n k r r n, r n k 2 r 2 r n,..., r n k n r n r n, then the resulting matrix has an n-th row which consists of all zeros. The determinant was not changed by the type three row operations and any matrix with a row of zeros has determinant, so det(a) = and A is not invertible.. Let A be a 4 4 matrix. Suppose that 2 3 is a solution to Ax =. What is 4 det(a)? A is a square matrix, so we can use the theorem which lists the conditions which are equivalent to A being invertible. If A was invertible, then Ax = would have only the trivial solution. As it has a nontrivial solution, A cannot be invertible so det(a) =. 2. Suppose A is a 3 3 matrix with det(a) = 6. Compute the determinant of the following matrices. (a) A 3 det(a 3 ) = det(a) 3 = 26 (b) 2A det(2a) = 2 3 det(a) = (8)(6) = 48 (c) (A T ) det((a T ) ) = / det(a T ) = / det(a) = /6. 3. Suppose A and B are invertible 3 3 matrices and AB T = 2B 2. If det(a) = 5, what is det(b)? 8

det(ab T ) = det(2b 2 ). The left side is det(ab T ) = det(a) det(b T ) = det(a) det(b) = 5 det(b). The right side is det(2b 2 ) = 2 3 det(b 2 ) = 8 det(b) det(b) = 8 det(b) 2. This gives us the equation 5 det(b) = 8 det(b) 2. There are two possible solutions to this equation, det(b) = 5/8 or det(b) =, but B is invertible so det(b) and thus det(b) = 5/8. 4. Compute the determinant of A. [ ] 3 (a) A = 2 5 For 2 2 matrixes, the determinant is a a 22 a 2 a 2 so det(a) = (3)(5) ( )(2) = 7. (b) A = 2 5 2 3 There are a lot of different methods that can be used to find this determinant. For review purposes we will go over all of them. On an exam, you can use whatever method you find easiest. Time permitting, you may want to use more than one method as a check. Method : Using the definition of determinant. There are two ways to pick 3 nonzero entries so that we have exactly one from each row and column. We can take the 5 from column, the from column 2, and the 3 from column 3 or we can take the 5 from column, the - from column 2, and the -2 from column 3. The first choice of three entries corresponds to the permutation 23 which has inversion so is odd. The second choice corresponds to the permutation 32 which has 2 inversions so is even. The determinant is therefore (5)()(3) + (5)( )( 2) = 5. Method 2: Reduction to triangular form. The row operations r r 2, 5 2 r 3 + r 2 r 3 will give you the upper triangular matrix 2. The determinant of an upper triangular matrix is the product of its diagonal entries so this matrix has determinant (5)()() = 5. The first row operation was type so it swapped the sign of the determinant and the second was type 3 so it does not change the determinant so the determinant of the original matrix A is 5. Method 3: Cofactor Expansion. Using cofactor ([ expansion ]) along the first 2 column, we get that det(a) = 5 det = 5(()(3) 3 9

( 2)( )) = 5. Method 4: We can also use the trick for 3 3 matrices where we repeat the first and second column next to A. See Example 8 in Section 3. for a more detailed explanation of this method. (c) A = 6 3 4 7 5 8 2 9 Method : Using the definition of determinant. We are looking for ways to pick out 4 nonzero entries so that we have exactly one from each row and each column. In column 2 we must take the second entry. In column 3, we cannot take the second entry since we already have something from row 2 so we must take the 3rd entry. Then we can either take the first entry from the first column and fourth entry from the fourth column, or we can take the fourth entry from column and the first entry from column 4. We see that the determinant has 2 nonzero terms which are a a 22 a 33 a 44 = ()(3)(5)(9) = 35 and a 4 a 22 a 33 a 4 = (6)(3)(5)(2) = 8. We also need to determine the sign ± to go along with each term. The first term corresponds to the permutation 234 which has no inversions so is even and gets a +. The second term corresponds to 423 which has inversions 42, 43, 4, 2, 3 so it has 5 inversions and is odd and gets a. Hence det(a) = 35 8 = 45. Method 2: Reduction to triangular form. The single row operation r 4 6 2r r 4 will result in the upper triangular matrix 3 4 7 5 8. The 3 determinant of an upper triangular matrix is the product of the diagonal entries so this matrix has determinant ()(3)(5)( 3) = 45. As the row operation we did was a type 3 row operation, it does not change the determinant and hence det(a) is also 45. Method 3: Cofactor expansion. Using cofactor expansion along the second 6 column we get det(a) = 3 det 5 8. Expanding along the first [ ([ ]) 2 ([ 9 ])] 5 8 5 row, this is 3 det + 6 det = 3(45 + 6) = 9 2 3( 5) = 45. Of course, you can also use a combination of methods. For example, you

could use cofactor expansion to get down to 3 3 matrices then use the trick for 3 3 matrices to compute the 3 3 determinants. 2 6 8 5. The matrix A = 3 9 4 is invertible. Find all solutions to the following linear 5 7 systems. (a) A x = b where b = 2 If we multiply A x = b by A, we get x = Ab is the only solution. This 2 is Ab = 5 6. (b) Ax = A is invertible so the only solution is the trivial solution, x = =.