Chapter 4 Vector Space
Chapter 4 Vector Space
—————————————–
E-mail: khanhvanphan@hcmut.edu.vn
October 9, 2018
1 Vector space
2 Linear combination, linear independence, linear
dependence
3 Rank of a set of vectors
4 Spanning set, basis, dimension, coordinates
5 Coordinates of a vector with respect to a basis,
Change of Coordinates Matrix
6 Subspace, the sum and the intersection of two
subspaces
Vector space
A vector space over a field K is a set V together with
two operations: vector addition +: x + y , x, y ∈ V and
scalar multiplication × : αx, x ∈ V , α ∈ K (R, C) and
that satisfy the eight axioms listed below:
1 x +y =y +x 5 (α + β)x = αx + βx
2 x + y + z = x + (y + z) 6 α(x + y ) = αx + αy
3 ∃0 ∈ V : 0 + x = x
4 ∀x ∈ V , ∃(−x) ∈ V :
7 α(βx) = (αβ)x
(−x) + x = 0 8 1.x = x.
Examples
1 The space Rn = {(x1 , x2 , ...xn ) : xi ∈ R} with ordinary
+, × .
2 The space Mm×n (R) with matrix addition + and
scalar multiplication ×.
3 The space Pn (x) of all polynomials with degree less
than or equal to n with ordinary addition + and scalar
multiplication × 1.
Example
In R 2 : M = {(1, 1), (2, 3), (1, −2)}. Is the vector
x = (3, 4) a linear combination of M?
Example
In R 3 : M = {(−1, 2, −3), (2, −2, 1)}. Is u = (5, −2, −6)
a linear combination of M?
Consider the equation
2, −3) + β(2, −2, 1)
α(−1, = (5, −2, −6)
−α + 2β = 5
α = 3
⇔ 2α − 2β = −2 ⇔ β=4 ⇒ @α, β
−3α + β = −6 −3α + β = −6
Then, u is not a linear combination of M.
Example
In R 3 : M = {(1, 1, 1), (2, 3, 1), (1, 2, 0)}. Is M linearly
independent or dependent?
Consider
α(1, 1, 1) + β(2, 3, 1) + γ(1, 2, 0) = 0 ,(*)
α + 2β + γ = 0
⇔ α + 3β + 2γ = 0
α+β =0
|A| = 0 ⇒ This system has infinitely many solutions
⇒ ∃(α, β, γ) 6= (0, 0, 0) satisfying (*)
Then, M is linear dependent.
Example
In V : M = {x, y , z, 3x + 4y }. Is M linearly dependent or
independent?
We have that 3x + 4y is a linear combination of {x, y , z}.
We choose a combination:
(−3).x + (−4)y + 0.z + 1.(3x + 4y ) = 0 Then, M is
linearly dependent.
Remark 1: A set containing a vector that is a linear
combination of the others is linearly dependent.
Example
In V given a linearly independent set M = {x, y , z}. Is
N = {x, 2x − y + 3z, 0, x + 4y − z} linearly dependent or
independent?
Choose a combination
0.x + 0.(2x − y + 3z) + 1.0 + 0.(x + 4y − z) = 0. Then,
N is linearly dependent. Remark 2: A set containing 0
is linearly dependent.
Example
In V given a linearly independent set M = {x, y , z}. Is
N = {2x, 3y , 4z} linearly dependent or independent?
Consider α(2x) + β(3y ) + γ(4z) = 0
⇔ (2α)x + (3β)y + (4γ)z = 0 Because M is linearly
independent, then 2α = 3β = 4γ = 0 ⇔ α = β = γ = 0.
Then, N is linearly independent.
Example
In V given a linearly independent set M = {x, y }. z is
not a linear combination of M. Is N = {x, y , z} linearly
dependent or independent?
Consider αx + βy + γz = 0. If γ 6= 0. ⇒ z = αx+βy −γ is a
linear combination of M (is contrary to the hypothesis).
Then, γ = 0. ⇒ αx + βy = 0. Because M is linearly
independent α = β = 0.
Then N is linearly independent. Remark 3: Adding to a
linearly independent set a vector which is not its linear
combination, we obtain a new linearly independent set.
Theorem
Adding vectors to a linearly dependent set, we obtain
a dependent set.
Taking vectors from a linearly independent set, we
obtain an independent set.
Fundamental theorem on Vector spaces
In a vector space V given M = {x1 , x2 ...xm }. If each of
the n vectors N = {y1 , y2 ...yn } can be expressed as a
linear combination of M, and n > m, then, N is linearly
dependent.
Corollary: If M and N consist of n vectors. M is linearly
dependent, N is generated from M, then, N is linearly
dependent.
(Phan Thi Khanh Van) Vector space October 9, 2018 13 / 66
Linear combination, linear independence, linear dependence
Example
1 In V : the set
N = {x + y + z, 2x − y + 3z, x + 4y − z, 3x} is
linearly independent or dependent?
Linearly dependent, because N consists of 4 vectors
generated from 3 vectors {x, y , z}
2 In V , M = {2x + y , 3y + z, 2x + 4y + z} is linearly
independent or dependent? Linearly dependent,
because 2x + 4y + z = (2x + y ) + (3y + z)
Properties
A ∈ Mm×n (K ). rank(A) = rank(row vectors of A) =
rank(col. vectors of A)
r (M) = m (the number of vectors of a set) iff M is
linearly independent.
r (M) < m then M is linearly dependent
r (M ∪ N) ≥ r (M), r (N)
Properties
Rank of the set doesn’t change if we multiply a vector
by a nonzero number
r (x1 , x2 ...xm ) = r (αx1 , x2 ...xm ), α 6= 0
Rank of a set doesn’t change if we add a scalar
product of a vector to another one
r (x1 , x2 , ...xm ) = r (x1 + αx2 , x2 ...xm )
Rank of a set doesn’t change if we add a linear
combination of a set to itself r (M) = r (M, x), x - a
linear combination of M.
Example
In R3 , given
M = {(1, 2, −3), (4, 0, 2), (−2, −4, 6), (−2, 4, −8)}. Find
the rank of M.
1 2 −3 1 2 −3
→ 0 −8 14
4 0 2
A= −2 −4 6 0 0 0
−2 4 −8 0 8 −14
1 2 −3
0 −8 14
→ 0 0 0 r (A) = 2 ⇒ r (M) = 2.
0 0 0
Maximal independent subset: {(1, 2, −3), (4, 0, 2)}
(Phan Thi Khanh Van) Vector space October 9, 2018 18 / 66
Rank of a set of vectors
Example
In V given a linearly independent set M = {x, y , z}. Find
the rank of N = {2x − y , x + y + z, −2z}.
Example
In V given a linearly independent set M = {x, y , z}. Find
rank of
N = {2x − y + z, x + y + 3z, x − 2y − 2z, 4x + 4y + 12z}.
2 −1 1 1 1 3 1 1 3
→ 0 −3 −5 → 0 −3 −5
1 1 3
A= 1 −2 −2 0 −3 −5 0 0 0
4 4 12 0 0 0 0 0 0
r (A) = 2 ⇒ r (N) = 2.
The maximal independent set {x + y + 3z, 2x − y − z}
Example
In R4 given M = {(1, 2, −3, 1), (2, 1, 4, 0), (4, 5, −2, 2)}.
Is (4, −1, 18, −2) a linear combination of M?
1 2 −3 1 1 2 −3 1
→ 0 −3 10 −2
2 1 4 0
A= 4 5 −2 2 0 −3 10 −2
4 −1 18 −2 0 −9 30 −6
1 2 −3 1
0 −3 10 −2
→ 0 0 0 0
0 0 0 0
Then r (M) = r (M, x) = 2 x is a linear combination of M
(Phan Thi Khanh Van) Vector space October 9, 2018 21 / 66
Spanning set, basis, dimension, coordinates
Spanning set
In V , M is called a spanning set of V if for any x ∈ V ,
x is a linear combination of M (x is generated from M).
Denote: V =< M >
Example
Prove that M = {(1, 1, 1), (1, 1, 0), (1, 0, 0), (1, 2, 3)} is a
spanning set of R 3 .
∀x = (x1 , x2 , x3 ) ∈ R 3 , consider:
(x1 , x2 , x3 ) = α(1, 1, 1) + β(1, 1, 0) + γ(1, 0, 0) + δ(1, 2, 3)
α + β + γ + δ = x1
1 1 1 1 x1
α + β + 2δ = x2 → 1 1 0 2 x2
1 0 0 3 x3
α + 3δ = x3
(Phan Thi Khanh Van) Vector space October 9, 2018 22 / 66
Spanning set, basis, dimension, coordinates
1 1 1 1 x1
→ 0 0 −1 1 x2 − x1
0 −1 −1 2 x3 − x2
1 1 1 1 x1
→ 0 −1 −1 2 x3 − x2
0 0 −1 1 x2 − x1
r (A) = r (A|b) then the system is compatible (has
solution).
Then, any x can be generated by M.
⇒ M is a spanning set of R 3 .
Example
Is M = {2x 2 + x + 1, 3x 2 + x, 5x 2 + x − 2} a spanning set
of P2 (x)?
∀u = ax 2 + bx + c ∈ P2 (x), consider:
ax 2+bx +c = α(2x 2
+x +1)+β(3x 2 +x)+γ(5x 2
+x −2)
2 3 5 a 1 0 −2 c
→ 1 1 1 b → 0 1 3 b−c
1 0 −2 c 0 3 9 a − 2c
1 0 −2 c
→0 1 3 b−c
0 0 0 a − 3b + c
With u : a − 3b + c 6= 0 the system has no solution, then
M is not a spanning set of P2 (x)
(Phan Thi Khanh Van) Vector space October 9, 2018 24 / 66
Spanning set, basis, dimension, coordinates
Example
In V , given a spanning set M = {x, y , z}.
1 Is N1 = {2x, 3y , 4z} a spanning set?
2 Is N2 = {x − y , x + y , 3x − 4y } a spanning set?
1 For any u ∈ V : u = ax + by + cz.
u = 2a .(2x) + b3 .(3y ) + c4 .(4z) ⇒ N1 is a spanning set.
2 - If z is a linear combination of x, y : ∀u ∈ V :
u = ax + by + cz = a1 x + b1 y
a1 −b1
= a1 +b 2 (x + y ) + 2 (x − y ). Then N2 is a
1
spanning set.
- If z is not a linear combination of x, y then z is not
a linear combination of N2 . Then N2 is not a
spanning set.
(Phan Thi Khanh Van) Vector space October 9, 2018 25 / 66
Spanning set, basis, dimension, coordinates
Example
In V given a spanning set M = {x, y , z}.
1 Is N3 = {x, y , z, t} a spanning set?
2 Is N4 = {x − y , x + y , 2x − z} a spanning set?
1 For any u ∈ V : u = ax + by + cz.
u = ax + by + cz + 0.t Then N3 is a spanning set.
2 We have: x = 21 [(x − y ) + (x + y )],
y = 12 [(x + y ) − (x − y )], z = 2x − (2x − z)
= (x − y ) + (x + y ) − (2x − z)
Then M is generated from N4 .
Because M is a spanning set, ∀u ∈ V , u is generated
from M. u is generated from N4 , then N4 is a
spanning set.
(Phan Thi Khanh Van) Vector space October 9, 2018 26 / 66
Spanning set, basis, dimension, coordinates
Basis
A linearly independent spanning set M ⊂ V of V is
called a basis of V . (A basis is a maximal linearly
independent subset of a spanning set.)
Dimension
The number of vectors in a basis of V is called the
dimension of V . Denote: n = dim(V ) (= rank of a
spanning set)
Properties
In an n dimensional space V :
1 Any set whose rank is n is a spanning set.
2 Any linearly independent set of n vectors is a basis.
(Phan Thi Khanh Van) Vector space October 9, 2018 28 / 66
Spanning set, basis, dimension, coordinates
Example
M = {(1, 1, 1), (1, 1, 0), (1, 0, 0), (1, 2, 3)} is a spanning
set of R 3 . Find a basis and the dimension of R3 .
1 1 1 1 1 1 1 1 1
→ 0 0 1 → 0 −1 −1
1 1 0
1 0 0 0 −1 −1 0 0 1
1 2 3 0 1 2 0 0 1
Then the maximal linearly independent subset
{(1, 1, 1), (1, 1, 0), (1, 0, 0)} is a basis of R 3 , dim(R 3 ) = 3.
Example
In V given a basis M = {x, y , z}.
1 Is N1 = {2x − y , x − 4y , x + y } a basis of V ?
2 Is N2 = {2x − y , x − 4y , x + y + z, 2x − y − z} a
basis of V ?
Example
In V given a basis M = {x, y , z}
1 Is N3 = {2x − y − z, x − 4y + z, x + y , x − y } a
spanning set of V ?
2 Is N4 = {2x − y , x − 4y − 2z, x + y + z} a basis of V ?
Normal basis
1 In R3 : E = {(1, 0, 0), (0, 1, 0), (0, 0, 1)}
2 In P2 (x): E = {1, x, x 2 }
1 0 0 1 0 0 0 0
3 In M2×2 (R): E = { , , , }
0 0 0 0 1 0 0 1
Example
Find the coordinates of x = (1, 2, 4) with respect to
E = {(1, 1, 2), (1, 1, 0), (1, 0, 0)}
x =(1, 2, 4) = α(1, 1, 2) +
β(1, 1, 0) + γ(1, 0, 0)
α + β + γ = 1
α = 2
⇔ α+β =2 ⇔ β=0
2α = 4 γ = −1
T
Then [x]E = (2, 0, −1)
1 1 1 1 α
2 − nd way: [x] = 2 = 1 1 0 β = E .[x]E
4 1 0 0 γ
(Phan Thi Khanh Van) Vector space October 9, 2018 34 / 66
Coordinates of a vector with respect to a basis, Change of
Coordinates Matrix
−1
1 1 1 1 2
[x]E = E −1 [x] = 1 1 0 . 2 = 0
1 0 0 4 −1
Properties of coordinates
In V given a basis E
x = y ⇔ [x]E = [y ]E
[x + y ]E = [x]E + [y ]E
[αx]E = α[x]E
Example
Given a basis E = {(1, 1, 2), (1, 1, 0), (1, 0, 0)},
[x]E = (2, −2, 3)T . Given another basis
F = {(1, 2, 3), (2, −4, 1), (−1, 1, 1)}. Find [x]F
1 1 1 2 3
2 − nd way: [x] = E .[x]E = 1 1 0 −2 = 0
2 0 0 3 4
−1 23
1 2 −1 3 17
−1 9
[x]F = F [x] = 2 −4 1
. 0 = 17
10
3 1 1 4 − 17
Remark: [x] = E .[x]E = F [x]F
⇒ [x]F = F −1 .[x] = F −1 .E .[x]E
TFE = F −1 .E - change of coordinates matrix from F to E .
Properties
In V given 2 basis E , F
TEF is the change of coordinates matrix from E to F
−1
then TEF is the change of coordinates matrix from F
to E
TEF is the change of coordinates matrix from E to F ,
TFG is the change of coordinates matrix from F to G
then TEF .TFG is the change of coordinates matrix
from E to G
Relation between coordinates of x in different bases
[x] = E .[x]E = F [x]F
⇒ [x]F = F −1 .[x] = F −1 .E .[x]E = TFE .[x]E
(Phan Thi Khanh Van) Vector space October 9, 2018 40 / 66
Coordinates of a vector with respect to a basis, Change of
Coordinates Matrix
Example
In V . E = {x, y , z} is a basis of V . Prove that
F = {x − y , y − z, z − 2x} is also a basis of V . Given
[u]E = (1, −2, 3)T . Find [u]F
1 0 −2
TEF = −1 1 0
0 −1 1
−1
[u]F = TFE .[u]E = TEF .[u]E
−1
1 0 −2 1 −3
= −1 1 0 −2 = −5
0 −1 1 3 −2
Subspace
In a vector space V , a subset F with two operations in V
which is also vector space F is a subspace of V .
F ⊂ V ⇒ dim(F ) ≤ dim(V ), ”=” occurs iff F = V
Theorem
A nonempty subset F of a vector space V is a subspace of
V iff
∀x, y ∈ F : x + y ∈ F
∀x ∈ F , α ∈ K : αx ∈ F
Example
1 3 1
Prove that F = {A ∈ M2 [R] : A. = 0} is a
−1 2 −3
subspace of M2 [R].
1 3 1
∀A, B ∈ F , we have A. = 0,
−1 2 −3
1 3 1
B. = 0, therefore,
−1 2 −3
1 3 1
(A + B). = 0, or A + B ∈ F
−1 2 −3
1 3 1
∀A ∈ F , α ∈ R : αA ∈ F , α.A. = 0, or
−1 2 −3
αA ∈ F
(Phan Thi Khanh Van) Vector space October 9, 2018 43 / 66
Subspace, the sum and the intersection of two subspaces
Example
In R4 given a set
M = {(1, 2, −1, 3), (−2, 3, 1, 2), (0, 7, −1, 8)}. Prove
that(Phanthe span of M is a subspace
Thi Khanh Van) Vector space
of R4 . October 9, 2018 44 / 66
Subspace, the sum and the intersection of two subspaces
Example 1
M = {(1, 2, −1, 3), (−2, 3, 1, 2), (0, 7, −1, 8), (1, 1, 1, 1)}.
Find a basis of the span F of M.
v1 1 2 −1 3 1 2 −1 3
v2 −2 3 1 2
→ 0 7 −1 8
A= =
v3 0 7 −1 8 0 7 −1 8
v 1 1 1 1 0 −1 2 −2
4
1 2 −1 3
0 −1 2 −2
→ 0 0 13 −6
0 0 0 0
A basis of F : {(1, 2, −1, 3), (0, −1, 2, −2), (0, 0, 13, −6)},
dim(F ) = 3
(Phan Thi Khanh Van) Vector space October 9, 2018 46 / 66
Subspace, the sum and the intersection of two subspaces
Example 2
In P2 (x) given a span of a set M:
F =< M >=< x 2 + x + 1, 2x 2 − x + 2, x 2 − 2x + 1 >.
Find the dimension, a basis of F .
A basis
of F is the maximal
independent
subset of M.
v1 1 1 1 1 1 1
A = v2 = 2 −1 2 → 0 −3 0
v 1 −2 1 0 −3 0
3
1 1 1
→ 0 −3 0
0 0 0
Then a basis of F : {x 2 + x + 1, −3x}, dim(F ) = 2
(Phan Thi Khanh Van) Vector space October 9, 2018 47 / 66
Subspace, the sum and the intersection of two subspaces
Example 3
In a vector space V given a basis M = {x, y , z}. Find the
dimension, a basis of
F =< N >=< 2x − y , x + 3y − z, x − 4y + z >.
A basis
of F is a linearly independent
subsetof N.
v1 2 −1 0 0 −7 2
A = v2 = 1 3 −1 → 1 3 −1
v 1 −4 1 0 −7 2
3
1 3 −1
→ 0 −7 2
0 0 0
Then a basis of F : {x + 3y − z, −7y + 2z}, dim(F ) = 2
(Phan Thi Khanh Van) Vector space October 9, 2018 48 / 66
Subspace, the sum and the intersection of two subspaces
Example 1
Given
F = {(x1 , x2 , x3 ) ∈ R 3 |x1 − 2x2 + x3 = 0 ∧ x1 − x3 = 0}.
1 Prove that F is a subspace R 3 .
2 Find the dimension, a basis of F .
Suppose that x(x1 , x2 , x3 ), y (y1 , y2 , y3 ) are 2 solutions of
the system.
( (
x1 − 2x2 + x3 = 0 y1 − 2y2 + y3 = 0
We have v
x − x3 = 0 y1 − y3 = 0
(1
(x1 + y1 ) − 2(x2 + y2 ) + (x3 + y3 ) = 0
Therefore, , or
(x1 + y1 ) − (x3 + y3 ) = 0
x + y is also a solution.
(Phan Thi Khanh Van) Vector space October 9, 2018 50 / 66
Subspace, the sum and the intersection of two subspaces
Example 2
In R4 given F = {(x1 , x2 , x3 , x4 ) ∈ R 4 |2x1 − x2 + 3x3 + x4 =
0; x1 − 2x2 + x3 = 0; 4x1 − 5x2 + 5x3 + x4 = 0}. Find the
dimension, a basis of F .
2 −1 3 1 0 0 3 1 1 0
A = 1 −2 1 0 0 → 1 −2 1 0 0
4 −5 5 1 0 0 3 1 1 0
1 −2 1 0 0
→
0 3 1 1 0
The general solution of the system
x3 = 3m, x4 = 3n, x2 = − x3 +x 3
4
= −m − n,
x1 = 2x2 − x3 = −5m − 2n
(Phan Thi Khanh Van) Vector space October 9, 2018 52 / 66
Subspace, the sum and the intersection of two subspaces
Exercises
1 In R 4 given F =<
(1, 1, −1, 1), (2, 0, 3, 1), (0, −2, 5, −1), (3, 1, 2, 2) >
Find a basis and the dimension of F
2 In R 3 , given
a subspace V - the set of solutions to the
3x1 + x2 + x3 = 0
system 2x1 + 2x2 − x3 = 0 . Find a basis and the
x1 + 3x2 − 3x3 = 0
dimension of V
Exercises
1 In R 3 given M = {(1, 1, 1), (2, 3, 1), (0, 1, 2)}
a) Is x = (1, −2, 3) in < M > ?
b) Find m such that (1, 0, m) ∈< M >
2 In R 4 given F =< (1, 1, 1, 1), (1, 2, 3, 4), (3, 1, 2, 1) >,
G =< (−1, 2, 2, 4), (−1, 1, m, 0) > Find m such that
G ⊂F
3 In R 4 , givena subspace V - the set of all solutions to
x1 + x2 − 2x3 = 0
the system 2x1 + 3x2 − x3 − x4 = 0 . Find m such
x1 + x2 − mx4 = 0
that dim(V ) is max. With m found, find a basis of V
(Phan Thi Khanh Van) Vector space October 9, 2018 55 / 66
Subspace, the sum and the intersection of two subspaces
Properties
1 (E ∩ F ) ⊂ E , F ⊂ E + F ⊂ V
2 dim(E ∩ F ) ≤ dimE , dimF ≤ dim(E + F ) ≤
dimE + dimF
3 dim(E + F ) = dimE + dimF − dim(E ∩ F )
4 E =< e1 , e2 , ...em >, F =< f1 , f2 , ...fp >
⇒ E + F =< e1 , e2 ...em , f1 , f2 ...fp >
Example 1
In R4 , given V =< (1, 1, −1, 3), (2, 3, −2, 1) >, U =<
(2, 1, 0, 3), (3, 3, −1, 1) >. Find the dimension, a basis of
U + V,U ∩ V
Finding a basis of U + V
A spanning set of U + V : {(1, 1, −1, 3), (2, 3, −2, 1),
1, 0, 3), (3,3, −1,1)}
(2,
1 1 −1 3 1 1 −1 3
2 3 −2 1
→ 0 1 0 −5
2 1 0 3 0 −1 2 −3
3 3 −1 1 0 0 2 −8
0 0 2 −8
A basis of U + V {(1, 1, −1, 3), (0, 1, 0, −5), (0, 0, 2, −8)}
Find a basis of U ∩ V
A basis of U:{e1 = (1, 1, −1, 3), e2 = (2, 3, −2, 1)}.
A basis of V : {f1 = (2, 1, 0, 3), f2 = (3, 3, −1, 1)}.
Then: dim(U ∩ V ) = dimU + dimV − dim(U + V ) = 1
U ∩ V = {x ∈ R 4 |x ∈ U, x ∈ V }
= {x ∈ R 4 |x = α1 e1 + α2 e2 = β1 f1 + β2 f2 }
⇒ α1 e1 + α2 e2 − β1 f1 − β2 f2 = 0
or α1 (1, 1, −1, 3) + α2 (2, 3, −2, 1) − β1 (2, 1, 0, 3) −
β2 (3, 3, −1, 1) = 0
(Phan Thi Khanh Van) Vector space October 9, 2018 59 / 66
Subspace, the sum and the intersection of two subspaces
α1 + 2α2 − 2β1 − 3β2 = 0
α + 3α − β − 3β = 0
1 2 1 2
⇒
−α1 − 2α2 + β2 = 0
3α + α − 3β − β = 0
1 2 1 2
1 2 −2 −3 0 1 2 −2 −3 0
1 3 −1 −3 0 0 1 1 0 0
→
−1 −2 0 1 0 0 0 −2 −2 0
3 1 −3 −1 0 0 −5 3 8 0
1 2 −2 −3 0
0 1 1 0 0
→ 0 0 −2 −2 0
0 0 8 8 0
(Phan Thi Khanh Van) Vector space October 9, 2018 60 / 66
Subspace, the sum and the intersection of two subspaces
Then β2 = m, β1 = −m
⇒ x = m(2, 1, 0, 3) − m(3, 3, −1, 1) = m(−1, −2, 1, 2)
Then dim(U ∩ V ) = 1, a basis: {(−1, −2, 1, 2)}
Example 2
In R4 , cho
V = {x ∈ R4 |x1 + x2 − 2x3 = 0, 2x1 + 3x2 − x4 = 0},
U = {x ∈ R4 |x1 + 2x2 − 3x3 = 0, x1 + 2x2 + 2x3 − x4 = 0}.
Find the dimension, a basis of U + V , U ∩ V
Find a basis of U ∩ V U ∩ V = {x|x ∈ U, x ∈ V }
= {x|x1 + x2 − 2x3 = 0, 2x1 + 3x2 − x4 = 0,
2x2 − 3x3 = 0, x1 +
x1 + 2x2 +2x3 − x4 = 0}
1 1 −2 0 0 1 1 −2 0 0
2 3 0 −1 0
→ 0 1 4 −1 0
⇒ 1 2 −3 0 0 0 1 −1 0 0
1 2 2 −1 0 0 1 4 −1 0
(Phan Thi Khanh Van) Vector space October 9, 2018 62 / 66
Subspace, the sum and the intersection of two subspaces
x1 = m
1 1 −2 0 0
x = m
2
→ 0 1 4 −1 0 General solution:
0 0 −5 1 0
x3 = m
x = 5m
4
Then dim(U ∩ V ) = 1, a basis: {(1, 1, 1, 5)}
Find a basis of U + V
1 1 −2 0 0
Finding a basis of U:
2 3 0 −1 0
1 1 −2 0 0
→
0 1 4 −1 0
General solution:
x1 = 6m − n, x2 = −4m + n, x3 = m, x4 = n
A basis of U: {(6, −4,1, 0), (−1, 1, 0, 1)}.
(Phan Thi Khanh Van) 1 Vector −3 0 0
2 space October 9, 2018 63 / 66
Subspace, the sum and the intersection of two subspaces
Exercises
4
1 In
( R , given the set V of all solutions to the system
x1 + x2 − 2x3 = 0
, U is the set of all
2x1 + 3x2 − x3 − x4 = 0
n
solutions to the system x1 + x2 − mx4 = 0 . Find
the dimension, a basis of U + V , U ∩ V
2 In R3 , given U =< (1, 2, 1), (2, 1, 3), (−1, −5, 0) >,
V =< (1, −1, 2), (0, 1, 2). Find the dimension, a basis
of U + V , U ∩ V
3 In R 3 , given U =< (1, 2, 1), (2, 1, 3) >,
V = {x ∈ R 3 |x1 + x2 − 3x3 = 0, 2x1 − x2 = 0}. Find
the dimension, a basis of U + V , U ∩ V
(Phan Thi Khanh Van) Vector space October 9, 2018 65 / 66
Subspace, the sum and the intersection of two subspaces