MH1200 Final 2014/2015

Similar documents
MATH 2360 REVIEW PROBLEMS

Math Linear Algebra Final Exam Review Sheet

Linear algebra and differential equations (Math 54): Lecture 7

Final Examination 201-NYC-05 December and b =

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

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

ANSWERS. E k E 2 E 1 A = B

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES


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

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

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

1300 Linear Algebra and Vector Geometry

Online Exercises for Linear Algebra XM511

Determinants: Uniqueness and more

R b. x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 1 1, x h. , x p. x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9

1 Last time: determinants

Homework Set #8 Solutions

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

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

This MUST hold matrix multiplication satisfies the distributive property.

Math 1553 Introduction to Linear Algebra

Math 215 HW #9 Solutions

18.06SC Final Exam Solutions

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

Matrices. Ellen Kulinsky

Matrices. Ellen Kulinsky

Conceptual Questions for Review

det(ka) = k n det A.

CS227-Scientific Computing. Lecture 4: A Crash Course in Linear Algebra

NAME MATH 304 Examination 2 Page 1

REVIEW FOR EXAM II. The exam covers sections , the part of 3.7 on Markov chains, and

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

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

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

Math Lecture 26 : The Properties of Determinants

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Math 369 Exam #2 Practice Problem Solutions

Gaussian Elimination and Back Substitution

MATH10212 Linear Algebra B Homework 6. Be prepared to answer the following oral questions if asked in the supervision class:

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.

Numerical Linear Algebra

Matrix Factorization and Analysis

MA 265 FINAL EXAM Fall 2012

Lecture Summaries for Linear Algebra M51A

(a) If A is a 3 by 4 matrix, what does this tell us about its nullspace? Solution: dim N(A) 1, since rank(a) 3. Ax =

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

Math 20F Practice Final Solutions. Jor-el Briones

Chapter 3. Directions: For questions 1-11 mark each statement True or False. Justify each answer.

Solution Set 4, Fall 12

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

MATH 369 Linear Algebra

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

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

Matrices and Matrix Algebra.

Math 54 HW 4 solutions

CS412: Lecture #17. Mridul Aanjaneya. March 19, 2015

Linear Systems and Matrices

CPE 310: Numerical Analysis for Engineers

Solution Set 7, Fall '12

Notes on Linear Algebra

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

MTH 464: Computational Linear Algebra

8 Square matrices continued: Determinants

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

Linear Algebra 1 Exam 1 Solutions 6/12/3

Extra Problems for Math 2050 Linear Algebra I

Solution to Homework 1

MATH 323 Linear Algebra Lecture 12: Basis of a vector space (continued). Rank and nullity of a matrix.

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

Study Guide for Linear Algebra Exam 2

INVERSE OF A MATRIX [2.2]

MAT Linear Algebra Collection of sample exams

MA 527 first midterm review problems Hopefully final version as of October 2nd

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

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

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4

Chapter 4. Solving Systems of Equations. Chapter 4

4 Elementary matrices, continued

Linear Algebra, Summer 2011, pt. 2

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

Math 344 Lecture # Linear Systems

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

Linear Algebra Primer

1. Select the unique answer (choice) for each problem. Write only the answer.

MATH10212 Linear Algebra B Homework 7

MATH 225 Summer 2005 Linear Algebra II Solutions to Assignment 1 Due: Wednesday July 13, 2005

Row Space and Column Space of a Matrix

The definition of a vector space (V, +, )

Review of Matrices and Block Structures

Matrices and systems of linear equations

5.6. PSEUDOINVERSES 101. A H w.

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Computational Methods. Systems of Linear Equations

Vector Spaces. 9.1 Opening Remarks. Week Solvable or not solvable, that s the question. View at edx. Consider the picture

Section 2.2: The Inverse of a Matrix

Math Lecture 27 : Calculating Determinants

Determinants An Introduction

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

Transcription:

MH200 Final 204/205 November 22, 204 QUESTION. (20 marks) Let where a R. A = 2 3 4, B = 2 3 4, 3 6 a 3 6 0. For what values of a is A singular? 2. What is the minimum value of the rank of A over all a R? 3. Let b = 4. 0 For what values of a does Ax = b have infinitely many solutions? 4. Find a lower triangular matrix L and an upper triangular matrix U such that B = LU. Solution. We do Gaussian elimination on A and go ahead and record the elementary matrices which will be needed in part (4) 2 3 4 0 2. 3 6 a 0 3 a 3 This is accomplished by adding 2 times row to row 2 and adding 3 times row to row 3. The corresponding elementary matrices are 0 0 0 0 E = 2 0, E 2 = 0 0 0 0 3 0

Continuing, we next add 3 times row 2 to row 3 This corresponds to the elementary matrix 0 0 E 3 = 0 0 0 3 and brings our matrix in row echelon form 0 2 0 2. 0 3 a 3 0 0 a 9 Now we can see that if a = 9 the matrix will have an all zero row. From here we can say many things the rank will be 2 and so won t be full, it has a free column thus Ax = 0 has infinitely solutions, or it has zero determinant to conclude that it is singular. If a 9 then the matrix has 3 pivots thus it will be full rank, will have nonzero determinant, does not have a free column, etc. and so is invertible. 2. No matter what a is there will be two nonzero pivots, thus the minimum value of the rank is 2. 3. Now we do the same row operations we did above on b which gives 4 2 2 0 7 If a 9 then we saw above that the matrix is invertible, thus Ax = b will not have infinitely many solutions. If a = 9 then the system is inconsistent as the third coordinate of the reduced form of b is nonzero, whereas the third row of the reduced form of A is all zero. Thus for no values of a does Ax = b have infinitely many solutions. 4. When the (3, 3) entry of A is set to 0 (so that it equals B) the reduced form above becomes U = 0 2 0 0 We thus have E 3 E 2 E A = U and so A = E E2 E3 U. The product E E2 E3 will be lower triangular and will form our L. 0 0 0 0 0 0 0 0 L = 2 0 0 0 0 0 = 2 0 0 0 3 0 0 3 3 3 It can be checked that B = LU. 2

QUESTION 2. (20 marks). Give an example of a 3-by-3 matrix with every entry either 0 or whose determinant is 2. Show that this is the largest possible value of the determinant of a 3-by-3 matrix with every entry either 0 or. 2. Let A be a 3-by-3 matrix where every entry is either 0 or and det(a) 0. What is the largest number of s that A can have? Give an example, and show that it is optimal. 3. Let A be a 3-by-3 matrix that is skew-symmetric. This means that A(i, j) = A(j, i) for all i, j 3, or equivalently A = A T. Show that det(a) = 0. 4. Let A, B be n-by-n matrices. Let 0 n n be the all zero matrix of size n. Show that ([ ]) A 0n n det = det(a) det(b) 0 n n B Solution. Consider a 3-by-3 matrix a b c A = d e f. g h i Using the Big Formula, we see the determinant of A is det(a) = aei + bfg + cdh afh bdi ceg. () Each term in this sum is either 0 or. If all of a, b, c,..., i are equal to, then the matrix has identical rows and the determinant is 0. Otherwise, at least one of a, b, c,..., i is equal to zero. Every letter appears twice in (), once positively and once negatively. Thus if some entry is zero, then at most 4 terms in () will be nonzero, two occurring positively and two negatively. Now as each product of three letters is either 0 or, the negative terms cannot increase the sum, thus the sum is at most 2. This reasoning also tells us how to construct an example. Some entry must be zero, let s choose i. Then the determinant becomes bfg + cdh aft ceg. Now we have to choose b = f = g = c = d = h = and can set the remaining variables to zero a = e = 0. This gives the matrix 0 0. 0 We can double check that the determinant is indeed 2. 3

2. Let s start with as many ones as possible, the all ones matrix. A =. This has zero determinant because two rows are the same. Now we further see if we only change one entry to a zero, the determinant will still be zero because there will be two rows that are the same, both all one rows. Thus we have to change at least two entries to zeros. Can we achieve a nonzero determinant with a matrix that has two zeros? Let s try A = 0. 0 Now we can check the determinant of this matrix is so it works. Thus there is a 3-by-3 zero/one matrix with 7 ones and nonzero determinant, and this is the largest possible. 3. We have det(a) = det(a T ) = det( A) = ( ) 3 det(a). This means det(a) = det(a) hence det(a) = 0. 4. As done with some theorems about determinant in lecture, we can prove this one by starting with simple matrices and building are way up. Let s give the 2n-by-2n matrix with diagonal blocks of A and B in the question a name, call it C. First, suppose that both A and B are upper triangular then det(a) is just the product of the diagonal entries of A and similarly for B. If both A, B are upper triangular, then C is upper triangular as well. Thus det(c) will be the product of its diagonal entries, which is equal to det(a) det(b). The same argument works if A, B are lower triangular. We have thus answered the question in two important special cases. Now consider the case were both A, B are permutation matrices. In this case, C is also a permutation matrix thus its determinant will be + or. Moreover the row swaps to change C to the identity are simply the row swaps to change A to I n followed by the row swaps to change B to I n. Thus the total number of row swaps will be odd iff exactly one of det(a), det(b) is. This shows det(c) = det(a) det(b). Having shown these two special cases, we can solve the general case by using LU decomposition with the product formula for determinant. Let P A A = L A U A and P B B = L B U B, where the P s are permutation matrices, the L s are lower triangular, and the U s are upper triangular. Note that this means A = PA T L AU A and so det(a) = det(pa T ) det(l A) det(u A ), and similarly for det(b). We can use these decompositions to write the matrix we are interested in as a product of determinants we can compute. [ ] [ ] [ ] [ ] A 0n n P T = A 0 n n LA 0 n n UA 0 n n 0 n n B 0 n n PB T 0 n n L B 0 n n U B 4

By the product formula, together with our arguments above, the determinant on the right is det(p T A ) det(l A ) det(r A ) det(p T B ) det(l B ) det(r B ) = det(a) det(b). 5

QUESTION 3. (30 marks) Suppose that Ax = b reduces by the usual row operations to Ux = c where x 2 4 6 8 Ux = 0 0 4 4 x 2 b x 0 0 0 0 3 = b 2 b = c b x 3 2b 2 + b 4. Give a condition on b for Ax = b to have a solution. 2. Give a basis for the column space of A. 3. Is the column space of A the same as that for U? Justify your answer. 4. Give a basis for the nullspace of A. 5. Give a basis for the row space of A. 6. If C is a 3-by-4 matrix of rank, what are the possible values of the rank of A + C? Solution:. The system will be consistent if and only if b 3 2b 2 + b = 0. 2. For this question, we have to work backwards to find A. As the second coordinate of c is b 2 b the first operation of Gaussian elimination must have been to add times the first row of A to the second. Let s see what happened to the third row. If we add a times the first row to the third row to eliminate the (3, ) entry of A then the third coordinate of the right hand side becomes b 3 + ab. In the next step we add a multiple d times the second row to the third row, which changes the third coordinate of the right hand side to b 3 + ab + d(b 2 b ). Simplifying, this is b 3 + db 2 + (a d)b. Equating this to c we find d = 2 and a =. Thus the steps in Gaussian elimination were: ) add times the first row to the second, 2) add times the first row to the third, 3) add -2 times the second row to the third. Reversing these operations we find 2 4 6 8 A = 2 4 0 2 2 4 4 6 With all that done, we note that the first and third columns of U are pivot columns, thus the first and third columns of A will be a basis for the column space {(2, 2, 2), (6, 0, 4)} 6

3. The column space of A is not the same as that of U. For example the column space of A contains (2, 2, 2) whereas every vector in the column space of U will have third coordinate zero. 4. Elementary row operations do not change the nullspace, thus we can find a basis for the row space using U. The free columns are columns 2, 4. The special solutions corresponding to these free columns will be a basis for the row space. The special solution corresponding to column 4 is (, 0,, ) and the special solution corresponding to column 2 is ( 2,, 0, 0). Thus a basis for the nullspace is {( 2,, 0, 0), (, 0,, )}. 5. The row space of A will be the same as that for U, thus a basis for the row space of A is {[2, 4, 6, 8], [0, 0, 4, 4]}. 6. The possible values of the rank of A + C are 3, 2,. We know that A = EU for an invertible matrix E (a product of elementary matrices). If a matrix D is rank one, then ED will be rank one as well, as elementary row operations do not change the row space, and for the same reason U + D will have the same rank as EU + ED = A + ED which is A plus a rank one matrix. Thus we can think about the rank of A + C simply by studying U + D for a rank one matrix D. We can see that each of, 2, 3 are achievable as the rank of U + D by letting D = 4E 2,3 4E 24, D = E, D = E 44 respectively, where E ij is the 3-by-4 matrix with a in position (i, j) and zeros elsewhere. Finally, these are the only values that are achievable. We showed in lecture 3B that rank(x+ Y ) rank(x)+rank(y ) for any two matrices X, Y. This means rank(u +D) rank(u)+ rank(d) 3. Also rank(u) rank( D) + rank(u + D) meaning that rank(u + D). 7

QUESTION 4. (30 marks). Consider the subset S of R 3 defined as S = {(x, y, z) : x + y + z }. Is S a subspace? Justify your answer. 2. Consider the subset S of R 3 of all vectors (x, y, z) such that x+y+z = 0 OR x+2y+3z = 0. Is S a subspace? Justify your answer. 3. Show that if S and T are subspaces of a vector space V, then U = {s + t : s S, t T } is a subspace as well. 4. Let A, B be two matrices with the same number of columns. Describe the nullspace of the matrix [ ] A B in terms of the nullspaces of A and B. 5. Let S be the set of all 3-by-3 matrices A that are skew-symmetric, that is that satisfy A = A T. Show that S is a subspace of the vector space of 3-by-3 matrices and determine its dimension. 6. Let S be the subspace of 3-by-3 skew-symmetric matrices as in part (5). Let T be the subspace of all 3-by-3 matrices that are symmetric. Determine the dimension of the intersection of T and S and the dimension of the span of the union of T and S. Solution. It is not a subspace, (, 0, 0), (0,, 0) S but (, 0, 0) + (0,, 0) = (,, 0) S. 2. It is not a subspace, (, 0, ) S (satisfies the first equation) and (2,, 0) S but (, 0, ) + (2,, 0) = (3,, ) S. 3. We check the three conditions. As S, T are subspaces, 0 S and 0 T thus 0+0 = 0 U. If s + t U then c(s + t) = cs + ct U since cs S, ct T as they are subspaces. Finally, if s + t, s 2 + t 2 U then s + t + s 2 + t 2 = (s + s 2 ) + (t + t 2 ) U since s + s 2 S, t + t 2 T as they are subspaces. 4. If a vector x is in the nullspace of this matrix then Ax = 0 AND Bx = 0. Thus the nullspace of this matrix is the intersection of the nullspaces of A and B. 5. We check the three conditions of being a subspace. The all zero matrix 0 3 3 = 0 T 3 3 thus it is in S. If A S then ca = c( A T ) = c(a T ) so ca S. 8

Finally, if A, B S then A + B = A T B T = (A + B) T thus A + B S. Now we find a basis. The subspace S is defined by a system of homogenous linear equations in the matrix entries. The general solution is 0 a b a 0 c. (2) b c 0 By separation of free parameters, we obtain a basis for S 0 0 0 0 0 0 0 0 0, 0 0 0, 0 0. 0 0 0 0 0 0 0 These matrices clearly span any matrix of the form in (2) and are linearly independent as each one is nonzero in an entry where all the others are zero. Thus they form a basis and the dimension of S is 3. 6. If a matrix is both symmetric and skew-symmetric then A = A T = A, so A is the all zero matrix. Thus the dimension of S T is zero. We claim that any 3-by-3 matrix is in the span of the union of S and T. Take any 3-by-3 matrix A. Then A = 2 (A + AT ) + 2 (A AT ). As A + A T is symmetric and A A T is skew-symmetric, their sum will be in the span of the union of S and T. This shows that the span of S T is equal to M(3, 3) the set of all 3-by-3 matrices and so has dimension 9. 9