Vector Spaces 4.4 Spanning and Independence

Similar documents
Lecture 6: Spanning Set & Linear Independency

MAT 242 CHAPTER 4: SUBSPACES OF R n

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

Math 369 Exam #2 Practice Problem Solutions

Chapter 1. Vectors, Matrices, and Linear Spaces

Chapter 3. Vector spaces

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

NAME MATH 304 Examination 2 Page 1

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

Solutions to Homework 5 - Math 3410

Study Guide for Linear Algebra Exam 2

Linear Independence x

Linear Combination. v = a 1 v 1 + a 2 v a k v k

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

Chapter 1: Systems of Linear Equations

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

Vector Spaces 4.5 Basis and Dimension

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

Math 54 HW 4 solutions

MATH 304 Linear Algebra Lecture 10: Linear independence. Wronskian.

Lecture 22: Section 4.7

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

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.

Math 2030 Assignment 5 Solutions

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

GENERAL VECTOR SPACES AND SUBSPACES [4.1]

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 equations in linear algebra

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.

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Lecture 9: Vector Algebra

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

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

Linear Equations in Linear Algebra

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

Matrices and RRE Form

Lecture 18: Section 4.3

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

Linear Algebra. Preliminary Lecture Notes

Span & Linear Independence (Pop Quiz)

6.4 Basis and Dimension

Math 102, Winter 2009, Homework 7

7. Dimension and Structure.

APPM 2360 Exam 2 Solutions Wednesday, March 9, 2016, 7:00pm 8:30pm

Linear Equations and Vectors

MATH10212 Linear Algebra B Homework Week 4

Math 54. Selected Solutions for Week 5

Row Space, Column Space, and Nullspace

Linear Algebra. Preliminary Lecture Notes

Linear Algebra 1 Exam 2 Solutions 7/14/3

Review for Chapter 1. Selected Topics

Chapter 7. Linear Algebra: Matrices, Vectors,

Math 2940: Prelim 1 Practice Solutions

Dr. Abdulla Eid. Section 4.2 Subspaces. Dr. Abdulla Eid. MATHS 211: Linear Algebra. College of Science

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:

Linear Independence Reading: Lay 1.7

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

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

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

Chapter 1 Vector Spaces

Section Gaussian Elimination

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

Math 3191 Applied Linear Algebra

Vector Spaces. (1) Every vector space V has a zero vector 0 V

Lecture 17: Section 4.2

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

Linear Algebra Practice Problems

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

VECTORS [PARTS OF 1.3] 5-1

MAT Linear Algebra Collection of sample exams

MATH 2050 Assignment 6 Fall 2018 Due: Thursday, November 1. x + y + 2z = 2 x + y + z = c 4x + 2z = 2

Linear Algebra MATH20F Midterm 1

Vector space and subspace

is Use at most six elementary row operations. (Partial

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Matrices and Matrix Algebra.

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

1. Solve each linear system using Gaussian elimination or Gauss-Jordan reduction. The augmented matrix of this linear system is

Chapter 2 Notes, Linear Algebra 5e Lay

Math 2331 Linear Algebra

Chapter 2 Subspaces of R n and Their Dimensions

Homework #6 Solutions

LINEAR SYSTEMS, MATRICES, AND VECTORS

Math 250B Midterm II Review Session Spring 2019 SOLUTIONS

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

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

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.

Lecture 2 Systems of Linear Equations and Matrices, Continued

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

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

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

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

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

Math 544, Exam 2 Information.

Vector Space Basics. 1 Abstract Vector Spaces. 1. (commutativity of vector addition) u + v = v + u. 2. (associativity of vector addition)

Rank, Homogenous Systems, Linear Independence

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

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

Chapter 5 Eigenvalues and Eigenvectors

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.

Transcription:

Vector Spaces 4.4 and Independence Summer 2017

Goals Discuss two important basic concepts: Define linear combination of vectors. Define Span(S) of a set S of vectors. Define linear Independence of a set of vectors.

Set theory and set theoretic Notations Borrow (re-introduce) some Set theoretic lingo and notations. A collection S of objects is called a set. Objects in S are called elements of S. We write x S to mean x is in S or x is an element of S. Given two sets, T, S we say T is a subset of S, if each element of T is in S. We write T S to mean T is a subset of S. Read the notation = as implies.

Linear Combination Definition. Let V be a vector space and v be a vector in V. Then, v is said to be a linear combination of vectors u 1, u 2,..., u k in V, if v = c 1 u 1 +c 2 u 2 + +c k u k for some scalars c 1, c 2,..., c k R.

Example 4.4.1a: Linear Combination Let S = {( 1, 2, 2), ( 2, 1, 1)} be a set of two vectors in R 3. Write u = ( 8, 1, 1) as a linear combination of the vectors in S, if possible. Solution: Write ( 8, 1, 1) = a( 1, 2, 2) + b( 2, 1, 1). So, ( 8, 1, 1) = ( a 2b, 2a + b, 2a b). So, a 2b = 8 2a +b = 1 2a b = 1

The augmented matrix 1 2 8 2 1 1 2 1 1 Its row echelon form (use TI-84 ref ) 1 1 1 2 2 0 1 3. So, b = 3, a = 2. 0 0 0 So, ( 8, 1, 1) = 2( 1, 2, 2) + 3( 2, 1, 1)

Example 4.4.1b: Linear Combination Let S = {( 1, 2, 2), ( 2, 1, 1)} be a set of two vectors in R 3. Write v = ( 3, 1, 3) as a linear combination of the vectors in S, if possible. Solution: Write ( 3, 1, 3) = a( 1, 2, 2) + b( 2, 1, 1). So, ( 3, 1, 3) = ( a 2b, 2a + b, 2a b). So, a 2b = 3 2a +b = 1 2a b = 3

The augmented matrix 1 2 3 2 1 1 2 1 3 Its row echelon form (use TI-84 ref ) 1 1 1 2 2 0 1 1. Last rwo gives 0 = 1 0 0 1 So, they system has no solution. v = ( 3, 1, 3) is not a linear combination of ( 1, 2, 2), ( 2, 1, 1).

Example 4.4.1c: Linear Combination Let S = {( 1, 2, 2), ( 2, 1, 1)} be a set of two vectors in R 3. Write v = ( 3, 1, 1) as a linear combination of the vectors in S, if possible. Solution: Write ( 3, 1, 1) = a( 1, 2, 2) + b( 2, 1, 1). So, ( 3, 1, 1) = ( a 2b, 2a + b, 2a b). So, a 2b = 3 2a +b = 1 2a b = 1

The augmented matrix 1 2 3 2 1 1 2 1 1 Its row echelon form (use TI-84 ref ) 1 1 1 2 2 0 1 1. So b = 1, a = 1 0 0 0 So, they system has no solution. So, ( 3, 1, 1) = ( 1, 2, 2) + ( 2, 1, 1)

Example 4.4.1d Let S = {( 1, 2, 2), ( 2, 1, 1)} be a set of two vectors in R 3. Write w = ( 9, 13, 13) as a linear combination of the vectors in S, if possible. Solution: Write ( 9, 13, 13) = a( 1, 2, 2) + b( 2, 1, 1). So, ( 9, 13, 13) = ( a 2b, 2a + b, 2a b). So, a 2b = 9 2a +b = 13 2a b = 13

The augmented matrix 1 2 9 2 1 13 2 1 13 Its row echelon form (use TI-84 ref ) 1 1 13 2 2 0 1 1. so b = 1, a = 7 0 0 0 So, w = ( 9, 13, 13) = 7( 1, 2, 2) + ( 2, 1, 1)

Example 4.4.1e Let S = {( 1, 2, 2), ( 2, 1, 1)} be a set of two vectors in R 3. Write z = ( 4, 3, 3) as a linear combination of the vectors in S, if possible. Solution: Write ( 4, 3, 3) = a( 1, 2, 2) + b( 2, 1, 1). So, ( 4, 3, 3) = ( a 2b, 2a + b, 2a b). So, a 2b = 4 2a +b = 3 2a b = 3

The augmented matrix 1 2 4 2 1 3 2 1 3 Its row echelon form (use TI-84 ref ) 1 1 3 2 2 0 1 1. So, a = 2, b = 1. 0 0 0 So, z = ( 4, 3, 3) = 2( 1, 2, 2) + ( 2, 1, 1).

Span of a Sets Definition. Let S = {v 1, v 2,..., v k } be a subset of a vector space V. The span of S is the set of all linear combinations of vectors in S. So, span(s) = {c 1 v 1 +c 2 v 2 +c k v k : c 1, c 2,, c k are scalars} The span(s) is also denoted by span(v 1, v 2,..., v k ). If V = span(s), we say V is spanned by S.

Span(S) is a subspace ofv Theorem 4.4.1 Let S = {v 1, v 2,..., v k } be a subset of a vector space V. Then, span(s) is a subspace of V. In fact, Span(S) is the smallest subspace of V that contains S. That means, if W is a subspace of V then, S W = span(s) W.

Proof.First, we show span(s) is a subspace of V. First, 0 = 0v 1 + 0v 2 + + 0v k spans. So, span(s) is nonempty. Let u, v Span(S) and c be a scalar. Then u = c 1 v 1 +c 2 v 2 + +c k v k, v = d 1 v 1 +d 2 v 2 + +d k v k where c 1, c 2,..., c k, d 1, d 2,..., d k are scalars. Then u + v = (c 1 + d 1 )v 1 + (c 2 + d 2 )v 2 + + (c k + d k )v k cu = (cc 1 )v 1 + (cc 2 )v 2 + + (cc k )v k So u + v, cu span(s). So span(s) is a subspace of V.

So, we have shown that span(s) is nonempty and closed under both addition and scalar multiplication. So, by Theorem 4.3.1, span(s) is a subspace of V. Now, we prove that span(s) is the smallest subspace W, of V, that contains S. Suppose W is a subspace of V and S W. Let u span(s). we will have to show u W. Then, u = c 1 v 1 + c 2 v 2 + + c k v k, where c 1, c 2,..., c k are scalars. Now, v 1, v 2,..., v k W. Since W is closed under scalar multiplication c i v i W. Since W is closed under addition u W. The proof is complete.

More Problems on spanning sets 4.4.2: of Sets Most obvious and natural spanning set of the 3 space R 3 is S = {(1, 0, 0), (0, 1, 0), (0, 0, 1)} Because for any vector u = (a, b, c) R 3 w e have u = (a, b, c) = a(1, 0, 0) + b(0, 1, 0) + c(0, 0, 1) Similarly, most obvious and natural spanning set of the real plane R 2 is S = {(1, 0), (0, 1)}.

Continued Preview More Problems on spanning sets More generally, we give the natural spanning set of R n. e 1 = (1, 0, 0,..., 0) e 2 = (0, 1, 0,..., 0) Let e 3 = (0, 0, 1,..., 0) (1) e n = (0, 0, 0,..., 1) Then, {e 1, e 2, e 3,..., e n } is a spanning set of R n. Remark. If S is spanning set of V and T is a bigger set (i.e. S T ) than T is also a spanning set of V.

Example 4.4.3 Preview More Problems on spanning sets Let S = {(1, 1), ( 1, 1)}. Is S a spanning set of R 2? Solution. Yes, it is a spanning set of R 2. We need to show that any vector (x, y) R 2 is a linear combination of elements is S. { a b = x So, a(1, 1) + b( 1, 1) = (x, y) OR a +b = y must have at least one solution, for any (x, y). In the matrix form ( 1 1 1 1 ) ( a b ) = ( x y )

More Problems on spanning sets Use TI-84 ( ) a = b ( 1 1 1 1 ) 1 ( x y ) = 1 2 ( 1 1 1 1 ) ( x y ) Since the systems have solution for all (x, y), S is a spanning set R 2. Therefore, S is a spanning set of R 2. ( ) 1 1 We have could just argued det = 2 0. 1 1 Hence the system has a solution. That would suffice.

Example 4.4.4 Preview More Problems on spanning sets Let S = {(1, 1, 1)}. Is S a spanning set of R 3? Solution. No. Because span(s) = {c(1, 1, 1) : c R} = {(c, c, c) : c R}. is only the line through the origin and (1, 1, 1). It is strictly smaller than R 3. For example, (1, 0, 0) / span(s).

Example 4.4.5 Preview More Problems on spanning sets Let S = {(1, 0, 0), (0, 1, 0)}. Is S a spanning set of R 3? Solution. No. Because span(s) = {a(1, 0, 0) + b(0, 1, 0) : a, b R} = {(a, b, 0) : a, b R}. is only the xy-plane, which is strictly smaller than R 3. For example, (0, 0, 1) / span(s).

Example 4.4.5a Preview More Problems on spanning sets Let S = {(1, 0, 1), (1, 1, 0), (0, 1, 1)}. Is S a spanning set of R 3? Solution. Yes, it is a spanning set of R 3. We need to show that any vector (x, y, z) R 3 is a linear combination of elements is S. So, a(1, 0, 1) + b(1, 1, 0) + c(0, 1, 1) = (x, y, z) a +b = x OR b +c = y a +c = z must have at least one solution, for any (x, y, z).

More Problems on spanning sets In the matrix form 1 1 0 0 1 1 1 0 1 Use TI-84, we have det a b c 1 1 0 0 1 1 1 0 1 = x y z = 2 0 So, the system has a solution for all (x, y, z) R 3. Therefore, S is a spanning set of R 3. Remark. Note, we did not have to solve the system explicitly.

Example 4.4.6 Preview More Problems on spanning sets Let S = {(1, 1, 1), (1, 1, 1), (1, 1, 1), (7, 13, 17)}. Is S a spanning set of R 3? Solution. To check, Write a(1, 1, 1) + b(1, 1, 1) + c(1, 1, 1) + d(7, 13, 17) = (x, y, z) a +b +c +7d = x OR a b +c +13d = y a +b c +17d = z Question is, whether the system has one or more solutions, for any (x, y, z).

Continued Preview More Problems on spanning sets Write the equation in matrix form 1 1 1 7 1 1 1 13 1 1 1 17 a b c d = x y z Remark. Since the coefficient matrix is not a square matrix, we cannot use the determinant trick we used before.

Continued Preview More Problems on spanning sets The augmented matrix: 1 1 1 7 x 1 1 1 13 y 1 1 1 17 z Since the matrix has variables, we have to do it by hand. Subtract first row from second and third: 1 1 1 7 x 0 2 0 6 y x, This is (nearly) in Echelon form. 0 0 2 10 z x

Continued Preview More Problems on spanning sets So, the equivalent system: a +b +c +7d = x 2b +6d = y x 2c +10d = z x This system has a solution. Any value of d leads to a solution. For convenience, we take d = 0. So, the system becomes a +b +c = x 2b = y x 2c = z x

Continued Preview More Problems on spanning sets Given any (x, y, z) R 3, we can take c = z x 2 b = y x 2 a = x b c d = 0 Therefore, S is a spanning set of R 3.

: Linearly Independent sets Liniear Independence Definition. Let S = {v 1, v 2,..., v k } be a subset of a vector space V. The set S is said to be linearly independent, if c 1 v 1 + c 2 v 2, + c k v k = 0 = c 1 = c 2 = = c k = 0. That means, the equation on the left has only the trivial solution. If S is not linearly independent, we say that S is linearly dependent.

: Linearly Independent sets Comments (1) Let S = {v 1, v 2,..., v k } be a subset of a vector space V. If 0 S then, S is linearly dependent. Proof.For simplicity, assume v 1 = 0. Then, 1v 1 + 0v 2 + + 0v k = 0 So, S is not linearly indpendent. (2)Methods to test Independence: We will mostly be working with vector in R 2, R 3, or n spaces R n. Gauss-Jordan elimination (with TI-84) will be used to check if a set is independent.

: Linearly Independent sets A Property of Linearly Dependent Sets Theorem 4.4.2 Let S = {v 1, v 2,..., v k } be a subset of a vector space V. Assume S has at least 2 elements (k 2). Then, S is linearly dependent if and only if one of the vectors v j can be written as a linear combination of rest of the vectors in S. Proof. Again, we have to prove two statments.

: Linearly Independent sets First, we prove if part. We assume that one of the vectors v j can be written as a linear combination of rest of the vectors in S. For simplicity, we assume that v 1 is a linear combination of rest of the vectors in S. So, v 1 = c 2 v 2 + c 3 v 3 + + c k v k So, ( 1)v 1 + c 2 v 2 + c 3 v 3 + + c k v k = 0 This has at least one coefficient 1 that is nonzero. This establishes that S is a linearly dependent set.

: Linearly Independent sets Now, we prove the only if part. We assume that S is linearly dependent. So, there are scalars c 1,, c k, at least one non-zero, such that c 1 v 1 + c 2 v 2 + c 3 v 3 + + c k v k = 0 Without loss of generality (i.e. for simplicity) assume c 1 0. ( So, v 1 = c ) ( 2 v 2 + c ) ( ) 3 ck v 3 + + v k c 1 c 1 c 1 Therefore, v 1 is a linear combination of the rest. The proof is complete.

4.4.7 Preview : Linearly Independent sets Again, most natural example of linearly independent set in 3 space R 3 is S = {(1, 0, 0), (0, 1, 0), (0, 0, 1)} Because a(1, 0, 0)+b(0, 1, 0)+c(0, 0, 1) = (0, 0, 0) = a = b = c = 0. Similarly, most natural example of linearly independent set in the real plane R 2 is S = {(1, 0), (0, 1)}.

Continued Preview : Linearly Independent sets More generally, the natural linearly independent set of R n : e 1 = (1, 0, 0,..., 0) e 2 = (0, 1, 0,..., 0) Let e 3 = (0, 0, 1,..., 0) (2) e n = (0, 0, 0,..., 1) Then, {e 1, e 2, e 3,..., e n } is a linearly independent subset of R n. (Compare this with Example 4.2.2, that this set is also a spanning set of R n ) Remark. If S is a linearly independent subset of V and if R S, then R is also a linearly independent subset of V.

: Linearly Independent sets Example 4.4.8 Is the set S = {( 2, 4), (1, 2)}. linearly independent? Solution. We can see a non-trivial linear combination 1 ( 2, 4) + 2 (1, 2) = (0, 0). So, S is not linearly independent. Alternately, to prove it methodically, let a( 2, 4) + b(1, 2) = (0, 0). Then, { 2a +b = 0 4a 2b = 0 Or ( 2 1 4 2 ) ( a b ) = ( 0 0 )

: Linearly Independent sets The question is, if this system has only the trivial solution or not.? Add { 2 times the first equation to the second: 2a +b = 0 So, a = t, b = 2t 0 = 0 So, there are lots of non-zero (non trivial) a, b. Hence, S = {( 2, 4), (1, 2)} is not linearly independent. Alternately, 2 1 4 2 = 0. So, this homogeneous system has nontrivial solutions. So, S is not linearly independent.

Example 4.4.9 Preview : Linearly Independent sets Let S = {(1, 1, 1), (1, 1, 3), (1, 0, 0)}. Is it linearly independent or dependent? Solution. Let a(1, 1, 1) + b(1, 1, 3) + c(1, 0, 0) = (0, 0, 0) So, a +b +c = 0 a b = 0 a +3b = 0 Or, 1 1 1 1 1 0 1 3 0 a b c = The question is, if the it has only the trivial solution or not.? 0 0 0

: Linearly Independent sets 1 1 1 Short Method: 1 1 0 = 4 0. So, the system 1 3 0 has only the zero solution. So, S is linearly independent. Explicit Method: Write the augmented matrix 1 1 1 0 1 1 0 0. 1 3 0 0 Its Echelon reduction : 1 1 1 0 0 1 1 2 0 0 0 1 0 So, the only solution is the zero-solution: a = 0, b = 0, c = 0. We conclude that S is linearly independent.

: Linearly Independent sets Example 4.4.10 Let S = {x 2 x + 1, 2x 2 + x} be a set of polynomials. Is it linearly independent or dependent? Solution. Write a(x 2 x + 1) + b(2x 2 + x) = 0. So, (a + 2b)x 2 + ( a + b)x + a = 0, Equating coefficients of x 2, x and the constant terms: a + 2b = 0, a + b = 0, a = 0 or a = b = 0. We conclude, S is linearly independent.