Math 369 Exam #2 Practice Problem Solutions

Similar documents
MATH 2360 REVIEW PROBLEMS

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

Math 2174: Practice Midterm 1

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

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

Review Notes for Linear Algebra True or False Last Updated: February 22, 2010

Math 102, Winter 2009, Homework 7

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

Math Final December 2006 C. Robinson

Practice Final Exam. Solutions.

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

ICS 6N Computational Linear Algebra Vector Space

2018 Fall 2210Q Section 013 Midterm Exam II Solution

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

Math 123, Week 5: Linear Independence, Basis, and Matrix Spaces. Section 1: Linear Independence

Math 54 HW 4 solutions

NAME MATH 304 Examination 2 Page 1

PRACTICE PROBLEMS FOR THE FINAL

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

Midterm #2 Solutions

MAT Linear Algebra Collection of sample exams

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

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

Math 308 Practice Test for Final Exam Winter 2015

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

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

Math 20F Practice Final Solutions. Jor-el Briones

Chapter 1. Vectors, Matrices, and Linear Spaces

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

LINEAR ALGEBRA QUESTION BANK

Math 313 Chapter 5 Review

ft-uiowa-math2550 Assignment OptionalFinalExamReviewMultChoiceMEDIUMlengthForm due 12/31/2014 at 10:36pm CST

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

Math 215 HW #9 Solutions

b for the linear system x 1 + x 2 + a 2 x 3 = a x 1 + x 3 = 3 x 1 + x 2 + 9x 3 = 3 ] 1 1 a 2 a

MATH10212 Linear Algebra B Homework Week 4

MAT 242 CHAPTER 4: SUBSPACES OF R n

Math 54. Selected Solutions for Week 5

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

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

Solutions to Homework 5 - Math 3410

Section 4.5. Matrix Inverses

MATH2210 Notebook 3 Spring 2018

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

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

MATH SOLUTIONS TO PRACTICE PROBLEMS - MIDTERM I. 1. We carry out row reduction. We begin with the row operations

EXERCISE SET 5.1. = (kx + kx + k, ky + ky + k ) = (kx + kx + 1, ky + ky + 1) = ((k + )x + 1, (k + )y + 1)

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th.

Vector Spaces 4.4 Spanning and Independence

Math 353, Practice Midterm 1

Family Feud Review. Linear Algebra. October 22, 2013

Study Guide for Linear Algebra Exam 2

Chapter 2 Subspaces of R n and Their Dimensions

This lecture is a review for the exam. The majority of the exam is on what we ve learned about rectangular matrices.

Solutions to Final Practice Problems Written by Victoria Kala Last updated 12/5/2015

Exam 2 Solutions. (a) Is W closed under addition? Why or why not? W is not closed under addition. For example,

Math 113 Winter 2013 Prof. Church Midterm Solutions

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

Algorithms to Compute Bases and the Rank of a Matrix

YORK UNIVERSITY. Faculty of Science Department of Mathematics and Statistics MATH M Test #2 Solutions

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form

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

LINEAR ALGEBRA REVIEW

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

2.3. VECTOR SPACES 25

EK102 Linear Algebra PRACTICE PROBLEMS for Final Exam Spring 2016

Chapter 3. Vector spaces

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. =

is Use at most six elementary row operations. (Partial

1 Systems of equations

Quizzes for Math 304

(b) The nonzero rows of R form a basis of the row space. Thus, a basis is [ ], [ ], [ ]

Math 20F Final Exam(ver. c)

SUMMARY OF MATH 1600

DEPARTMENT OF MATHEMATICS

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.

Solutions to Math 51 First Exam April 21, 2011

What is on this week. 1 Vector spaces (continued) 1.1 Null space and Column Space of a matrix

Solutions to Math 51 Midterm 1 July 6, 2016

Test 3, Linear Algebra

Math 314/ Exam 2 Blue Exam Solutions December 4, 2008 Instructor: Dr. S. Cooper. Name:

MATH. 20F SAMPLE FINAL (WINTER 2010)

Solution Set 3, Fall '12

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

Row Space, Column Space, and Nullspace

(i) [7 points] Compute the determinant of the following matrix using cofactor expansion.

MTH 464: Computational Linear Algebra

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

MATH 2210Q MIDTERM EXAM I PRACTICE PROBLEMS

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

Linear Algebra 1 Exam 2 Solutions 7/14/3

Math 314/814 Topics for first exam

Dimension and Structure

Lecture 13: Row and column spaces

MATH 1553, SPRING 2018 SAMPLE MIDTERM 2 (VERSION B), 1.7 THROUGH 2.9

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Math 54 First Midterm Exam, Prof. Srivastava September 23, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall.

Chapter 2 Notes, Linear Algebra 5e Lay

Math 2940: Prelim 1 Practice Solutions

Linear Algebra Exam 1 Spring 2007

Transcription:

Math 369 Exam #2 Practice Problem Solutions 2 5. Is { 2, 3, 8 } a basis for R 3? Answer: No, it is not. To show that it is not a basis, it suffices to show that this is not a linearly independent set. To see that, we need to find coefficients a, b, c not all zero so that 2 5 a 2 + b 3 + c 8 = Equivalently, we can solve the matrix equation 2 5 a 2 3 8 b =. c So form the augmented matrix 2 5 2 3 8 and row-reduce: add twice row to row 2 and add row to row 3: 2 5 2 3 6 Now subtract three times row 2 from row 3: 2 5 2 So we see that any a, b, c satisfying the equations a + 2b + 5c = b + 2c = will yield a non-trivial linear combination of the given vectors that is zero. For example, if a =, b = 2, and c =, then we have 2 5 2 2 3 + 8 =, so the set is linearly dependent and hence cannot be a basis. 2. In each part, V is a vector space and S is a subset of V. Determine whether S is a subspace of V.

(a) V = R 3 x S = { 2 : x R}. 3x Answer: S is not a subspace, because the zero vector cannot be written in the x form 2 for any possible value of x, so / S and S cannot be a subspace. 3x (b) V = R [ 2 ] x S = { : 2x 5y = } y Answer: No, this is not a subspace. After all, the zero vector 2() 5() =. (c) V = R n [ ] is not in S since S = { x R n : A x = 2 x}, where A is a particular n n matrix. Answer: Yes, this is a subspace. To prove it, suppose x and x 2 are in this set, meaning that A x = 2 x and A x 2 = 2 x 2 (such vectors are called eigenvectors of A; we ll learn more about them later). Then A( x + x 2 ) = A x + A x 2 = 2 x + 2 x 2 = 2( x + x 2 ), meaning that x + x 2 is in this set as well. Moreover, for any c R, A(c x ) = c(a x ) = c(2 x ) = 2(c x ), so c x is in the set as well. Therefore, this set is closed under addition and scalar multiplication, so it is indeed a subspace. (d) V = F (, ) S = {f : f(x) = a cos x + b sin x + c} Answer: Yes, this is a subspace. If a, a 2, b, b 2, c, c 2 R and I define and f(t) = a cos t + b sin t + c g(t) = a 2 cos t + b 2 sin t + c 2, then f and g are in the given subset. The sum has the form f(t)+g(t) = (a cos t+b sin t+c )+(a 2 cos t+b 2 sin t+c 2 ) = (a +a 2 ) cos t+(b +b 2 ) sin t+(c +c 2 ), 2

so f + g is also in the subset, which is, therefore, closed under addition. Also, if r R, then rf(t) = r(a cos t + b sin t + c ) = (ra ) cos t + (rb ) sin t + (rc ), so rf is in the subset, which is, therefore, closed under scalar multiplication. Hence, we can conclude that this subset is actually a subspace. 3. Let V be a vector space. (a) Define what it means for a set {u,..., u n } V to be linearly dependent. Answer: By definition, {u,..., u n } is linearly dependent if there is a non-trivial way to write as a linear combination of the u i, meaning that there exist scalars λ,..., λ n not all zero so that λ u + λ 2 u 2 +... + λ n u n =. (b) Suppose v V. Is the set {, v} linearly dependent? Explain. Answer: Yes. Let λ be any nonzero scalar. Then λ + v = is a nontrivial linear combination of and v that yields, so this set is linearly dependent. (c) Define what it means for u V to be in the span of a set {v,..., v n }. Answer: u span(v,..., v n ) means that there exist numbers λ,..., λ n so that u = λ v + λ 2 v 2 +... + λ n v n. (d) Suppose {v,..., v n } is a set of vectors and u span(v,..., v n ). Show that {v,..., v n, u} is linearly dependent. Answer: Since u span(v,..., v n ), we know there exist numbers λ,..., λ n so that But then u = λ v + λ 2 v 2 +... + λ n v n. λ v + λ 2 v 2 +... + λ n v n u = u u = is a nontrivial linear combination of the vectors {v,..., v n, u} (since the coefficient of u is ) that produces, so this set is linearly dependent. 4. Let A be a 2 3 matrix. (a) Let U = { x R 3 : A x = }. Show that U is a subspace of R 3. Proof. It suffices to show that (i) U is closed under addition and (ii) U is closed under scalar multiplication. i. Suppose x, y U. Then A x = and A y =. But then A( x + y) = A x + A y = + =, so x + y U and U is closed under addition. 3

ii. Suppose x U and λ R. Then A x = and so A(λ x) = λa x = λ =, so λ x U and U is closed under scalar multiplication. Having proved (i) and (ii), we conclude that U is indeed a subspace of R 3. [ ] (b) Is W = { x R 3 : A x = b} a subspace when b =? Explain. 2 Answer: No. In particular, / W since so W cannot be a subspace. A = b, 5. Let V = P be the vector space of polynomials. Is the set linearly independent? Prove your claim. { + x + x 2, x, x 3 } Answer: This set is linearly independent. To see this, suppose a, b, c R are constants so that a( + x + x 2 ) + b( x) + c( x 3 ) =. Then, after distributing and combining terms, we see that (a + b + c) + (a b)x + ax 2 cx 3 = + x + x 2 + x 3. Since the coefficients of x 2 and x 3 must be zero, we see that a = and c =. But then the above reduces to b bx = + x + x 2 + x 3, so b = as well. Therefore, the only way to write as a linear combination of +x+x 2, x, and x 3 is if all the coefficients are zero, which means the set is linearly independent. 6. Logan and Terry are both computing with the same 5 3 matrix. Logan determines that the nullspace of the matrix is 2-dimensional, while Terry computes that the column space is 2-dimensional. Can they both be right? Justify your answer. Answer: No, they cannot both be correct. Since A has three columns, the rank-nullity theorem tells us that dim(null(a)) + dim(col(a)) = 3. There s no way that the two terms on the left hand side can both be 2. 7. For each of the following statements, say whether it is true or false. If the statement is true, prove it. If false, give a counterexample. 4

(a) If V is a vector space and S is a finite set of vectors in V, then some subset of S forms a basis for V. Answer: [ ] False. Let V = R 2, which is clearly a vector space, and let S be the singleton set { }. The single element of S does not span R 2 : since R 2 is 2-dimensional, any spanning set must consist of at least two elements. Of course this means no subset of S can be a basis for R 2. Hence, this provides a counterexample to the statement. (b) Suppose A is an m n matrix such that A x = b can be solved for any choice of b R m. Then the columns of A form a basis for R m. Answer: False. Consider the matrix A = [ ]. Then A is already in reduced echelon form and clearly has 2 pivots, so rank(a) = 2. This implies that dim col(a) = 2, so the column space of A consists of all of R 2. Thus, the equation A x = b can be solved for any b R 2 (since any b is in col(a)). However, the columns of A are clearly not linearly independent (no set containing the zero vector can be linearly independent), so they cannot form a basis for R 2. A related but true statement would be the following: Suppose A is an m n matrix such that A x = b can be solved for any choice of b R m. Then some subset of the columns of A forms a basis for R m. (c) The set of polynomials of degree 5 forms a vector space. Answer: True. You should check that the set of polynomials of degree 5 satisfies all the rules for being a vector space. Since this is a subset of the collection of all polynomials (which we know is a vector space) all you really need to check is that this collection is closed under addition and scalar multiplication. 8. Consider the system of equations x + 2x 2 + x 3 3x 4 = b x + 2x 2 + 2x 3 5x 4 = b 2. 2x + 4x 2 + 3x 3 8x 4 = b 3 (a) Find all solutions when b = b 2 = b 3 =. Find a basis for the space of solutions to the homogeneous system. Answer: Convert the system into the augmented matrix 2 3 2 2 5. 2 4 3 8 Now do elimination to get the reduced echelon form. First, subtract row from row 2 and subtract twice row from row 3: 2 3 2. 2 5

Now, subtract row 2 from both row and row 3: 2 2. Then this system is consistent provided that x = 2x 2 + x 4 x 3 = 2x 4.. Hence, the solutions to the homogeneous equation are those vectors of the form 2 x 2 + x 4 2 for x 2, x 4 R. Then a basis for the space of solutions to the homogeneous system (i.e. nullspace of the corresponding matrix) is 2, 2. (b) Let S be the set of vectors b = b b 2 b 3 such that the system can be solved. What is the dimension of S? Answer: Letting A be the matrix of the system, we know that the set of vectors b for which the system can be solved is the column space of A: S = col(a). Since A is 3 4, we know that dim col(a) + dim null(a) = 4. Since, from part (a), we know that the dimension of the nullspace is 2, this implies that S = col(a) is two-dimensional. (c) It s easy to check that the vector v = 2 is a solution to the system that arises when b = 3, b 2 = 5, and b 3 = 8. Find all the solutions to this system. Answer: All solutions x to the system A x = b take the form x = x + x p, where x p is a particular solution and x is the homogeneous solution to the corresponding homogeneous problem. Thus, we can let x p = v, which we re told solves the system and we see that, using part (a), the general solution is 2 2 + x 2 + x 4 2, 6

where x 2, x 4 R. [ ] [ ] [ ] [ ] 2 5 3 9. Let B = {, } and B 2 = {, }. 2 7 (a) Show that B and B are both bases for R 2. Answer: If we form the matrices [ ] 2 5 A = and A = 2 [ ] 3, 2 7 then det(a) = and det(a ) =, so A and A are both invertible. This means the columns of both matrices are bases for R 2, but of course the columns of A are just the elements of B and the columns of A are just the elements of B, so B and B are bases. (b) Find the change-of-basis matrix [M] B B for converting coordinate vectors with respect to B to coordinate vectors with respect to B. Answer: We can follow the procedure for finding the change-of-basis matrix by forming the super-augmented matrix with the entries of B on the left and the entries of B on the right. [ ] 3 2 5 2 7 2 Now we row-reduce: add 2 times row to row 2: [ 3 2 ] 5 5 2 Then add 3 times row 2 to row : [ 7 ] 4 5 2 Therefore, the change-of-basis matrix is [M] B B = [ ] 7 4 5 2 [ ] 2 (c) Let v =. What is the coordinate vector [ v] B for v with respect to the basis B? Answer: Notice that v is just the first basis vector in B, so [ ] [ ] 2 5 v = +, 2 so the coordinate vector for v with respect to the basis B is simply [ v] B = [ ]. (d) Use your answer to part (b) to determine [ v] B, the coordinate vector for B with respect to B. 7

Answer: By definition of the change-of-basis matrix, [ ] [ ] 7 4 [ v] B = [M] B B [ v] B = = 5 2 [ ] 7. 5 We can check this: which is indeed our vector v. [ ] 7 + 5 2 [ ] 3 = 7 [ ] 2, 8