LINEAR ALGEBRA • VECTOR SPACES & SUBSPACES

Vector Space Definition — Definition of a Vector Space and Examples

Discover the foundational structure that unifies arrows, polynomials, and matrices under one elegant set of rules.

Historical Context & Motivation

Have you ever noticed that adding two arrows tip-to-tail gives you a new arrow, and stretching an arrow makes it longer but keeps its direction? Mathematicians noticed the same thing — and they wondered whether other objects, like polynomials or matrices, follow similar rules. The idea of a vector space was born from the quest to describe all of these different objects with one unified language.

For centuries, mathematicians worked with coordinates and geometry separately. It took several brilliant minds to realize that the rules governing arrows in space could be abstracted into a set of axioms (basic assumptions) that apply far beyond geometry. Let's trace that journey.

1844
Grassmann's Extension Theory
Hermann Grassmann published a groundbreaking book describing how to add and scale abstract quantities — an early vision of vector spaces, though few people understood it at the time.
1888
Peano's Formal Axioms
Giuseppe Peano wrote down the first formal list of axioms (rules) that define a vector space, giving the concept a precise mathematical foundation.
1920s
Banach & Functional Analysis
Stefan Banach extended vector space ideas to infinite-dimensional spaces, showing that functions themselves can live inside vector spaces. This opened the door to modern physics and engineering.
1940s–50s
Linear Algebra Textbooks
Authors like Paul Halmos wrote accessible textbooks making vector spaces a core topic in every math and science curriculum, from universities to high schools.

The big question these thinkers were asking was: What is the simplest set of rules an object must follow so that adding and scaling always behave predictably? The answer is the definition of a vector space — and understanding it unlocks nearly every topic in linear algebra.

Core Principles & Definitions

A vector space is a collection of objects (called vectors) together with a set of numbers (called scalars) and two operations: vector addition and scalar multiplication. These operations must obey a specific set of rules called axioms. If all the rules hold, the collection is a vector space.

The Five Big Ideas

1

Closure Under Addition

When you add any two vectors in the set, the result is also in the set. Nothing "escapes" the collection.
2

Closure Under Scalar Multiplication

When you multiply any vector by a scalar (a number), the result stays in the set. Stretching or shrinking doesn't kick a vector out.
3

Zero Vector Exists

There is a special vector, called the zero vector, that acts like 0 in regular addition: adding it to any vector changes nothing.
4

Additive Inverses

Every vector has a partner (its negative) so that adding the two together gives the zero vector — just like 5 + (−5) = 0.
5

Distributive & Associative Laws

Addition and scalar multiplication play nicely together, obeying familiar rules like distributing and grouping — the same habits you use in everyday algebra.
KEY TAKEAWAY
Think of a vector space like a well-run club. The club has a membership list (the vectors), and two activities: combining members (addition) and scaling them (scalar multiplication). The club rules say: every activity's result must stay in the club, there's an "identity" member who doesn't change anyone, and every member has an opposite. If even one rule is broken, it's not a vector space.

Visual Explanation

The diagram below shows the most familiar vector space: the 2D plane, which mathematicians call ℝ². Each point (or arrow from the origin) is a vector. Notice how adding two vectors and scaling a vector both produce results that stay inside the plane — they never leave it. That's closure in action.

In the 2D plane ℝ², the cyan arrow u and violet arrow v are vectors. Their sum u + v (pink) is found by the tip-to-tail rule, and the amber arrow shows the additive inverse −1 · u. Every result stays in the plane — closure is satisfied.

Look at the pink arrow labeled u + v. It was formed by sliding v so its tail sits on the tip of u — the classic tip-to-tail method. The result, (3, 2), is still a point in the 2D plane. Now look at the amber arrow: multiplying u by the scalar −1 flips it to the opposite direction, giving the additive inverse. Adding u and −u brings you back to the origin — the zero vector.

The Full Set of Axioms

A vector space over the real numbers ℝ consists of a set V with two operations — addition (+) and scalar multiplication (·) — satisfying the following eight axioms. In these axioms, u, v, and w are any vectors in V, and c and d are any real-number scalars.

AXIOM 1 — COMMUTATIVITY OF ADDITION
u + v = v + u
The order in which you add two vectors does not matter.
AXIOM 2 — ASSOCIATIVITY OF ADDITION
(u + v) + w = u + (v + w)
When adding three vectors, it doesn't matter which pair you add first.
AXIOM 3 — ZERO VECTOR
u + 0 = u
There exists a zero vector 0 such that adding it to any vector u leaves u unchanged.
AXIOM 4 — ADDITIVE INVERSE
u + (−u) = 0
Every vector u has a negative −u that cancels it out.
AXIOM 5 — SCALAR COMPATIBILITY
c · (d · u) = (c × d) · u
Scaling by d then by c is the same as scaling once by the product c × d.
AXIOM 6 — MULTIPLICATIVE IDENTITY
1 · u = u
Scaling any vector by 1 leaves it unchanged.
AXIOM 7 — DISTRIBUTIVE (SCALAR SUM)
(c + d) · u = c · u + d · u
A sum of scalars distributes over a vector, just like regular distribution in algebra.
AXIOM 8 — DISTRIBUTIVE (VECTOR SUM)
c · (u + v) = c · u + c · v
A scalar distributes over a sum of vectors.
💡 Closure Is Built In
You might notice that the axioms above don't explicitly list "closure" as a separate axiom. That's because closure is part of the definition of the operations themselves: when we say addition maps two vectors to a vector in V, we're saying the result stays in V. Think of closure as the entry requirement — if an operation ever sends a result outside V, we can't even begin checking the axioms.

Examples and Non-Examples

The power of the vector space definition is that it covers many different kinds of mathematical objects. Below is a comparison of spaces that are vector spaces and sets that are not vector spaces — along with the reason.

Examples and non-examples of vector spaces
SetVectors Look LikeVector Space?Why / Why Not
ℝ² (2D plane)(x, y) pairsYes ✓All 8 axioms hold with standard addition and scalar multiplication.
ℝ³ (3D space)(x, y, z) triplesYes ✓Same reasoning as ℝ², extended to three coordinates.
Polynomials of degree ≤ 2a + bx + cx²Yes ✓Adding two such polynomials stays degree ≤ 2. The zero polynomial is the zero vector.
2 × 2 matrices[[a, b], [c, d]]Yes ✓Matrix addition and scalar multiplication satisfy all axioms.
First quadrant of ℝ²(x, y) with x ≥ 0, y ≥ 0No ✗Multiplying by −1 gives negative components, leaving the first quadrant. Closure fails.
Integers ℤ…, −2, −1, 0, 1, 2, …No ✗Multiplying an integer by 0.5 gives a non-integer. Scalar multiplication closure fails.
Left panel: in the first-quadrant-only set, multiplying vector u by −1 sends the result outside the allowed region (red dashed arrow), violating closure. Right panel: the full plane ℝ² keeps both u and −u inside, satisfying the vector space axioms.

The left panel makes the failure crystal clear. The vector u = (2, 1.5) lives in the first quadrant, but its additive inverse −u = (−2, −1.5) does not. Because scalar multiplication can send vectors outside the set, the first quadrant fails the closure requirement and therefore is not a vector space.

Worked Example — Proving ℝ² Is a Vector Space

Let's verify several axioms for ℝ² using concrete vectors. Let u = (3, 1), v = (2, 5), and scalar c = 4.

Checking Axioms for ℝ²
1
Step 1 — Closure Under AdditionAdd u and v component by component: (3, 1) + (2, 5) = (3 + 2, 1 + 5).
u + v = (5, 6), which is a pair of real numbers — still in ℝ². Closure ✓
2
Step 2 — Commutativity (Axiom 1)Compute v + u: (2, 5) + (3, 1) = (2 + 3, 5 + 1) = (5, 6). Compare with u + v = (5, 6).
u + v = v + u = (5, 6). Commutativity ✓
3
Step 3 — Zero Vector (Axiom 3)The zero vector in ℝ² is (0, 0). Add it to u: (3, 1) + (0, 0) = (3 + 0, 1 + 0).
u + 0 = (3, 1) = u. Zero vector ✓
4
Step 4 — Additive Inverse (Axiom 4)The negative of u = (3, 1) is −u = (−3, −1). Add them: (3, 1) + (−3, −1) = (3 + (−3), 1 + (−1)).
u + (−u) = (0, 0) = 0. Additive inverse ✓
5
Step 5 — Distributive (Axiom 8)Compute c · (u + v) = 4 · (5, 6) = (20, 24). Now compute c · u + c · v = 4 · (3, 1) + 4 · (2, 5) = (12, 4) + (8, 20) = (20, 24).
Both sides equal (20, 24). Distributive property ✓

The remaining axioms (associativity, scalar compatibility, and the scalar-sum distributive law) can be checked in exactly the same way — just substitute specific numbers and verify that both sides of each equation match. Because all eight axioms hold for every possible pair of vectors and every scalar, ℝ² is confirmed to be a vector space.

Comparing Common Vector Spaces

Different vector spaces share the same axioms but differ in what their "vectors" look like, how many dimensions they have, and where they show up in the real world. The table below compares four standard examples.

Comparison of common vector spaces
Vector SpaceTypical VectorDimensionReal-World Use
ℝ²(x, y)22D graphics, map coordinates
ℝ³(x, y, z)33D modeling, physics forces
P₂ (polynomials deg ≤ 2)a + bx + cx²3Curve fitting, approximation
M₂₂ (2×2 matrices)[[a, b], [c, d]]4Transformations, computer vision
KEY TAKEAWAY
A vector space is like a universal set of rules for a game. Whether the game pieces are arrows, polynomials, or matrices, the rules (axioms) are the same. Once you prove an object follows the rules, every general theorem about vector spaces automatically applies — you get a huge amount of math "for free." It's like learning to drive: once you know the rules of the road, you can drive any car.

Connection to Subspaces and Advanced Topics

Once you understand vector spaces, the next natural question is: can a subset of a vector space also be a vector space on its own? The answer leads to the concept of a subspace. A subspace is a smaller collection inside a vector space that still satisfies all the axioms. For example, a line through the origin in ℝ² is a subspace of ℝ².

Vector space vs. subspace
ConceptVector SpaceSubspace
DefinitionA set V with addition and scalar multiplication satisfying 8 axioms.A non-empty subset W of V that is closed under the same addition and scalar multiplication.
Must contain zero vector?Yes (Axiom 3)Yes — this is the quickest test
How many axioms to check?All 8Only 3: non-empty, closure under addition, closure under scalar multiplication
Exampleℝ³ (all of 3D space)A plane through the origin in ℝ³

Beyond subspaces, vector space theory leads to powerful ideas like basis (the smallest set of vectors that can build every vector in the space), dimension (the number of vectors in a basis), and linear transformations (functions between vector spaces that respect addition and scaling). Mastering the definition of a vector space is the first step toward all of these topics.

Practice Problems

PROBLEM 1CONCEPTUAL
In your own words, explain why a vector space must contain a zero vector. What would go wrong if it didn't?
PROBLEM 2BASIC CALCULATION
Let u = (4, −2) and v = (−1, 3) in ℝ². Compute u + v and verify that the result is still in ℝ². Then find −u and verify u + (−u) = 0.
PROBLEM 3INTERMEDIATE
Consider the set S of all vectors (x, y) in ℝ² such that x + y = 0. Show that S is closed under addition and scalar multiplication, and identify its zero vector. Is S a vector space (or subspace of ℝ²)?
PROBLEM 4APPLIED
A game designer stores each character's stats as a vector (health, attack, defense). She adds stat boosts by vector addition and applies percentage buffs by scalar multiplication. Explain why the set of all stat vectors (h, a, d) where h, a, d are real numbers forms a vector space. Then explain why restricting to non-negative stats (h ≥ 0, a ≥ 0, d ≥ 0) would NOT form a vector space.
PROBLEM 5CRITICAL THINKING
Define a custom addition on ℝ¹ (the real numbers) by: a ⊕ b = a + b + 1, and define scalar multiplication normally as c · a = ca. Investigate whether this system forms a vector space. Specifically, does a zero vector exist under ⊕? Does the distributive property c · (a ⊕ b) = c · a ⊕ c · b hold?

Summary

A vector space is a set of objects (vectors) equipped with vector addition and scalar multiplication that satisfy eight axioms: commutativity and associativity of addition, existence of a zero vector, existence of additive inverses, scalar compatibility, the multiplicative identity (1 · u = u), and two distributive laws. Both operations must also satisfy closure, meaning results never leave the set.

Classic examples include ℝ² and ℝ³ (coordinate tuples), the space of polynomials of bounded degree, and matrices of a fixed size. Sets that fail even one axiom — such as the first quadrant of ℝ² or the integers under real-scalar multiplication — are not vector spaces. Mastering this definition is the gateway to subspaces, basis and dimension, and the entire world of linear algebra.

Varsity Tutors • Linear Algebra • Vector Space Definition — Definition of a Vector Space and Examples