Euler Hall — free maths guides

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.

The three tests, in the order that costs least

You have a setSS described by a condition on its members. Check, in this order:

  1. 1. The origin. Is the zero vector inSS? One substitution.
  2. 2. Scaling. Forvv inSS and any scalarcc, iscvcv inSS?
  3. 3. Addition. Forvv andww inSS, isv+wv+w inSS?

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, thenSS 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.

Why passing all three is enough — and why a homogeneous linear condition makes it automatic

The reason is not deep, but it is worth saying once. IfSS is described by a homogeneous linear condition — an equation likeax+by=0ax+by=0 with no constant term — then:

a(cv1+dw1)+b(cv2+dw2)=c (av1+bv2)+d (aw1+bw2)=c⋅0+d⋅0=0.a(cv_1+dw_1)+b(cv_2+dw_2)=c\,(av_1+bv_2)+d\,(aw_1+bw_2)=c\cdot 0+d\cdot 0=0.

Every linear combination of members is a member, so both closures hold. And(0,0)(0,0) satisfies the equation because the right side is00.

That single line coversx+y=0x+y=0,2x−3y=02x-3y=0,x=0x=0 and every other homogeneous linear equation at once. It is also why the moment you add a constant —x+y=1x+y=1 — the argument collapses: the same computation now givesc⋅1+d⋅1c\cdot 1 + d\cdot 1, which is not11 unlessc+d=1c+d=1.

A worked verdict, in the shape a question asks it

Question. IsS={(x,y):y=x2}S=\{(x,y): y=x^2\} a subspace ofR2\mathbb{R}^2?

Origin.0=020=0^2 holds, so(0,0)∈S(0,0)\in S.

Scaling. Take(1,1)(1,1), which is inSS since1=121=1^2. Multiply by22:(2,2)(2,2). Is2=222=2^2? No,2≠42\ne 4. So2⋅(1,1)∉S2\cdot(1,1)\notin S, and scaling fails.

Verdict. Not a subspace, failing closure under scaling, witnessed by(1,1)(1,1) and the scalar22.

Note what was not needed: no addition check, no discussion of the other rules. One witness ends the question.

By the end you can
  • 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
Test yourself

<ol class="steps"> <li>Is{(x,y):3x−2y=0}\{(x,y): 3x-2y=0\} a subspace ofR2\mathbb{R}^2? <em>(Yes. Homogeneous linear condition, so both closures are automatic and the origin satisfies it.)</em></li> <li>Is{(x,y):x=2}\{(x,y): x=2\} a subspace? <em>(No, and the fastest witness is the origin:0≠20\ne 2.)</em></li> <li>Is the set of all2×22\times 2 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 inR3\mathbb{R}^3 whose entries are all positive a subspace? <em>(No. It misses the origin outright, and(−1)(-1) times a member leaves the set.)</em></li> <li>Is the union of thexx-axis and theyy-axis a subspace? <em>(No. It contains(1,0)(1,0) and(0,1)(0,1) but not their sum(1,1)(1,1).)</em></li> </ol>

Answers, with the reason each one works
  1. 1. Yes. Zero satisfies it, and the condition is a homogeneous equation, so any combination satisfies it.
  2. 2. No, origin test:0≠20\ne 2, one substitution, done.
  3. 3. Yes.tr⁡(cA+dB)=ctr⁡A+dtr⁡B=0+0\operatorname{tr}(cA+dB)=c\operatorname{tr}A+d\operatorname{tr}B=0+0, and the zero matrix has trace zero.
  4. 4. No, origin test: zero is not positive.
  5. 5. No, addition: the two standard basis vectors are in the union but(1,1)(1,1) is not, since neither of its coordinates is zero.
Work out where to start — free, no accountAnswer six real questions — free, no account