Vector Spaces and Subspaces
Problem
Show that the set of all 2D vectors through the origin forms a vector space. Test closure under addition and scalar multiplication.
Explanation
What is a vector space?
A vector space over a field (typically or ) is a set with two operations — addition and scalar multiplication — satisfying ten axioms. For every and :
- (closure under addition)
- (commutativity)
- (associativity)
- There exists with (zero vector)
- Every has an inverse with
- (closure under scalar multiplication)
Subspaces — the efficient test
A subspace of a vector space is a subset that is itself a vector space. To check whether is a subspace, you only need three things:
- contains the zero vector .
- is closed under addition: .
- is closed under scalar multiplication: .
The other seven axioms are inherited automatically from .
Step-by-step — is the set of all 2D vectors a vector space?
, the set of all pairs .
Zero vector: ✓
Closure under addition: if and are in , then
Closure under scalar multiplication: if and :
The other axioms (commutativity, associativity, distributivity) follow from the same properties of real numbers. So is a vector space.
Examples of subspaces of
- The zero subspace — trivial but valid.
- Any line through the origin, e.g. .
- itself (every vector space is a subspace of itself).
Non-subspaces (common traps):
- A line not through the origin, e.g. . Fails the zero-vector test.
- The first quadrant . Not closed under scalar multiplication (multiplying by leaves the set).
- The unit disk . Not closed under scalar multiplication ( leaves the disk).
Why vector spaces matter
Vector spaces are the abstract setting where linear algebra lives. Once you have a vector space, concepts like linear combinations, independence, bases, and dimension all make sense — and they apply to far more than arrows in : polynomials, matrices, continuous functions, solutions to homogeneous ODEs, and more are all vector spaces.
Common mistakes
- Checking only one of the three subspace criteria. You need all three (plus the zero vector).
- Forgetting negative scalars. A set closed under positive scalars but not negative ones (like the first quadrant) fails.
- Assuming every line is a subspace. Only lines through the origin are subspaces; shifted lines are called affine subspaces, which are different.
Try it in the visualization
Draw candidate sets (lines through/off origin, half-planes, disks). Toggle the three subspace checks — each lights green or red based on whether the candidate satisfies it.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.