LA - 5.the Vector Space RN
LA - 5.the Vector Space RN
LA - 5.the Vector Space RN
Orthogonality
Rank of a Matrix
Subspace of Rn
Definition of subspace of Rn. • n
• U
Let Ø≠U be a subset of Rn ••
U is called a subspace of Rn if: • •
S1. The zero vector 0 is in U
vector zero vector
S2. If X,Y are in U then X+Y is in U
S3. If X is in U then aX is in U for all real number a.
Ex1. U={(a,a,0)|aR} is a subspace of R3 n
aX
the zero vector of R , (0,0,0)U
3
• • •
(a,a,0), (b,b,0)U(a,a,0)+(b,b,0)=(a+b,a+b,0)U • •• X+Y
If (a,a,0) U and k R, then k(a,a,0)=(ka,ka,0)U
U• •
Y
Ex2. U={(a,b,1): a,b R} is not a subspace of R 3
X
(0,0,0)U U is not a subspace
Ex3. U={(a,|a|,0)|a R} is not a subspace of R3
(-1,|-1|,0), (1,|1|,0)U but (0,2,0) U U is not a subspace
Subspaces or not - Do yourself
V={[0 a 0]T in 3: a Z}
U={[a 0 a+1]T in 3: aR}
W={[a b a-b]T in 3: a,bR}
Q={[a b |a+b|]T: a }
H={[a b ab]T: a }
P={(x,y,z)| x-2y+z=0 and 2x-y+3z=0}. P is called the solution
space of the system x-2y+z=0 and 2x-y+3z=0.
Null space and image space of a matrix
A is an mxn matrix, if X is nx1 matrix then AX is mx1 matrix
nullA = {X in Rn: AX=0}
m
imA = {AX: X is in R }
n
A
nullA • imA
n
zero vector
nullA ={X Rn:AX=0} is a subspace of Rn: imA ={AX:X Rn}is a subspace of Rm:
A.0=00nullA 0=A.00nullA
X,Y nullA AX=0, AY=0 AX,AY imA AX+AY=A(X+Y)=AZ
A(X+Y)=AX+AY=0 (X+Y) nullA AX+AY imA
X nullA, a R AX=0 AX imA, a R a(AX)=A(aX)=AZ
A(aX)=a(AX)=0 aXnullA a(AX)imA
Null space nullA={X:AX=0}
1 1 0
For example, A
2 3 1 23
x x x x
0 1 1 0 0
nullA y : A y y : y
z z 0 z 2 3 1 z 0
x t
x y 0
y : t : t
z 2 x 3 y z 0 5t
Eigenspaces (không gian riêng)
Suppose A is an nxn matrix and λ is an eigenvalue of A
Eλ(A)={X: AX=λX} is an subspace of Rn
For example,
3 1 x3 1
A c A
x det xI A x 3 x 2
0 2 0 x2
c A x 0 x 3 x 2
0 1 0 0 1 0 t
x 3 : X (or X= t ,0 )
0 5 0 0 0 0 0
5 1 0 t
x 2: X
0 0 0 5t
E3 X : AX 3 X t ,0 : t
Các không gian riêng
E2 X : AX 2 X t , 5t : t ứng với GTR
Spanning sets
Y=k1X1+k2X2+…+knXn is called a linear combination of the vectors X1,X2,…,Xn
The set of all linear combinations of the the vectors X1,X2,…,Xn is called the
span of these vectors, denoted by span{X1,X2,…,Xn }.
This means, span{X1,X2,…,Xn} = {k1X1+k2X2+…+knXn :kiR is arbitrary}
span{X1,X2,…,Xn} is a subspace of Rn.
For example, span{(1,0,1),(0,1,1)}={a(1,0,1)+b(0,1,1) :a,bR}.
And we have (1,2,3)span{(1,0,1),(0,1,1)} because (2,-3,-1)= 2(1,0,1)+ -
3(0,1,1).
(2,3,2)span{(1,0,1),(0,1,1)} because (2,3,2)≠a(1,0,1)+b(0,1,1) for all a,b.
Examples
If x=(1,3,-5) is expressed as a linear combination of the vectors v1 = (1, 1,
1); v2 =(1,1,-1); v3 = (1, 0, 2); then the coefficient of v3 is:
A. 2 B. 3 C. -2 D. 1 E. 0
x is expressed as a linear combination of v1, v2, v3 means x=av1+bv2+cv3 for
some a,b,c and c is called the coefficient of v3.
the system is 1 1 1 1 1 1 1 1 1 1 1 1
a+b+c = 1 1 1 0 3 0 0 -1 2 0 -2 1 -6 a =1
a+b = 3 1 -1 2 -5 0 -2 1 -6 0 0 -1 2 b =2
a – b +2c =-5 c =-2
Which of the vectors below is a linear combination of u=(1,1,2); v=(2,3,5)?
A. (0,1,1) B. (1,1,0) C. (1,1,1) D. (1,0,1) E. (0,0,1)
Có thể giải bằng biến đổi sơ cấp trên ma trận chứa các vector cột như sau:
u v A B C D E u v A B C D E u v A B C D E
2 0 1 1 1 0 -2 0 1 1 1 0 -2 0 1 1 1 0
1 3 1 1 1 0 0 0 1 0 0 -1 0 0 1 0 0 -1 0
2 5 1 0 1 1 1 0 1 1 -2 -1 -1 1 0 0 0 -2 -1 0 1
Theorem
numbers in R vectors in Rm
Ex1. The set {[1 -1]T, [2 3]T}R2 is called linearly independent since t1[1 -]T +
t2[2 3]T = [0 0]T follows t1=t2=0.
Ex2. A set of vectors that containing zero vector never linearly independent.
Ex3. The set {(0,1,1), (1,-1,0), (1,0,1)} is not linearly independent because the
system t1(0,1,1)+t2(1,-1,0)+t3(1,0,1)=(0,0,0) has one solution t1=1, t2=1, t3=1
Examples
Show that {(1,1,0);(0,1,1);(1,0,1)} is linearly independent in R 3
t1 1,1,0 t2 0,1,1 t3 1,0,1 0,0,0
... t1 t2 t3 0
t1 1,1,0 t2 0,1,1 t3 1,0,1 0,0,0
1t1 0t2 1t3 0 1 0 1 0 1 0 1 0 1 0 1 0
1t1 1t2 0t3 0 1 1 0 0 0 1 1 0 0 1 1 0
0t 1t 1t 0 0 1 1 0 0 0 2 0 0 0 1 0
1 2 3
t1 t2 t3 0 independent
X X X x12 x2 2 ... xn 2
Unit vector: a vector with length 1
Distance: d(X,Y)= X-Y
Theorem
• Let X,Y, and Z denote vectros in Rn. Then:
XY=YX
X(Y+Z)=XY+XZ
(aX)Y=a(XY)=X(aY)
XX=X2
X0, X=0 X=0
aX=|a|.X
• Ex. Suppose that Rn=span{F1,F2,…,Fn}. If XFi=0 for each I,
where X is a vector in Rn. Show that X=0 (zero vector).
Rn=span{F1,F2,…,Fn } and XRn X= k1F1+k2F2+…+knFn for some
kiRn.
We have X2=XX= X(k1F1+k2F2+…+knFn)= k1XF1+k2XF2 +
…+ knXFn=0 X=0 X=0
Theorem