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

Similar documents
Chapter 2 Subspaces of R n and Their Dimensions

MTH 362: Advanced Engineering Mathematics

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

Spring 2014 Midterm 1 02/26/14 Lecturer: Jesus Martinez Garcia

Math 217 Midterm 1. Winter Solutions. Question Points Score Total: 100

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

TEST 1: Answers. You must support your answers with necessary work. My favorite number is three. Unsupported answers will receive zero credit.

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

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

Solutions to Math 51 First Exam April 21, 2011

(a). W contains the zero vector in R n. (b). W is closed under addition. (c). W is closed under scalar multiplication.

2018 Fall 2210Q Section 013 Midterm Exam II Solution

18.06 Problem Set 3 - Solutions Due Wednesday, 26 September 2007 at 4 pm in

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

2. (10 pts) How many vectors are in the null space of the matrix A = 0 1 1? (i). Zero. (iv). Three. (ii). One. (v).

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

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

Definitions for Quizzes

Math 2174: Practice Midterm 1

Math 369 Exam #2 Practice Problem Solutions

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

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

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

Math 21b: Linear Algebra Spring 2018

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

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

Linear Maps, Matrices and Linear Sytems

Instructions Please answer the five problems on your own paper. These are essay questions: you should write in complete sentences.

Linear Algebra FALL 2013 MIDTERM EXAMINATION Solutions October 11, 2013

S09 MTH 371 Linear Algebra NEW PRACTICE QUIZ 4, SOLUTIONS Prof. G.Todorov February 15, 2009 Please, justify your answers.

SUMMARY OF MATH 1600

Row Space, Column Space, and Nullspace

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.

MATH 2360 REVIEW PROBLEMS

Lecture 2 Systems of Linear Equations and Matrices, Continued

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

Math 353, Practice Midterm 1

Linear Algebra Exam 1 Spring 2007

Math 54 HW 4 solutions

Chapter 3. Vector spaces

Solution: (a) S 1 = span. (b) S 2 = R n, x 1. x 1 + x 2 + x 3 + x 4 = 0. x 4 Solution: S 5 = x 2. x 3. (b) The standard basis vectors

Solutions to Exam I MATH 304, section 6

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns.

Study Guide for Linear Algebra Exam 2

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

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

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3

Algorithms to Compute Bases and the Rank of a Matrix

MATH 33A LECTURE 2 SOLUTIONS 1ST MIDTERM

Math 415 Exam I. Name: Student ID: Calculators, books and notes are not allowed!

Working with Block Structured Matrices

Linear equations in linear algebra

MAT 242 CHAPTER 4: SUBSPACES OF R n

Review Notes for Midterm #2

INVERSE OF A MATRIX [2.2]

7.6 The Inverse of a Square Matrix

Lecture 21: 5.6 Rank and Nullity

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

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

Elementary operation matrices: row addition

Math 308 Practice Test for Final Exam Winter 2015

Chapter 2. General Vector Spaces. 2.1 Real Vector Spaces

MA 265 FINAL EXAM Fall 2012

Chapter SSM: Linear Algebra. 5. Find all x such that A x = , so that x 1 = x 2 = 0.

1 Last time: multiplying vectors matrices

CSL361 Problem set 4: Basic linear algebra

1 Last time: inverses

LINEAR ALGEBRA REVIEW

Solutions to Homework 5 - Math 3410

Math 33A Discussion Notes

SSEA Math 51 Track Final Exam August 30, Problem Total Points Score

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

5.) For each of the given sets of vectors, determine whether or not the set spans R 3. Give reasons for your answers.

4.9 The Rank-Nullity Theorem

Row Space and Column Space of a Matrix

Chapter 1. Vectors, Matrices, and Linear Spaces

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

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

Math 2030 Assignment 5 Solutions

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

Solutions to Final Exam 2011 (Total: 100 pts)

Math 113 Midterm Exam Solutions

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

Span & Linear Independence (Pop Quiz)

Name: Handed out: 14 November Math 4310 Take-home Prelim 2 Solutions OFFICIAL USE ONLY 1. / / / / / 16 6.

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:

Review of Matrices and Block Structures

1. Determine by inspection which of the following sets of vectors is linearly independent. 3 3.

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

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

We showed that adding a vector to a basis produces a linearly dependent set of vectors; more is true.

Math 313 Chapter 5 Review

Chapter 2: Matrix Algebra

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

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

8 General Linear Transformations

Midterm 1 Solutions Math Section 55 - Spring 2018 Instructor: Daren Cheng

Math 290, Midterm II-key

Methods for Solving Linear Systems Part 2

Transcription:

MA 253: Practice Exam Solutions You may not use a graphing calculator, computer, textbook, notes, or refer to other people (except the instructor). Show all of your work; your work is your answer. Problem : Solve the following system of linear equations using Gauss- Jordan elimination on a matrix. x y + z = 3 2y z = 4x + y = 0 Solution: x = 2/3, y = 8/3, and z = 9/3. Problem 2: Which of the following matrices are in reduced row echelon form? For each that is not, circle an entry in the matrix which shows that it is not in reduced row echelon form. [ ] [ ] 0 (a.) (b.) 2 0 0 (c.) (e.) [ 0 ] 0 3 0 0 3 5 0 0 2 2 0 0 0 2 0 0 0 0 0 0 0 0 0 0 (d.) (f.) π 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Solution: Matrices (c.) and (e.) are in reduced row echelon form. For matrix (a.), the 2, entry violates the requirements for being in reduced row echelon form. For matrix (b.), the,2 entry violates the requirements. For matrix (d.), the, entry violates the requirements and for matrix (f.) the 4,2 entry violates the requirements.

Problem 3: Suppose that T : R n R m is a linear transformation. Prove that there is a matrix A such that for all x R n. T (x) = Ax Solution: Let e i be the ith standard basis vector of R n. Define the matrix: A = T (e ) T (e 2 )... T (e n ) 2 where the ith column of A is T (e i ). We now need to show that T (x) = Ax for all x R n. Let x R n be an arbitrary vector. Then, since {e i } is a basis for R n, there are scalars, x,..., x n so that Hence, Since T is linear this equivalent to: By the construction of A, Hence, x = x e + x 2 e 2 + x n e n. T (x) = T (x e +... + x n e n ). T (x) = x T (e ) +... + x n T (e n ). Ae i = T (e i ). T (x) = x Ae +... + x n Ae n. By the properties of matrix multiplication, Consequently, as desired. T (x) = A(x e +... + x n e n ). T (x) = Ax Problem 4: Define what it means for a set of vectors to be linearly independent and describe a method whereby you can determine if a given collection of vectors is linearly independent.

Solution: A set of vectors is linearly independent if no nontrivial linear combination (that is, a linear combination with at least one non-zero coefficient) is equal to the zero vector. To test if k vectors are linearly independent, make a matrix whose columns are those vectors. If the matrix has rank k if and only if the vectors are linearly independent. Problem 5: Suppose that A is an n m matrix. Let T (x) = Ax. (a.) Define rank(a). Solution: The number of leading ones in ref(a). Equivalently, the dimension of the image of A. (b.) If m > n, what can you say about rank(a)? Solution: Since there are more columns than rows, the rank of A is no more than the number of rows, which is n. (c.) What is the domain of T? Solution: R m. (d.) What is the codomain of T? (In other words, what is k so that T (x) R k? Your answer should be either R n or R m. Solution: R n. (e.) Prove that T is a linear transformation. You may assume basic facts about matrix multiplication. Solution: T (ax + by) = A(ax + by) = aax + bay = at (x) + bt (y). (f.) Define ker(t ) and prove that it is a subspace. Solution: ker(t ) = {x R m : T (x) = 0}. Suppose that x and x 2 are in ker(t ) and that a, b R. Then, T (ax + bx 2 ) = at (x ) + bt (x 2 ) = a0 + b0 = 0 since T is a linear tranformation and x, x 2 R m. (g.) Define im(t ) and prove that it is a subspace. Solution: im(t ) = {b R n : there exists x R m such that T (x) = b} Suppose that y, y 2 im(t ) and that a, b R. By the definition of image there are vectors x, x 2 R m such that T (x ) = y and T (x 2 ) = y 2. Then, since T is a linear transformation T (ax + bx 2 ) = at (x ) + bt (x 2 ) = ay + by 2. Hence, ay + by 2 im(t ) as desired. 3

(h.) Carefully state and prove the rank-nullity theorem. Solution: The statement is: For an n m matrix A, dim im(a)+ dim ker(a) = m. To prove it, recall that a basis for im(a) can be formed by taking the non-redundant columns of A. Each redundant column corresponds to a free variable. Thus dim im(a) plus the number of free variables of A is equal to the number of columns of A. Each free variable of A gives rise to a vector in a basis for ker(a). Thus the sum of the dimensions of im(a) and ker(a) must be the number of columns of A. (i.) Define what it means for T to be injective. Solution: T is injective if and only if for every two distinct x and x 2 in R m, T (x ) T (x 2 ). (j.) Define what it means for T to be surjective. Solution: T is surjective if and only if for every b R n, there exists x R m such that T (x) = b. (k.) Explain why T is injective if and only if the system T (x) = b has at most one solution for each b. Solution: Suppose that there were some b such that x and x 2 are solutions to T (x) = b. Then T (x ) = T (x 2 ) and so by the definition of injective given above, x = x 2. (l.) Explain why T is surjective if and only if the system T (x) = b is consistent for each b. Solution: The system is consistent if and only if there is a vector x such that T (x) = b. But this means that b im(t ) for all b R n. This is the definition of surjective. (m.) Prove that T is injective if and only if ker(t ) = {0}. Solution: Suppose first that T is injective. Since T (0) = 0, by (k) 0 is the only solution to T (x) = 0. Hence ker(t ) = {0}. Now suppose that ker(t ) = {0}. Suppose that T (x ) = T (x 2 ). Then, T (x ) T (x 2 ) = 0. Since T is linear, this is equivalent to T (x x 2 ) = 0. Hence, x x 2 ker(t ). Since ker(t ) = {0}, x x 2 = 0. But this means that x = x 2. Hence, by the definition of injective, T is injective. (n.) Prove that if T is invertible, then its inverse function T is a linear transformation. Solution: We must show that T (ax + by) = at (x) + bt (b). 4

T is invertible and therefore injective. Thus the above equation is equivalent to T ( T (ax + by) ) = T ( at (x) + bt (b) ). Since T is linear and T and T are inverses, this is equivalen to ax + by = at ( T (x) ) + bt ( T (b) ). This is equivalen to ax + by = ax + by, which is obviously true. (o.) Prove that if A is invertible then the system Ax = b has a unique solution for every b. Solution: Suppose that A is the inverse of A. Then A Ax = A b x = A b Since matrix multiplication is well-defined, A b is a single vector in R n. Hence, there is a solution to Ax = b and it is unique. (p.) Prove that A is invertible if and only if rref(a) is the identity matrix. Solution: The matrix ref(a) is obtained from A by finitely many row operations. Let E,..., E p be the elementary matrices corresponding to these row operations so that rref(a) = E p E p... E 2 E A. Every elementary matrix is invertible and so the above equation can be rewritten as E E 2... E p E p rref(a) = A. Hence, if rref(a) is the identity matrix, A is the product of elementary matrices. The product of invertible matrices is invertible and so A is also invertible. Now suppose that A is invertible. The first equation shows that rref(a) is the product of A and elementary matrices. Hence rref(a) is invertible. This implies that it is square and that the transformation T (x) = rref(a)x is injective and surjective. Since it is injective, the rank of rref(a) is the number of columns (which is also the number of rows) or A. Hence, every column and every row of rref(a) has a leading one. Since rref(a) is in reduced row echelon form, rref(a) is the identity matrix. 5

(q.) Suppose that {x,..., x k } is a set of vectors such that each vector is a solution to the equation T (x) = b. Let 6 u = k c i x i i= where the c i are scalars such that k i= c i =. Prove that T (u) = b. Solution: Since T is linear, T (u) = T ( ci x i ) = ci T (x i ) = c i b = b c i = b. Problem 6: Let M = 0 2 0. 0 Find M and show that your answer is correct by performing a matrix multiplication. 2 2 Solution: M = 2. Problem 7: Let 0 7 38 2 0 4 36 3 2 5 2 A =. 4 0 2 8 5 0 5 0 6 8 2 20 The reduced row echelon form of A is 0 3 2 0 2 4 0 0 0 0 rref(a) =. 0 0 0 0 0 0 0 0 0 0 0 0 (a.) Find a basis for ker(a).

7 Solution: A basis for ker(a) is { 3 2 }, 4 (b.) Find a basis for im(a). Solution: A basis for im(a) is 0 { 2 0 } 3 2, 4 0 5 0 6 8 2 0 Problem 8: Let W be the subset of R 3 consisting of the x axis, the y axis, the z axis, and the line through the origin and the vector (,, ). Explain why W is not a subspace of R 3. Solution: W is not closed under addition. For example, (, 0, 0)+(0,, 0) = (,, 0) W. Problem 9: Prove that if B is a basis for the subspace V R n then each vector in V can be uniquely written as a linear combination of vectors in B. Solution: Since span B = V, each vector in V is a linear combination of vectors in B. Suppose that v V is a vector which can be written as a linear combination of vectors in B in more than one way. That is, suppose 0 v = c i b i = d i b i where the (finite) sum is taken over all elements of B. Hence, 0 = c i b i d i b i = (c i d i )b i. We have a linear combination of the vectors of B equalling zero. Since B is a basis, its vectors are linearly independent. Consequently, the linear combination must have all coefficients equal to zero. That is, for each i, c i d i = 0. Therefore, c i = d i for all i. Thus, there is a unique way of writing v as the linear combination of vectors in B. Problem 0: Let W be a subspace of R n and define Prove that W is a subspace. W = {v R n : v w = 0 for all w R n }.

Solution: Let u and v be vectors in W and a, b R. We must show that au + bv W. Let w be an arbitrary vector in W. Then (au + bv) w = (au) w + (bv) w = au w + bv w = a(0) + b(0) = 0 8 as desired. Problem : Consider the set { B = 2, 0 2, }. 0 It is a fact that B is a basis for R 3. () Write the vector v = as a linear combination of the vectors in B. Solution: Let B = 0 2 2. Then 0 B = 3 2 2 3. 5 2 2 Let c = B = 2/5. 3/5 Then 2/5(, 2, 0) + 2/5(0, 2, ) + 3/5(,, ) = (,, ). (2) In B-coordinates the vector w is written [w] B = 0 2. 3 Write w using the standard coordinate system for R 3. Solution: w = 0 2 + ( 2) 0 2 + 3 = 3 3 0

(3) Consider the linear tranformation T : R 3 R 3 given (in standard coordinates) by T (x) = 0 0 0 0 x. 0 0 0 What is the matrix for T in B coordinates? (You do not need to perform the required calculations. Simply write down an expression which, if computed, will produce the matrix.) Solution: Continue using the notation from part (a). Let A = 0 0 0 0. 0 0 0 The answer is then B AB. 9