Decide whether a set with operations is a vector space
Check the origin, then closure under scaling, then closure under addition, in that order. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
You have a set described by a condition on its members. Check, in this order:
- 1. The origin. Is the zero vector in? One substitution.
- 2. Scaling. For in and any scalar, is in?
- 3. Addition. For and in, is in?
The first failure is the answer. The order is not arbitrary — test 1 catches half the candidates for the price of one substitution, and test 2 catches most of the rest, because a negative multiple is usually what escapes.
If all three pass, then is a subspace of the ambient space, and the eight rules come free: they hold in the ambient space and the operations are the same operations.
The reason is not deep, but it is worth saying once. If is described by a homogeneous linear condition — an equation like with no constant term — then:
Every linear combination of members is a member, so both closures hold. And satisfies the equation because the right side is.
That single line covers,, and every other homogeneous linear equation at once. It is also why the moment you add a constant — — the argument collapses: the same computation now gives, which is not unless.
Question. Is a subspace of?
Origin. holds, so.
Scaling. Take, which is in since. Multiply by:. Is? No,. So, and scaling fails.
Verdict. Not a subspace, failing closure under scaling, witnessed by and the scalar.
Note what was not needed: no addition check, no discussion of the other rules. One witness ends the question.
- Check the origin, then closure under scaling, then closure under addition, in that order
- Report the first requirement a set fails and produce a witness that fails it
- Recognise when a description is a homogeneous linear condition, in which case closure is a theorem
<ol class="steps"> <li>Is a subspace of? <em>(Yes. Homogeneous linear condition, so both closures are automatic and the origin satisfies it.)</em></li> <li>Is a subspace? <em>(No, and the fastest witness is the origin:.)</em></li> <li>Is the set of all matrices with trace zero a subspace? <em>(Yes. Trace is linear and homogeneous, so the zero matrix and both closures hold.)</em></li> <li>Is the set of all vectors in whose entries are all positive a subspace? <em>(No. It misses the origin outright, and times a member leaves the set.)</em></li> <li>Is the union of the-axis and the-axis a subspace? <em>(No. It contains and but not their sum.)</em></li> </ol>
Answers, with the reason each one works
- 1. Yes. Zero satisfies it, and the condition is a homogeneous equation, so any combination satisfies it.
- 2. No, origin test:, one substitution, done.
- 3. Yes., and the zero matrix has trace zero.
- 4. No, origin test: zero is not positive.
- 5. No, addition: the two standard basis vectors are in the union but is not, since neither of its coordinates is zero.