MTH 35, SPRING 2017 NIKOS APOSTOLAKIS

Similar documents
MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Solutions to Math 51 Midterm 1 July 6, 2016

Row Space, Column Space, and Nullspace

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

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

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

AFFINE AND PROJECTIVE GEOMETRY, E. Rosado & S.L. Rueda 4. BASES AND DIMENSION

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

Row Reduction and Echelon Forms

Solutions to Homework 5 - Math 3410

Solutions to Math 51 First Exam April 21, 2011

Math 3191 Applied Linear Algebra

Math 21b: Linear Algebra Spring 2018

Sections 1.5, 1.7. Ma 322 Spring Ma 322. Jan 24-28

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

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

Chapter 1: Systems of Linear Equations

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

Choose three of: Choose three of: Choose three of:

MAT 242 CHAPTER 4: SUBSPACES OF R n

1 Last time: inverses

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

Math 54 HW 4 solutions

Linear Independence Reading: Lay 1.7

Sections 1.5, 1.7. Ma 322 Fall Ma 322. Sept

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

Vector Spaces and Dimension. Subspaces of. R n. addition and scalar mutiplication. That is, if u, v in V and alpha in R then ( u + v) Exercise: x

Lecture 6: Spanning Set & Linear Independency

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

Homework 5. (due Wednesday 8 th Nov midnight)

( 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 2030 Assignment 5 Solutions

Systems of Linear Equations

Lecture 9: Vector Algebra

Solutions to Section 2.9 Homework Problems Problems 1 5, 7, 9, 10 15, (odd), and 38. S. F. Ellermeyer June 21, 2002

Review for Chapter 1. Selected Topics

Find the solution set of 2x 3y = 5. Answer: We solve for x = (5 + 3y)/2. Hence the solution space consists of all vectors of the form

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

MATH 167: APPLIED LINEAR ALGEBRA Chapter 2

Linear Algebra: Sample Questions for Exam 2

Section 1.5. Solution Sets of Linear Systems

Solution Set 4, Fall 12

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

Lecture 3: Linear Algebra Review, Part II

Lecture 18: The Rank of a Matrix and Consistency of Linear Systems

Math 54. Selected Solutions for Week 5

Week #4: Midterm 1 Review

Lecture 4: Gaussian Elimination and Homogeneous Equations

Math 2331 Linear Algebra

Linear Algebra Exam 1 Spring 2007

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

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

Exam 1 - Definitions and Basic Theorems

(II.B) Basis and dimension

(a) II and III (b) I (c) I and III (d) I and II and III (e) None are true.

Chapter 3. Vector spaces

Problems for M 10/12:

DEPARTMENT OF MATHEMATICS

Linear Algebra I Lecture 10

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

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

Chapter 1. Vectors, Matrices, and Linear Spaces

Math 51, Homework-2 Solutions

SYMBOL EXPLANATION EXAMPLE

6.4 Basis and Dimension

Study Guide for Linear Algebra Exam 2

Math 4377/6308 Advanced Linear Algebra

A = u + V. u + (0) = u

MTH 362: Advanced Engineering Mathematics

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

Advanced Linear Algebra Math 4377 / 6308 (Spring 2015) March 5, 2015

1 Systems of equations

MATH 260 LINEAR ALGEBRA EXAM III Fall 2014

Lecture 13: Row and column spaces

Math 3191 Applied Linear Algebra

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

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:

Rank, Homogenous Systems, Linear Independence

Math Linear Algebra Final Exam Review Sheet

1 Last time: multiplying vectors matrices

18.06 Spring 2012 Problem Set 3

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

Abstract Vector Spaces and Concrete Examples

Math113: Linear Algebra. Beifang Chen

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

Chapter 2. General Vector Spaces. 2.1 Real Vector Spaces

Review Solutions for Exam 1

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

0.0.1 Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros.

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

Math 110, Spring 2015: Midterm Solutions

2018 Fall 2210Q Section 013 Midterm Exam II Solution

Introduction to Mathematical Programming IE406. Lecture 3. Dr. Ted Ralphs

MATH PRACTICE EXAM 1 SOLUTIONS

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

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

Linear Equations in Linear Algebra

Solutions of Linear system, vector and matrix equation

6 Basis. 6.1 Introduction

Chapter 1: Linear Equations

Transcription:

MTH 35, SPRING 2017 NIKOS APOSTOLAKIS 1. Linear independence Example 1. Recall the set S = {a i : i = 1,...,5} R 4 of the last two lectures, where a 1 = (1,1,3,1) a 2 = (2,1,2, 1) a 3 = (7,3,5, 5) a 4 = (1,1, 1,2) a 5 = ( 1,0,9,0) We want to look at S in more detail. The question whether a given vector b R 4 is in S reduces to solving the vector equation x 1 a 1 +x 2 a 2 +x 3 a 3 +x 4 a 4 +x 5 a 5 = b which in turn reduces to solving the system of linear equations: Ax = b where A is the coefficient matrix of the system. Last time we saw that the RREF of A is the matrix: 1 0 1 0 3 0 1 4 0 1 0 0 0 1 2 0 0 0 0 0 which has rank3. So if the system is consistent, the solution set of the system has two parameters (or degrees of freedom) coming from the free variables x 3 and x 5 that correspond to the non-pivot columns. We can write the solution set in parametric form as: x 1 = b 1 +s 3t x 2 = b 2 4s+t x 3 = s x 4 = b 4 +2t x 5 = t Date: February 20, 2017. 1

2 NIKOS APOSTOLAKIS where b i, i = 1,2,4 are the entries of the last column of the RREF of the augmented matrix of the system. This means, that if a vector b is in S then it can be written as a linear combination of elements from S in ifinitely many ways: just chose arbitrary real values for s and t, any such choice gives a way to write b as a linear combination of elements of S. Now, one particular choice of the parameters is s = t = 0. We get b = b 1a 1 +b 2a 2 +b 4a 4 So, any vector that is in S can actually be written as a linear combination of only a 1,a 2,a 4. In other words, S = a 1,a 2,a 3. Furthermore, the coefficients b 1,b 2,b 4 are uniquely determined1. So any vector in S can be written as a linear combination of a 1,a 2,a 4 in a unique way. Now since the superfluous vectors a 3,a 5 are in S, we can express them as linear combination of a i, i = 1,2,4. Indeed we have: a 3 = a 1 +4a 2 and a 5 = 3a 1 a 2 2a 4 In sum: the set S contains superfluous vectors, that are already linear combinations of the other vectors in S. If a vector can be expressed at all, as a linear combination of vectors from S, it can be expressed in infinitely many ways. When we remove the superfluous vectors a 3, and a 5 from S, the remaining vectors span the same subspace. Now however, a vector in that subspace can be expressed uniquely as a linear combination of a 1,a 2,a 4. Example 2. Now let s look at the last problem from the homework. We now have the set B = {(1,1,1),(1,1,0),(1,0, 1) in R 3. When we set up the system that decides whether a given vector b is in B we have: where, A = Ax = b 1 1 1 1 1 0 1 0 1 The RREF of the coefficient matrix is now: 1 0 0 0 1 0 0 0 1 This means that for any b the system has a unique solution. So any vector in R 3 can be written as as a linear combination of vectors from B, in a unique way. 1 Why?

MTH 35, SPRING 2017 3 Proposition 3. For a set of vectors S in a Euclidean space R n the following conditions are all equivalent (in other words if one of the conditions holds they all hold): (1) Any vector in S can be expressed as a linear combination of vectors from S in a unique way. (2) No vector from S can be expressed as linear combination of the other vectors from S. (3) The only way to express 0 as a linear combination of vectors from S is to have all coefficients equal to 0. (4) All the columns of the RREF of the matrix that has as columns the coordinates of the vectors of S, are pivot. Definition 4. A set of vectors in R n is called linearly independent if one (and hence all) of the conditions in Proposition 3 holds. As set that is not linearly independent is called linealy dependent. Example 5. In R 4, the set S from Example 1 is linearly dependent. It s subset S = {a 1,a 2,a 3 is linearly independent. Example 6. In R 3, the set B from Example 2 is linearly independent. Example 7. In R 4, the vectors u = (2,3,1,0), v = (0, 1,0, 2), and w = (0, 0, 0, 1) form a linearly independent set. Indeed, the matrix that has these vectors as columns is: 2 0 0 3 1 0 4 0 0 0 2 1 and its RREF is 1 0 0 0 1 0 0 0 1 0 0 0 Notice that every column contains a leading 1. Example 8. In R 3, the set {v 1,v 2,v 3 } where v 1 = (3,4,5)), v 2 = (2,9,2), and v 3 = (4,18,4) is linearly dependent. Indeed we get the matrix: 3 2 4 4 9 18 5 2 4 with RREF 1 0 0 0 1 2 0 0 0 Notice that the third row is not pivot.

4 NIKOS APOSTOLAKIS 1.1. Exercises. (1) Complete all the details in this section 2. Basis and Dimension Definition 9. A subset B of a linear subspace V of R n is called a basis of V, if the following two conditions hold: B spans V, in other words, B = V B is linearly independent. Example 10. The basic vectors i,j,k are called basic because they form a basis of R 3. In R 2 the vectors i = e 1 = (1,0) and j = e 2 = (0,1) form a basis of R 2. This basis is called the standard basis of R 2. In R 3 the vectors i = e 1 = (1,0,0), j = e 2 = (0,1,0), and k = e 3 = (0,0,1) form a basis of R 3. This basis is called the standard basis of R 3. In R 4 the vectors e 1 = (1,0,0,0), e 2 = (0,1,0,0), e 3 = (0,0,1,0), and e 4 = (0,0,0,1) form a basis of R 4. This basis is called the standard basis of R 4. In general, in R n the vectors e i, i = 1,2,...,n form a a basis of R n. The vector e i has all coordinates but the ith equal to 0 and the ith coordinate equal to 1. This basis is called the standard basis of R n. In general a subspace will have infinitely many bases. We ve already seen a basis of R 3 different than the standard one in Example 2. Indeed in that example B = R 3 and B is linearly independent. Notice that B has three vectors, as many as the standard basis. This is more generally true, and it means that the dimension of R 3 is 3. Proposition 11. For any subspace V of R n we have: V has a basis. All bases of the same subspace have the same number of vectors. Definition 12. The number of vectors in a basis of a subspace V is called the dimension of the subspace. Example 13. The dimension of R n is n. Example 14. Let V = S, the linear span of the set S in Example 1. We show in Example 1 that {a 1,a 2,a 3 } spans V, and from Example 5 we know that it is linearly independent. So dimv = 3. In general it turns out that: Proposition 15. Let S = {v 1,...,v k } be a finite subset of R n. Then the dimension of S equals the rank of the matrix whose columns are the vectors of S. Actually the vectors of S that correspond to the pivot columns of the RREF of the matrix form a basis of S.

MTH 35, SPRING 2017 5 Example 16. In R 4 consider the set S = {v 1,v 2,v 3,v 4,v 5 }, where v 1 = (1,1,2,1), v 2 = (2,2,4,2), v 3 = (2,0, 1,1), v 4 = (7,1, 1,4), and v 5 = (0,2,5,1). The RREF of the matrix [v 1 v 2 v 3 v 4 v 5 ] is 1 2 0 1 2 0 0 1 3 1 0 0 0 0 0 0 0 0 0 0 So a basis of S is {v 1,v 3 } and dim S = 2. Question 17. What about the zero-subspace, i.e. the subspace that contains only 0 the zero vector? What is its dimension? Does it even have a basis? Answer. This is actually a subtle issue. It turns out that it is logically consistent to posit that the empty set is a basis of {0}. So dim{0} = 0. Definition 18. If B is a basis of a subspace V then every vector v V can be written uniquelly as a linear combination of elements of B. The coefficients of this linear combination are called the coordinates of v with respect to the basis B Example 19. The coordinates of a vector in R n are actually its coordinates with respect to the standard basis of R n. Example 20. This refers to Example 1. The coordinates of a 3 with respect to the basis {a 1,a 2,a 4 } are ( 1,2,0) and the coordinates of a 5 with respect to the same basis are (3, 1, 2). 2.1. Exercises. (1) Complete all the details in this section. (2) Find the coordinates of the vector 2i 3j + k with respect to the basis of R 3 given in Example 2. 2.2. Project: Homogenuous Systems. A linear system where all constants are 0, in other words a system of the form Ax = 0 is called a homogeneous system. (1) Prove that a homogeneous system is always consistent. (2) Let N be the solution set of an m n homogeneous system. Prove that N is a linear subspace of R n. (3) Prove that the columns of A that correspond to the free variables form a basis for N. What that means if there are no free variables? (4) Conclude that the dimension of N is equal to n r where r is the rank of A. (5) Prove that if p is any solution of the system Ax = b, where b is vector in R n, then the solution set of the system is. S = {p+v : v N}