Vector spaces and subspaces
Every arrow-diagram you have ever drawn in or — adding vectors tip to tail, scaling them, taking combinations — obeys a short list of algebraic rules. A vector space is what you get when you keep only those rules and throw away the arrows: any set where addition and scaling behave sensibly is a vector space, whether its "vectors" are matrices, polynomials, or genuine geometric arrows. This topic opens the Vector spaces, transformations, and eigenvalue problems unit of MA10002, and it hands you the vocabulary — closure, subspace, the subspace test — that every later topic in the unit (independence, basis, linear maps, eigenvalues) is stated in. The practical skill you need is quick: given a set with proposed operations, decide whether it is a vector space, or whether a subset is a subspace, using a short closure check rather than grinding through all six axioms every time.
A set is a vector space when addition and scalar multiplication stay inside the set and obey the usual algebra, and a subset is a subspace exactly when it is closed under linear combinations and contains the zero vector.
The core idea
A vector space over a field (take unless told otherwise) is a set with two operations, vector addition and scalar multiplication, satisfying six axioms for all and : closure of both operations, associativity and commutativity of addition, existence of an additive identity and additive inverses, compatibility of scalar multiplication (, ), and the two distributive laws. Familiar examples reused throughout the unit: with componentwise operations, the set of matrices, and the set of polynomials of degree at most . Checking all six axioms from scratch every time is wasteful once you already know is a vector space. A subspace of is a subset that is itself a vector space under 's own operations, and since , the inherited axioms (associativity, commutativity, distributivity) come for free. Only closure needs checking, packaged as the subspace test:
where: is the candidate subset of , are arbitrary elements of , and are arbitrary scalars from — the test says any linear combination of members of must land back inside . In practice this splits into two separate checks that are easier to verify one at a time: closure under addition () and closure under scalar multiplication (), plus the quick necessary screen that — if the zero vector fails the defining condition of , you can reject it as a subspace immediately, no further algebra needed. Every genuine subspace contains ; the trivial subspace and itself are always subspaces of any . Geometry gives the fastest intuition in and : lines and planes through the origin are subspaces, while lines and planes that miss the origin are not (they fail the zero-vector screen outright). This single picture — through the origin or not — resolves most exam-level subspace questions before you write a single equation, though you should still confirm it algebraically.
Subspace test applied to a plane through the origin
The most common exam task is applying the subspace test to a set defined by one equation, and the goal here is to establish once and for all, with full closure-under-addition and closure-under-scalar-multiplication algebra rather than a geometric guess, that the solution set of a single homogeneous linear equation in is always a subspace, which is the fact behind "planes through the origin are subspaces."
Step 1. State the set and check the zero-vector screen. Let . Testing : , so and the set survives the quick necessary check.
Step 2. Check closure under addition. Take and , both satisfying the defining equation: and . Their sum is , and substituting into the defining equation gives , so .
Step 3. Check closure under scalar multiplication. For any , , and , so .
Step 4. Conclude. All three checks pass, so is a subspace of . The argument used nothing special about the coefficients : for any homogeneous linear equation , the same three steps go through unchanged (the right-hand side stays under both addition and scaling), which is exactly why every homogeneous linear equation in defines a subspace, and why a right-hand side other than zero would break Step 1 at the very first hurdle.
Worked example
Problem. Is a subspace of ?
Step 1. Identify geometrically: it is every point where and have the same sign or one of them is zero — the closed first and third quadrants together.
Step 2. Search for a counterexample to closure under addition rather than trying to prove closure holds. Pick , with so , and , with so .
Step 3. Form the sum and test it: , and , so .
Step 4. Conclude. Since but their sum is not, closure under addition fails, so is not a subspace of — it is the union of quadrants I and III, a set that is not even convex, let alone closed under vector addition.
Competitive stretch
Extend the same idea to (the first quadrant alone). Closure under addition does hold here (adding two non-negative pairs gives a non-negative pair), so a hasty check might call it a subspace. But test scalar multiplication with a negative scalar: on gives . fails the scalar-multiplication half of the test and is not a subspace, which is exactly the trap the first common trap below warns about.
Common traps
- Believing closure under addition alone is enough — scalar multiplication, especially by negative scalars, must be checked separately, and it is what breaks sets like the first quadrant.
- Skipping the quick screen — if zero fails the defining condition, you can reject the subset immediately, saving the addition and scalar-multiplication algebra entirely.
- Confusing "is a vector space on its own" with "is a subspace of a bigger space" — a subspace must reuse the ambient space's exact operations, not a new addition or scaling rule.
- Assuming any equation-defined subset is automatically a subspace — only a homogeneous linear equation (right-hand side zero, no products or powers of the variables) guarantees one; an inequality or a nonzero right-hand side can fail either half of the test.
Ask the tutor: unsure whether a particular set of polynomials, matrices, or a subset defined by an inequality is a vector space or a subspace? Ask the AI tutor to test it with you step by step.
Do I really need to check all six vector space axioms every time?
Only when you are testing whether a brand-new set with unusual operations is a vector space at all — for example, a set of sequences with a nonstandard addition rule. Once you already know the ambient set is a vector space (like , , or ), you only need the two-part subspace test on any subset, because associativity, commutativity, and the distributive laws are automatically inherited from the ambient space.
Why does a plane not through the origin fail to be a subspace, even though it looks flat and well-behaved?
Every subspace must contain the zero vector, because and closure under scalar multiplication forces to lie in any subspace. A plane offset from the origin, such as , never contains , so it fails this necessary condition immediately — you do not even need to check addition or scaling to reject it.
If a set is closed under addition, isn't it obviously closed under scalar multiplication too?
No, and this is the single most common exam trap. The first-quadrant set is closed under addition — add two non-negative pairs and you stay non-negative — but multiplying by a negative scalar like sends to , which leaves the set. Addition and scalar multiplication are logically independent checks, and negative scalars are the usual way scalar closure breaks.