ch03 - Part2 - RealVector v2 (42) - DONE
ch03 - Part2 - RealVector v2 (42) - DONE
MANAGEMENT
MATHEMATICS
Real Vector Spaces (Part 2)
盧信銘
台大資管
Real Vector Spaces (Part 2) 2
Topics
• Preliminaries
• Vectors in the Plane and in 3-Space
• Vector Spaces
• Subspaces
• Span and Linear Independence span: 生成
• Basis and Dimension
• Homogeneous Systems
• Coordinates and Isomorphisms
• Rank of a Matrix
Real Vector Spaces (Part 2) 3
▪ vector space:向量空間
▪ n-space:n維空間
▪ matrix space:矩陣空間
▪ polynomial space:多項式空間
▪ subset: 子集
▪ proper Subset: 真子集
• subspace:子空間
• basis:基底
• dimension:維度
• finite dimension:有限維度
• infinite dimension:無限維度
Real Vector Spaces (Part 2) 4
☼
Real Vector Spaces (Part 2) 5
Example
• Consider the three-dimensional vectors
1 1 1
𝐯1 = 2 , 𝐯2 = 0 , 𝐯3 = 1
1 2 0
2
Express the vector 𝐯 = 1 as a linear combination of v1, v2
and v 5
3
☼
Real Vector Spaces (Part 2) 6
Example (continued)
1 1 1 𝑎1 + 𝑎2 + 𝑎3 1 1 1 𝑎1 2
𝑎1 2 + 𝑎2 0 + 𝑎3 1 = 2𝑎1 + 0 + 𝑎3 = 2 0 1 𝑎2 = 1
1 2 0 𝑎1 + 2𝑎2 + 0 1 2 0 𝑎3 5
☼
Real Vector Spaces (Part 2) 7
Example
• In R3, the span of e1 and e2 is the set of all vectors of
the form
1 0 α
e1 + e2 = α 0 + β 1 = β
0 0 0
☼
Real Vector Spaces (Part 2) 9
Your Turn
• Is Span (𝒆1 , 𝒆2 ) a subspace of R3?
• Span(𝒆1 , 𝒆2 ) is a subset of 𝑅 3 .
• Is it close under vector addition?
• Is it close under scalar multiplication?
☼
Real Vector Spaces (Part 2) 10
Span is a Subspace
• Theorem - Let S = { v1, v2, …, vk } be a set of vectors in a vector space V.
The span of S is a subspace of V.
• Proof – Since span(S) ⊆ V (why?), to show that span(S) is a subspace of V,
have to show
• If u, v ∈ span(S), then u + v ∈ span(S)
☼
Real Vector Spaces (Part 2) 11
• 𝐮 + 𝐯 = σ𝑘 𝑎 𝐯
𝑖=1 𝑖 𝑖 + σ 𝑘
𝑏 𝐯
𝑖=1 𝑖 𝑖 = σ 𝑘
𝑖=1 𝑎𝑖 + 𝑏𝑖 𝐯𝑖 ∈ 𝑠𝑝𝑎𝑛(𝑆)
• Closed under vector addition.
S Spans V
• Defn - Let S = { v1, v2, …, vk } be a set of vectors in a
vector space V. The set S spans V if every vector in V is a
linear combination of the vectors in S
☼
Real Vector Spaces (Part 2) 13
Example (Span)
• Consider the homogeneous 1 1 0 2
−2 −2 1 −5
system Ax = 0 where 𝐴=
1 1 −1 3
4 4 −1 9
☼
Real Vector Spaces (Part 2) 14
Example (continued)
𝑥1 + 𝑥2 + 2𝑥4 = 0
𝑥1 𝑥3 − 𝑥4 = 0
𝑥2
Let the solution be 𝑥 = 𝑥
3 Set x4 = s x3 = s
𝑥4 x1 + x2 = -2s
Set x2 = r x1 = - r - 2s
−𝑟 − 2𝑠 −1 −2 −1 −2
𝑟 1 0 1 0
𝑥= =𝛾 +𝑠 ⋅
𝑠 0 1 0 1
𝑠 0 1 0 1
Spans the solution on space ☼
Real Vector Spaces (Part 2) 15
☼
Real Vector Spaces (Part 2) 16
☼
Real Vector Spaces (Part 2) 17
Example
• Which of the following are spanning sets for R3?
(a) {e1, e2, e3, (1, 2, 3)T}
𝑎 1 0 0 1 1
𝑏 = 𝑎 0 + 𝑏 1 + 𝑐 0 + 0 2 = 𝑎 e1 + 𝑏 e2 + 𝑐 e3 + 0 2
𝑐 0 0 1 3 3
☼
Real Vector Spaces (Part 2) 19
1 0 0
e1 = 0 , e2 = 1 , e3 = 0
0 0 1
☼
Real Vector Spaces (Part 2) 20
𝑎 1 1 1 α1 + α2 + α3
𝑏 = α1 1 + α2 1 + α3 0 = α1 + α2
𝑐 1 0 0 α1
1 + 2 + 3 = a
1 + 2 =b
1 =c
α1 𝑐
α2 = 𝑏 − 𝑐
α3 𝑎−𝑏
☼
Real Vector Spaces (Part 2) 21
☼
Real Vector Spaces (Part 2) 22
𝑎 1 0 α1
𝑏 = α1 0 + α2 1 = α2
𝑐 1 0 α1
☼
Real Vector Spaces (Part 2) 23
𝑎 1 2 4 α1 + 2α2 + 4α3
𝑏 = α1 2 + α2 1 + α3 −1 = 2α1 + α2 − α3
𝑐 4 3 1 4α1 + 3α2 + α3
1 + 22 + 43 = a
21 + 2 - 3 = b
41 + 32 + 3 = c
☼
Real Vector Spaces (Part 2) 24
1 2 4 𝑎 1 2 4 𝑎
2 1 −1 ቮ 𝑏 ⇒ 0 −3 −9 ቮ −2𝑎 + 𝑏
4 3 1 𝑐 0 −5 −15 −4𝑎 + 𝑐
1 2 4 𝑎
⇒ 0 1 3ቮ (2𝑎 − 𝑏)/3
0 0 0 −(2𝑎 − 5𝑏 + 3𝑐)/3
☼
Real Vector Spaces (Part 2) 25
Your Turn
• Do the vectors 1 – x2, x + 2, and x2 span P2?
☼
Real Vector Spaces (Part 2) 26
Linear Independence
• Each vector in the vector space can be built up from the
elements in a generating set (spanning set) using only
the operations of addition and scalar multiplication.
☼
Real Vector Spaces (Part 2) 27
Linearly dependence/independence
☼
Real Vector Spaces (Part 2) 28
☼
Real Vector Spaces (Part 2) 29
☼
Real Vector Spaces (Part 2) 30
☼
Real Vector Spaces (Part 2) 31
☼
Real Vector Spaces (Part 2) 33
Example
−1 −2
• The vectors 1 and 0 that span the solution
0 1
0 1
space of the previous example are linearly
independent
1 −𝑎1 − 2𝑎2 = 0
−1 −2
0
1 0 𝑎1 =0
𝑎1 + 𝑎2 = 0 ⇒
0 1 𝑎2 = 0
0
0 1 𝑎2 = 0
0
The only solution is a1 = 0, a2 = 0 ☼
Real Vector Spaces (Part 2) 34
Your Turn
Example
• Let V be R4 and v1 = [ 1 0 1 2 ], v2 = [ 0 1 1 2 ] and
v3 = [ 1 1 1 3 ]. Determine if S = { v1, v2, v3 } is linearly
independent or linearly dependent?
☼
Real Vector Spaces (Part 2) 35
• Proof (continued) -
Then
a1 v1 + a2 v2 + … + ak vk + 0 vk+1 + … + 0 vm = 0
Since not all of the coefficients are 0, S2 is linearly
dependent.
b) Let S2 be linearly independent. Then S1 is either linearly
independent or linearly dependent. Suppose S1 is linearly
dependent, then by part (a) S2 must be linearly dependent,
which is a contradiction. So, S1 must be linearly
independent.
☼
QED
Real Vector Spaces (Part 2) 37
☼
Real Vector Spaces (Part 2) 38
• Proof (continued) -
Let vj be a linear combination of the preceding vectors
in S. Then vj = a1 v1 + a2 v2 + … + aj-1 vj-1 where not all of
the ai coefficients are zero. So,
a1 v1 + a2 v2 + … + aj-1 vj-1 - vj + 0 vj+1 + … + 0 vn = 0
QED
☼
Real Vector Spaces (Part 2) 41
False. Should
• If W is a subspace of the vector space be the other
V, then every linear combination of way around.
vectors from V is also in W.
False. Since
• Every subspace of 𝑅 3 contains infinitely
{0} only
many vectors. contain one
vector.
Real Vector Spaces (Part 2) 42