Vector Spaces: Linear Algebra Study Notes
October 11, 2026
📐 Vector Spaces
Main Topics Covered
- What a vector space is: sets of vectors that can be added and scaled, over a field of scalars
- Definition, the vector axioms, and basic consequences
- Linear combinations, independence, subspaces, span, bases, dimension and coordinates
- Standard examples: arrows, ordered pairs, coordinate spaces, complex numbers, function spaces, linear equations
- Linear maps, isomorphisms, matrices, determinants, eigenvalues and eigenvectors
- Constructions: subspaces, quotient spaces, kernels and images, direct products and sums, tensor products
- Extra structure: order, norms, inner products, topology, Banach and Hilbert spaces, algebras
- Related structures: vector bundles, modules, affine and projective spaces
💡 Core Idea
A vector space (also called a linear space) is a set whose elements, often called vectors, can be added together and multiplied ("scaled") by numbers called scalars.
- The operations of vector addition and scalar multiplication must satisfy requirements called the vector axioms.
- Real vector spaces and complex vector spaces use real numbers and complex numbers as scalars.
- More generally, scalars can be elements of any field.
- Vector spaces generalize Euclidean vectors, which model physical quantities such as forces and velocity that have both a magnitude and a direction.
- They are fundamental to linear algebra, together with matrices, which allow computing in vector spaces. This gives a concise way to manipulate and study systems of linear equations.
Dimension
Vector spaces are characterized by their dimension, which roughly specifies the number of independent directions in the space.
- Two vector spaces over the same field with the same dimension are isomorphic: properties depending only on the vector-space structure are exactly the same.
- Finite-dimensional: the dimension is a natural number. These occur naturally in geometry and related areas.
- Infinite-dimensional: the dimension is an infinite cardinal. These occur in many areas of mathematics. For example, polynomial rings are countably infinite-dimensional, and many function spaces have the cardinality of the continuum as a dimension.
Vector spaces with extra structure
| Kind of extra structure | Examples |
|---|---|
| Algebras | Field extensions, polynomial rings, associative algebras, Lie algebras |
| Topological vector spaces | Function spaces, inner product spaces, normed spaces, Hilbert spaces, Banach spaces |
📖 Definition and Basic Properties
In this topic, vectors are written in boldface to distinguish them from scalars.
A vector space over a field is a non-empty set together with a binary operation and a binary function that satisfy the eight axioms. The elements of are called vectors; the elements of are called scalars.
- Vector addition (or simply addition) assigns to any two vectors and in a third vector in , written , called their sum.
- Scalar multiplication assigns to any scalar and any vector another vector in , denoted .
- The eight axioms must hold for every in and in .
The eight axioms
For all and :
| Axiom | Statement |
|---|---|
| Associativity of addition | |
| Commutativity of addition | |
| Identity element of addition | There is with for all |
| Inverse elements of addition | For every there is with |
| Compatibility of scalar multiplication with field multiplication | |
| Identity element of scalar multiplication | , where is the multiplicative identity of |
| Distributivity over vector addition | |
| Distributivity over field addition |
Naming by scalar field
| Scalar field | Name |
|---|---|
| Real numbers | Real vector space |
| Complex numbers | Complex vector space |
| Arbitrary field | -vector space, or vector space over |
Real and complex are the most common cases, but arbitrary fields are also commonly considered.
An equivalent, more concise definition
This version is less elementary:
- The first four axioms (about vector addition) say that a vector space is an abelian group under addition.
- The four remaining axioms (about scalar multiplication) say that this operation defines a ring homomorphism from the field into the endomorphism ring of this group.
- Distributivity of scalar multiplication over vector addition means multiplication by a scalar is an endomorphism of the group.
- The remaining three axioms establish that the function mapping a scalar to multiplication by is a ring homomorphism from the field to the endomorphism ring.
- Even more concisely: a vector space is a module over a field.
Subtraction and direct consequences of the axioms
Subtraction is defined as
For every and :
- implies or
🧱 Bases, Coordinates, and Subspaces
Key definitions
| Concept | Definition |
|---|---|
| Linear combination | For a set in an -vector space : an element of the form with and . The are the coefficients. |
| Linear independence | Elements of are independent if no element can be written as a linear combination of the others. |
| Linear subspace | A non-empty subset of closed under vector addition and scalar multiplication. |
| Linear span | The smallest linear subspace containing (the intersection of all subspaces containing ); equivalently, the set of all linear combinations of elements of . |
| Basis | A subset whose elements are linearly independent and span the space. |
| Dimension | The common cardinality of all bases of the space. |
Equivalent forms of linear independence
- No element of is a linear combination of the others.
- Two linear combinations of elements of define the same element of if and only if they have the same coefficients.
- A linear combination gives the zero vector if and only if all its coefficients are zero.
Linear subspaces
- Closure means the sum of two elements of and the product of an element of by a scalar both belong to .
- Hence every linear combination of elements of belongs to .
- A subspace is itself a vector space under the induced operations: closure implies the axioms are satisfied.
- Every intersection of linear subspaces is a linear subspace.
Span
- If is the span of , then spans or generates , and is a spanning set or generating set of .
Basis and dimension
- Every vector space has at least one basis, and in general many.
- All bases of a vector space have the same cardinality, called the dimension. This is a fundamental property.
- Bases are a fundamental tool, especially in finite dimension.
- In the infinite-dimensional case, the existence of infinite bases (often called Hamel bases) depends on the axiom of choice. So in general no basis can be explicitly described.
- Example: the real numbers form an infinite-dimensional vector space over the rational numbers, for which no specific basis is known.
Coordinates
Take a basis of a vector space of dimension over . Every can be written
with , and this decomposition is unique.
- The scalars are the coordinates of on the basis (also the coefficients of the decomposition).
- The -tuple of coordinates is the coordinate vector of . The set of -tuples is a vector space under componentwise operations, with dimension .
- The one-to-one correspondence between vectors and coordinate vectors maps addition to addition and scalar multiplication to scalar multiplication. It is a vector space isomorphism, so reasoning and computation on vectors can be translated into reasoning and computation on coordinates.
🧪 Examples
Arrows in the plane
- Arrows in a fixed plane, all starting at one fixed point; used in physics for forces and velocities.
- Sum: for arrows and , the parallelogram they span has a diagonal arrow starting at the origin. This is .
- For two arrows on the same line, the sum has length equal to the sum or difference of the lengths, depending on whether the directions agree.
- Scaling: for a positive real number , has the same direction as but its length multiplied by . If is negative, points in the opposite direction.
- Example: with , has the same direction as and double the length; equivalently . Also has the opposite direction and the same length.
Ordered pairs of numbers
Pairs of real numbers, where order matters:
The arrow example reduces to this one if an arrow is represented by the Cartesian coordinates of its endpoint.
Coordinate space
- The simplest example over a field is itself, with its addition as vector addition and its multiplication as scalar multiplication.
- More generally, all -tuples of elements of form a vector space , the coordinate space.
- gives the simplest example. , gives the ordered pairs above.
Complex numbers and other field extensions
- The complex numbers (numbers with real) form a vector space over the reals: and .
- The axioms follow from the rules of complex arithmetic. This space is isomorphic to the space of ordered pairs of real numbers: corresponds to in the complex plane.
- More generally, a field containing a smaller field is an -vector space. For example, is a vector space over , and the field extension is a vector space over .
Function spaces
- Functions from any fixed set to a field form a vector space under pointwise operations: , and similarly for scalar multiplication.
- Properties such as continuity, integrability or differentiability are well-behaved under linearity: sums and scalar multiples keep the property. So such functions form vector spaces, studied in functional analysis.
Linear equations
Solutions of systems of homogeneous linear equations form vector spaces. For example, the solutions of
are the triples with arbitrary , , and . Sums and scalar multiples of such triples still satisfy the same ratios, so they are solutions too.
- Matrices condense the equations into one vector equation , where
- holds the coefficients,
- ,
- is the matrix product, and is the zero vector.
- Solutions of homogeneous linear differential equations also form vector spaces. For example, one such equation yields , where are arbitrary constants and is the natural exponential function.
🔁 Linear Maps and Matrices
A linear map (linear transformation) between vector spaces preserves sums and scalar multiplication:
for all and all .
Isomorphisms
- An isomorphism is a linear map with an inverse map such that and are identity maps. Equivalently, is both one-to-one (injective) and onto (surjective).
- If an isomorphism exists, and are isomorphic: essentially identical as vector spaces, since identities in are transported to via and back via .
- Example: arrows in the plane and ordered pairs of numbers are isomorphic. A planar arrow from the origin is expressed as a pair via its - and -components; conversely a pair gives the arrow going right (left if negative) and up (down if negative).
Spaces of linear maps and duals
- Linear maps form a vector space , also written .
- The space of linear maps from to is the dual vector space .
- The injective natural map embeds any vector space into its bidual; it is an isomorphism if and only if the space is finite-dimensional.
Classification by dimension
- Once a basis of is chosen, a linear map is completely determined by the images of the basis vectors.
- If , a 1-to-1 correspondence between fixed bases gives a linear map sending each basis element of to the corresponding one of . It is an isomorphism by its very definition.
- Therefore two vector spaces over a given field are isomorphic if and only if their dimensions agree. Any vector space over a field is classified up to isomorphism by one number, its dimension.
- In particular, any -dimensional -vector space is isomorphic to . There is no canonical isomorphism: an isomorphism is equivalent to a choice of basis of (mapping the standard basis of to ).
Matrices
- Matrices encode linear maps as rectangular arrays of scalars.
- Any -by- matrix gives a linear map from to :
which is also matrix multiplication of with the coordinate vector .
- After choosing bases of and , any linear map is uniquely represented by a matrix.
- The determinant of a square matrix is a scalar telling whether the map is an isomorphism: it is one if and only if the determinant is nonzero.
- The linear transformation of given by a real -by- matrix is orientation preserving if and only if its determinant is positive.
Eigenvalues and eigenvectors
- Endomorphisms are linear maps ; vectors can be compared with their images .
- A nonzero with ( a scalar) is an eigenvector of with eigenvalue . Equivalently, is in the kernel of .
- If is finite-dimensional, having eigenvalue is equivalent to
- The left side is a polynomial in , the characteristic polynomial of .
- If the field is large enough to contain a zero of this polynomial (automatic for algebraically closed fields such as ), any linear map has at least one eigenvector.
- may or may not have an eigenbasis (a basis of eigenvectors); this is governed by the Jordan canonical form.
- The set of all eigenvectors for one eigenvalue forms a vector space, the eigenspace.
🏗️ Basic Constructions
Subspaces and quotient spaces
- A nonempty subset closed under addition and scalar multiplication (so it contains ) is a linear subspace. It is a vector space over the same field.
- The span of a set is the intersection of all subspaces containing : the smallest such subspace, consisting of all linear combinations of elements of .
- Subspaces of dimension 1 and 2 are called a line (vector line) and a plane. In an -dimensional space, a subspace of dimension is a hyperplane.
Quotient space (" modulo ") for a subspace :
- As a set it consists of for arbitrary .
- Sum: . Scalar multiplication: .
- Key point: if and only if . The quotient "forgets" information contained in .
Kernel and image
- The kernel of is the set of vectors mapped to . The kernel and the image are subspaces of and respectively.
- For , the kernel is the set of solutions of , i.e. the solutions of the homogeneous system belonging to .
- This extends to linear differential equations , where the may be functions of . The map
is linear (derivatives appear linearly), called a linear differential operator. Differentiation is linear: and . So the solutions of form a vector space (over or ).
- Because kernels and images exist, vector spaces over a fixed field form an abelian category, behaving much like abelian groups. So the first isomorphism theorem (the rank-nullity theorem in matrix terms)
and the second and third isomorphism theorems can be formulated and proven much as for groups.
Direct product and direct sum
Two ways to combine an indexed family of vector spaces , :
| Construction | Elements | Operations |
|---|---|---|
| Direct product | All tuples with | Componentwise |
| Direct sum (coproduct) | Only tuples with finitely many nonzero vectors | Componentwise |
If the index set is finite the two agree; in general they differ.
Tensor product
The tensor product (or ) is a central notion of multilinear algebra, which extends notions like linear maps to several variables.
- A map is bilinear if it is linear in each variable when the other is fixed.
- is the vector space of finite formal sums of symbols called tensors
subject to the rules
- These rules make the map , , bilinear.
- Universal property: for any vector space and bilinear , there is a unique map with , i.e. . This is an instance of defining objects indirectly by specifying maps from or to them, a method much used in advanced abstract algebra.
🧭 Vector Spaces with Additional Structure
Linear algebra fully classifies vector spaces by dimension, but plain vector spaces cannot address whether a sequence of functions converges, and addition allows only finitely many terms in a sum. The needs of functional analysis therefore require extra structure.
Order
- A vector space may carry a partial order , so some vectors can be compared. For example can be ordered componentwise.
- Ordered vector spaces (for example Riesz spaces) are fundamental to Lebesgue integration, which expresses a function as a difference of two positive functions: , with the positive part and the negative part.
Normed vector spaces and inner product spaces
- A norm measures lengths of vectors; an inner product measures angles between vectors. They are written and .
- An inner product also defines lengths through the associated norm.
- Coordinate space has the standard dot product:
- In this matches the usual angle between vectors, by the law of cosines:
- Vectors with are orthogonal.
- Minkowski space: with the Lorentz product
It is not positive definite: can be negative, e.g. for . The fourth coordinate corresponds to time, making it useful for special relativity. In other conventions time is the first ("zeroeth") component, giving .
Topological vector spaces
Convergence is handled by giving a compatible topology: addition and scalar multiplication must be continuous maps. Roughly, if and vary by a bounded amount, so do and . The field must also carry a topology (commonly the reals or complex numbers).
- Series: , the limit of partial sums. In function spaces the mode of convergence depends on the topology; pointwise and uniform convergence are two prominent examples.
- Complete: every Cauchy sequence has a limit; roughly, the space contains all necessary limits.
- Polynomials on with the topology of uniform convergence are not complete: any continuous function on can be uniformly approximated by polynomials (Weierstrass approximation theorem).
- The space of all continuous functions on with the same topology is complete.
- A norm gives a topology: if and only if .
- Banach and Hilbert spaces are complete topological vector spaces whose topologies come from a norm and an inner product respectively. Their study focuses on infinite-dimensional spaces, since all norms on a finite-dimensional topological vector space give the same notion of convergence (for instance the -norm and -norm on have unit balls enclosing each other). In infinite dimensions, topologies are generally inequivalent, which makes the subject richer.
- Maps between topological vector spaces are required to be continuous. The topological dual space consists of continuous functionals (or ). The Hahn-Banach theorem concerns separating subspaces by continuous functionals.
Banach spaces
Banach spaces, introduced by Stefan Banach, are complete normed vector spaces.
Example : infinite vectors with real entries and finite -norm :
- The topologies on are inequivalent for different .
- Example: with the first components equal to . It converges to zero for but not for :
Lebesgue spaces : for functions , replace the sum by the Lebesgue integral
- consists of integrable functions with under this norm.
- These spaces are complete: if , there is with . With the Riemann integral the space would not be complete, which can be seen as a justification for Lebesgue's theory.
- Imposing boundedness on derivatives as well leads to Sobolev spaces.
Hilbert spaces
Complete inner product spaces are Hilbert spaces, named for David Hilbert. A key case is with inner product
where is the complex conjugate.
- Any Cauchy sequence converges to a limit.
- Approximation: Taylor approximation approximates differentiable functions by polynomials; by the Stone-Weierstrass theorem, every continuous function on can be approximated as closely as desired by a polynomial. Approximation by trigonometric functions is Fourier expansion, much applied in engineering.
- A set whose span has closure equal to the whole Hilbert space is a basis of ; its cardinality is the Hilbert space dimension. Together with the Gram-Schmidt process, this lets one construct a basis of orthogonal vectors, the generalization of coordinate axes in finite-dimensional Euclidean space.
- Physics link: solutions to many differential equations are interpreted in Hilbert spaces, often with orthogonal basis functions. The time-dependent Schrodinger equation describes physical change by a partial differential equation whose solutions are wavefunctions. Definite values of energy or momentum correspond to eigenvalues of a linear differential operator, with associated wavefunctions called eigenstates. The spectral theorem decomposes a linear compact operator in terms of eigenfunctions and eigenvalues.
Algebras over fields
General vector spaces have no multiplication of vectors. A vector space with an extra bilinear operator defining multiplication of two vectors is an algebra over a field (-algebra).
- Polynomial ring: polynomials form a vector space (sums are polynomials) and an algebra (products are polynomials). Rings of polynomials in several variables and their quotients are the basis of algebraic geometry.
- Lie algebras: neither commutative nor associative, but constrained by (with the product):
- (anticommutativity)
- (Jacobi identity)
- Examples: -by- matrices with (the commutator), and with the cross product.
- Tensor algebra : a formal way to add products to any vector space. As a vector space it is spanned by simple tensors of varying degree . Multiplication is concatenation, with the distributive law and scalar multiplication commuting with . In general there are no relations between and .
- Forcing them equal gives the symmetric algebra.
- Forcing gives the exterior algebra.
🔗 Related Structures
Vector bundles
A vector bundle is a family of vector spaces parametrized continuously by a topological space : a topological space with a continuous map such that each fiber is a vector space.
- The case is a line bundle.
- The projection gives the "trivial" vector bundle.
- Bundles are locally a product of and a fixed vector space , but may be "twisted" globally. Example: the Mobius strip is a line bundle over the circle , but differs from the cylinder because the cylinder is orientable and the strip is not.
- The tangent bundle collects the tangent spaces of a differentiable manifold. The tangent bundle of is globally isomorphic to (there is a global nonzero vector field), whereas by the hairy ball theorem the 2-sphere has no everywhere nonzero tangent vector field.
- K-theory studies isomorphism classes of vector bundles over a space; it has algebraic consequences such as the classification of finite-dimensional real division algebras: , , the quaternions and the octonions .
- The cotangent bundle has, at each point, the dual of the tangent space (the cotangent space). Its sections are differential one-forms.
Modules
- Modules are to rings what vector spaces are to fields: the same axioms over a ring instead of a field .
- Module theory is more complicated because some ring elements have no multiplicative inverses. Modules need not have bases (for example the -module ); those that do, including all vector spaces, are free modules.
- A vector space is compactly a module over a ring that is a field. Some authors use "vector space" for modules over a division ring.
- Locally free modules are the algebraic counterpart of vector bundles.
Affine and projective spaces
- Affine spaces are, roughly, vector spaces whose origin is not specified; precisely, a set with a free transitive vector space action. A vector space is an affine space over itself.
- An affine subspace of a vector space is a translate of a linear subspace by a fixed vector (a coset of in ), consisting of all for .
- Important example: the solutions of an inhomogeneous system . The homogeneous case is . The solution space is , where is a particular solution and is the nullspace of .
- Projective space: the set of one-dimensional subspaces of a fixed finite-dimensional vector space; it formalizes parallel lines intersecting at infinity. Grassmannians and flag manifolds generalize this by parametrizing subspaces of fixed dimension and flags of subspaces.