Subspace test

A nonempty subset is a subspace iff it is closed under addition and scalar multiplication
Subspace test

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

  1. Y+YYY+Y\subset Y (closure under addition), and
  2. αYY\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 y0Yy_0\in Y (nonemptiness). Then 0=0y0Y0=0\cdot y_0\in Y, so YY contains the zero vector. Also, for any yYy\in Y, y=(1)yY-y=(-1)y\in Y, so additive inverses exist. Together with (1), this yields the defining subspace properties.