Homework 1 Solutions: 1.1 - Introduction
Homework 1 Solutions: 1.1 - Introduction
Homework 1 Solutions: 1.1 - Introduction
Josh Hernandez
October 25, 2009
1.1 - Introduction
2. Find the equations of the lines through the following pairs of points in space.
b. (3, -2, 4) and (-5, 7, 1)
Solution:
x = (3, -2, 4) + r[(-5, 7, 1) − (3, -2, 4)] = (3, -2, 4) + r(-8, 9, -3).
d. (-2, -1, 5) and (3, 9, 7)
Solution:
x = (-2, -1, 5) + r[(3, 9, 7) − (-2, -1, 5)] = (-2, -1, 5) + r(5, 10, 2).
3. Find the equations of the planes containing the following points in space.
b. (3, -6, 7), (-2, 0, -4), and (5, -9, -2).
Solution:
x = (3, -6, 7) + r[(-2, 0, -4) − (3, -6, 7)] + s[(5, -9, -2) − (3, -6, 7)]
= (3, -6, 7) + r(-5, 6, -11) + s(2, 3, -9)
d. (1, 1, 1), (5, 5, 5), and (-6, 4, 2).
Solution:
1
0 0 0 0
Solution: Consider the matrix 0 := 0000 . For any matrix A ∈ M3×4 ,
0000
0 0 0 0 a11 a12 a13 a14
0+a110+a12 0+a13 0+a14 a11 a12 a13 a14
0+A= 0000 + a21 a22 a23 a24
a31 a32 a33 a34
= 0+a21 0+a22 0+a23 0+a24 = a21 a22 a23 a24
a31 a32 a33 a34
=A
0000 0+a31 0+a32 0+a33 0+a34
12. Prove that the set of even functions from R to R is a vector space over F (under the usual addition
and scalar multiplication).
Solution: Note that (1) f = g means f (x) = g(x) for all x ∈ R, and (2) the “usual addition and
scalar multiplication” means that (f + g)(x) = f (x) + g(x) and (cf )(x) = cf (x) for all x ∈ R.
The even functions are those f : R → R which satisfy f (-x) = f (x) for all x ∈ R. Adding two
such functions:
(f + g)(-x) = f (-x) + g(-x) = f (x) + g(x) = (f + g)(x),
so the sum f + g is an even function. As for scalar multiplication,
The remaining properties hold equally well for any set S, field F, scalars a, b ∈ F, point x ∈ S and
functions f, g, h ∈ F(S, F).
VS1 Commutativity of addition is inherited from F:
((ab)f )(x) = (ab)f (x) = a(bf (x)) = a((bf )(x)) = (a(bf ))(x).
2
VS8 Distributivity(2) is inherited from F:
16. Let V = Mm×n (R). Let F = Q, the field of rational numbers. Is V a vector space over F (under the
usual addition and scalar multiplication)?
Solution: Adding two matrices in V, (A + B)ij = Aij + Bij ∈ R, so the matrix sum is in V.
Likewise, (cA)ij = cAij ∈ R, for any c ∈ Q ⊆ R.
VS1 Commutativity of addition is inherited from R:
(a(A + B))ij = a(A + B)ij = a(Aij + Bij ) = aAij + aBij = (aA)ij + (aB)ij = (aA + aB)ij .
3
Solution: No. Consider the points x = (0, 0) and y = (1, 1). Then
whereas
y + x = (1, 1) + (0, 0) = (1 + 2(0), 1 + 3(0)) = (1, 1).
This additive relation is not commutative, so V is not a vector space.
19. Let V = {(a1 , a2 ) : a1 , a2 ∈ R}. Is V a vector space under the usual addition and with scalar
multiplication defined as (
(0, 0) if c = 0
c(a1 , a2 ) = a2
(ca1 , c ) if c 6= 0
whereas
ax + bx = 1x + 1x = (1(1), 11 ) + (1(1), 11 ) = (2, 2).
These relations do not satisfy distributivity(1).
20. Let V be the set of sequences {an } of real numbers. For {an }, {bn } ∈ V and t ∈ R, define
{an } + {bn } = {an + bn } and t{an } = {tan }
Prove that, under these operations, V is a vector space over R.
Solution: For {an }, {bn } ∈ V and s, t ∈ R, {an } + {bn } = {an + bn }, and c{an } = {can }, both of
which are sequences of real numbers.
VS1 Commutativity of addition is inherited from R:
4
VS7 Distributivity(1) is inherited from R:
c({an } + {bn }) = c{an + bn } = {c(an + bn )} = {can + cbn } = {can } + {cbn } = c{an } + c{bn }.
We may also prove this using the method in the note below. Given f ∈ F(N, R), a real-valued
function on the natural numbers, define T (f ) = {f (n)}. T is linear:
T (f + cg) = {(f + cg)(n)} = {f (n) + cg(n)} = {f (n)} + {cg(n)} = {f (n)} + c{g(n)} = T (f ) + cT (g).
That is, the ijth element of the matrix T (f ) is equal to the value of the function f at the point (i, j). This
is linear, since
(T (f + cg))ij = (f + cg)((i, j)) = f ((i, j)) + cg((i, j)) = (T (f ))ij + c(T (g))ij .
This is onto, since we can easily reverse the mapping, sending a given matrix to a corresponding function.
The point of this is, now Mm×n is the range of a linear function applied to a vector space. It therefore must
also be a vector space. Instead of verifying all those axioms, we defined a single mapping.
This very useful fact has a rather onerous proof, since section 1.1 is so sparse on theorems. However, it
only needs to be proved once, and an be used with all manner of spaces.
5
Theorem: Suppose V is a vector space over F, S is a set with a binary addition and
F−multiplication relations (not necessarily closed), and T : V → S is an surjection (onto
function) such that T (u + cv) = T (u) + cT (v) for all u, v ∈ V and c ∈ F. Then S is a vector space
under the given addition and multiplication.
Proof: Given x, y ∈ S, there are u, v in V such that T (u) = x and T (v) = y (since T is
onto). By closure of V,
x + y = T (u) + T (v) = T (u + v) ∈ S
and for any c ∈ F,
cx = cT (u) = T (cu) ∈ S.
VS1 Commutativity of addition is inherited from V:
a(x+y) = a(T (u)+T (v)) = aT (u+v) = T (a(u + v)) = T (au + av) = aT (u)+aT (v) = ax+ay.
(a + b)x = (a + b)T (u) = T ((a + b)u) = T (au + bu) = aT (u) + bT (u) = ax + bx.
This is related to the proof that “the range of a linear transform is a subspace of the codomain”, but that
proof assumes that the codomain of the linear function is already a vector space.
1.3 - Subspaces
2. Determine the transpose (and trace, if applicable) of each of the matrices that follow.
6
10 0 -8 10 2 -5
d. A = 2 -4 3 Solution: At = 0 -4 7 , tr(A) = 10 + -4 + 6 = 12.
-5 7 6 -8 3 6
-2 7
-2 5 1 4 5 0
f. Solution: At =
1 1 . No trace - matrix is not square.
7 0 1 -6
4 -6
(A + At )t = At + (At )t = At + A = A + At .
8. Determine whether the following sets are subspaces of R3 under the operations of addition and scalar
multiplication defined on R3
b. W2 = {(a1 , a2 , a3 ) ∈ R3 : a1 + a3 = 2}
Solution: No. Observe that v = (1, 0, 1) lies in W2 , but 2v = (2, 0, 2) does not.
d. W4 = {(a1 , a2 , a3 ) ∈ R3 : a1 − 4a2 − a3 = 0}
Solution: Yes. Given u = (u1 , u2 , u3 ) and (v1 , v2 , v3 ) in W4 , and r ∈ R, consider u + rv:
(u1 + rv1 ) − 4(u2 + rv2 ) − (u3 + rv3 ) = (u1 − 4u2 − u3 ) + (rv1 − 4rv2 − rv3 )
= (u1 − 4u2 − u3 ) + r(v1 − 4v2 − v3 ) = 0 + r0 = 0
Thus u + rv lies in W4 .
f. W6 = {(a1 , a2 , a3 ) ∈ R3 : 5a21 − 3a22 + 6a23 = 0}
√ √
Solution: No. Let v = (0, 2, 1) and let w = (0, 2, -1).
√ These both lie in W6 , but
w + v = (0, 2 2, 0) does not.
11. Is the set W = {f (x) ∈ P(F ) : f (x) = 0 or f (x) has degree n} a subspace of P(F ) if n ≥ 1?
Solution: No. Consider the polynomials p = xn + xn−1 and q = -xn , both of degree n, so they
lie in W. Their sum is xn−1 , which does not lie in W.
13. Let S be a nonempty set and F a field. Prove that for any s0 ∈ S, Vs0 = {f ∈ F(S, F ) : f (s0 ) = 0} is
a subspace of F(S, F ).
Solution: Fix s0 ∈ S. Given f, g ∈ Vs0 and c ∈ F, observe that
7
20. Prove that if W is a subspace of a vector space V and w1 , w2 , . . . , wn are in W, then a1 w1 + a2 w2 +
· · · + an wn ∈ W for any scalars a1 , . . . , an .
Solution: Of course this is true for a single vector. We will prove, by induction, that it is true for
any finite collection:
Suppose this fact is known for collections of n − 1 vectors in W. Then
This is a sum of two vectors in W, so it must lie in W as well. Thus the fact is known for collections
of n vectors in W.
21. Show that the set of convergent sequences {an } is a subspace of the vector space of sequences of real
numbers.
Solution: The linearity property of limits (again, you can quote this without proof) states that
if the sequence {an } converges to a, and {bn } converges b, then {an } + r{bn } = {an + rbn } is
convergent, and has limit a + rb, for all real numbers r. Thus the convergent sequences form a
linear subspace of the set of real sequences.
28. Prove that the set W1 of all skew-symmetric n × n matrices with entries from F is a subspace of
M× n×n (F ). Let W2 be the subspace of symmetric n × n matrices. If char(F ) 6= 2, prove that
M× n×n (F ) = W1 ⊕ W2 .
w1 + w2 = 12 (A − At ) + 12 (A + At ) = A.