Overview
A vector space describes addition and scaling independently of a chosen coordinate system. Points in a coordinate plane are one example, but polynomials, matrices, and functions also supply vector spaces. The field of scalars is part of the specification: changing it can change dimension and the meaning of linear independence.
Prerequisites
Know fields and abelian groups. A field supplies addition, multiplication, and division by nonzero scalars. The additive group of vectors supplies addition and additive inverses. These operations must interact compatibly; merely having two unrelated operations on a set is insufficient.
Definition and conventions
Let be a field. An -vector space is an abelian group with an operation , written , such that
These equations apply to every suitable choice of scalars and vectors. They imply and . We allow the zero space, whose only vector is . Unless specified otherwise, scalar multiplication is written on the left.
A subspace is a subset containing zero and closed under addition and scalar multiplication. A basis is a linearly independent spanning family; expansions in a basis are finite, even when the basis is infinite.
Intuition
A vector is something that can participate in linear combinations. Coordinates name a vector relative to a basis; they are not an intrinsic feature of the vector. Different coordinate lists may describe the same object after a basis change. This viewpoint lets the same argument apply to geometric arrows and formal polynomials.
Examples and non-examples
The polynomials of degree at most two form a three-dimensional vector space over , with basis . For example, has coordinates in that basis.
Polynomials of degree exactly two do not form a vector space: subtracting a polynomial from itself gives zero, which is outside the proposed set. Likewise the affine line is not a subspace of .
The complex numbers have dimension one over , but dimension two over , with real basis . Thus dimension requires a stated scalar field.
Important properties
For a finite spanning family, delete any vector that is a linear combination of the others until an independent spanning family remains. Conversely, an independent family can be enlarged to a basis in finite dimension. The exchange argument proves that all finite bases have the same size, defining dimension.
Subspaces are again vector spaces. Their intersection is a subspace, while their union usually is not: the two coordinate axes contain and but not their sum.
Connections and further reading
Linear maps preserve the two operations and connect vector spaces. Modules generalize the scalar field to a ring, where bases may fail to exist. See Hefferon, Chapter Two, especially Definition and Examples, Linear Independence, and Basis.