Professional Documents
Culture Documents
VECTOR SPACES
4.1 Vectors in Rn
4.2 Vector Spaces
4.3 Subspaces of Vector Spaces
4.4 Spanning Sets and Linear Independence
4.5 Basis and Dimension
4.6 Rank of a Matrix and Systems of Linear Equations
4.7 Coordinates and Change of Basis
4.8 Applications of Vector Spaces
Elementary Linear Algebra 投影片設計製作者
R. Larson (8 Edition) 淡江大學 電機系 翁慶昌 教授
CH 4 Linear Algebra Applied
n
n-space: R
the set of all ordered n-tuple
4
n=4 R = 4-space
= set of all ordered quadruple of real numbers ( x1 , x2 , x3 , x4 )
x1, x2 x1, x2
0,0
a point a vector
Equal:
u v if and only if u1 v1 , u2 v2 , , un vn
Notes:
The sum of two vectors and the scalar multiple of a vector
n
in R are called the standard operations in Rn.
Elementary Linear Algebra: Section 4.1, p.153 6/136
Negative:
u (u1 ,u2 ,u3 ,...,un )
Difference:
u v (u1 v1 , u2 v2 , u3 v3 ,..., un vn )
Zero vector:
0 (0, 0, ..., 0)
Notes:
(1) The zero vector 0 in Rn is called the additive identity in Rn.
Sol: (a) x 2u ( v 3w )
2u v 3w
(4, 2, 10, 0) (4, 3, 1, 1) (18, 6, 0, 9)
(4 4 18, 2 3 6, 10 1 0, 0 1 9)
(18, 11, 9, 8).
u n
15/136
Keywords in Section 4.1
ordered n-tuple:有序的n項
n-space:n維空間
equal:相等
cuc
(cu
c (
1u, c
1 u
, u22,
, , c
, u
u n
n )
)
vector addition:向量加法
scalar multiplication:純量乘法
negative:負向量
cuc
[cc
u[1u, c
1 ,uu22,,,,cu
u nn]]
difference:向量差
zero vector:零向量
additive identity:加法單位元素
additive inverse:加法反元素
16/136
4.2 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
satisfied for every u, v, and w in V and every scalar (real number)
c and d, then V is called a vector space.
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
Elementary Linear Algebra: Section 4.2, p.161 17/136
Scalar multiplication:
(6) cu is in V.
(7) c(u v) cu cv
(8) (c d )u cu du
(10) 1(u) u
(2) Matrix space: V M mn (the set of all m×n matrices with real values)
Ex: :(m = n = 2)
u11 u12 v11 v12 u11 v11 u12 v12
u u v v u v u v vector addition
21 22 21 22 21 21 22 22
u11 u12 ku11 ku12
k scalar multiplication
21 22 21
u u ku ku22
( f g )( x) f ( x) g ( x)
(kf )( x) kf ( x)
25/136
Keywords in Section 4.2:
vector space:向量空間
n-space:n維空間
matrix space:矩陣空間
polynomial space:多項式空間
function space:函數空間
26/136
4.3 Subspaces of Vector Spaces
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:
Every vector space V has at least two subspaces.
(1) Zero vector space {0} is a subspace of V.
(2) V is a subspace of V.
Elementary Linear Algebra: Section 4.3, p.168 27/136
Thm 4.5: (Test for a subspace)
If W is a nonempty subset of a vector space V, then W is
a subspace of V if and only if the following conditions hold.
Ex: Subspace of R3
(1) 0 0 0, 0, 0
(2) Lines through t he origin
(3) Planes through t he origin
(4) R3
Sol:
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
Sol:
Let u (1, 1) W
1u 11, 1 1, 1 W (not closed under scalar
multiplication)
W is not a subspace of R 2
W is a subspace of R 2
Let v (1,0) W
1v 1,0 W
W is not a subspace of R 2
37/136
Keywords in Section 4.3:
subspace:子空間
trivial subspace:顯然子空間
38/136
4.4 Spanning Sets and Linear Independence
Linear combination:
A vector v in a vector space V is called a linear combinatio n of
the vectors u1,u 2 , ,u k in V if v can be written in the form
c1 1 t , c2 1 2t , c3 t
1 0 1 1 1 0 1 1
Guass Jordan Elimination
2 1 0 2
0 1 2 4
3 2 1 2 0 0 0 7
w c1v1 c2 v 2 c3 v3
Notes:
(1) span ( ) 0
(2) S span ( S )
(3) S1 , S 2 V
S1 S 2 span ( S1 ) span ( S 2 )
span(S ) R3
2 1 3 0 1 0 0 0
c1 c2 c3
0 1 2 1 2 0 0 0
S is linearly independent.
Pf:
() c1v1+c2v2+…+ckvk = 0
S is linearly dependent
ci 0 for some i
c1 ci 1 ci 1 ck
v i v1 v i 1 v i 1 v k
ci ci ci ci
Elementary Linear Algebra: Section 4.4, p.182 54/136
()
Let vi = d1v1+…+di-1vi-1+di+1vi+1+…+dkvk
d1v1+…+di-1vi-1-vi+di+1vi+1+…+dkvk = 0
S is linearly dependent
56/136
Keywords in Section 4.4:
linear combination:線性組合
spanning set:生成集合
trivial solution:顯然解
linear independent:線性獨立
linear dependent:線性相依
57/136
4.5 Basis and Dimension
Basis:
Linearly
V:a vector space Generating
Bases Independent
Sets
S ={v1, v2, …, vn}V Sets
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)
Elementary Linear Algebra: Section 4.5, p.186 58/136
n
(3) the standard basis for R :
{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)}
S is linearly independen t
c1= b1 , c2= b2 ,…, cn= bn (i.e., uniqueness)
Elementary Linear Algebra: Section 4.5, p.188 60/136
Thm 4.10: (Bases and linear dependence)
If S v1 , v 2 ,, v n 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
span ( S ) V
u1 c11v1 c21v 2 cn1 v n
uiV u 2 c12 v1 c22 v 2 cn 2 v n
u m c1m v1 c2 m v 2 cnm v n
S is a basis Thm.4.10
n m
S ' is L.I.
n m
S is L.I. Thm . 4.10
n m
S ' is a basis
Elementary Linear Algebra: Section 4.5, p.190 63/136
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
Generating Linearly
Sets Bases Independent
Sets
70/136
Keywords in Section 4.5
basis:基底
dimension:維度
finite dimension:有限維度
infinite dimension:無限維度
71/136
4.6 Rank of a Matrix and Systems of Linear Equations
row vectors: Row vectors of A
a11 a12 a1n A1 [a1 1 , a1 2 , , a1 n ] A(1 )
a
a22 a2 n A2 [a2 1 , a2 2 , , a2 n ] A(2 )
A 21
am1 am 2 amn Am [am1 , am2 , , amn ] A( n )
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.
form, then the nonzero row vectors of B form a basis for the
row space of A.
Sol: 1 3 1 3 1 3 1 3 w 1
0 1 1 0 0 1 1 0 w 2
3 1 0 0 0 1 w 3
A=
0 6
G
.E.
B=
3 4 2 1 0 0 0 0
2 0 4 2 0 0 0 0
a1 a 2 a3 a4 b1 b 2 b3 b 4
Notes:
(1) b3 2b1 b2 a3 2a1 a2
(2) {b1 , b 2 , b 4 } is L.I. {a1 , a 2 , a 4 } is L.I.
4
x t 0 1
NS ( A) {sv1 tv 2 | s, t R}
Elementary Linear Algebra: Section 4.6, p.201 83/136
Thm 4.15: (Row and column space have equal dimensions)
If A is an mn 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 and is denoted by rank(A).
rank(A) = dim(RS(A)) = dim(CS(A))
nullity(A) = dim(NS(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.
1 0 2 1 0 1 0 2 0 1
0 1 3 1 3 0 1 3 0 4
A B
2 1 1 1 3 0 0 0 1 1
0 3 9 0 12 0 0 0 0 0
a1 a2 a3 a4 a5 b1 b2 b3 b4 b5
nuillity ( A) n rank ( A) 5 3 2
1 0 2 1 5 1 0 2 1 5
3 1 5 0 8 G
. J .E
0 1 1 3 7
1 2 0 5 9 0 0 0 0 0
s t
m1
a a m2 a mn xn am1 x1 a m 2 x2 amn xn
a11 a12 a1n
a a a
x1 x2 xn .
21 22 2n
m1
a m2
a amn
x1 x2 x3 1
x1 x3 3
3 x1 2 x2 x3 1
Sol:
1 1 1 1 0 1
A 1 0 1 G 0 1 2
. J .E.
Check:
rank ( A) rank ([ A b]) 2
99/136
Keywords in Section 4.6:
row space : 列空間
column space : 行空間
null space: 零空間
solution space : 解空間
rank: 秩
nullity : 核次數
100/136
4.7 Coordinates and Change of Basis
Coordinate representation relative to a basis
Let B = {v1, v2, …, vn} be an ordered basis for a vector space V
and let x be a vector in V such that
x c1v1 c2 v 2 cn v n .
The scalars c1, c2, …, cn are called the coordinates of x relative
to the basis B. The coordinate matrix (or coordinate vector)
of x relative to B is the column matrix in Rn whose components
are the coordinates of x.
c1
c
xB 2
cn
Elementary Linear Algebra: Section 4.7, p.208 101/136
n
Ex 1: (Coordinates and components in R )
Find the coordinate matrix of x = (–2, 1, 3) in R3
relative to the standard basis
S = {(1, 0, 0), ( 0, 1, 0), (0, 0, 1)}
Sol:
x (2, 1, 3) 2(1, 0, 0) 1(0, 1, 0) 3(0, 0, 1),
2
[x]S 1.
3
1 0 8 [ x ] 8
B
a c
If [u1 ]B , [u2 ]B
b d
i.e., u1 au1 bu 2 , u2 cu1 du 2
k1a k 2 c a c k1
[ v ]B k
1
k b k 2
d b d 2
u1 B u2 B v B
Notes:
B {u1 , u 2 , ..., u n }, B ' {u1 , u2 , ..., un }
v B [u1 ]B , [u2 ]B , ..., [un ]B v B P v B
v B [u1 ]B , [u 2 ]B , ..., [u n ]B v B P 1 v B
B B I n P 1
1 2
1
P (the transition matrix from B to B')
2 3
Check:
3 2 1 2 1 0
1
PP I2
2 1 2 3 0 1
5 6 1 0 0 1 0 0 0 0
x 5 6 7 8
7 8 0 0 0 0 1 0 0 1
5
6
x B
7
8
Elementary Linear Algebra: Section 5.7, Addition 113/136
Key Learning in Section 4.7
▪ Find a coordinate matrix relative to a basis in Rn
▪ Find the transition matrix from the basis to the basis B' in Rn.
▪ Represent coordinates in general n-dimensional spaces.
114/136
Keywords in Section 4.7
coordinates of x relative to B: x相對於B的座標
coordinate matrix: 座標矩陣
coordinate vector: 座標向量
change of basis problem: 基底變換問題
transition matrix from B' to B: 從 B' 到 B的轉移矩陣
115/136
4.8 Applications of Vector Spaces
Conic sections and rotation:
Every conic section in the xy-plane has an equation that can be
written in the form
ax 2 bxy cy 2 dx ey f 0
When b is zero, the conic axes are parallel to the coordinate axes,
and the identification is accomplished by writing the equation in
standard (completed square) form.
( x 3) 2 ( y 1) 2
1
4 1
center at (h, k ) (3, 1)
2 4 2 2
new basis
B {(cos , sin ), ( sin , cos )}
127/136
Keywords in Section 4.8
Ellipse: 橢圓
Hyperbola: 雙曲線
Parabola: 拋物線
Vertex: 頂點
Focus: 焦點
128/136
4.1 Linear Algebra Applied
Force
Vectors have a wide variety of applications in
engineering and the physical sciences. For
example, to determine the amount of force
required to pull an object up a ramp that has an
angle of elevation θ, use the figure at the right.
In the figure, the vector labeled W represents the
weight of the object, and the vector labeled F
represents the required force. Using similar
triangles and some trigonometry, the required
force is F = W sin θ. (Verifying this.)