1.C.7. Prove or give a counterexample: If U is a nonempty subset of R2 such that U is closed under addition and under taking additive inverses (meaning −u∈U whenever u∈U), then U is a subspace of R2.
Solution:
This statement is false. We provide a counterexample.
Let U={(x,y)∈R2:x,y∈Z} (the set of points with integer coordinates).
U is nonempty since (0,0)∈U.
U is closed under addition: if (x1,y1),(x2,y2)∈U, then x1,y1,x2,y2∈Z, so (x1+x2,y1+y2)∈U.
U is closed under taking additive inverses: if (x,y)∈U, then x,y∈Z, so −x,−y∈Z, which means (−x,−y)∈U.
However, U is not a subspace of R2 because it is not closed under scalar multiplication. For example, (1,0)∈U, but 21(1,0)=(21,0)∈/U since 21∈/Z.
Therefore, the conditions of being nonempty, closed under addition, and closed under taking additive inverses are not sufficient to guarantee that a subset is a subspace.
1.C.9. A function f:R→R is called periodic if there exists a positive number p such that f(x)=f(x+p) for all x∈R. Is the set of periodic functions from R to R a subspace of RR? Explain.
Solution:
No, the set of periodic functions is not a subspace of RR.
To show this, we need to demonstrate that the set of periodic functions is not closed under addition.
Consider the following two periodic functions:
f(x)=sin(x), which has period 2π
g(x)=sin(2x), which has period 22π=2π
Both f and g are periodic functions. However, their sum h(x)=f(x)+g(x)=sin(x)+sin(2x) is not periodic.
To see why, suppose h has a period p>0. Then for all x∈R:
h(x+p)=h(x)sin(x+p)+sin(2(x+p))=sin(x)+sin(2x)
This would require both sin(x) and sin(2x) to have p as a common period. However, the ratio of their fundamental periods is:
2π2π=2
Since 2 is irrational, there is no common period for these two functions. Therefore, h(x)=sin(x)+sin(2x) is not periodic.
Since the sum of two periodic functions is not necessarily periodic, the set of periodic functions is not closed under addition and thus is not a subspace of RR.
1.C.14. Suppose U={(x,−x,2x)∈F3:x∈F} and W={(x,x,2x)∈F3:x∈F}. Describe U+W using symbols, and also give a description of U+W that uses no symbols.
Solution:
By the definition of the sum of subspaces, we have:
Let a=x+y, b=−x+y, and c=2x+2y. Notice that c=2(x+y)=2a.
Since x and y can be any elements in F, a and b can also independently take any values in F (we can solve for x=2a−b and y=2a+b).
Thus, using symbols, we can describe U+W as:
U+W={(a,b,2a)∈F3:a,b∈F}
Description without symbols:U+W is the plane in F3 consisting of all vectors whose third coordinate is exactly twice their first coordinate. (It is a 2-dimensional subspace of F3).
1.C.19. Prove or give a counterexample: If V1,V2,U are subspaces of V such that V1+U=V2+U, then V1=V2.
Solution:
This statement is FALSE. We provide a counterexample.
Let V=F2.
Let U=F2 (which is a subspace of V).
Let V1={(x,0)∈F2:x∈F} (the x-axis).
Let V2={(0,y)∈F2:y∈F} (the y-axis).
Clearly, V1 and V2 are subspaces of V, and V1=V2.
By the definition of the sum of subspaces (Definition 1.36), since U=F2 already contains all possible vectors in V, adding any subspace to U will just result in U itself.
Thus, V1+U=F2 and V2+U=F2.
We have V1+U=V2+U, but V1=V2. This contradicts the statement.
1.C.22. Suppose U={(x,y,x+y,x−y,2x)∈F5:x,y∈F}. Find three subspaces W1,W2,W3 of F5, none of which equals {0}, such that F5=U⊕W1⊕W2⊕W3.
Solution:
First, observe that U is determined by two free variables x and y. Thus, dimU=2. A basis for U is given by the vectors u1=(1,0,1,1,2) (setting x=1,y=0) and u2=(0,1,1,−1,0) (setting x=0,y=1).
Since dimF5=5, we need the sum of the dimensions of W1,W2,W3 to be 5−2=3. Since none of them can be {0}, each must have dimension exactly 1.
Let us choose the standard basis vectors e3=(0,0,1,0,0), e4=(0,0,0,1,0), and e5=(0,0,0,0,1).
Define:
W1=span(e3)={(0,0,z,0,0):z∈F}
W2=span(e4)={(0,0,0,z,0):z∈F}
W3=span(e5)={(0,0,0,0,z):z∈F}
None of these subspaces equals {0}.
To show that F5=U⊕W1⊕W2⊕W3, we use the condition for a direct sum (Proposition 1.45), which states that a sum of subspaces is a direct sum if and only if the only way to write 0 as a sum of vectors from each subspace is by taking each vector to be 0.
Suppose u+w1+w2+w3=0, where u∈U, w1∈W1, w2∈W2, w3∈W3.
Then there exist x,y,z1,z2,z3∈F such that:
Thus, u=0,w1=0,w2=0,w3=0. By Proposition 1.45, the sum is a direct sum.
Furthermore, the dimension of U⊕W1⊕W2⊕W3 is 2+1+1+1=5=dimF5. Since a subspace of dimension equal to the whole space must be the whole space itself (Proposition 2.39), we conclude F5=U⊕W1⊕W2⊕W3.
1.C.24. A function f:R→R is called even if f(−x)=f(x) for all x∈R. A function f:R→R is called odd if f(−x)=−f(x) for all x∈R. Let Ve denote the set of real-valued even functions on R and let Vo denote the set of real-valued odd functions on R. Show that RR=Ve⊕Vo.
Solution:
First, we verify that Ve and Vo are subspaces of RR using the three conditions for a subspace (命题 1.34):
The zero function 0(x)=0 satisfies 0(−x)=0(x) and 0(−x)=−0(x), so 0∈Ve and 0∈Vo.
If f,g∈Ve, then (f+g)(−x)=f(−x)+g(−x)=f(x)+g(x)=(f+g)(x), so Ve is closed under addition. Similarly for Vo.
If f∈Ve and c∈R, then (cf)(−x)=cf(−x)=cf(x)=(cf)(x), so Ve is closed under scalar multiplication. Similarly for Vo.
Thus, Ve and Vo are subspaces of RR.
Next, we show that RR=Ve+Vo. For any arbitrary function f∈RR, we can define two new functions:
fe(x)=2f(x)+f(−x)fo(x)=2f(x)−f(−x)
We can verify that fe is even: fe(−x)=2f(−x)+f(x)=fe(x), so fe∈Ve.
We can verify that fo is odd: fo(−x)=2f(−x)−f(x)=−2f(x)−f(−x)=−fo(x), so fo∈Vo.
Furthermore, fe(x)+fo(x)=2f(x)+f(−x)+f(x)−f(−x)=f(x).
Thus, every function f can be written as the sum of an even function and an odd function, meaning RR=Ve+Vo.
Finally, we show that the sum is a direct sum by proving Ve∩Vo={0} (Proposition 1.46).
Suppose f∈Ve∩Vo. Then for all x∈R, we have both f(−x)=f(x) and f(−x)=−f(x).
Equating the two gives f(x)=−f(x), which implies 2f(x)=0, so f(x)=0 for all x∈R.
Thus, f is the zero function, meaning Ve∩Vo={0}.
By Proposition 1.46, we conclude that RR=Ve⊕Vo.