On this page
In school, a vector is an arrow. At university, a vector is anything you can add and stretch by a number, as long as a short list of rules holds. Here are the rules in plain words, four examples that are not arrows, two sets that fail, and a three-step check for any set.
What is a vector space?
A vector space over a field F (for us, the real numbers) is a non-empty set V together with vector addition and scalar multiplication that satisfy eight axioms, as listed in the Wikipedia article on vector spaces. Here they are, with u, v, w vectors and a, b numbers:
Grouping does not matter when you add: u + (v + w) = (u + v) + w.
Order does not matter when you add: u + v = v + u.
There is a zero vector: v + 0 = v.
Every vector has an opposite: v + (−v) = 0.
Scaling twice is scaling once by the product: a(bv) = (ab)v.
Multiplying by 1 changes nothing: 1v = v.
Scaling spreads over a sum of vectors: a(u + v) = au + av.
A sum of numbers spreads over a vector: (a + b)v = av + bv.
Hidden in the word operation is one more demand: adding or scaling members of V must give a member of V. Most failures happen here.
What are examples of vector spaces beyond arrows?
Polynomials of degree at most 2. Adding a + bx + cx² to d + ex + fx², or scaling it by 5, gives another polynomial of degree at most 2. The zero polynomial is the zero vector.
2×2 real matrices. Add entry by entry, scale every entry. The zero matrix is the zero vector.
Solutions of y″ + y = 0. If y₁ and y₂ solve it, so do y₁ + y₂ and any multiple. Every solution is a cos x + b sin x, as in the picture at the top.
All real functions on [0, 1]. Define (f + g)(x) = f(x) + g(x) and (af)(x) = a·f(x). The zero vector is the function that is 0 everywhere.
Which sets are not vector spaces?
One broken rule is enough. Two traps in the plane ℝ²:
The first quadrant, all (x, y) with x ≥ 0 and y ≥ 0. Sums stay inside, but (1, 2) has no opposite: (−1, −2) has left the quadrant. Axiom 4 fails, and so does closure under scaling.
Vectors whose entries sum to 1, such as (1, 0) and (0, 1). Their sum (1, 1) sums to 2, so addition leaves the set, and (0, 0) is missing, so axiom 3 fails too.
What is a subspace, and how do you check for one?
A linear subspace is a non-empty subset of V that is closed under vector addition and scalar multiplication (Wikipedia). The eight axioms come free from V, so three checks do:
Is the zero vector in it?
If u and v are in it, is u + v?
If v is in it and a is any number, is av?
Worked example. Take all polynomials p of degree at most 2 with p(1) = 0. The zero polynomial qualifies; if p(1) = q(1) = 0 then (p + q)(1) = 0 and (ap)(1) = 0. It is a subspace. Writing p = c₀ + c₁x + c₂x², the condition is c₀ + c₁ + c₂ = 0, so p = c₁(x − 1) + c₂(x² − 1). The two polynomials x − 1 and x² − 1 build every member. By contrast, the line y = x + 1 in ℝ² misses (0, 0) and fails at step 1.
How do you find the dimension of a vector space?
A basis is a set of linearly independent vectors that span the space, and all bases of a space have the same size, called its dimension (Wikipedia). Count one for each example:
Polynomials of degree at most 2: 1, x, x², so dimension 3.
2×2 matrices: the four matrices with a single 1 and zeros elsewhere, so dimension 4.
Solutions of y″ + y = 0: cos x and sin x, so dimension 2; the Wronskian test for linear independence confirms they are independent.
Functions on [0, 1]: no finite basis. Wikipedia notes that polynomial rings are countably infinite-dimensional, and the polynomials are only part of this space.
The worked-example subspace: x − 1 and x² − 1, so dimension 2.
A basis turns vectors into coordinates; a change of basis matrix switches between bases. Next comes the dual space of linear functionals, itself a vector space.
If a basis still feels slippery, the Fermi Concept Library gives every mathematics concept its own lesson and its place in the map. For more, Sheldon Axler's Linear Algebra Done Right is free as an open-access fourth edition (2024).



