A vector space is a mathematical structure that abstracts the familiar properties of geometric vectors and extends them to many other kinds of objects. In everyday language a vector is any element of the space; see vectors for the general notion. A vector space equips that collection with two compatible procedures: a rule for combining two vectors (often called operations) and a rule for scaling a vector by a number. The first is typically referred to as addition and the second as scalar multiplication. Scalars themselves belong to a numerical system called a field; the elements used in scaling are called scalars.

Formal definition and core properties

Formally, a vector space over a field F is a set V together with two operations that satisfy a fixed list of axioms: closure, associativity and commutativity of addition, existence of an additive identity and additive inverses, distributive laws connecting addition and scalar multiplication, and compatibility of scalar multiplication with multiplication in the field. This description links basic ideas from group theory (the additive structure) with properties of a field of scalars. The subject built on these axioms is linear algebra, which studies linear combinations, linear maps and systems that preserve the vector space structure.

Geometric vectors drawn as arrows provide an intuition: add two arrows by placing the tail of one at the head of the other; scale an arrow by stretching or shrinking it. However, the notion of vector is far more general: functions, sequences, polynomials and matrices are common examples when viewed as elements of a vector space. See examples such as spaces of functions and matrices for practical instances.

Representations and examples

  • Euclidean space R^n: familiar n-tuples of numbers with componentwise addition and real scalar multiplication.
  • Polynomial spaces: collections of polynomials up to a given degree form vector spaces under usual polynomial addition and multiplication by scalars.
  • Function spaces: sets of functions sharing certain regularity become vector spaces when added pointwise and scaled.
  • Matrix spaces: all m×n matrices over a field form a vector space under elementwise operations.

These examples illustrate that the theorems of linear algebra apply in many contexts: whenever the axioms hold, results about linear independence, dimension and linear transformations carry over. For more general statements and proofs consult standard theorems in textbooks.

Basis, span and dimension

Some subsets of a vector space are especially important. The minimum set of vectors needed to generate every element by linear combinations is called a basis. A basis is a linearly independent spanning set: no vector in it can be written as a combination of the others, yet their combinations produce the whole space. The number of vectors in any basis is an invariant of the space and is called its dimension. Finite-dimensional spaces behave very differently from infinite-dimensional ones, and many classical results assume finite dimension.

History, importance and applications

The concept of a vector space developed in the 19th and early 20th centuries as algebraists and geometers abstracted properties of coordinate systems, linear equations and transformations. Today vector spaces underpin numerical methods, physics (state spaces and quantum mechanics), engineering (signal and control theory), computer graphics, data science and machine learning. Their abstraction allows a uniform approach to problems that look different at first glance but share the same linear structure.

Key distinctions and practical remarks

Not every set with two operations is a vector space: the axioms impose precise constraints. Distinguish vector spaces from related structures such as modules (where scalars come from a ring rather than a field) and affine spaces (where origins are not fixed). In computations, choosing a convenient basis reduces many problems to working with coordinate vectors and matrices; in theory, basis-free arguments emphasize geometric and invariant properties that do not depend on coordinates.

For readers who wish to explore further, elementary expositions present step-by-step proofs of existence of bases in finite dimensions and the dimension theorem, while advanced texts develop spectral theory, inner product spaces and infinite-dimensional functional analysis that generalize many finite-dimensional ideas.