Does a subspace containing a set of vectors also contain their span?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
7 replies · 2K views
Dansuer
Messages
81
Reaction score
1

Homework Statement


Prove that if subspace W contain a set of vectors S, then W contain the span(S)

Homework Equations


The Attempt at a Solution


Let's take a vector [itex]x\in span(S)[/itex], i have to show [itex]x\in W[/itex] also. (*)
So since [itex]x\in span(S)[/itex] there are scalrs [itex]c_1...c_n[/itex] so that [itex]x = c_1s_1 ...c_ns_n[/itex] where [itex]s_1...s_n[/itex] are elements of S.
Let's take [itex]s_1 = \frac{x}{c_1} - \frac{c_2}{c_1} - ...-\frac{c_n}{c_1}[/itex] which is of course an elemtent of S.
Since [itex]S \subseteq W[/itex] s is an element of W also.
Since W is a vector space [itex]c_1s_1 + c_2s_2 + ... + c_ns_n = x[/itex] is still an element of W, so x is an element of W

I'd like a check, thanks :)

EDIT: I'm adding a part after the (*)
If x is the zero vector, then any space contains the zero vector and we are done. If x is not the zero vector then there are scalars [itex]c_1...c_n[/itex] where at least one is not zero, let that scalar be c_1, so that [itex]x = c_1s_1 ...c_ns_n[/itex] where [itex]s_1...s_n[/itex] . . .
 
Last edited:
Physics news on Phys.org
If W contains S, since W is a subspace, any linear combinations of the vectors in S will also in W, hence W contains span(S).
 
Thank you, and your proof is even much simpler and short than mine.
But i still would like to know if mine is correct.
 
I'd just use what Some Pig used too, if you're a subspace you contain the span of any combination of your vectors.

Regarding your proof, your last two lines are all you really need as such your proof is correct.
 
No problem buddy!
 
Dansuer said:

Let's take [itex]s_1 = \frac{x}{c_1} - \frac{c_2}{c_1} - ...-\frac{c_n}{c_1}[/itex] which is of course an elemtent of S.
Since [itex]S \subseteq W[/itex] s is an element of W also.


This is wrong (and useless) since s1 is already given, not what you specify, and x is a vector and c2/c1,etc. are scalars, the subtraction is undefined
 
Yes i made a huge mistake in writing that, what i meant to say was [itex]s_1 = \frac{x}{c_1} - \frac{c_2}{c_1}s_2 - ...-\frac{c_n}{c_1}s_n[/itex]