Lecture 3q Bases for Row(A), Col(A), and Null(A) (pages )

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

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

Math 313 Chapter 5 Review

Math 369 Exam #2 Practice Problem Solutions

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

Midterm #2 Solutions

Lecture 13: Row and column spaces

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 8

Algorithms to Compute Bases and the Rank of a Matrix

Math 102, Winter 2009, Homework 7

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

Math 308 Practice Test for Final Exam Winter 2015

MATH 2360 REVIEW PROBLEMS

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

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

Row Space, Column Space, and Nullspace

Problems for M 10/12:

The Fundamental Theorem of Linear Algebra

Math 2174: Practice Midterm 1

Math 544, Exam 2 Information.

LINEAR ALGEBRA REVIEW

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

Math 308 Discussion Problems #4 Chapter 4 (after 4.3)

Lecture 21: 5.6 Rank and Nullity

x 1 + 2x 2 + 3x 3 = 0 x 1 + 2x 2 + 3x 3 = 0, x 2 + x 3 = 0 x 3 3 x 3 1

PRACTICE PROBLEMS FOR THE FINAL

Chapter 1. Vectors, Matrices, and Linear Spaces

Rank and Nullity. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Linear Algebra: Homework 7

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

4.3 - Linear Combinations and Independence of Vectors

Matrix invertibility. Rank-Nullity Theorem: For any n-column matrix A, nullity A +ranka = n

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

Math 314/814 Topics for first exam

Math 205, Summer I, Week 3a (continued): Chapter 4, Sections 5 and 6. Week 3b. Chapter 4, [Sections 7], 8 and 9

MATH 152 Exam 1-Solutions 135 pts. Write your answers on separate paper. You do not need to copy the questions. Show your work!!!

Spanning, linear dependence, dimension

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

NAME MATH 304 Examination 2 Page 1

14: Hunting the Nullspace. Lecture

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

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

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

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

Lecture 14: Orthogonality and general vector spaces. 2 Orthogonal vectors, spaces and matrices

Linear Algebra Fundamentals

Chapter 2 Subspaces of R n and Their Dimensions

March 27 Math 3260 sec. 56 Spring 2018

Practice Final Exam. Solutions.

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

In this LAB you will explore the following topics using MATLAB. Investigate properties of the column space of a matrix.

Math Final December 2006 C. Robinson

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

. = V c = V [x]v (5.1) c 1. c k

Row Space and Column Space of a Matrix

4.9 The Rank-Nullity Theorem

MTH 362: Advanced Engineering Mathematics

1 Systems of equations

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

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

Final Review Written by Victoria Kala SH 6432u Office Hours R 12:30 1:30pm Last Updated 11/30/2015

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

MAT 242 CHAPTER 4: SUBSPACES OF R n

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

Math 240, 4.3 Linear Independence; Bases A. DeCelles. 1. definitions of linear independence, linear dependence, dependence relation, basis

In Class Peer Review Assignment 2

18.06 Problem Set 3 Due Wednesday, 27 February 2008 at 4 pm in

MATH 2030: ASSIGNMENT 4 SOLUTIONS

Solution Set 3, Fall '12

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

7. Dimension and Structure.

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

Basis, Dimension, Kernel, Image

GEOMETRY OF MATRICES x 1

SUMMARY OF MATH 1600

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

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

Announcements Monday, October 29

Math 20F Practice Final Solutions. Jor-el Briones

MTH 35, SPRING 2017 NIKOS APOSTOLAKIS

Kevin James. MTHSC 3110 Section 4.3 Linear Independence in Vector Sp

Math 265 Midterm 2 Review

Solutions: We leave the conversione between relation form and span form for the reader to verify. x 1 + 2x 2 + 3x 3 = 0

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

Basis, Dimension, Kernel, Image

Review Notes for Midterm #2

( v 1 + v 2 ) + (3 v 1 ) = 4 v 1 + v 2. and ( 2 v 2 ) + ( v 1 + v 3 ) = v 1 2 v 2 + v 3, for instance.

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

Chapter 2. General Vector Spaces. 2.1 Real Vector Spaces

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

3.3 Linear Independence

MATH 2210Q MIDTERM EXAM I PRACTICE PROBLEMS

1 Last time: inverses

Final. for Math 308, Winter This exam contains 7 questions for a total of 100 points in 15 pages.

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

2018 Fall 2210Q Section 013 Midterm Exam II Solution

Math 54 HW 4 solutions

Lecture 3: Linear Algebra Review, Part II

Determine whether the following system has a trivial solution or non-trivial solution:

Transcription:

Lecture 3q Bases for Row(A), Col(A), and Null(A) (pages 57-6) Recall that the basis for a subspace S is a set of vectors that both spans S and is linearly independent. Moreover, we saw in section 2.3 that every basis for a given subspace S will have the same number of vectors, and this number is known as the dimension of the subspace. The Basis of the Rowspace of a Matrix The last example in Lecture 3p actually shows the technique we use to find the basis for the rowspace of a matrix namely that we row reduce it. (I m sure that this comes as a great surprise. Guess what we ll do to find the basis of a columnspace and nullspace...) Theorem 3.4.5: Let B be the reduced row echelon form of an m n matrix A. Then the non-zero rows of B form a basis for Row(A), and hence the dimension of Row(A) equals the rank of A. Example: To find the rowspace of A = the reduced row echelon form of A: 2 R 2 2R 2 R 3 R 2 2 4 2 4 2 2 R 3 R 2 R 4 2R 2, we first need to find 2 This last matrix is in RREF, and so its non-zero rows form a basis for the rowspace of A. Thus,, is a basis for the rowspace of A. 2 Proof of Theorem 3.4.5: Theorem 3.4.4 tells us that Row(B) = Row(A), so we know that the non-zero rows of B form a spanning set for Row(A). So all we need to do is show that they are linearly independent. So, let b T,..., b T r be the non-zero rows of B, and let s look at the equation. t b + + t r br = Now, as each of the b i are non-zero, they have a leading term. And because B is in reduced row echelon form, this leading term is a. Suppose the leading

for b i is in its j-th component. Then, again because B is in reduced row echelon form, we know that the other rows have a for their j-th component. So, let s look at the j-th component of our equation: t ( b ) j + + t i ( b i ) j + + t r ( b r ) j = But since we now know that ( b i ) j =, and ( b k ) j = for k i, our equation becomes + + t i + + = t i = So, we see that t i =, and this holds for all i =,..., r, and thus we have shown that the only solution to the equation t b + + t r br = is t = = t r =. And this means that the vectors b,..., b r are linearly independent. And this means that we have shown that the non-zero rows of B form a basis for Row(A). The Basis of the Columnspace of a Matrix Yes, in order to find the basis for the columnspace of a matrix A we will look at its reduced row echelon form, but that is where the similarities with the basis for a rowspace ends. And most specifically, the basis is not simply the non-zero columns of the reduced row echelon form. Instead, we need to do something a bit more complicated to find the basis of a columnspace. Theorem 3.4.6: Suppose that B is the reduced row echelon form of A. Then the columns of A that correspond to the columns of B with leading s form a basis of the columnspace of A. Hence, the dimension of the columnspace equals the rank of A. Example: To find the columnspace of A = first need to find its reduced row echelon form. 2 3 2 4 8 (/2)R 2 3 2 9 3 R 3 3R 2 2 6 R 4 + 2R 2 3 2 4 8 3 2 9 3 2 2 6 2 3 2 4 2 4 6 2 3, we R 3 + 2R 2 R 4 R 2 2

2 3 2 4 2 2 3 2 (/2)R 3 R R 2 2 3 2 4 3 2 R R 3 R 2 4R 3 R 4 R 3 The last matrix is in RREF, and we see that it has a leading in the first, second, and fifth columns. Thus, the first, second, and fifth columns ofa form a basis for the columnspace of A. That is, 3, 2, 8 3 is a 2 basis for the columnspace of A. Proof of Theorem 3.4.6: There are two facts that are going to be key to this proof. The first is that for any two row equivalent matrices C and D, we have that C x = if and only if D x =, which we get from our study of homogeneous systems of linear equations. The second is Theorem.2.3, which says that we can remove elements of a set that can be written as a linear combination of the other elements of the set, without changing the span of the set. With these in mind, let s start the proof. Let A = [ ] a [ i a n, and ] let the reduced row echelon form of A be the matrix B = b bn. Let s say that b i,..., b ik are the columns of B with leading s, and that b j,..., b jn k are the columns that do not contain leading s. First, let s notice that because of the structure of reduced row echelon form, the vectors b i,..., b ik are the first i k standard[ basis vectors of ] R m, so we know they are linearly independent. If we let B = bi bik, and we let A = [ a i a ik ] be the matrix made up of the columns of A that correspond to the columns of B that contain a leading, then A is row equivalent to B, and as such we know that A x = if and only if B x =. As such, since the columns of B are linearly independent, we know that the only solution to B x = is x =, and thus the only solution to A x = is x =, which means that the columns of A are linearly independent. So, we have shown that the columns of A that correspond to columns of B with leading s form a linearly independent set. Next, we need show that these columns, namely the columns of A, are a spanning set for the columnspace of A. Well, we know that the columns of A form a spanning set for the columnspace of A. As before, to do this, we will start by turning our attention to the columns of B. Let s consider a vector b jl, that is a column of B that does not correspond 3

to a leading. Then its only non-zero terms occur in places where another column had a leading, and thus we know b jl can be written as a linear c combination of the vectors b i,..., b ik, since if b jl =., then b jl = c bi + + c k bik. Then c bi + + c k bik b jl =, which we can write c [ ] as bi bik bjl. c k =. But the matrix [ ] a i a ik a jl [ ] is row equivalent to bi bik bjl so this means that we also have that c [ ] ai a ik a jl. c k =, and thus we have a jl = c a i + + c k a ik, so a jl can be written as a linear combination of a i,..., a ik. So, we ve seen that the vectors a j,..., a jn k can each be written as a linear combination of the vectors in { a i,..., a ik }. As such, we have that Span{ a,..., a n } = Span{ a i,..., a ik, a j,..., a jn k } = Span{ a i,..., a ik }. And so, we have shown that { a i,..., a ik } is linearly independent, and that Span{ a i,..., a ik } = Span{ a,..., a n } = Col(A), so { a i,..., a ik } is a basis for the columnspace of A. c m The Basis of the Nullspace of a Matrix In Section 2.2, we saw that if A had rank r, then the general solution of A x = was expressed as the spanning set of n r vectors. Shortly, we will show that these vectors are in fact linearly independent, and therefore they are a basis for the nullspace of A. But first, we introduce the following definition: Definition: Let A be an m n matrix. We call the dimension of the nullspace of A the nullity of A and denote it by nullity(a). Theorem 3.4.7: Let A be an m n matrix with rank(a) = r. Then the spanning set for the general solution of the homogeneous system A x = obtained by the method in Chapter 2 is a basis for Null(A), and the nullity of A is n r. Example: To find a basis for the nullspace of A = 4 2 3 4 9 3 7 5 we need to find the general solution to A x =, which we start by finding the reduced row echelon form of A., 4

4 2 3 4 9 3 7 5 4 2 3 3 4 4 4 2 3 4 R 2 + 3R R 3 + R (/4)R 3 R + R 2 4 2 3 3 3 5 4 2 3 3 7 6 3 4 R 2R 3 R 2 3R 3 R 3 + R The last matrix is in RREF, and thus we see that the system A x = is equivalent to x +7x 3 +6x 5 = x 2 +3x 3 4x 5 = x 4 x 5 = Replacing the variables x 3 and x 5 with the parameters s and t, we get x +7s +6t = x 2 +3s 4t = x 4 t = and from this we see that the general solution to A x = is x x 2 x 3 x 4 x 5 = And thus we have that 7s 6t 3s 4t s t t 7 3, = s 6 4 7 3 + t 6 4 is a basis for the nullspace of A. Proof of Theorem 3.4.7: Let { v,..., v n r } be a spanning set for the general solution of A x = obtained from the reduced row echelon form of A, and consider the equation t v + + t n r v n r = Looking at a general term t i v i, suppose that v i is the vector affiliated with the parameter s i, which came from the variable x j. Then the j-th component of v i 5

is a. But, more importantly, the j-th component of all the other vectors will be. And so, if we look at the j-th equation of the system t v + + t i v i + + t n r v n r = we have t ( v ) j + + t i ( v i ) j + + t n r ( v (n r) ) j = + + t i () + + = t i = But since this is true for any term t i v i, we have shown that t = = t n r = for all i n r. This means that the only solution to our vector equation is the trivial solution, and thus the set { v,..., v n r } is linearly independent. And since we already knew that it spanned the nullspace, we have shown that { v,..., v n r } is a basis for the nullspace. 6