What is a vector space?
5 min read
Short answer
A vector space is a collection of objects (vectors) that you can add together and multiply by numbers, with the result always staying inside the collection, and with the usual algebra rules holding. Arrows in the plane, lists of numbers, polynomials and matrices all qualify. To check that a subset is a subspace, test three things: it contains , it is closed under addition, and it is closed under scalar multiplication.
The idea without the axiom list
The formal definition lists ten axioms, but they all say the same thing: addition and scaling behave the way they do for arrows. What matters in practice is closure. Add any two members, scale any member by any real number, and you must land back in the set.
Examples: ; all polynomials of degree at most 3; all matrices; all continuous functions on . Non-examples: the set of vectors with (a line missing the origin) fails because it cannot contain .
The three-step subspace test
A subset of a known vector space is a subspace if:
- .
- .
- .
You do not recheck the ten axioms, because inherits them from the big space.
Worked example
Is a subspace of ?
- satisfies , so .
- If and , then the sum has coordinates adding to . Closed under addition.
- If then . Closed under scaling.
All three hold, so is a subspace. Geometrically it is a plane through the origin.
Try it yourself
Is (the two coordinate axes together) a subspace of ?
Show the answer
No. and are both in the set, but their sum has , so it is not closed under addition.
Keep going with practice
Vector spaces and subspaces open Vidi's Linear Algebra & Probability course, with the vector playground to build intuition.