ARE211, Fall2012. Contents. 2. Linear Algebra (cont) Vector Spaces Spanning, Dimension, Basis Matrices and Rank 8

Similar documents
Linear Equations in Linear Algebra

Spanning, linear dependence, dimension

/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Matroids and Greedy Algorithms Date: 10/31/16

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

Chapter 1. Vectors, Matrices, and Linear Spaces

Linear Algebra, Summer 2011, pt. 2

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

MATH 310, REVIEW SHEET 2

Vector Spaces. Addition : R n R n R n Scalar multiplication : R R n R n.

Linear Independence Reading: Lay 1.7

1 Last time: inverses

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

February 20 Math 3260 sec. 56 Spring 2018

(II.B) Basis and dimension

EXAM 2 REVIEW DAVID SEAL

Section 1.5. Solution Sets of Linear Systems

Linear Programming and its Extensions Prof. Prabha Shrama Department of Mathematics and Statistics Indian Institute of Technology, Kanpur

Constrained and Unconstrained Optimization Prof. Adrijit Goswami Department of Mathematics Indian Institute of Technology, Kharagpur

MAT 242 CHAPTER 4: SUBSPACES OF R n

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

MATH240: Linear Algebra Exam #1 solutions 6/12/2015 Page 1

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

Second Midterm Exam April 14, 2011 Answers., and

L2-1. Of space and subspace 10 Oct 2015

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

Tues Feb Vector spaces and subspaces. Announcements: Warm-up Exercise:

Math 54 HW 4 solutions

22 Approximations - the method of least squares (1)

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction

Volume in n Dimensions

Notes on Row Reduction

Study Guide for Linear Algebra Exam 2

All of my class notes can be found at

Finish section 3.6 on Determinants and connections to matrix inverses. Use last week's notes. Then if we have time on Tuesday, begin:

Vector Spaces 4.3 LINEARLY INDEPENDENT SETS; BASES Pearson Education, Inc.

Math 4377/6308 Advanced Linear Algebra

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

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C =

Chapter 4 & 5: Vector Spaces & Linear Transformations

Row Reduced Echelon Form

MTHSC 3110 Section 1.1

Linear Algebra for Beginners Open Doors to Great Careers. Richard Han

Linear Algebra Handout

Section 1.x: The Variety of Asymptotic Experiences

MATH10212 Linear Algebra B Homework Week 4

ENGINEERING MATH 1 Fall 2009 VECTOR SPACES

Chapter 1 Review of Equations and Inequalities

MATH 310, REVIEW SHEET

MITOCW ocw f99-lec09_300k

MAT 1302B Mathematical Methods II

Math 4377/6308 Advanced Linear Algebra

Gaussian elimination

MATH 54 - WORKSHEET 1 MONDAY 6/22

Lecture 6: Spanning Set & Linear Independency

Lecture 14: The Rank-Nullity Theorem

Chapter 1 Vector Spaces

LINEAR ALGEBRA: THEORY. Version: August 12,

Math 3191 Applied Linear Algebra

Lecture 9: Vector Algebra

Lecture 8: A Crash Course in Linear Algebra

6.4 BASIS AND DIMENSION (Review) DEF 1 Vectors v 1, v 2,, v k in a vector space V are said to form a basis for V if. (a) v 1,, v k span V and

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

Vector Spaces. Chapter Two

Abstract & Applied Linear Algebra (Chapters 1-2) James A. Bernhard University of Puget Sound

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

Matrix-Vector Products and the Matrix Equation Ax = b

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

GEOMETRY OF MATRICES x 1

Math 54. Selected Solutions for Week 5

Sometimes the domains X and Z will be the same, so this might be written:

MATH 2030: ASSIGNMENT 4 SOLUTIONS

Math 308 Spring Midterm Answers May 6, 2013

One-to-one functions and onto functions

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality

MATH240: Linear Algebra Review for exam #1 6/10/2015 Page 1

Math 110 Professor Ken Ribet

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

Math 24 Spring 2012 Questions (mostly) from the Textbook

Chapter 1: Linear Equations

Modern Algebra Prof. Manindra Agrawal Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

Footnotes to Linear Algebra (MA 540 fall 2013), T. Goodwillie, Bases

( )( b + c) = ab + ac, but it can also be ( )( a) = ba + ca. Let s use the distributive property on a couple of

Linear Algebra (Part II) Vector Spaces, Independence, Span and Bases

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

2 Metric Spaces Definitions Exotic Examples... 3

Linear Equations in Linear Algebra

4 Elementary matrices, continued

v = ( 2)

Week #4: Midterm 1 Review

Section 3.1: Definition and Examples (Vector Spaces), Completed

Topic 14 Notes Jeremy Orloff

NAME MATH 304 Examination 2 Page 1

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

Linear Algebra Practice Problems

Chapter 4. Solving Systems of Equations. Chapter 4

Complex Numbers Year 12 QLD Maths C

LAGRANGE MULTIPLIERS

Vector space and subspace

Groups. s t or s t or even st rather than f(s,t).

Transcription:

ARE211, Fall2012 LINALGEBRA2: TUE, SEP 18, 2012 PRINTED: SEPTEMBER 27, 2012 (LEC# 8) Contents 2. Linear Algebra (cont) 1 2.6. Vector Spaces 1 2.7. Spanning, Dimension, Basis 3 2.8. Matrices and Rank 8 2. Linear Algebra (cont) 2.6. Vector Spaces A key concept in linear algebra is called a vector space. Verbal Defn: a nonempty set of vectors V is called a vector space if it satisfies the following property: given any two vectors that belong to the set V, every linear combination of these vectors is also in the space. Math Defn: a nonempty set of vectors V is called a vector space if for all x 1,x 2 V, for all α 1,α 2 R, α 1 x 1 + α 2 x 2 V. Example: the set of vectors represented by a line. Note that a line can (and should) be thought of as just another set of vectors. Think about all of the lines you can draw in R 2. Which lines are vector spaces, according to the above definition? 1

2 LINALGEBRA2: TUE, SEP 18, 2012 PRINTED: SEPTEMBER 27, 2012 (LEC# 8) verbal defn excludes any straight line that doesn t go thru the origin. verbal defn excludes any line that curves. verbal defn excludes any straight line thru the origin that stops. What s left is rays thru the origin. By a ray through the origin I mean a straight line that passes through the origin and goes on forever, in either direction. Every ray through the origin is a vector space. Mathematically, any ray through the origin is defined as the set of all scalar multiples of a given vector. It s called a one-dimensional vector space, because it is constructed from a single vector. Note that neither the nonnegative or the positive cones defined by a single vector are vector spaces. Turns out that there s exactly two more vector spaces in R 2 : The set consisting of the entire plane is a vector space, i.e., R 2. This is a two dimensional vector space. The set consisting of zero alone is a vector space. This is a zero dimensional vector space. See how this definition stacks up against our examples: look at a line that curves: take any vector in the set consisting of the points in the line. Let v 1,v 2 be any vectors in the line. Take zero times the first and 2 times the second. Is it in the set? No. Conclude that the curved line is not a vector space. look at a straight line that doesn t pass through the origin. Let v 1,v 2 be any vectors in the line. Take zero times both. In the set? No. Conclude that a straight line that doesn t pass through the origin is not a vector space. take any straight line thru the origin that stops. Let v 1,v 2 be any vectors in the line. Take zero times the first and a large enough multiple times the second. Is it in the set? No. Conclude that a line thru the origin that stops is not a vector space.

ARE211, Fall2012 3 Now consider zero: satisfies the above definition. Similarly the whole plane. But an arbitary positive cone wouldn t. What are the vector spaces in R 3. The zero vector (with three components). Lines thru the origin Planes that contain the origin The whole space R 3 itself There aren t any others. A vector space that lives inside another vector space is called a vector subspace of the original vector space. The vector space consisting of zero alone is a vector subspace of every vector space Lines thru the origin are vector subspaces of R 2, R 3 or R whatever, depending on the number of components of the vector that defines the line. A plane in 3D that contains the origin is a vector subspace of R 3. 2.7. Spanning, Dimension, Basis Intuitively, a set of vectors in R n is said to span a vector space if you can build the entire vector space out of the original set of vectors. (We ll always assume that the set of vectors are all conformable, i.e., have the same number of elements.) Defn: Given a vector space V, a set of vectors S = {v 1,v 2,...v i,...v n } spans V if any element of V can be written as a linear combination of the elements of S. Note that a given set of vectors can span many different spaces, some of which are subsets of others.

4 LINALGEBRA2: TUE, SEP 18, 2012 PRINTED: SEPTEMBER 27, 2012 (LEC# 8) Example: Consider a set of vectors{v 1,v 2 } R 2. Assume they are linearly independent. The different vector spaces that this set spans are: {(0,0)} any line through (0,0) (not necessarily one including either {v 1 or v 2 }). R 2 Moreover every set of vectors spans some vector space. Proof: the vector space consisting of {0} R n is always spanned by any given set of vectors in R n. Defn: The span of a set of vectors S = {v 1,v 2,...,v n } is the (unique) vector space V satisfying the property: if W and V are both spanned by S, then W V. That is, the span of a set of vectors is the biggest vector space that the set spans: all other spaces that the set spans are subspaces of the span of the set. Fact: (Takes a little bit of work to prove.) If V is the span of a set of vectors S = {v 1,v 2,...,v n }, then S V. More examples of vector spaces and the vectors that span them: Take a line through the origin in R 2. Call this vector space V. What vectors span this vector space? Answer: any element of V except one spans it. Exception is the vector (0,0), i.e., all of the elements of V can be written as scalar multiples of any given element of V (except zero). Vectors that belong to the same line through the origin are called collinear, i.e., v 1 and v 2 are collinear if there exists α R such that v 2 = αv 1. Take the vector space consisting of zero. What spans it? Ans: zero. Take the whole of R 2 : what sets of vectors span it? Answer: any pair of vectors that don t both belong to the same ray through the origin.

ARE211, Fall2012 5 Take the horizontal plane in R 3. What sets of vectors span it? How many vectors do you need? Take an arbitrary plane in R 3 that passes through the origin. Not quite so easy to see that it is a vector space, but it is. Note that if a set of vectors spans a space and you throw in any number of additional vectors (with the same number of components) then the augmented set still spans the space. For example, if {v 1,v 2 } R n spans V R n then {v 1,v 2,...,v n } R n does too. Just take v V and write it as a linear combination of v 1 and v 2 plus zero times all the other vectors. Since spanning sets of vectors may contain many vectors that aren t necessary to span the space, it is useful to identify spanning sets of vectors that don t contain any excess fat. Definition: Given a vector subspace W of a vector space V, a set of vectors S = {v 1,v 2,...,v n } V, S is a minimal spanning set for W if S spans W and for i = 1,...n, S\v i does not span W. For example, Any single nonzero element v of a line in R n is a minimal spanning set; it spaces the vector space consisting of the line that contains v. For the horizontal plane in R 2, any pair of noncolinear vectors in the plane spans it. Examples of spanning sets that aren t minimal: Take a line through the origin, and a bunch of vectors belonging to the line, i.e., a bunch of collinear vectors. Can toss all but one out. Same thing for a plane in R 3 : can toss all but two out. Defn: Given a vector space V, a set of vectors S = {v 1,v 2,...,v n } is a basis for V if S V and S is a minimal spanning set for V.

6 LINALGEBRA2: TUE, SEP 18, 2012 PRINTED: SEPTEMBER 27, 2012 (LEC# 8) Note the difference between a minimal spanning set and a basis: a basis for V is required to belong to V. Take {v 1,v 2 } R 2 which are linearly independent so this set spans R 2. For v 3 R 2 \{v 1,v 2 }, the pair also spans the subspace W = {αv 3 : α R}. But {v 1,v 2 } is not a basis for W. Fact: if a set of vectors forms a basis for some vector space, then the set must be a linear independent set. To see this, suppose that v 3 can be written as a linear combination of v 1 and v 2. Then you don t need v 3 in order to build V. Use instead the more primitive building blocks v 1 and v 2. Theorem (deep result, nontrivial to prove): Any two bases for a given vector space must have the same number of elements. Examples: Lines thru the origin Planes in R 3 Because of the preceding theorem, it makes sense to talk about the size of a vector space: size is the number of elements in any basis. Defn: The dimension of a vector space V is the number of elements in any basis for V. A line through the origin is a one-dimensional vector space (or a one-dimensional vector subspace of R 2 ). A plane in 3D is a two-dimensional subspace of R 3. The vector space consisting of zero alone is a zero dimensional vector space. For technical reasons, the basis for this space is the empty set. We won t go into the reasons why. Note well that we are talking now of a rather different usage of the word dimension from the familiar usage. One often talks about 3 dimensional vectors, etc. A 3 dimensional vector space is something totally different from a 3 dimensional vector. Could have a 3 dimensional vector

ARE211, Fall2012 7 space that is a subspace of R 17 : its bases would all consist of three 17-dimensional vectors. For this reason, I ll try never to use the term 3-dimensional vector, saying instead, 3-component vector. I ll reserve the term dimension to refer to the size of a vector space. Fact: the dimension of the vector space spanned by a given set of m vectors cannot have a dimension higher than m. Fact: Exactly one vector space in R n has a unique set of basis vectors. For every other vector space, there are infinitely many sets of basis vectors. The exception is the zero-dimensional vector space. For any other vector space, take a basis, multiply every element by α R and you have another one. So far, we ve been talking about vector subspaces of R n. There are lots of other vector spaces. For example, the set of all sequences in R, i.e., the set of all mappings from N to R is a vector space. We ll call this space R. What s a basis for this space? Obviously, it has to be a subset of the space, i.e., each element in the basis has to be a sequence in R itself. There are lots of such bases. 1 if k = r One is the set {e k } k=1, where each ek is itself a sequence, defined by e k r =. To see 0 otherwise that this is indeed a basis for R, take any sequence {x n } n=1 and observe that it can be written as k=1 x ke k. Consider a repeating sequence of the form {x 1,x 2,...,x n,x 1,x 2,...,x n,...}. Let V n denote the set all such sequences, i.e., for n = 5, V 5 = {{x n } : x n = a,b,c,d,e,a,b,c,d,e,..., } for some a R, b R, c R, e R, e R}. What s the dimension of V n.

8 LINALGEBRA2: TUE, SEP 18, 2012 PRINTED: SEPTEMBER 27, 2012 (LEC# 8) 2.8. Matrices and Rank A matrix is nothing other than a bunch of column vectors stacked beside each other, or a bunch of row vectors stacked on top of each other. All of the above stuff about vector spaces and the sets that span them can be restated in terms of matrices: Can we say that a matrix spans a vector space? In fact any matrix spans two vector spaces: the columns span one, and the rows span another. If the matrix is m n, then the rows span a subspace of R n i.e., we have m rows each with n elements) and the columns span a subspace of R m Don t talk about the dimension of a matrix (well you do, but here the word dimension means something different), but you do talk about its rank The row rank of a matrix is the dimension of the (unique) vector space which is the span of the rows of the matrix. The column rank of a matrix is the dimension of the (unique) vector space which is the span of the columns of the matrix. (Deep fact if not pure magic:) The dimension of the vector space spanned by the rows is the same as the dimension of the vector space spanned by the columns. Matrix could have 14 rows and 348 columns. The rows span some subspace of R 348. The columns span some subspace of R 14. The dimensions of these entirely different subspaces (e.g., might be 7) are the same. For this reason, we can talk about the rank of a matrix, which is equal to both the row and the column rank. The rank of a matrix cannot exceed the minimum of the number of rows and the number of columns

ARE211, Fall2012 9 A matrix is said to be of full rank if its rank is equal to the minimum of the number of rows and the number of columns, that is, if it is as large as it can be. Under what circumstances do the rows or the colums of a matrix form a basis for a vector space? For an m n matrix, with more columns than rows, i.e., n > m, the rows may form a basis for a vector space, but the columns can t: The rows will form a basis for an m-dimensional subspace of R n if and only if the rows are linearly independent The columns can t form a basis, because there are n of them and any space that they span must be a subspace of R m : you need at most m vectors to do this and n > m, so that the columns must be a linear dependent set Take a square matrix, M, which is n n. There are vector subspaces R and C of R n such that R is the span of the rows of the matrix and C is the span of the columns. What property of the matrix tells me whether or not R and C have dimension n or less? Ans again: linear independence. Suppose the square matrix M forms a basis for some vector space. Which vector space will it be: Ans: it must be R n. If M has less than full rank, then the vector spaces R and C spanned respectively by the rows and the columns, both with dimension less than n, will in general be different vector spaces. For example, consider A = 1 2. 3 6 (1) The rows span the line in R 2 given by {α(1,2) : α R}. (2) The cols span the line in R 2 given by {α(1,3) : α R}. Under what conditions will the two spaces R = C? Ans: if the matrix is symmetric.