Lecture4, Vector Space
Lecture4, Vector Space
1.Vectors in R
2.Vector Spaces
3.Subspaces of Vector Spaces
4.Spanning Sets and Linear Independence
5.Basis and Dimension
4.1
1. Vectors in R
An ordered n-tuple :
a sequence of n real numbers ( x1, x2, , xn )
n
R -space :
n=2
n=3
n=4
Notes:
x1 , x2
x1 , x2
or
a point
0,0
a vector
u u1 , u2 ,
, un , v v1 , v2 ,
, vn
Equality:
u v if and only if u1 v1 , u2 v2 , , un vn
Vector
Notes:
The sum of two vectors and the scalar multiple of a vector
in Rn are called the standard operations in Rn
Zero vector:
0 (0, 0, ..., 0)
(8)
addition)
(c+d)u = cu+du (distributive property of scalar multiplication over realnumber addition)
c(du) = (cd)u (associative property of multiplication)
(9)
(10) 1(u) = u (multiplicative identity property)
Except Properties (1) and (6), these properties of vector addition and scalar
multiplication actually inherit from the properties of matrix addition and scalar
multiplication because we can treat vectors in Rn as special cases of matrices
Notes:
n
Notes:
A vector u (u1 , u2 ,, un ) in R n can be viewed as:
a 1n row matrix (row vector):
or
u [u1 u2
un ]
u1
u
a n1 column matrix (column vector): u 2
u n
Scalar multiplication
Vector addition
u v (u1 , u2 , , un ) (v1 , v2 , , vn )
cu c(u1 , u2 ,, un )
(u1 v1 , u2 v2 , , un vn )
u v [u1 u2
(cu1 , cu 2 , , cu n )
un ] [v1 v2
[u1 v1 u2 v2
vn ]
un vn ]
cu c[u1 u2
[cu1 cu2
un ]
cun ]
u1 v1 u1 v1
u v u v
u v 2 2 2 2
un vn un vn
u1 cu1
u cu
cu c 2 2
un cu n
Vector Spaces
Vector spaces:
Let V be a set on which two operations (vector addition and
scalar multiplication) are defined. If the following axioms are
Addition:
(1) u+v is in V
(2) u+v=v+u
(3) u+(v+w)=(u+v)+w
(4) V has a zero vector 0 such that for every u in V, u+0=u
(5) For every u in V, there is a vector in V denoted by u
such that u+(u)=0
Scalar multiplication:
(6) cu is in V.
(7) c(u v) cu cv
(8) (c d )u cu du
(9) c(du) (cd )u
(10) 1(u) u
Notes:
(1) A vector space consists of four entities:
a set of vectors, a set of scalars, and two operations
Vnonempty set
cscalar
(u, v) u v vector addition
(c, u) cu scalar multiplication
V ,
(2) V 0
vector addition
scalar multiplication
Ex: (m = n = 2)
u
u
ku
ku
22
21 22 21
vector addition
scalar multiplication
(the set of
all real-valued
continuous functions defined on the entire real line.)
( f g )( x) f ( x) g ( x)
(kf )( x) kf ( x)
Thm
0v 0
c0 0
If cv 0, then c 0 or v 0
(1) v v
1V , 12 R
( 12 )(1) 12 V (it is not closed under scalar multiplication)
noninteger
scalar
integer
Let p( x) x 2 and q( x) x 2 x 1
p( x) q( x) x 1V
(it is not closed under vector addition)
Ex :
V=R2=the set of all ordered pairs of real numbers
vector addition: (u1 , u2 ) (v1 , v2 ) (u1 v1 , u2 v2 )
scalar multiplication: c(u1 , u2 ) (cu1 ,0)
Vector Subspaces
Subspace:
(V ,,) : a vector space
W
: a nonempty subset
W V
(W ,,) a vector space (under the operations of addition and
scalar multiplication defined in V)
W is a subspace of V
Trivial subspace:
Ex: Subspace of R2
(1) 0
0 0, 0
(3) R 2
Ex: Subspace of R3
(1) 0
0 0, 0, 0
(4) R 3
Ex : (A subspace of M22)
Let W be the set of all 22 symmetric matrices. Show that
W is a subspace of the vector space M22, with the standard
operations of matrix addition and scalar multiplication.
Sol:
W M 22
M 22 : vector sapces
( kA W )
1 0
0 0
A
W , B
W
0 0
0 1
1 0
A B
W
0 1
W2 is not a subspace of M 22
1u 11, 1 1, 1W
W is not a subspace of R 2
Let v1 2t1 , t1 W
v2 2t2 , t2 W
W is a subspace of R 2
(b) W x, y x 2 y 1
Let v (1,0) W
1v 1,0W
W is not a subspace of R 2
(b) W ( x1 , x1 x3 , x3 ) x1 , x3 R
Sol:
(a) Let v (0,0,1) W
(1) v (0,0,1) W
W is not a subspace of R 3
(b) Let v ( v1 , v1 v3 , v3 ) W , u (u1 , u1 u 3 , u 3 ) W
v u v1 u1 , v1 u1 v3 u 3 , v3 u 3 W
kv kv1 , kv1 kv3 , kv3 W
W is a subspace of R 3
Thm
Linear combination:
2c1 c2
3c1 2c2 c3
1
1
1
1 0 1 1
1 0 1 1
G. J .
2 1 0 1 0 1 2 1
3 2 1 1
0 0 0 0
c1 1 t , c2 1 2t , c3 t
(this system has infinitely many solutions)
t 1
w 2 v1 3v 2 v 3
(b)
w c1 v1 c2 v 2 c3 v 3
1 0 1 1
GuassJordan Elimination
2 1 0 2
3 2 1
2
1 0 1 1
0 1 2 4
0 0 0
7
span(S ) c1 v1 c2 v 2 ck v k
ci R
Notes:
span ( S ) V
S spans (generates) V
V is spanned (generated) by S
S is a spanning set of V
Notes:
(1) span( ) 0
(2) S span(S )
(3) S1 , S 2 V
S1 S 2 span( S1 ) span( S 2 )
u R3 u c1v1 c2 v 2 c3 v 3
c1
2c1 c2
2c3 u1
u2
3c1 2c2 c3 u3
1 0 2
A 2 1 0 0
3 2 1
Definitions
(L.D.):
S v1 , v 2 ,
For c1v1 c2 v 2
ck v k 0
(1) If the equation has only the trivial solution (c1 c 2 ... c k 0)
then S (or v1, v2 ,..., vk )is called linearly independen t.
(2)If the equation has a non trivial solution(i.e., not all zeros)
then S (or v1, v2 ,..., vk ) is called linearly dependent
S v1, v 2 , v3 1, 2, 3 , 0, 1, 2 , 2, 0, 1
Sol:
c1
c1v1 c2 v 2 c3 v 3 0
2c3 0
2c1 c2
3c1 2c2 c3 0
1 0 2 0
1 0 0 0
G.-J. E.
2 1 0 0
0 1 0 0
3 2 1 0
0 0 1 0
c1 c2 c3 0 only the trivial solution
S v1 , v 2 , v3 1 x 2 x 2 ,2 5 x x 2 ,x x 2
Sol:
c1v1+c2v2+c3v3 = 0
i.e., c1(1+x 2x2) + c2(2+5x x2) + c3(x+x2) = 0+0x+0x2
1 2 0 0
1 2 0 0
c1+2c2
=0
G. E.
1 5 1 0
1
0 1 3 0
c1+5c2+c3 = 0
2c1 c2+c3 = 0
2 1 1 0
0
0
0
0
(i.e., this system has nontrivial solutions, e.g., c1=2, c2= 1, c3=3)
2 1 3 0 1 0
S v1 , v 2 , v3
,
,
0
1
2
1
2
0
Sol:
c1v1+c2v2+c3v3 = 0
2 1
3 0
1 0 0 0
c1
c2
c3
0
1
2
1
2
0
0
0
2c1+3c2+ c3 = 0
c1
=0
2c2+2c3 = 0
c1 + c2
=0
2
1
0
3
0
2
1
1
0
2
0
0
0 G.-J. E.
1
0
0
1
0
0
0
0
1
0
0
0
0
Basis:
V: a vector space
S ={v1, v2, , vn}V
Spanning
Sets
Bases
Linearly
Independent
Sets
V
(1) S spans V (i.e., span(S) = V)
Notes:
(1) the standard basis for R3:
{i, j, k} i = (1, 0, 0), j = (0, 1, 0), k = (0, 0, 1)
n
0
0
0
0
1
0
0
1
c1 c2 =u1
(1) For any u=(u1 ,u 2 ) R , c1 v1 +c2 v 2 =u
c1 c2 =u 2
2
Because the coefficient matrix of this system has a nonzero determinant, the
system has a unique solution for each u. Thus you can conclude that S spans R2
c1 c2 =0
(2) For c1 v1 +c2 v 2 =0
c1 c2 =0
Because the coefficient matrix of this system has a nonzero determinant, you
know that the system has only the trivial solution. Thus you can conclude that S is
linearly independent
(1) span(S) = V
S is a basis
(2) S is linearly independent
span(S) = V Let v = c1v1+c2v2++cnvn
v = b1v1+b2v2++bnvn
v+(1)v = 0 = (c1b1)v1+(c2 b2)v2++(cn bn)vn
Dimension:
The dimension of a 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 a basis S)
Finite dimensional:
A vector space V is 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
dim(V) = n
Notes:
(1) dim({0}) = 0
Spanning
Sets
(2) dim(V) = n, SV
#(S) n
S: a spanning set
#(S) n
S: a L.I. set
#(S) n
S: a basis
#(S) = n
Bases
Linearly
Independent
Sets
#(S) = n
#(S) n
dim(Rn) = n
basis {Eij | 1im , 1jn}
dim(Mmn)=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)) =
(Hint: find a set of L.I. vectors that spans the subspace, i.e., find a basis for the
subspace.)
dim(V) = n
Spanning
Sets
Bases
Linearly
Independent
Sets
#(S) n
#(S) = n
#(S) n
am1
row vectors of A
a12 a1n A1
a22 a2 n A2
am 2 amn Am
(a11 , a12 ,
, a1n ) A(1)
(a21 , a22 ,
, a2n ) A(2)
(am1 , am 2 ,
, amn ) A(m )
am1 am 2
a1n
a2 n
A1 A 2
amn
column vectors of A
A n
Let A be an mn matrix:
Row space:
The row space of A is a subspace of Rn spanned by the
row vectors of A
Column space:
The column space of A is a subspace of Rm spanned by
the column vectors of A
CS A {1 A(1) 2 A(2) n A( n) 1 , 2 , n R}
(If A(1), A(2), , A(n) are linearly independent, A(1), A(2), , A(n) can form a basis for CS(A))
Note:
dim(RS(A)) (or dim(CS(A)) equals the number of linearly
independent row (or column) vectors of A