Proposition (Subspace test). Let XX be a vector space over KK, and let Y⊂XY\subset X be nonempty. Then YY is a of XX if and only if:

  1. Y+Y⊂YY+Y\subset Y (closure under addition), and
  2. αY⊂Y\alpha Y\subset Y for all α∈K\alpha\in K (closure under scalar multiplication).

Proof sketch.

  • If YY is a subspace, both closures are immediate from the definition.
  • Conversely, assume (1)–(2) and pick y0∈Yy_0\in Y (nonemptiness). Then 0=0⋅y0∈Y0=0\cdot y_0\in Y, so YY contains the zero vector. Also, for any y∈Yy\in Y, −y=(−1)y∈Y-y=(-1)y\in Y, so additive inverses exist. Together with (1), this yields the defining subspace properties.