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

Similar documents
6 Basis. 6.1 Introduction

Row Space, Column Space, and Nullspace

VECTORS [PARTS OF 1.3] 5-1

SYMBOL EXPLANATION EXAMPLE

Chapter 1. Vectors, Matrices, and Linear Spaces

( 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. 9.1 Opening Remarks. Week Solvable or not solvable, that s the question. View at edx. Consider the picture

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

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

Math 3013 Problem Set 4

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

6. The scalar multiple of u by c, denoted by c u is (also) in V. (closure under scalar multiplication)

Span & Linear Independence (Pop Quiz)

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

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

3.3 Linear Independence

MATH10212 Linear Algebra B Homework Week 4

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

Chapter 1: Linear Equations

Kernel and range. Definition: A homogeneous linear equation is an equation of the form A v = 0

(II.B) Basis and dimension

Math Linear algebra, Spring Semester Dan Abramovich

Math 2030 Assignment 5 Solutions

The scope of the midterm exam is up to and includes Section 2.1 in the textbook (homework sets 1-4). Below we highlight some of the important items.

7. Dimension and Structure.

Chapter 1: Linear Equations

APPENDIX: MATHEMATICAL INDUCTION AND OTHER FORMS OF PROOF

4.3 - Linear Combinations and Independence of Vectors

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

Chapter 3. Vector spaces

Chapter Two Elements of Linear Algebra

Chapter 1. Vectors, Matrices, and Linear Spaces

EXAM 2 REVIEW DAVID SEAL

LINEAR SYSTEMS, MATRICES, AND VECTORS

Math 301 Test I. M. Randall Holmes. September 8, 2008

MTH 102A - Linear Algebra II Semester

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

Lecture 16: 9.2 Geometry of Linear Operators

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

Linear equations in linear algebra

Solutions to Homework 5 - Math 3410

Check that your exam contains 20 multiple-choice questions, numbered sequentially.

Section 1.5. Solution Sets of Linear Systems

Column 3 is fine, so it remains to add Row 2 multiplied by 2 to Row 1. We obtain

Chapter 1: Systems of Linear Equations

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:

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

MTH 362: Advanced Engineering Mathematics

Homework 1.1 and 1.2 WITH SOLUTIONS

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

MATH10212 Linear Algebra B Homework Week 3. Be prepared to answer the following oral questions if asked in the supervision class

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

a (b + c) = a b + a c

Abstract Vector Spaces and Concrete Examples

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.

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Linear Algebra Exam 1 Spring 2007

1 +( 3) 2 = 8. Each of these is an example of a linear combination of the vectors x 1 and x 2.

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

Math 4310 Solutions to homework 1 Due 9/1/16

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

Linear Algebra. Preliminary Lecture Notes

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

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

Properties of Linear Transformations from R n to R m

Linear Algebra Handout

Math 550 Notes. Chapter 2. Jesse Crawford. Department of Mathematics Tarleton State University. Fall 2010

Spring 2014 Math 272 Final Exam Review Sheet

Problem set #4. Due February 19, x 1 x 2 + x 3 + x 4 x 5 = 0 x 1 + x 3 + 2x 4 = 1 x 1 x 2 x 4 x 5 = 1.

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information

1 Matrices and matrix algebra

Chapter 7. Linear Algebra: Matrices, Vectors,

Math 369 Exam #2 Practice Problem Solutions

Math 54. Selected Solutions for Week 5

Math 314 Lecture Notes Section 006 Fall 2006

Linear Algebra. Preliminary Lecture Notes

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

1.3 Linear Dependence & span K

Linear Algebra Practice Problems

Lecture 22: Section 4.7

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

Exam 1 - Definitions and Basic Theorems

Basic Linear Algebra in MATLAB

MTH 464: Computational Linear Algebra

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 21b: Linear Algebra Spring 2018

1 Invariant subspaces

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Linear Independence. Linear Algebra MATH Linear Algebra LI or LD Chapter 1, Section 7 1 / 1

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

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

GENERAL VECTOR SPACES AND SUBSPACES [4.1]

The Gauss-Jordan Elimination Algorithm

Solutions to Midterm 2 Practice Problems Written by Victoria Kala Last updated 11/10/2015

Matrix Algebra: Definitions and Basic Operations

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

Homogeneous Linear Systems and Their General Solutions

Linear Algebra Math 221

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

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

Transcription:

Linear Algebra (Part II) Vector Spaces, Independence, Span and Bases A vector space, or sometimes called a linear space, is an abstract system composed of a set of objects called vectors, an associated field of scalars, together with the operations of vector addition and scalar multiplication Let V denote the set of vectors and F denote the field of scalars Here I ll use bold lowercase Roman letters to signify vectors, ie x V, and lowercase Greek letters to signify scalars, ie α F I m going to list out now what properties vector addition and scalar multiplication are required to satisfy on a given vector space (a ) For every x and y V we have x+y V (a ) For every x, y and z V we have (x+y)+z = x+(y+z) (a ) For every x and y V we have x+y = y+x (a 3) There is a vector V such that x+ = x for every x V (a 4) For every x V there is a vector x V such that x+x = (m ) For every α F and x V we have αx V (m ) For every α and β F we have α(βx) = (αβ)x for every x V (m ) If F is the scalar field s multiplicative identity then x = x for any x V (d ) For every α F and x and y V we have α(x+y) = αx+αy (d ) (α+β)x = αx+βx Let me say some words about these items (a ) says V is closed under vector addition (m ) says V is also closed under scalar multiplication (a ) and(a ) say vector addition must be associative and commutative (a 3) says V must contain the additive identity (a 4) says every vector in V has its additive inverse in V (d ) and (d ) are the scalar vector distributive properties When F = R one often calls the vector space a real vector space, and it s often called a complex vector space when F = C In this course we will study only one particular type of vector space The vectors themselves are column matrices x = x x m,

and the scalar field will be either the real or complex numbers For now, let s assume all numbers are real Vector addition and scalar multiplication is defined exactly as done for matrices on your previous homework, x y x =, y = x m y m, α R x+y x +y x m +y m and αx αx αx m I will use the symbol R m to denote the vector space whose vectors are composed of all such real m matrices Please check on your own that R m satisfies all requirements (a ) thru (d ) listed above Suppose V is a vector space, ie it is composed of a given set of vectors V with associated scalar field F, and its notion of vector addition and scalar multiplication satisfies requirements (a ) thru (d ) A subspace S of V, denoted by S V, shares the same scalar field F with the parent space V, and inherits the notion of vector addition and scalar multiplication from the parent, but its vectors are composed of a subset S V of V s vectors However, a subspace is not just a subset of vectors from a vector space, it is more If we say S is a subspace of V, then it must also be a vector space on its own Here are three examples to help clarify what a subspace is Consider a subset of vectors from the vector space R S = {x R : x = } Does this set define a subspace of R? The answer is no S is neither closed under vector addition nor scalar multiplication For example x = S, y = S, but x+y = S, and also x = Here s a second example Consider S, α = R but αx = S = {x R : x > } S This set is closed under vector addition since for arbitrary x S and y S x y x +y x = S, y = S x x y >, y > x+y = S, x +y since x +y > But it s not closed under scalar multiplication since for example x = S, α = R but αx = S Therefore, S = {x R : x > } does not define as subspace of R

Here s a third example Consider S = {x R : x +x = } This set is closed ( under ) vector addition since x y x = S, y = S x x y +x =, y +y = x +y x+y = S x +y Note x+y S because (x +y )+(x +y ) = x +x +y +y = + = Moreover x αx x = S x x +x = α R, αx = S, αx since (αx )+(αx ) = α(x +x ) = α = So, S isalsoclosedunderscalarmultiplication As you ll see in a moment, this is enough to conclude S = {x R : x +x = } does define a subspace of R On their own, the nine requirements I listed above, (a ) thru (d ), are independent of eachother However, for a subset of vectors which inherits its structure (addition, etc) from a parent vector space, some requirements become redundant Clearly, all requirements except (a ), (a 3), (a 4) and (m ) are automatically satisfied for such a subsystem In fact, as you will show in an exercise, if S is a nonempty subset of vectors from a parent vector space and S is closed under the parent s addition and scalar multiplication, ie (a ) and (m ) are true, then (a 3) and (a 4) must also be true This allows us to state the following If S is a nonempty subset of vectors from a parent vector space and S is closed wrt the parent s vector addition and scalar multiplication, then S defines a subspace of the parent space Suppose S is a nonempty subset of vectors from a (real) vector space Also, suppose S is closed wrt the parent s vector addition and scalar multiplication (a) Show the additive identity is in S (b) Show that for any x S there is a x S such that x+x = Hint: (a) (+)x = x (b) x x S Determine whether or not the following sets define a subspace of R (a) {x R : x = } (c) {x R : x +x } (b) {x R : x x = } (d) {x R : x +x = } Either prove the set is closed under both vector addition and scalar multiplication or give an example to show one is not 3

Consider a set of n vectors {x,,x n } This set is called a dependent set if there are n scalars, α,,α n, which are not all zero such that α x + +α n x n = A set of vectors that is not dependent is called an independent set Given that the vectors in the set above come from the vector space R m, we can use matrix elimination to determine whether the set is independent or not The problem can be recast as follows α x + +α n x n = x, x,n x m, x m,n α α n = Make sure you work this out on your own Check that the jth column of the m n matrix on the right is the column vector x j R m The zero matrix on the right has size m If the only solution to this linear system is α = = α n =, then the set is independent If the system has a nontrivial solution however, the set is dependent Consider the following four vectors from R 3 x, x 3 4 6, x 3 I m going to use these in the next two examples 7 8, x 4 Is the set {x,x,x 3 } an independent set? The augmented matrix to consider is [ 4 7 [ 4 7 [ 4 7 8 3 6 3 6 6 Back substitution tells us α 3 = α, α = α and α = 4( α) 7(α) = α for any real number α WLOG take α = to see x x +x 3 =, and conclude {x,x,x 3 } is not an independent set of vectors Is the set {x,x,x 4 } an independent set? The augmented matrix to consider here is [ 4 7 [ 4 7 [ 4 7 [ 4 7 8 3 6 3 3 6 6 8 3 7 8 3 This time back substitution tells us α 3 =, α = and α = Therefore α x +α x +α 3 x 4 = α = α = α 3 =, and we conclude {x,x,x 4 } is an independent set of vectors 4

3 Prove the following A set of vectors {x,,x n } (assume n ) is dependent if and only if at least one its vectors can be written as a linear combination of the others Hint: Consider x i = k i α k x k for some index i n Consider the following vectors from R 4 7 4 x =, x =, x 4 3 = 3 4 Is {x,x,x 3 } an independent set of vectors? Is {x,x,x 4 } an independent set of vectors? 6 Is {x,x 3,x 4 } an independent set of vectors? 4, x 4 = 4 Considerafinitesetofvectorsfrom R m, {x,,x n } Thespanofthissetisthesubspace of R m defined by That is, span{x,,x n } { n k= α kx k : each α k R} y span{x,,x n } y = α x + +α n x n for some set of real numbers α,,α n In other words, a vector is in span{x,,x n } when it can be written as a linear combination of the specified vectors x,,x n Clearly span{x,,x n } is closed under vector addition and scalar multiplication and is therefore a subspace of R m regardless of what the set {x,,x n } is If {x,,x n } is an independent set of vectors and y span{x,,x n } then the decomposition y = α x + +α n x n is unique Let me show you why Suppose there are two ways to decompose y, say y = α x + +α n x n and y = β x + +β n x n = (α β )x + +(α n β n )x n (α β ) = = (α n β n ) = This last step follows from the fact that {x,,x n } is an independent set So, since we have α k = β k for each k =,,n, the two decompositions above are in fact identical

It s not hard to show the following If {x,,x n } is a dependent set of vectors and y span{x,,x n } then the decomposition y = α x + +α n x n is not unique You are asked to show this in exercise 7 below Now, how do we compute whether or not a given vector is in a span? We ll use elimination of course Consider the subspace S span{x,x,x 3 } R 4 where 7 4 x =, x =, x 4 3 = 3 4 Is y 7 7 span{x,x,x 3 }? The linear system we have to solve is 7 4 4 3 4 α α α 3 = 7 7 and we eliminate the augmented matrix to obtain 7 7 7 4 4 3 4 7, 7 Now, use back substitution See that α 3 is a free variable, so let α 3 = α where α is any real number Then, α = (+α) and α = ( 3α) So we get 7 y = = ( 3α)x + (+α)x +αx 3 S 7 Therefore we see y S Moreover, since the decomposition is not unique, ie α here can be any real number, we also conclude the set of vectors {x,x,x 3 } is not independent (Look back at exercise above) Let me change y by a little bit and ask the same question 7 Is y 6 span{x,x,x 3 }? The augmented matrix to consider here is 7 4 4 3 4 7 6 7 6 / 7 /

However, the third row in the right above says α + α + α 3 = /, and this is impossible Therefore, this time y span{x,x,x 3 } 7 Suppose {x,,x n } is a dependent set and y span{x,,x n } Prove there are an infinite number decompositions such that y = α x + +α n x n Hint Since {x,,x n } is a dependent set, there are numbers β,,β n which are not all zero such that β x + +β n x n = 8 Let {x,x,x 3 } come from exercise 4 above Determine if the given vector y is in span{x,x,x 3 } Ifitis, writedownandcheckthedecomposition y = α x +α x +α 3 x 3 7 (a) y = (b) y = 3 3 4 8 A basis for a vector space is a linearly independent spanning set That is, {b,,b n } is a basis for a vector space V if: () {b,,b n } is an independent set () V = span{b,,b n } The dimension of a vector space is the number of basis vectors needed to span it It s not obvious, but this number is independent of any particular spanning basis Clearly, R = span{e,e }, where e =, e =, and so R is two dimensional (Duh) Not as obvious, here s another basis for R R = span{b,b }, where b =, b = 3 The basis {e,e } is called the standard basis for R The standard basis for R m is e =, e =,, e m =, e m = One might think that the standard basis for R m is the most useful of all of its bases But it really depends on the application Later in this course we will consider others 7

Let me close out this assignment by showing you, by example, how to convert a given basis for a subspace of R m to its standard basis Recall from exercise 4 you showed 4 x =, x = 3 7 4, x 3 = 4 is an independent set Therefore {x,x,x 3 } is a basis for S span{x,x,x 3 } To determine S s standard basis, write out an augmented matrix using these three column vectors as rows 4 3 7 4 4 Notice there s no vertical bar ( ) here Now, row reduce to row echelon form 4 3 8 8 4 3 8 8 4 3 /8 Notice on the right I ve scaled all pivots to one Finally, starting from the right most pivot, use backward elimination to get 4 This is called the row canonical form or sometimes the reduced row echelon form for the augmented matrix See https://wikipediaorg/wiki/row echelon form The standard basis for the subspace S span{x,x,x 3 } can now be read off as follows S = span{e,e,e 3 }, where e =, e =, e 3 = BTW I checked my calculation by observing x = e +4e 3e 3 x = 7e +e e 3 x 3 = e +e 4e 3, Find the standard basis for span{x,x 3,x 4 } from exercise 6 The set {x,x,x 4 } from exercise is not independent However, it s still possible to determine the standard basis for span{x,x,x 4 } as just done You ll get a zero row when 8

eliminating to row canonical form Disregard the zero row when you read off your basis What is the dimension of span{x,x,x 4 }? Answer: two