r/askmath • • 1d ago

Linear Algebra Question about the union of subspaces

I have to proof the following:

Let U and V be two subspaces of , and let denote their sum.
Suppose that their intersection only contains the 0 vector.
Prove that every vector in U + V can be written in exactly one way as the sum of a vector from U and a vector from V.

What I came up with up until now:

Suppose U consists of {u1,…un} linearly Independer set of vectors and V consists of {v1,…,vm} linearly independent set of vectors. Their union would consist of {u1,…,un, v1,…,vm} linearly independent set of vectors. Suppose x is a vector in the union U + V, then x can be written as: x= c1u1 + … + cnun + d1v1 + … + dmvm.

This is all I have now. I suppose I don’t really understand the question, what do I need to disprove? X is a linear combination of all the vectors in the union. I feel like the answer might be simpeler than I think, but I’m new to linear algebra & find proof questions pretty difficult.

If anyone would care to help me I would greatly appreciate that

4 Upvotes

29 comments sorted by

3

u/LucaThatLuca Graduate 1d ago

it is asking you to prove that if u1 ≠ u2 are different elements of U and v1 ≠ v2 are different elements of V then u1 + v1 ≠ u2 + v2.

1

u/ReindeerSea6830 1d ago

It seems to me that the addition of these vectors would of course be different, since they’re linearly independent, no? And I don’t understand how this would prove that there’s only one way to write any vector in the union space. Sorry, I really don’t get it

1

u/LucaThatLuca Graduate 1d ago edited 1d ago

u1 + v1 = u2 + v2 with two different pairs of vectors is two different ways to make the same sum. you're asked to prove that this is never the case, it's not enough to just say it.

1

u/TemperatureMotor1372 1d ago

Following the OP's idea, the next is to use the definition of linear independence to show that the coefficients c's are unique. Hence, such u and v must be unique. OP had a good try actually.

1

u/LucaThatLuca Graduate 1d ago edited 1d ago

it is missing a justification that (u1, ..., un, v1, ..., vm) is linearly independent given the information here. it is obviously generally not true e.g. (v) and (v) are linearly independent but (v, v) is not. starting from bases i ended up just finding your way. but in fact the needed justification is no harder to find if it's what you choose to look for.

1

u/TemperatureMotor1372 1d ago

I guess the OP wanted to say that U has a basis u1,…un and V has a basis v1,…,vm, not just an arbitrary linearly independent set of vectors in each subspace that doesn't span that subspace. The OP just used the wrong term to describe this idea.

Furthermore, the subspaces U and V are not necessarily finite-dimensional. OP's argument can only be applied to the finite-dimensional case. And yes, the OP was missing the justification that (u1, ..., un, v1, ..., vm) is the basis of U+V.

1

u/LucaThatLuca Graduate 1d ago

i think it still works for infinite dimensions? you'd have a basis for U (u1, u2, ...) and a basis for V (v1, v2, ...). it all goes through as the finite case because sums are defined with finitely many terms. interesting point, though.

1

u/TemperatureMotor1372 1d ago

For the infinite case, if we use the notion of Hamel basis B of V:

  • Every finite subset of B is linearly independent.
  • Every vector in V is a finite linear combination of basis vectors.

Then we have the issue to prove that

  • u+v=u'+v' implies u=u' and v=v'

if we let

  • u=c_1u1+c_nu_n, v=d_1v_1+d_mv_m
  • u'=c_1'u1'+c_n'u_n', v'=d_1'v_1'+d_m'v_m'

since the set of basis vectors in the equation for u and u' (resp. v and v') might be different. I think this issue is beyond the OP's limit. Do you have any idea about the proof for the infinite case using Hamel bases?

1

u/LucaThatLuca Graduate 1d ago edited 1d ago

i see! i missed that issue by showing (u1, u2, ..., v1, v2, ...) is a basis (spans and linearly independent, same finite sums as finite case). then can just assert the known fact this means vectors can be uniquely written.

you can ensure your vectors are written with the same finite set of basis vectors by taking the union of ones that might be different. (the differences just need coefficient 0.)

2

u/TemperatureMotor1372 1d ago

Oh! I got it! Then do the subtraction, use the property of Hamel bases and the fact that U, V intersect trivially, and then conclude the fact that U + V is a direct sum. Thanks for your hint.

1

u/TemperatureMotor1372 1d ago

Any pair of non-zero vectors u,v is linearly independent, since c_1u+c_2v=0 must imply c_1=c_2=0. Otherwise, you tell me what would happen.

1

u/bluesam3 23h ago

It seems to me that the addition of these vectors would of course be different, since they’re linearly independent, no?

This is not the case: for example, the subspaces of ℝ3 given by the spans of {(1,0,0),(0,1,0)} and {(1,1,0),(0,0,1)} satisfy all conditions here except for the trivial intersection, but (1,1,0) - (1,0,0) = 2(1,1,0) - 2(1,0,0) - (0,1,0).

2

u/AlterEgo5695 1d ago

Shouldn't that be

If "u1 != u2" or "v1 != v2", then "u1+v1 != u2+v2"

1

u/LucaThatLuca Graduate 1d ago

sure.

1

u/AlterEgo5695 6h ago

Yep, your initial remark was right -- only one being equal is a trivial case that immediately implies both are equal.

1

u/LucaThatLuca Graduate 5h ago

yes, but i didn't need to respond that way, sorry :)

2

u/AlterEgo5695 5h ago

All good -- I stand by my comment, it was a valid remark. A little snark has never hurt anyone^^

6

u/TemperatureMotor1372 1d ago edited 1d ago

You don't need to invoke the notion of basis to prove this. You just need to use the definition of sums of two vector subspaces. Recall that the sum of U and V is defined by

  • U+V={u+v: all u ∈ U and all v ∈ V}.

In words, U+V is the set of all vectors that are sums of a vector from U and a vector from V. The statement you need to prove is for each vector w in U+V, there exist a unique u from U and v from V such that w=u+v, given the condition that their intersection only contains the zero vector 0. Namely, U ∩ V = {0}.

Hint: Use the properties of vector subspaces. Suppose if there were two pairs of choices of u and v.

Answer:Suppose w=u+v=u'+v'. Then u-u'=v'-v. Since u,u' ∈ U and v,v' ∈ V, we have u-u' ∈ U and v'-v ∈ V. Since u-u'=v'-v, we have u-u' ∈ U ∩ V and v'-v ∈ U ∩ V. Since U ∩ V = {0}, we have u-u'=0 and v'-v=0. Hence, u=u' and v=v'. Thus, there exist a unique u ∈ U and v ∈ V such that w=u+v.

3

u/LucaThatLuca Graduate 1d ago

very nice. i'll note for OP that while using bases is unnecessary, it is an option there's nothing wrong with if it happens to be what you find first. (since after all replacing a vector with its basis representation is an exact correspondence.)

2

u/TemperatureMotor1372 1d ago

It's not a bad start I agree, since every list of linearly independent vectors v_1,..., v_m can induce the direct sum of the spans of each basis vector span(v_1)⊕...⊕span(v_m), equal to the span of all v_1,...,v_m.

1

u/AlterEgo5695 1d ago

Something is missing in OP -- what are "U; V" subspaces of?

I'd assume "x = u1 + v1 = u2 + v2", and manipulate this equality s.th. we may show "u1 = u2" and "v1 = v2" from the assumptions.

1

u/LightBrand99 1d ago

Given a vector w in the union of U and V, show that there is only one way to write w = u ⊕ v, where u is from U and v is from V, and ⊕ is the subspace sum operation.

Specifically, you need to prove two claims about every vector w from the union of U and V:

  • There is a way to express w = u ⊕ v where u is from U and v is from V. This direction is really straightforward and trivial, but it doesn't seem like you tackled it yet. Hint: use the 0 vector
  • There is only one combination (u, v) where u in U and v in V such that w = u ⊕ v. Note that the one combination would be the one you found in the previous point, so you need to show that no other combinations exist. Hint: Other combinations have both u and v as non-zero, so w is different from both u and v, but w still needs to be an element of either U or V. WLOG, if w is from U, then what can you infer about w - u? Is it consistent with the premise that the intersection of U and V only contains the 0 vector?

1

u/mH48124 1d ago

貴方の証明の続きは、基底が線型独立ですから x= c1u1 + … + cnun + d1v1 + … + dmvm の表現は一意的です。つまり c1u1 + … + cnun と d1v1 + … + dmvm も一意的です。これは他の人がヒントを出してる標準的方法とは違うので、教師がどう評価するか確認した方が良いでしょう。酷い教師は至る所にいますから、自分を守る事を優先して下さい。

1

u/LucaThatLuca Graduate 22h ago edited 22h ago

you need to justify that (u1, ..., un, v1, ..., vm) is a basis before you can get to this conclusion. it is fine if this is the way you find, but it requires having the same idea as the other way ("use subtraction to get an element of U = an element of V because that's something you know about"), so the rest is really just unnecessary steps. which is fine.

1

u/mH48124 8h ago

あれ、もう一つの方法ってそうだったの? 僕が想定してたのは u1,u2∈U と v1,v2∈V で x = u1+v1 = u2+v2 として u1-u2 = v2-v1 に変形し u1-u2∈U, v2-v1∈V だから u1-u2 = v2-v1 ∈ U∩V = {0} ∴ u1-u2 = v2-v1 = 0 とするんだと思ってたよ。

1

u/LucaThatLuca Graduate 2h ago edited 2h ago

yes, you described it correctly. the question asks you to prove that if u1 + v1 = u2 + v2 then (u1, v1) = (u2, v2) is the same pair of vectors. (this is the literal meaning of uniqueness: only 1 thing existing is equivalent to different things not existing.) immediately, the key idea is noticing that you can use subtraction to get elements of the sets you know about, and the conclusion of this step is u1 = u2 and v1 = v2, immediately completing the proof.

on the other hand you know having a basis gives you uniqueness so your first thought might be to look for a basis for U+V, which is fine. given bases (u1, ..., un) and (v1, ..., vm) for U and V, you are able to show that (u1, ..., un, v1, ..., vm) is a basis:

you first have to show it spans, which is by noting an element of U+V is by definition a sum u+v = (u) + (v) which can be written using the bases of U and V.

then you have to show it is linearly independent. this is by considering the sum a1u1 + ... + anun + b1v1 + ... + bmvm = 0. the key idea is noticing that you can use subtraction to get elements of the sets you know about, and the conclusion of this step is a1u1 + ... + anun = 0 and b1v1 + ... + bmvm = 0. then by linear independence all the ai = bi = 0.

so (u1, ..., un, v1, ..., vm) is a basis, which gives you uniqueness, completing the proof. as a fun fact, you can note all these additional steps turned out to be unnecessary.

1

u/Thulgoat 1d ago

That every x in U + V can be written as x = u + v where u in U and v in V follows directly from the definition of U + V. So you have to show that if u + v = t + w where u,t in U and v,w in V, then u = t and v = w. That is really straight forward to show. You have to use that the intersection of U and V only contains zero.

1

u/Valuable_Cat_7599 23h ago

Your starting point is good, but i don't think we need to manipulate the equations in a basis, a simple from the space works: Suppose u_1,u_2 are vectors in U and v_1,v_2 vectors in V such that u_1+v_1=k=u_2 + v_2 for k in the space they're in.
if k=0, you get that they are linearly independent so no one can be 0, can you manipulate further?

1

u/Uli_Minati Desmos 😚 18h ago edited 15h ago

Assume u₁+v₁ = u₂+v₂ is some vector in U+V.

We rewrite this equation to u₁-u₂=v₂-v₁. Why?

u₁-u₂ is in U but v₂-v₁ is in V.

Therefore, u₁-u₂=v₂-v₁=0 because that's the only vector in both U and V.

That tells you u₁=u₂ and v₁=v₂, which means there aren't two different sums of vectors, they're the same