T1A/T1B, Hmcheungae Math 2121 Tutorial 8 November 1, 2018
T1A/T1B, Hmcheungae Math 2121 Tutorial 8 November 1, 2018
T1A/T1B, Hmcheungae Math 2121 Tutorial 8 November 1, 2018
If the proof starts from axioms, distinguishes several cases, and takes thirteen lines in
the text book ... it may give the youngsters the impression that mathematics consists
in proving the most obvious things in the least obvious way.————George Polya
Vector Spaces:
A (real) vector space is a nonempty set V with two operations called vector addition and scalar multi-
plication satisfying several conditions. We refer to the elements of V as vectors.
The vector addition operation for V should be a rule that takes two input vectors u, v ∈ V and produces
an output vector u + v ∈ V (i.e., Closure under vector addition) such that
The scalar multiplication operation for V should be a rule that takes a scalar input c ∈ R and an input
vector v ∈ V and produces an output vector cv ∈ V (i.e., Closure under scalar multiplication) such that
(a) (Existence of inverse element:) If c = −1 then v + (−1)v = 0.
(b) (Distributivity of scalar multiplication over vector addition:) c(u + v) = cu + cv.
Examples of vector spaces include (unless otherwise stated, assume the usual addition and
scalar multiplication):
• Map(X, V ) = {f : X → V }, where V is a vector space.
• Map(X, R): The set of functions f : X → R, where X is a set.
Subspaces:
• Let H be a subset of a vector space V . H is called a subspace of V if it satisfies
1. (Existence of zero vector:) 0 ∈ H.
2. (Closure under vector addition:) If u, v ∈ H, then u + v ∈ H.
3. (Closure under scalar multiplication:) If u ∈ H and c ∈ R, then cu ∈ H.
Note that the other conditions must hold for a subset of V , thus a subspace H is itself another vector space.
• If H ⊆ V is a subspace, then dim H ≤ dim V , and if dim H = dim V , then H = V .
• Suppose U and V are vector spaces. A function f : U → V is linear if
• For any vector space V , V and {0} must be subspaces of V , these two are called improper subspaces.
Any other subspace of V is called a proper subspace.
Spans:
Suppose V is a vector space.
• Let v1 , · · · , vk ∈ V , then
Linear Independence
• Let v1 , · · · , vk ∈ V , then {v1 , · · · , vk } is said to be linearly independent if
x1 v1 + · · · + xk vk = 0 =⇒ x1 = x2 = · · · = xk = 0,
Cont.
T1A/T1B, hmcheungae Math 2121 Tutorial 8 Page 3 of 9
We define the dimension of a vector space V to be the common size of any of its bases.
Denote the dimension of V by dim V .
• B spans U ,
• B is linearly independent.
Example 1
True or false:
1. Let Pk be the vector space of all polynomials of degree k or less with real coefficients.
Then S1 = {f (x) ∈ P4 | f (1) is an integer} is a subspace of P4 .
2. S2 = {f (x) ∈ P4 | f (1) is a rational number} is a subspace of P4 .
8. Let S8 be the set of real polynomials of degree exactly k, where k ≥ 1 is an integer, in the vector space
Pk .
Then S8 is a subspace of Pk .
9. If v1 , · · · , vp are in a vector space V , then S9 =Span{v1 , · · · , vp } is a subspace of V .
2a b
10. The set S10 of all matrices of the form is a subspace of M2×2 .
3a + b 3b
Answer:
1
1. False: Consider f (x) = x, deg f ≤ 4 and f (1) = 1 ∈ Z, then f ∈ S1 . But f 6∈ S1 .
2
2. False:
√ Let f (x) = x. Then f (x) is a degree 1 polynomial and f (1) = 1 is a rational number. But
2f 6∈ S2 .
3. False: The zero vector of the vector space M2×2 is the 2 × 2 zero matrix O. Since the determinant of
the zero matrix O is 0, it is not in S3 .
1 0 0 0
4. False: Consider the matrices A = and B = . The determinants of A and B are both
0 0 0 1
0, hence they belong to S4 . However, their sum A + B = I2 has the determinant 1, hence the sum
A + B 6∈ S4 .
Cont.
T1A/T1B, hmcheungae Math 2121 Tutorial 8 Page 4 of 9
5. False: Consider the continuous functions f (x) = x − 1 and g(x) = x + 1. (These are polynomials,
hence they are continuous.) We have f (−1)f (1) = (−2)(0) = 0 and g(−1)g(1) = (0)2 = 0.
So these functions are in S5 .
However, their sum h(x) := f (x) + g(x) does not belong to S5 since we have h(−1)h(1) = (f (−1) +
g(−1))(f (1) + g(1)) = (−2 + 0)(0 + 2) = −4 6= 0.
6. False:
Let f (x) = x2 , an open-up parabola. Then f (x) is continuous and non-negative for −1 ≤ x ≤ 1. Hence
f (x) = x2 is in S6 .
However, the scalar product (−1)f (x) of f (x) and the scalar −1 is not in S6 since, say, (−1)f (1) =
−1 < 0
7. False: The zero vector of the vector space C 2 [−1, 1] is the zero function θ(x) = 0. The second
derivative of the zero function is still the zero function. Thus θ00 (x) + θ(x) = 0. and since sin(x) is not
the zero function, θ(x) is not in S7 .
8. False: Note that xk + 1, −xk + 1 ∈ S8 but 2 = (xk + 1) + (−xk + 1) 6∈ S8 since deg 2 = 0.
9. True:
• 0 ∈ S9 since 0v1 + · · · + 0vp ∈ S9 .
• Given u, w ∈ S9 . Let u = a1 v1 + · · · + ap vp and w = b1 v1 + · · · + bp vp .
Then u + w = (a1 + b1 )v1 + · · · + (ap + bp )vp ∈ S9 .
• Let c ∈ R, u ∈ S9 . Let u = a1 v1 + · · · + ap vp . Then Let cu = (ca1 )v1 + · · · + (cap )vp ∈ S9
10. True:
2a b 2 0 0 1 2 0 0 1
Since =a +b . Then S9 =span , ≤ M2×2 .
3a + b 3b 3 0 1 3 3 0 1 3
Example 2
True or false:
Consider two subsets of C(R), the vector space of continuous functions from R to R.
Let A be a n × n matrix and z ∈ Rn a vector with the property that Ak z 6= 0 but Ak+1 z = 0.
Answer:
1. False:
From the trigometric identity cos 2x = cos2 x − sin2 x, we get
c1 x + c2 sin x + c3 cos x = 0.
Cont.
T1A/T1B, hmcheungae Math 2121 Tutorial 8 Page 5 of 9
Putting x = 0, we have c3 = 0.
Thus, the equation reduces to
c1 x + c2 sin x = 0.
a0 z + a1 Az + · · · + ak Ak z = 0,
a0 Ak z + a1 Ak+1 z + · · · + ak A2k z = Ak 0 = 0,
this implies
a0 Ak z = 0,
since Ak z 6= 0, we get a0 = 0.
We get
a1 Az + · · · + ak Ak z = 0,
and applying Ak−1 on both sides, we get a1 = 0. Repeating the process, we get a0 = a1 = · · · = ak = 0.
Therefore, {z, Az, · · · , Ak z} is a linearly independent set.
Example 3
True or False:
V + W = {v + w ∈ U | v ∈ V and w ∈ W }
is a subspace of U .
3. A subset W of a vector space V is a subspace of V if and only if Span(W ) = W .
Answer:
1. True:
We verify by definition.
• 0U ∈ V and 0U ∈ W . Then 0U ∈ V ∩ W .
• Given u1 , u2 ∈ V ∩ W ,
u1 , u2 ∈ V ∩ W ⊆ V =⇒ u1 + u2 ∈ V,
u1 , u2 ∈ V ∩ W ⊆ V =⇒ u1 + u2 ∈ W,
then u1 + u2 ∈ V ∩ W .
Cont.
T1A/T1B, hmcheungae Math 2121 Tutorial 8 Page 6 of 9
• Given u ∈ V ∩ W , and c ∈ R.
Note that u ∈ V ∩ W ⊆ V , then au ∈ V . Similarly, u ∈ V ∩ W ⊆ W , then au ∈ W .
Hence, au ∈ V ∩ W .
Therefore, V ∩ W is a vector subspace of U .
2. True:
• 0U = 0U + 0V ∈ V + W .
• For each x, y ∈ V + W , there are v, v0 ∈ V and w, w0 ∈ W , then
x + y = (v + w) + (v0 + w0 ) = (v + v0 ) + (w + w0 ) ∈ V + W.
cx = cv + cw ∈ V + W.
Therefore,
V + W = {v + w ∈ U | v ∈ V and w ∈ W }
u = a1 v1 + a2 v2 + · · · + an vn
u = a1 v1 + a2 v2 + · · · + an vn ∈ W.
So, Span(W ) ⊆ W .
(⇐) By the fact that spanning set is a vector space, we have W = Span(W ) is a subspace of W .
Example 4
Let V and W be vector spaces and T : V → W be a linear transformation. Show that
(a) For each subspace H of V , the direct image T (H) := {T (h) ∈ W : h ∈ H} a subspace of W .
(b) For each subspace K of W , the inverse image T −1 (K) := {x ∈ V : T (x) ∈ K} is a subspace of V .
(c) Im T := {T (v) ∈ W : v ∈ V } ≤ W .
(d) ker T := {v ∈ V : T (v = 0)} ≤ V
Answer:
Cont.
T1A/T1B, hmcheungae Math 2121 Tutorial 8 Page 7 of 9
• For each x, y ∈ T (H), there exist a, b ∈ H such that x = T (a) and y = T (b), then
since a, b ∈ H implies a + b ∈ H.
• For each x ∈ T (H) and r ∈ R, there is a ∈ H such that x = T (a), then
since a ∈ H implies ra ∈ H.
Therefore, T (H) ≤ W .
(b) • Since T (0V ) = 0W , 0V ∈ T −1 (K).
• For each x, y ∈ T −1 (K), then T (y), T (y) ∈ K, then T (x + y) = T (x) + T (y) ∈ K.
• For each x ∈ T −1 (K), and r ∈ R, then T (x) ∈ K and T (rx) = rT (x) ∈ K.
Thus rx ∈ T −1 (K).
Therefore, T −1 (K) ≤ V .
(c) By part (a), taking H = V ≤ V .
(d) By part (b), taking K = {0W } ≤ W .
Example 5
(a) Show that the subspace W consisting of symmetric matrices is a subspace of M2×2 (R).
(Note: W = {A ∈ M2×2 (R) : A = AT }.)
(b) Find a basis for W . What is the dimension of W?
(c) Find a basis for M2×2 (R) which contains a basis for W .
Answer:
0 0
(a) Clearly, ∈ W.
0 0
Let w1 , w2 ∈ W .
We need to show that w1 + w2 ∈ W and cw1 ∈ W .
x1 y1 x2 y2
Write out w1 = , w2 = .
y1 z1 y2 z2
Then
cx1 cy1 x1 + x2 y1 + y2
cw1 = , w1 + w2 =
cy1 cz1 y1 + y2 z1 + z2
is a basis for W
Cont.
T1A/T1B, hmcheungae Math 2121 Tutorial 8 Page 8 of 9
Then
a1 a2 0 0
=
a2 a3 0 0
Then a1 = a2 = a3 = 0.
a1 a2
Spanning: Any symmetric matrix can be represented as a linear combination by
a2 a3
a1 a2 1 0 0 1 0 0
= a1 + a2 + a3
a2 a3 0 0 1 0 0 1
1 0 0 1 0 0 0 1
B= , , , .
0 0 1 0 0 1 0 0
Idea:
0 1
Note that is asymmetric and
0 0
the span of the first three contains only symmetric matrices.
a1 a2 + a4 1 0 0 1 0 0 0 1 0 0
= a1 + a2 + a3 + a4 =
a2 a3 0 0 1 0 0 1 0 0 0 0
This implies a1 = a2 = a3 = a4 = 0.
Hence the four matrices are linearly independent.
Because dim M2×2 (R) = 4, we get B is a basis of M2×2 (R).
V ∪ W = V or V ∪ W = W,
Cont.
T1A/T1B, hmcheungae Math 2121 Tutorial 8 Page 9 of 9
v + w ∈ V ∪ W,
which implies
v + w ∈ V or v + w ∈ W.
If v + w ∈ V , then w = (v + w) − v ∈ V , a contradiction.
If v + w ∈ W , then v = (v + w) − w ∈ W , a contradiction.
Thus V ⊆ W or W ⊆ V .
The End.