CH 3
CH 3
1) (u v ) w u ( v w ) associativ e
2) u 0 0 u u zero vector
3) u ( u) u u 0 additive inverse
4) u v v u commutativ e
5) k (u v ) ku kv k is scalar
6) ( a b)u au bu a, b scalars
7) ( abb )u a (bu )
8) 1u u too many conditions to check !!
Subspaces
Definition : Let V be a vector space and let W be a subset of V. Then, W
is a subspace of V if W itself is a vector space
Theorem : Suppose W is a subset of V. Then, W is a subspace if
a) The zero vector 0 belongs to W We don’t need to verify that the 8
axioms of a vector space hold !
b) For every u, v є W (au + bv) є W
Remark : Two trivial subspaces of V are { 0 } and V itself
Example : Consider V R 3 . Let U consist of all vectors in R 3 with
equal entries, i e U {(a,
entries i.e. b c) : a b c}
{(a b,
u (a, a, a) u v (a b)(1,1,1)
(i) 0 U (ii)
v (b, b, b) U
U is a subspace
“Abstract”
Abstract Subspaces Examples
Examples : (prove by showing that the 2 conditions of a subspace hold)
Rn : n-tuple
n tuple (vector) of real numbers (a1, a2, ……, an)
Example : Verify that the vectors (1,1) and (-1,-1) don’t span R2 while the
vectors (1,1) and (1,0) do
Span Examples
1) Consider t he vector space R 3
a) e1 1 0 0 , e2 0 1 0 , e3 0 0 1 span R 3
( a , b , c ) v ae1 be 2 ce 3
u 0
Vector Space
su+tv
su v tv
0 0 1
1 2 - 1 1
(ii) C ( A) line
3 6 - 3 3
Connection to Linear Systems of Equations
The systems
Th t off lilinear equations
ti A
Ax=b
bhhas
1) No solution if and only if b is not in the
span of the column space of A
2)) Unique
q solution if b is in the span p of
column space of A in a unique way
3) Infinite solutions if b is in the span of the
column space of A in infinite ways
Linear Dependence
p & Independence
p
Definition : We say that the vectors v1 , v2 ,......, vn in V are linearly
dependent if scalars a1 , a2 ,......, an , not all zero, such that
a1v1 a2 v2 ...... an vn 0
Otherwise the vectors are linearly independen t, i.e.
Relation to null
n
space of a matrix
a v
i 1
i i 0 implies ai 0 i 1, ......, n
Lett V be
L b a vector
t space where di (V ) n. Then,
h dim( Th
(i) Any (n 1) or more vectors in V are linearly dependent.
For example, (n 1) vectors in R n are linearly dependent
(ii) Any linearly independent set S u1 , u 2 ,......, u n with n
elements is a basis of V
(iii) Any spanning set T v1 , v2 ,......, vn of V with n elements
is a basis of V
(iv) Any set of (n - 1) or less vectors in V does not span V
Example : Let V R 3 dim(V ) 3. Let W be a subspace of V .
Th di (W ) 3.
Then, dim( 3
a) dim(W) φ W 0 (a point)
di (W) 1 W is
b) dim i a line h origin
li through
th i i
c) dim(W) 2 W is a plane through origin
di (W) 3 W V
d) dim
Example :
1) Dim ( M n,n ) n 2
n2 n n2 n
2) Dim (upper triangular ) n
2 2
n2 n n2 n
3) Dim ( symmetric matrices) n
2 2
4) Dim (diagonal) n
Four Subspaces of A m x n
1) Row space R(A) or C(A T ) R n
2)) Column space
p C(A) ( T ) Rm
( ) or R(A
3) Null space N(A) R n
4)) Left Null space
p ( T ) Rm
N(A
Facts : 1) dim (R(A)) dim (C(A)) rank " r "
2) dim (N(A)) n - r
A AT
n m 3) dim (N(A T )) m- r
mn Fundamental Theorem of Linear Algebra, Part I
Note : Ax 0 Ek ......E2 E1 Ax 0 Ux 0
Therefore, null spaces of A and U are same
Therefore
4) The maximum number of linearly independent rows
of A is equal to the maximum number of linearly independent
columns of A. Hence, dim( R(A)) dim(C(A)) rank ( A)
Computing Bases for the Row and Column Spaces
c ) Find rank( A)
(i) 3 pivots rank( A) 3
( )) 3 rank
((ii)) dim ( R(A)
(iii) dim(Col(A)) 3 rank
Example 3
1) Find the rank and a basis for the row space and column space of
1 2 0 1
2 6 3 3
3 10 6 5
Solution : Reduce A to echelon form
1 2 0 1 1 2 0 1
A ~ 0 2 3 1 ~ 0 2 3 1
0 4 6 2 0 0 0 0
- The 2 non - zero rows of the echelon form of A ( or first 2 rows
of A itself ! ) form a basis for its R(A) and rank( A ) 2
- Pivots
i are in
i columns
l 1 & 2. Hence, a basis
b i for
f C(A)( ) is
i
given by first 2 columns of A (not its echelon form ! )
Example 4
Repeat previous problem for this matrix
1 3 1 2 3
1 4 3 1 4
A
2 3 4 7 3
3 8 1 7 8
1 3 1 2 3 1 3 1 2 3
0 1 2 1 1 0 1 2 1 1
~ ~ U
0 3 6 3 3 0 0 0 0 0
0 1 2 1 1 0 0 0 0 0
x1 1 1 0
x 1 0 0
Step 4 : xcomplete 2 x2 x4
x3 0 1 0.5
x4 0 1 0
xnull x p
Axcomplete Ax p Axn Ax p b
dim = r
AXp = b dim = r
row space column space
Rn X = Xp + Xn Rm
AXn = 0
left null space
null space
dim = n - r dim = m - r
Finding Basis for N(A)
E
Example
l : Find
Fi d basis
b i and
d dimension
di i off N(A) for
f :
1 2 2 1 3 1 2 2 1 3
(i) A 1 2 3 1 1 ~
0 0 1 2 2
3 6 8 1 5 0 0 0 0 0
r 2, nr 52 3 free variables
x 2 , x 4 , x5 dim( N ( A)) 3
x3 2 x 4 2 x5 ; x1 2 x 2 2 x3 x 4 3 x5 2 x 2 5 x 4 7 x5
x1 2 5 7
x 1 0 0
2
x null x3 x 2 0 x 4 2 x5 2
x
4 0 1 0
x5 0 0 1
ii) Write down the complete solution for Ax = b for b =
x3 2 x4 2 x5 ; x1 3 2 x2 2 x3 x4 3 x5 3 2 x2 5 x4 7 x5
x1 2 5 7 3
x 1 0 0 0
2
xcomplete x3 x2 0 x4 2 x5 2 0
x4 0 1 0 0
x5 0 0 1 0
Find the basis and dimension of the left null space N(A T ) of
1 2 3
2 4 6 x1 2 x 2 x3 2 x 4 0
A
1 4 7 2 x3 x 4 0
2 3 4
1 2 1 2 1 2 1 2
A T 2 4 4 3 ~ 0 0 2 1
3 6 7 4 0 0 0 0
r 2 dim( N ( A T )) 4 2 2 2 free variables x 2 , x 4
x3 0 .5 x 4 ; x1 2 x 2 x3 2 x 4 2 x 2 2 .5 x 4
x1 2 2 .5
x 1 0
xleft null 2 x2 x4
x3 0 0 .5
x
4
0 1
Linear Transformations
• Definition : A transformation T is linear iff :
i) T(u+v)=T(u)+T(v)
T(u+v) T(u)+T(v)
ii) T(cv)=cT(v)
where c is a scalar and u,v
, are vectors