Linear Algebra

Vector Spaces

Vector Spaces

Vector Spaces

Concept Overview

A vector space (also called a linear space) is a fundamental structure in linear algebra. It is a collection of objects called vectors, which may be added together and multiplied ("scaled") by numbers, called scalars. Scalars are often real numbers, but may also be complex numbers. The formal definition defines how these operations behave and ensures vectors scale and add predictably.

Mathematical Definition

A vector space over a field F is a set V together with two operations that satisfy the eight axioms of a vector space (associativity, commutativity, identity, inverses, and distributivity properties). Let u, v, and w be vectors in V, and a and b be scalars in F. The two main operations are:

Vector Addition

u + v ∈ V

Adding two vectors yields another vector that remains within the space (closure under addition).

Scalar Multiplication

a · v ∈ V

Multiplying a vector by a scalar yields another vector in the space (closure under scalar multiplication).

Key Concepts

Linear Combinations

A linear combination is formed by multiplying a set of vectors by scalars and adding the results. For example, given vectors v1 and v2, and scalars c1 and c2, the combination is:

w = c1v1 + c2v2

Span

The span of a set of vectors is the set of all possible linear combinations of those vectors. If the vectors are v1 and v2, their span is the entire plane they "sweep out" when all possible scalar multipliers are used. If the two vectors point in exactly the same or opposite directions, their span collapses into a 1D line.

Linear Independence

A set of vectors is linearly independent if none of the vectors can be written as a linear combination of the others. In 2D space, two vectors are independent if they don't point along the same line (they are not collinear). If they are independent, they span the entire 2D space.

Basis and Dimension

A basis is a set of linearly independent vectors that spans the entire vector space. The number of vectors in the basis determines the dimension of the space. For example, any two independent vectors in a 2D plane form a basis for that 2D space.

Historical Context

The abstract concept of a vector space was not formalized until the late 19th and early 20th centuries. Giuseppe Peano gave the first modern definition of a vector space in 1888. Prior to this, mathematicians like René Descartes and Pierre de Fermat laid the groundwork with analytic geometry, representing geometric concepts using coordinates.

Later, Arthur Cayley introduced matrix algebra, and Hermann Grassmann developed the theory of linear extension, introducing the concepts of linear independence and dimension. Peano's axiomatic approach unified these ideas, generalizing vectors beyond physical arrows in space to any mathematical objects satisfying the axioms, such as polynomials and functions.

Real-world Applications

  • Computer Science: Vectors are the basic data structure (arrays) in software. Vector spaces are fundamental in computer graphics for transforming points, rotating objects, and projecting 3D models onto 2D screens.
  • Machine Learning: Data is represented as vectors in high-dimensional spaces. Concepts like distance, similarity (dot products), and linear transformations form the foundation of neural networks, word embeddings, and clustering algorithms.
  • Physics and Engineering: Vector spaces are used to model physical systems where principles of superposition apply, from forces in classical mechanics to states in quantum mechanics (Hilbert spaces).
  • Signal Processing: Signals (like audio or radio waves) can be treated as vectors. The Fourier transform is essentially a change of basis, breaking a signal down into a sum of simple sine and cosine waves.

Related Concepts

  • Linear Transformations: Functions that map vectors from one vector space to another while preserving vector addition and scalar multiplication.
  • Dot Product & Projection: An operation that measures the degree to which vectors point in the same direction and allows calculating distances and angles in a vector space.
  • Null Space & Column Space: Fundamental vector spaces associated with a matrix, representing solutions to homogeneous equations and the span of matrix columns.

Experience it interactively

Adjust parameters, observe in real time, and build deep intuition with Riano’s interactive Vector Spaces module.

Try Vector Spaces on Riano →

More in Linear Algebra