How Math Works
Algebraconceptadvanced

Vector Spaces

A vector space is 'a self-contained world where adding and scaling never take you outside it'.

The formula

u, v ∈ V, a, b ∈ ℝ ⟹ a·u + b·v ∈ V

How to read it: A self-contained world of vectors where adding two of them or scaling one still lands you inside the same set

V
Vector space — a set closed under addition and scalar multiplication
u, v
Any two vectors in the space
a, b
Real-number scalars — stretch, shrink, or flip a vector

The hook

Arrows, polynomials, sound signals — if you 'can add them, can scale them, and still stay the same kind of thing', it is a vector space.

In plain words

A vector space is a set whose elements never escape it when you add them together or multiply by a real number. Those two operations just need to obey a few natural rules.

The intuition

Picture an infinite flat plane. Add two arrows in it, or stretch one as long as you like, and you are still in the plane — you never pop up into 3-D. That 'closure' is the heart of a vector space. The surprise: the objects need not be arrows — polynomials, functions, and matrices behave like vectors too, as long as they obey the rules.

How it's built

The skeleton of a space is a 'basis' — a minimal handful of vectors whose linear combinations build everything else. The number of basis vectors is the 'dimension'. The plane has a basis of 2 (e.g. (1,0),(0,1)) so it is 2-dimensional; space is 3-dimensional.

Example

In the plane ℝ², (3,5) = 3·(1,0) + 5·(0,1) — every vector is a linear combination of the two basis vectors. A surprising example: polynomials of degree ≤ 2, {1, x, x²}, also form a vector space, with three basis elements, so it is 3-dimensional.

Common mistake

It is easy to get trapped in the 'vector = arrow' picture. The definition of a vector space mentions no arrows — anything is a vector if 'add' and 'scale' behave by the rules. The origin (zero vector) must always be included.

Where it's used

Solution sets of linear systems, function spaces that split signals into frequencies, quantum states (Hilbert spaces), feature vectors in data, error-correcting codes — vector spaces are the shared language of modern math and engineering.

Where it came from

In the 1800s Grassmann and Peano formalized 'abstract vectors beyond arrows'. At first dismissed as too abstract, the idea proved its power through 20th-century functional analysis and quantum mechanics.

Prerequisites

Quick check

What is the dimension (number of basis vectors) of the space ℝ³?

  • 1
  • 2
  • 3
  • infinite

Practice

Find the dimension of the space ℝ⁵.

Answer: 5

Solution:
  1. The standard basis of ℝⁿ is the n unit vectors along the axes
  2. Since it is ℝ⁵, the dimension = 5

Takeaway: The dimension of ℝⁿ is just n — the number of basis vectors.

How many vectors form a basis of the plane ℝ²?

Answer: 2

Solution:
  1. Every point of the plane is a linear combination of two directions
  2. e.g. (1,0) and (0,1) → 2

Takeaway: Number of basis vectors = dimension; the plane is 2.

Is (2,4) expressible as a scalar multiple of (1,2)?

Answer: 0

Solution:
  1. Check whether (2,4) = 2·(1,2)
  2. 2·1=2, 2·2=4 → yes
  3. So they lie on the same line (a 1-dimensional subspace)

Takeaway: All scalar multiples of one vector form a line through the origin = a 1-dimensional subspace.

Find the dimension of the space of polynomials of degree ≤ 3.

Answer: 4

Solution:
  1. A basis is {1, x, x², x³}
  2. Four independent vectors → dimension = 4

Takeaway: Polynomials are vectors too — the basis {1, x, x², x³} gives dimension 4.

Keep learning in the app

Touch-and-drag widgets, self-graded practice and daily formulas — free on iOS and Android.