MATH 304 Linear Algebra Lecture 20: Review for Test 1.

Similar documents
MATH 304 Linear Algebra Lecture 10: Linear independence. Wronskian.

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

Row Space, Column Space, and Nullspace

MATH 2360 REVIEW PROBLEMS

Lecture 22: Section 4.7

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

CSL361 Problem set 4: Basic linear algebra

MAT 242 CHAPTER 4: SUBSPACES OF R n

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

Math 369 Exam #2 Practice Problem Solutions

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Chapter 1 Vector Spaces

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

Chapter 3. Vector spaces

MTH 362: Advanced Engineering Mathematics

Math 4377/6308 Advanced Linear Algebra

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

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

Carleton College, winter 2013 Math 232, Solutions to review problems and practice midterm 2 Prof. Jones 15. T 17. F 38. T 21. F 26. T 22. T 27.

Elementary maths for GMT

NAME MATH 304 Examination 2 Page 1

MATH 260 LINEAR ALGEBRA EXAM II Fall 2013 Instructions: The use of built-in functions of your calculator, such as det( ) or RREF, is prohibited.

MATH 423 Linear Algebra II Lecture 12: Review for Test 1.

Math 54 HW 4 solutions

Chapter 7. Linear Algebra: Matrices, Vectors,

Lecture 7: Introduction to linear systems

SECTION 3.3. PROBLEM 22. The null space of a matrix A is: N(A) = {X : AX = 0}. Here are the calculations of AX for X = a,b,c,d, and e. =

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

APPENDIX: MATHEMATICAL INDUCTION AND OTHER FORMS OF PROOF

Linear Algebra 1 Exam 2 Solutions 7/14/3

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

Algorithms to Compute Bases and the Rank of a Matrix

MAT Linear Algebra Collection of sample exams

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

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Linear Algebra I Lecture 8

MATH Topics in Applied Mathematics Lecture 2-6: Isomorphism. Linear independence (revisited).

Study Guide for Linear Algebra Exam 2

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #1. July 11, 2013 Solutions

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

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

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

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

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

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

System of Linear Equations

SUMMARY OF MATH 1600

Worksheet for Lecture 15 (due October 23) Section 4.3 Linearly Independent Sets; Bases

Advanced Linear Algebra Math 4377 / 6308 (Spring 2015) March 5, 2015

Math Linear Algebra Final Exam Review Sheet

Chapter 1. Vectors, Matrices, and Linear Spaces

Math 1314 Week #14 Notes

Online Exercises for Linear Algebra XM511

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Vector Spaces 4.4 Spanning and Independence

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

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Linear Algebra. Linear Algebra. Chih-Wei Yi. Dept. of Computer Science National Chiao Tung University. November 12, 2008

Linear Algebra. and

Math 4377/6308 Advanced Linear Algebra

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

3.4 Elementary Matrices and Matrix Inverse

Linear Algebra (Math-324) Lecture Notes

Review for Exam 2 Solutions

EXAM. Exam #2. Math 2360 Summer II, 2000 Morning Class. Nov. 15, 2000 ANSWERS

A = 1 6 (y 1 8y 2 5y 3 ) Therefore, a general solution to this system is given by

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

Chapter 2. Error Correcting Codes. 2.1 Basic Notions

Lecture 21: 5.6 Rank and Nullity

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

MA 265 FINAL EXAM Fall 2012

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

Linear independence, span, basis, dimension - and their connection with linear systems

Math 1553, Introduction to Linear Algebra

DEF 1 Let V be a vector space and W be a nonempty subset of V. If W is a vector space w.r.t. the operations, in V, then W is called a subspace of V.

MATH 3321 Sample Questions for Exam 3. 3y y, C = Perform the indicated operations, if possible: (a) AC (b) AB (c) B + AC (d) CBA

Worksheet for Lecture 15 (due October 23) Section 4.3 Linearly Independent Sets; Bases

Math 4377/6308 Advanced Linear Algebra

Lecture 18: The Rank of a Matrix and Consistency of Linear Systems

Abstract Vector Spaces

Math 307: Problems for section 2.1

Lecture Summaries for Linear Algebra M51A

SYMBOL EXPLANATION EXAMPLE

MTH 309 Supplemental Lecture Notes Based on Robert Messer, Linear Algebra Gateway to Mathematics

We see that this is a linear system with 3 equations in 3 unknowns. equation is A x = b, where

MATH 1120 (LINEAR ALGEBRA 1), FINAL EXAM FALL 2011 SOLUTIONS TO PRACTICE VERSION

Reduction to the associated homogeneous system via a particular solution

This paper is not to be removed from the Examination Halls

Lecture 11: Vector space and subspace

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

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

MATH 167: APPLIED LINEAR ALGEBRA Chapter 2

EXAM. Exam #3. Math 2360 Fall 2000 Morning Class. Nov. 29, 2000 ANSWERS

Lecture 6: Spanning Set & Linear Independency

Math 3191 Applied Linear Algebra

Test 3, Linear Algebra

Relationships Between Planes

Math 314H Solutions to Homework # 3

Transcription:

MATH 304 Linear Algebra Lecture 20: Review for Test 1.

Topics for Test 1 Part I: Elementary linear algebra (Leon 1.1 1.4, 2.1 2.2) Systems of linear equations: elementary operations, Gaussian elimination, back substitution. Matrix of coefficients and augmented matrix. Elementary row operations, row echelon form and reduced row echelon form. Matrix algebra. Inverse matrix. Determinants: explicit formulas for 2 2 and 3 3 matrices, row and column expansions, elementary row and column operations.

Topics for Test 1 Part II: Abstract linear algebra (Leon 3.1 3.6) Vector spaces (vectors, matrices, polynomials, functional spaces). Subspaces. Nullspace, column space, and row space of a matrix. Span, spanning set. Linear independence. Bases and dimension. Rank and nullity of a matrix. Change of coordinates, transition matrix.

Sample problems for Test 1 Problem 1 (20 pts.) Find the point of intersection of the planes x + 2y z = 1, x 3y = 5, and 2x + y + z = 0 in R 3. 1 2 4 1 Problem 2 (30 pts.) Let A = 2 3 2 0 2 0 1 1. 2 0 0 1 (i) Evaluate the determinant of the matrix A. (ii) Find the inverse matrix A 1.

Problem 3 (20 pts.) Determine which of the following subsets of R 3 are subspaces. Briefly explain. (i) The set S 1 of vectors (x,y,z) R 3 such that xyz = 0. (ii) The set S 2 of vectors (x,y,z) R 3 such that x + y + z = 0. (iii) The set S 3 of vectors (x,y,z) R 3 such that y 2 + z 2 = 0. (iv) The set S 4 of vectors (x,y,z) R 3 such that y 2 z 2 = 0. 0 1 4 1 Problem 4 (30 pts.) Let B = 1 1 2 1 3 0 1 0. 2 1 0 1 (i) Find the rank and the nullity of the matrix B. (ii) Find a basis for the row space of B, then extend this basis to a basis for R 4.

Bonus Problem 5 (20 pts.) Show that the functions f 1 (x) = x, f 2 (x) = xe x, and f 3 (x) = e x are linearly independent in the vector space C (R). Bonus Problem 6 (20 pts.) Let V and W be subspaces of the vector space R n such that V W is also a subspace of R n. Show that V W or W V.

Problem 1. Find the point of intersection of the planes x + 2y z = 1, x 3y = 5, and 2x + y + z = 0 in R 3. The intersection point (x, y, z) is a solution of the system x + 2y z = 1, x 3y = 5, 2x + y + z = 0. To solve the system, we convert its augmented matrix into reduced row echelon form using elementary row operations: 1 2 1 1 1 3 0 5 1 2 1 1 0 5 1 6 2 1 1 0 2 1 1 0

1 2 1 1 0 5 1 6 1 2 1 1 0 5 1 6 1 2 1 1 0 3 3 2 2 1 1 0 0 3 3 2 0 5 1 6 1 2 1 1 1 2 1 1 1 2 1 1 2 0 1 1 2 3 0 1 1 3 0 1 1 2 3 0 5 1 6 0 0 4 8 0 0 1 2 3 3 1 2 1 1 1 2 0 5 1 0 0 1 3 0 1 0 4 3 0 1 0 4 4 3 0 1 0 3. 0 0 1 2 3 0 0 1 2 2 0 0 1 3 3 Thus the three planes intersect at the point ( 1, 4 3, 2 3 ).

Problem 1. Find the point of intersection of the planes x + 2y z = 1, x 3y = 5, and 2x + y + z = 0 in R 3. Alternative solution: The intersection point (x, y, z) is a solution of the system x + 2y z = 1, x 3y = 5, 2x + y + z = 0. Add all three equations: 4x = 4 = x = 1. Substitute x = 1 into the 2nd equation: = y = 4 3. Substitute x = 1 and y = 4 into the 3rd equation: 3 = z = 2. 3 It remains to check that x = 1, y = 4, z = 2 3 3 solution of the system. is indeed a

1 2 4 1 Problem 2. Let A = 2 3 2 0 2 0 1 1. 2 0 0 1 (i) Evaluate the determinant of the matrix A. Subtract 2 times the 4th column of A from the 1st column: 1 2 4 1 1 2 4 1 2 3 2 0 2 0 1 1 = 2 3 2 0 0 0 1 1. 2 0 0 1 0 0 0 1

Expand the determinant by the 4th row: 1 2 4 1 2 3 2 0 1 2 4 0 0 1 1 = 2 3 2 0 0 0 1 0 0 1. Expand the determinant by the 3rd row: 1 2 4 2 3 2 0 0 1 = ( 1) 1 2 2 3 = 1.

1 2 4 1 Problem 2. Let A = 2 3 2 0 2 0 1 1. 2 0 0 1 (ii) Find the inverse matrix A 1. First we merge the matrix A with the identity matrix into one 4 8 matrix 1 2 4 1 1 0 0 0 (A I) = 2 3 2 0 0 1 0 0 2 0 1 1 0 0 1 0. 2 0 0 1 0 0 0 1 Then we apply elementary row operations to this matrix until the left part becomes the identity matrix.

Subtract 2 times the 1st row from the 2nd row: 1 2 4 1 1 0 0 0 0 7 6 2 2 1 0 0 2 0 1 1 0 0 1 0 2 0 0 1 0 0 0 1 Subtract 2 times the 1st row from the 3rd row: 1 2 4 1 1 0 0 0 0 7 6 2 2 1 0 0 0 4 9 1 2 0 1 0 2 0 0 1 0 0 0 1 Subtract 2 times the 1st row from the 4th row: 1 2 4 1 1 0 0 0 0 7 6 2 2 1 0 0 0 4 9 1 2 0 1 0 0 4 8 1 2 0 0 1

Subtract 2 times the 4th row from the 2nd row: 1 2 4 1 1 0 0 0 0 1 10 0 2 1 0 2 0 4 9 1 2 0 1 0 0 4 8 1 2 0 0 1 Subtract the 4th row from the 3rd row: 1 2 4 1 1 0 0 0 0 1 10 0 2 1 0 2 0 0 1 0 0 0 1 1 0 4 8 1 2 0 0 1 Add 4 times the 2nd row to the 4th row: 1 2 4 1 1 0 0 0 0 1 10 0 2 1 0 2 0 0 1 0 0 0 1 1 0 0 32 1 6 4 0 7

Add 32 times the 3rd row to the 4th row: 1 2 4 1 1 0 0 0 0 1 10 0 2 1 0 2 0 0 1 0 0 0 1 1 0 0 0 1 6 4 32 39 Add 10 times the 3rd row to the 2nd row: 1 2 4 1 1 0 0 0 0 1 0 0 2 1 10 12 0 0 1 0 0 0 1 1 0 0 0 1 6 4 32 39 Add the 4th row to the 1st row: 1 2 4 0 7 4 32 39 0 1 0 0 2 1 10 12 0 0 1 0 0 0 1 1 0 0 0 1 6 4 32 39

Add 4 times the 3rd row to the 1st row: 1 2 0 0 7 4 36 43 0 1 0 0 2 1 10 12 0 0 1 0 0 0 1 1 0 0 0 1 6 4 32 39 Subtract 2 times the 2nd row from the 1st row: 1 0 0 0 3 2 16 19 0 1 0 0 2 1 10 12 0 0 1 0 0 0 1 1 0 0 0 1 6 4 32 39 Multiply the 2nd, the 3rd, and the 4th rows by 1: 1 0 0 0 3 2 16 19 0 1 0 0 2 1 10 12 0 0 1 0 0 0 1 1 0 0 0 1 6 4 32 39

1 0 0 0 3 2 16 19 0 1 0 0 2 1 10 12 0 0 1 0 0 0 1 1 = (I A 1 ) 0 0 0 1 6 4 32 39 Finally the left part of our 4 8 matrix is transformed into the identity matrix. Therefore the current right part is the inverse matrix of A. Thus 1 1 2 4 1 3 2 16 19 A 1 = 2 3 2 0 2 0 1 1 = 2 1 10 12 0 0 1 1. 2 0 0 1 6 4 32 39

1 2 4 1 Problem 2. Let A = 2 3 2 0 2 0 1 1. 2 0 0 1 (i) Evaluate the determinant of the matrix A. Alternative solution: We have transformed A into the identity matrix using elementary row operations. These included no row exchanges and three row multiplications, each time by 1. It follows that det I = ( 1) 3 det A. = det A = det I = 1.

Problem 3. Determine which of the following subsets of R 3 are subspaces. Briefly explain. A subset of R 3 is a subspace if it is closed under addition and scalar multiplication. Besides, the subset must not be empty. (i) The set S 1 of vectors (x, y, z) R 3 such that xyz = 0. (0, 0, 0) S 1 = S 1 is not empty. xyz = 0 = (rx)(ry)(rz) = r 3 xyz = 0. That is, v = (x, y, z) S 1 = rv = (rx, ry, rz) S 1. Hence S 1 is closed under scalar multiplication. However S 1 is not closed under addition. Counterexample: (1, 1, 0) + (0, 0, 1) = (1, 1, 1).

Problem 3. Determine which of the following subsets of R 3 are subspaces. Briefly explain. A subset of R 3 is a subspace if it is closed under addition and scalar multiplication. Besides, the subset must not be empty. (ii) The set S 2 of vectors (x, y, z) R 3 such that x + y + z = 0. (0, 0, 0) S 2 = S 2 is not empty. x + y + z = 0 = rx + ry + rz = r(x + y + z) = 0. Hence S 2 is closed under scalar multiplication. x + y + z = x + y + z = 0 = (x +x )+(y +y )+(z +z ) = (x +y +z)+(x +y +z ) = 0. That is, v = (x, y, z), v = (x, y, z ) S 2 = v + v = (x + x, y + y, z + z ) S 2. Hence S 2 is closed under addition.

(iii) The set S 3 of vectors (x, y, z) R 3 such that y 2 + z 2 = 0. y 2 + z 2 = 0 y = z = 0. S 3 is a nonempty set closed under addition and scalar multiplication. (iv) The set S 4 of vectors (x, y, z) R 3 such that y 2 z 2 = 0. S 4 is a nonempty set closed under scalar multiplication. However S 4 is not closed under addition. Counterexample: (0, 1, 1) + (0, 1, 1) = (0, 2, 0).

0 1 4 1 Problem 4. Let B = 1 1 2 1 3 0 1 0. 2 1 0 1 (i) Find the rank and the nullity of the matrix B. The rank (= dimension of the row space) and the nullity (= dimension of the nullspace) of a matrix are preserved under elementary row operations. We apply such operations to convert the matrix B into row echelon form. Interchange the 1st row with the 2nd row: 1 1 2 1 0 1 4 1 3 0 1 0 2 1 0 1

Add 3 times the 1st row to the 3rd row, then subtract 2 times the 1st row from the 4th row: 1 1 2 1 1 1 2 1 0 1 4 1 0 3 5 3 0 1 4 1 0 3 5 3 2 1 0 1 0 3 4 3 Multiply the 2nd row by 1: 1 1 2 1 0 1 4 1 0 3 5 3 0 3 4 3 Add the 4th row to the 3rd row: 1 1 2 1 0 1 4 1 0 0 1 0 0 3 4 3

Add 3 times the 2nd row to the 4th row: 1 1 2 1 0 1 4 1 0 0 1 0 0 0 16 0 Add 16 times the 3rd row to the 4th row: 1 1 2 1 0 1 4 1 0 0 1 0 0 0 0 0 Now that the matrix is in row echelon form, its rank equals the number of nonzero rows, which is 3. Since (rank of B) + (nullity of B) = (the number of columns of B) = 4, it follows that the nullity of B equals 1.

0 1 4 1 Problem 4. Let B = 1 1 2 1 3 0 1 0. 2 1 0 1 (ii) Find a basis for the row space of B, then extend this basis to a basis for R 4. The row space of a matrix is invariant under elementary row operations. Therefore the row space of the matrix B is the same as the row space of its row echelon form: 0 1 4 1 1 1 2 1 1 1 2 1 3 0 1 0 0 1 4 1 0 0 1 0. 2 1 0 1 0 0 0 0 The nonzero rows of the latter matrix are linearly independent so that they form a basis for its row space:

v 1 = (1, 1, 2, 1), v 2 = (0, 1, 4, 1), v 3 = (0, 0, 1, 0). To extend the basis v 1,v 2,v 3 to a basis for R 4, we need a vector v 4 R 4 that is not a linear combination of v 1,v 2,v 3. It is known that at least one of the vectors e 1 = (1, 0, 0, 0), e 2 = (0, 1, 0, 0), e 3 = (0, 0, 1, 0), and e 4 = (0, 0, 0, 1) can be chosen as v 4. In particular, the vectors v 1,v 2,v 3,e 4 form a basis for R 4. This follows from the fact that the 4 4 matrix whose rows are these vectors is not singular: 1 1 2 1 0 1 4 1 0 0 1 0 0 0 0 1 = 1 0.

Bonus Problem 5. Show that the functions f 1 (x) = x, f 2 (x) = xe x, and f 3 (x) = e x are linearly independent in the vector space C (R). Suppose that af 1 (x) + bf 2 (x) + cf 3 (x) = 0 for all x R, where a, b, c are constants. We have to show that a = b = c = 0. Let us differentiate the identity 4 times: ax + bxe x + ce x = 0, a + be x + bxe x ce x = 0, 2be x + bxe x + ce x = 0, 3be x + bxe x ce x = 0, 4be x + bxe x + ce x = 0. (the 5th identity) (the 3rd identity): 2be x = 0 = b = 0. Substitute b = 0 in the 3rd identity: ce x = 0 = c = 0. Substitute b = c = 0 in the 2nd identity: a = 0.

Bonus Problem 5. Show that the functions f 1 (x) = x, f 2 (x) = xe x, and f 3 (x) = e x are linearly independent in the vector space C (R). Alternative solution: Suppose that ax + bxe x + ce x = 0 for all x R, where a, b, c are constants. We have to show that a = b = c = 0. For any x 0 divide both sides of the identity by xe x : ae x + b + cx 1 e 2x = 0. The left-hand side approaches b as x +. = b = 0 Now ax + ce x = 0 for all x R. For any x 0 divide both sides of the identity by x: a + cx 1 e x = 0. The left-hand side approaches a as x +. = a = 0 Now ce x = 0 = c = 0.

Bonus Problem 6. Let V and W be subspaces of the vector space R n such that V W is also a subspace of R n. Show that V W or W V. Assume the contrary: V W and W V. Then there exist vectors v V and w W such that v / W and w / V. Let x = v + w. Since V W is a subspace, we have v,w V W = x V W = x V or x W. Case 1: x V. = x,v V = w = x v V. Case 2: x W. = x,w W = v = x w W. In both cases, we get a contradiction!