Lecture 8 Vector Space Last Time - Vector Spaces and Applications

Slides:



Advertisements
Similar presentations
5.4 Basis And Dimension.
Advertisements

Chapter 4 Vector Spaces 4.1 Vectors in Rn 4.2 Vector Spaces
Section 4.6 (Rank).
Lecture 10 Dimensions, Independence, Basis and Complete Solution of Linear Systems Shang-Hua Teng.
Chapter 5 Inner Product Spaces
Chapter 1 Systems of Linear Equations
Chapter 6 Linear Transformations
1 MAC 2103 Module 10 lnner Product Spaces I. 2 Rev.F09 Learning Objectives Upon completing this module, you should be able to: 1. Define and find the.
2.1 Operations with Matrices 2.2 Properties of Matrix Operations
6.1 Introduction to Linear Transformations
Linear Algebra Lecture 25.
Chapter 1 Systems of Linear Equations
Chapter 4 Vector Spaces 4.1 Vectors in Rn 4.2 Vector Spaces
Vectors in R n a sequence of n real number An ordered n-tuple: the set of all ordered n-tuple  n-space: R n Notes: (1) An n-tuple can be viewed.
Section 4.1 Vectors in ℝ n. ℝ n Vectors Vector addition Scalar multiplication.
A matrix equation has the same solution set as the vector equation which has the same solution set as the linear system whose augmented matrix is Therefore:
Chapter 3 Vector Spaces. The operations of addition and scalar multiplication are used in many contexts in mathematics. Regardless of the context, however,
Chapter Content Real Vector Spaces Subspaces Linear Independence
Chap. 6 Linear Transformations
5.5 Row Space, Column Space, and Nullspace
4.6: Rank. Definition: Let A be an mxn matrix. Then each row of A has n entries and can therefore be associated with a vector in The set of all linear.
4 - 1 Chapter 3 Vector Spaces 3.1 Vectors in R n 3.1 Vectors in R n 3.2 Vector Spaces 3.2 Vector Spaces 3.3 Subspaces of Vector Spaces 3.3 Subspaces of.
Lecture 11 Inner Product Space
Lecture 13 Inner Product Space & Linear Transformation Last Time - Orthonormal Bases:Gram-Schmidt Process - Mathematical Models and Least Square Analysis.
Chap. 4 Vector Spaces 4.1 Vectors in Rn 4.2 Vector Spaces
Lecture 1 Systems of Linear Equations
Elementary Linear Algebra Anton & Rorres, 9th Edition
Lecture 14 Linear Transformation Last Time - Mathematical Models and Least Square Analysis - Inner Product Space Applications - Introduction to Linear.
Lecture 9 Vector & Inner Product Space
Chapter 4 Chapter Content 1. Real Vector Spaces 2. Subspaces 3. Linear Independence 4. Basis 5.Dimension 6. Row Space, Column Space, and Nullspace 8.Rank.
Lecture 9 Vector & Inner Product Space Last Time - Spanning Sets and Linear Independence (Cont.) - Basis and Dimension - Rank of a Matrix and Systems of.
Sec Sec Sec 4.4 CHAPTER 4 Vector Spaces Let V be a set of elements with vector addition and multiplication by scalar is a vector space if these.
Chapter 2 Matrices 2.1 Operations with Matrices 2.2 Properties of Matrix Operations 2.3 The Inverse of a Matrix 2.4 Elementary Matrices Elementary Linear.
Lecture 7 Vector Spaces Lat Time Properties of Determinants Introduction to Eigenvalues Applications of Determinants Vectors in R n Elementary Linear Algebra.
Matrices, Vectors, Determinants.
Lecture 11 Inner Product Space Last Time - Coordinates and Change of Basis - Applications - Length and Dot Product in R n Elementary Linear Algebra R.
 Matrix Operations  Inverse of a Matrix  Characteristics of Invertible Matrices …
Section 5.6 Rank and Nullity. FOUR FUNDAMENTAL MATRIX SPACES If we consider matrices A and A T together, then there are six vector spaces of interest:
Lecture 9 Vector & Inner Product Spaces Last Time Spanning Sets and Linear Independence (Cont.) Basis and Dimension Rank of a Matrix and Systems of Linear.
Lecture 11 Inner Product Spaces Last Time Change of Basis (Cont.) Length and Dot Product in R n Inner Product Spaces Elementary Linear Algebra R. Larsen.
7.3 Linear Systems of Equations. Gauss Elimination
Vector Spaces B.A./B.Sc. III: Mathematics (Paper II) 1 Vectors in Rn
Lecture 7 Vector Space Last Time - Properties of Determinants
Lecture 2 Matrices Lat Time - Course Overview
Chapter 4 Vector Spaces 4.1 Vectors in Rn 4.2 Vector Spaces
Chapter 1 Linear Equations and Vectors
Elementary Linear Algebra Anton & Rorres, 9th Edition
Lecture 10 Inner Product Spaces
Chapter 2 Simultaneous Linear Equations (cont.)
Lecture 8 Vector Space Last Time - Vector Spaces and Applications
Chapter 4 Vector Spaces 4.1 Vectors in Rn 4.2 Vector Spaces
Lecture 7 Vector Space Last Time - Properties of Determinants
Row Space, Column Space, and Nullspace
Lecture 14 Linear Transformation
Linear Algebra Lecture 22.
4.6: Rank.
Linear Algebra Lecture 21.
Elementary Linear Algebra
7.5 Solutions of Linear Systems:
Elementary Linear Algebra Anton & Rorres, 9th Edition
Properties of Solution Sets
Linear Algebra Lecture 24.
Maths for Signals and Systems Linear Algebra in Engineering Lectures 4-5, Tuesday 18th October 2016 DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN.
Elementary Linear Algebra Anton & Rorres, 9th Edition
Vector Spaces 1 Vectors in Rn 2 Vector Spaces
Chapter 4 Vector Spaces 4.1 Vector spaces and Subspaces
Vector Spaces RANK © 2012 Pearson Education, Inc..
THE DIMENSION OF A VECTOR SPACE
NULL SPACES, COLUMN SPACES, AND LINEAR TRANSFORMATIONS
CHAPTER 4 Vector Spaces Linear combination Sec 4.3 IF
Presentation transcript:

Lecture 8 Vector Space Last Time - Vector Spaces and Applications - Subspaces of Vector Spaces - Spanning Sets and Linear Independence Elementary Linear Algebra R. Larsen et al. (5 Edition) TKUEE翁慶昌-NTUEE SCC_11_2007

Lecture 8: Vector Space Today Spanning Sets and Linear Independence (Cont.) Basis and Dimension Rank of a Matrix and Systems of Linear Equations Reading Assignment: Secs 4.4- 4.6 Next Time Midterm Exam (14:20 – 16:00, 11/16) Scope: Chapters 1-4.6 Homework-like problems: 80% In-class Q&A type and advanced problems: 20%

Today Spanning Sets and Linear Independence (Cont.) Basis and Dimension Rank of a Matrix and Systems of Linear Equations

What Have You Actually Learned about Vector Space?

4.4 Spanning Sets and Linear Independence Linear combination:

the span of a set: span (S) If S={v1, v2,…, vk} is a set of vectors in a vector space V, then the span of S is the set of all linear combinations of the vectors in S, a spanning set of a vector space: If every vector in a given vector space can be written as a linear combination of vectors in a given set S, then S is called a spanning set of the vector space.

Notes: Notes:

Thm 4.7: (Span(S) is a subspace of V) If S={v1, v2,…, vk} is a set of vectors in a vector space V, then span (S) is a subspace of V. span (S) is the smallest subspace of V that contains S. (Every other subspace of V that contains S must contain span (S).)

Linear Independent (L.I.) and Linear Dependent (L.D.): : a set of vectors in a vector space V

Notes:

Ex 8: (Testing for linearly independent) Determine whether the following set of vectors in R3 is L.I. or L.D. Sol:

Ex 9: (Testing for linearly independent) Determine whether the following set of vectors in P2 is L.I. or L.D. S = {1+x – 2x2 , 2+5x – x2 , x+x2} v1 v2 v3 Sol: c1v1+c2v2+c3v3 = 0 i.e. c1(1+x – 2x2) + c2(2+5x – x2) + c3(x+x2) = 0+0x+0x2  c1+2c2 = 0 c1+5c2+c3 = 0 –2c1+ c2+c3 = 0   This system has infinitely many solutions. (i.e., This system has nontrivial solutions.)  S is linearly dependent. (Ex: c1=2 , c2= – 1 , c3=3)

Ex 10: (Testing for linearly independent) Determine whether the following set of vectors in 2×2 matrix space is L.I. or L.D. v1 v2 v3 Sol: c1v1+c2v2+c3v3 = 0

 2c1+3c2+ c3 = 0 c1 = 0 2c2+2c3 = 0 c1+ c2 = 0  (This system has only the trivial solution.) c1 = c2 = c3= 0  S is linearly independent. 

Thm 4.8: (A property of linearly dependent sets) A set S = {v1,v2,…,vk}, k2, is linearly independent if and only if at least one of the vectors vj in S can be written as a linear combination of the other vectors in S. Pf: () c1v1+c2v2+…+ckvk = 0  ci  0 for some i

Let vi = d1v1+…+di-1vi-1+di+1vi+1+…+dkvk  d1v1+…+di-1vi-1+di+1vi+1+…+dkvk = 0  c1=d1 , c2=d2 ,…, ci=1 ,…, ck=dk (nontrivial solution) S is linearly dependent Corollary to Theorem 4.8: Two vectors u and v in a vector space V are linearly dependent if and only if one is a scalar multiple of the other.

Keywords in Section 4.4: linear combination:線性組合 spanning set:生成集合 trivial solution:顯然解 linear independent:線性獨立 linear dependent:線性相依

Lecture 8: Vector Space (cont.) Today Spanning Sets and Linear Independence (Cont.) Basis and Dimension Rank of a Matrix and Systems of Linear Equations Coordinates and Change of Basis Applications

4.5 Basis and Dimension Basis: V:a vector space S ={v1, v2, …, vn}V Linearly Independent Sets Spanning Sets Bases S ={v1, v2, …, vn}V S spans V (i.e., span(S) = V ) S is linearly independent  S is called a basis for V Notes: (1) Ø is a basis for {0} (2) the standard basis for R3: {i, j, k} i = (1, 0, 0), j = (0, 1, 0), k = (0, 0, 1)

(3) the standard basis for Rn : {e1, e2, …, en} e1=(1,0,…,0), e2=(0,1,…,0), en=(0,0,…,1) Ex: R4 {(1,0,0,0), (0,1,0,0), (0,0,1,0), (0,0,0,1)} Ex: matrix space: (4) the standard basis for mn matrix space: { Eij | 1im , 1jn } (5) the standard basis for Pn(x): {1, x, x2, …, xn} Ex: P3(x) {1, x, x2, x3}

Thm 4.9: (Uniqueness of basis representation) If is a basis for a vector space V, then every vector in V can be written in one and only one way as a linear combination of vectors in S. Pf: span(S) = V S is linearly independent Let v = c1v1+c2v2+…+cnvn v = b1v1+b2v2+…+bnvn  0 = (c1–b1)v1+(c2 – b2)v2+…+(cn – bn)vn (i.e., uniqueness)  c1= b1 , c2= b2 ,…, cn= bn

Thm 4.10: (Bases and linear dependence) If is a basis for a vector space V, then every set containing more than n vectors in V is linearly dependent. Pf: Let S1 = {u1, u2, …, um} , m > n uiV

Let k1u1+k2u2+…+kmum= 0 (di = ci1k1+ci2k2+…+cimkm) d1v1+d2v2+…+dmvm= 0  di=0 i i.e. Thm 1.1: If the homogeneous system has fewer equations than variables, then it must have infinitely many solution. m > n  k1u1+k2u2+…+kmum = 0 has nontrivial solution  S1 is linearly dependent

Thm 4.11: (Number of vectors in a basis) If a vector space V has one basis with n vectors, then every basis for V has n vectors. (All bases for a finite-dimensional vector space has the same number of vectors.) Pf: S ={v1, v2, …, vn} two bases for a vector space S'={u1, u2, …, un}

Finite dimensional: A vector space V is called finite dimensional, if it has a basis consisting of a finite number of elements. Infinite dimensional: If a vector space V is not finite dimensional, then it is called infinite dimensional. Dimension: The dimension of a finite dimensional vector space V is defined to be the number of vectors in a basis for V. V: a vector space S:a basis for V  dim(V) = #(S) (the number of vectors in S)

S:a spanning set  #(S)  n Bases Linearly Independent #(S) > n #(S) = n #(S) < n dim(V) = n Notes: (1) dim({0}) = 0 = #(Ø) (2) dim(V) = n , SV S:a spanning set  #(S)  n S:a L.I. set  #(S)  n S:a basis  #(S) = n (3) dim(V) = n , W is a subspace of V  dim(W)  n

Ex: (1) Vector space Rn  basis {e1 , e2 ,  , en}  dim(Rn) = n (2) Vector space Mmn  basis {Eij | 1im , 1jn}  dim(Mmn)=mn (3) Vector space Pn(x)  basis {1, x, x2,  , xn}  dim(Pn(x)) = n+1 (4) Vector space P(x)  basis {1, x, x2, }  dim(P(x)) = 

Ex 9: (Finding the dimension of a subspace) (a) W={(d, c–d, c): c and d are real numbers} (b) W={(2b, b, 0): b is a real number} Sol: (Note: Find a set of L.I. vectors that spans the subspace) (a) (d, c– d, c) = c(0, 1, 1) + d(1, – 1, 0)  S = {(0, 1, 1) , (1, – 1, 0)} (S is L.I. and S spans W)  S is a basis for W  dim(W) = #(S) = 2 (b)  S = {(2, 1, 0)} spans W and S is L.I.  S is a basis for W  dim(W) = #(S) = 1

Ex 11: (Finding the dimension of a subspace) Let W be the subspace of all symmetric matrices in M22. What is the dimension of W? Sol: spans W and S is L.I.  S is a basis for W  dim(W) = #(S) = 3

Thm 4.12: (Basis tests in an n-dimensional space) Let V be a vector space of dimension n. (1) If is a linearly independent set of vectors in V, then S is a basis for V. (2) If spans V, then S is a basis for V. Spanning Sets Bases Linearly Independent dim(V) = n #(S) > n #(S) = n #(S) < n

Keywords in Section 4.5: basis:基底 dimension:維度 finite dimension:有限維度 infinite dimension:無限維度

Lecture 8: Vector Space (cont.) Today Spanning Sets and Linear Independence (Cont.) Basis and Dimension Rank of a Matrix and Systems of Linear Equations Coordinates and Change of Basis Applications

4.6 Rank of a Matrix and Systems of Linear Equations row vectors: Row vectors of A column vectors: Column vectors of A || || || A(1) A(2) A(n)

Let A be an m×n matrix. Row space: The row space of A is the subspace of Rn spanned by the row vectors of A. Column space: The column space of A is the subspace of Rm spanned by the column vectors of A. Null space: The null space of A is the set of all solutions of Ax=0 and it is a subspace of Rn.

Thm 4.13: (Row-equivalent matrices have the same row space) If an mn matrix A is row equivalent to an mn matrix B, then the row space of A is equal to the row space of B. Notes: (1) The row space of a matrix is not changed by elementary row operations. RS(r(A)) = RS(A) r: elementary row operations (2) Elementary row operations can change the column space.

Thm 4.14: (Basis for the row space of a matrix) If a matrix A is row equivalent to a matrix B in row-echelon form, then the nonzero row vectors of B form a basis for the row space of A.

Find a basis of row space of A = Ex 2: ( Finding a basis for a row space) Find a basis of row space of A = Sol: A= B =

a basis for RS(A) = {the nonzero row vectors of B} (Thm 4.14) = {w1, w2, w3} = {(1, 3, 1, 3) , (0, 1, 1, 0) ,(0, 0, 0, 1)} Notes:

Ex 3: (Finding a basis for a subspace) Find a basis for the subspace of R3 spanned by Sol: A = G.E. a basis for span({v1, v2, v3}) = a basis for RS(A) = {the nonzero row vectors of B} (Thm 4.14) = {w1, w2} = {(1, –2, – 5) , (0, 1, 3)}

Ex 4: (Finding a basis for the column space of a matrix) Find a basis for the column space of the matrix A given in Ex 2. Sol. 1:

CS(A)=RS(AT) a basis for CS(A) = a basis for RS(AT) = {the nonzero vectors of B} = {w1, w2, w3} (a basis for the column space of A) Note: This basis is not a subset of {c1, c2, c3, c4}.

Sol. 2: Leading 1 => {v1, v2, v4} is a basis for CS(B) {c1, c2, c4} is a basis for CS(A) Notes: (1) This basis is a subset of {c1, c2, c3, c4}. (2) v3 = –2v1+ v2, thus c3 = – 2c1+ c2 .

Thm 4.16: (Solutions of a homogeneous system) If A is an mn matrix, then the set of all solutions of the homogeneous system of linear equations Ax = 0 is a subspace of Rn called the nullspace of A. Pf: Notes: The nullspace of A is also called the solution space of the homogeneous system Ax = 0.

Ex 6: (Finding the solution space of a homogeneous system) Find the nullspace of the matrix A. Sol: The nullspace of A is the solution space of Ax = 0. x1 = –2s – 3t, x2 = s, x3 = –t, x4 = t

Thm 4.15: (Row and column space have equal dimensions) If A is an mn matrix, then the row space and the column space of A have the same dimension. dim(RS(A)) = dim(CS(A)) Rank: The dimension of the row (or column) space of a matrix A is called the rank of A. rank(A) = dim(RS(A)) = dim(CS(A))

Nullity: The dimension of the nullspace of A is called the nullity of A. nullity(A) = dim(NS(A)) Notes: rank(AT) = rank(A) Pf: rank(AT) = dim(RS(AT)) = dim(CS(A)) = rank(A)

Thm 4.17: (Dimension of the solution space) If A is an mn matrix of rank r, then the dimension of the solution space of Ax = 0 is n – r. That is n = rank(A) + nullity(A) Notes: (1) rank(A): The number of leading variables in the solution of Ax=0. (The number of nonzero rows in the row-echelon form of A) (2) nullity (A): The number of free variables in the solution of Ax = 0.

Notes: If A is an mn matrix and rank(A) = r, then Fundamental Space Dimension RS(A)=CS(AT) r CS(A)=RS(AT) NS(A) n – r NS(AT) m – r

Ex 7: (Rank and nullity of a matrix) Let the column vectors of the matrix A be denoted by a1, a2, a3, a4, and a5. a1 a2 a3 a4 a5 (a) Find the rank and nullity of A. (b) Find a subset of the column vectors of A that forms a basis for the column space of A . (c) If possible, write the third column of A as a linear combination of the first two columns.

Sol: Let B be the reduced row-echelon form of A. a1 a2 a3 a4 a5 b1 b2 b3 b4 b5 (a) rank(A) = 3 (the number of nonzero rows in B)

(b) Leading 1 (c)

Thm 4.18: (Solutions of a nonhomogeneous linear system) If xp is a particular solution of the nonhomogeneous system Ax = b, then every solution of this system can be written in the form x = xp + xh , wher xh is a solution of the corresponding homogeneous system Ax = 0. Pf: Let x be any solution of Ax = b. is a solution of Ax = 0

Ex 8: (Finding the solution set of a nonhomogeneous system) Find the set of all solution vectors of the system of linear equations. Sol: s t

i.e. is a particular solution vector of Ax=b. xh = su1 + tu2 is a solution of Ax = 0

Thm 4.19: (Solution of a system of linear equations) The system of linear equations Ax = b is consistent if and only if b is in the column space of A. Pf: Let be the coefficient matrix, the column matrix of unknowns, and the right-hand side, respectively, of the system Ax = b.

Then Hence, Ax = b is consistent if and only if b is a linear combination of the columns of A. That is, the system is consistent if and only if b is in the subspace of Rm spanned by the columns of A.

Notes: If rank([A|b])=rank(A) Then the system Ax=b is consistent. Ex 9: (Consistency of a system of linear equations) Sol:

c1 c2 c3 b w1 w2 w3 v (b is in the column space of A) The system of linear equations is consistent. Check:

Summary of equivalent conditions for square matrices: If A is an n×n matrix, then the following conditions are equivalent. (1) A is invertible (2) Ax = b has a unique solution for any n×1 matrix b. (3) Ax = 0 has only the trivial solution (4) A is row-equivalent to In (5) (6) rank(A) = n (7) The n row vectors of A are linearly independent. (8) The n column vectors of A are linearly independent.

Keywords in Section 4.6: row space : 列空間 column space : 行空間 null space: 零空間 solution space : 解空間 rank: 秩 nullity : 核次數

Lecture 8: Vector Space (cont.) Today Spanning Sets and Linear Independence (Cont.) Basis and Dimension Rank of a Matrix and Systems of Linear Equations Coordinates and Change of Basis Applications

Lecture 8: Vector Space Today Spanning Sets and Linear Independence (Cont.) Basis and Dimension Rank of a Matrix and Systems of Linear Equations Reading Assignment: Secs 4.4- 4.6 Next Time Midterm Exam (14:20 – 16:00, 11/16) Scope: Chapters 1-4.6 Homework-like problems: 80% In-class Q&A type and advanced problems: 20%