The direct sum, denoted by , combines vector spaces or modules into a structure whose elements have uniquely determined components. It can be understood either as a construction of a new space from given spaces, called an external direct sum, or as a decomposition of an existing space into subspaces, called an internal direct sum. For infinitely many components, the algebraic construction requires each element to have only finitely many nonzero components. (math.stanford.edu)
External direct sums
Let and be vector spaces over the same field . Their external direct sum is the set
with componentwise operations:
Thus, for two spaces, the underlying set is their Cartesian product. The construction does not require and to be subspaces of a common ambient space. Each becomes a subspace of the new space through the canonical inclusions
Every element then has the unique decomposition
The same construction applies to any finite family of vector spaces or modules over a fixed ring. (math.stanford.edu)
Internal direct sums
For subspaces , their ordinary sum is
This sum is direct when every element has exactly one such expression. Equivalently,
Writing
asserts both that and that the decomposition is unique. Indeed, if , then
a zero intersection therefore forces and . The addition map
is then an isomorphism. (linear.pugetsound.edu)
For several subspaces, uniqueness means that
implies for every . Pairwise zero intersections alone are insufficient for three or more summands. For example, the three lines in spanned by , , and intersect pairwise only at zero, but
is a nontrivial relation between them. This illustrates the stronger uniqueness requirement in the definition. (cfm.brown.edu)
Bases, dimension, and complements
If , the union of a basis of and a basis of is a basis of . Consequently, in finite dimensions,
More generally, for finite-dimensional subspaces,
The intersection term measures the overlap that prevents an ordinary sum from being direct. (linear.pugetsound.edu)
A subspace satisfying is called a complement of . In finite-dimensional spaces, complements can be obtained by extending a basis of to a basis of and taking the span of the added vectors. Complements need not be unique. Nor does a direct sum require orthogonality: that additional notion depends on an inner product. In a finite-dimensional inner-product space,
where is the orthogonal complement of . (linear.pugetsound.edu)
A decomposition also determines a linear projection:
It satisfies , has image , and has kernel . When , this is the orthogonal projection onto ; otherwise it is generally an oblique projection. (math.umd.edu)
Infinite algebraic direct sums
For a family of modules over a ring , the algebraic direct sum is
Addition and scalar multiplication are componentwise. The finite-support condition ensures that each element is a finite sum of elements from the individual components. (math.stanford.edu)
The direct product , by contrast, permits unrestricted families of coordinates. The two constructions coincide for a finite index set. Their canonical inclusion is proper when infinitely many are nonzero. For example,
consists of eventually zero real sequences, whereas contains all real sequences, including . (math.stanford.edu)
Universal property
The direct sum is characterized by a universal property. Given a module and a family of module homomorphisms
there is a unique homomorphism
such that for every canonical inclusion . Explicitly,
which is well-defined because only finitely many terms are nonzero. In the language of category theory, this makes the algebraic direct sum the coproduct in the category of -modules. The direct product has the opposite mapping property: maps into it are specified by maps into each component. (math.stanford.edu)
Matrices and representations
For matrices and , their direct sum is the block matrix
If they represent linear operators on and , respectively, this matrix represents the componentwise operator
A common block-diagonal form therefore expresses independent action on the summands. (ocw.mit.edu)
In representation theory, two representations and of the same group combine as
Decomposing a representation into a direct sum requires complementary invariant subspaces, not merely an arbitrary decomposition of its underlying vector space. Matrix descriptions of such a decomposition use one basis in which every representing matrix has the same block structure. (sites.ualberta.ca)
Hilbert-space direct sums
In functional analysis, “direct sum” can designate a completed construction rather than the finite-support algebraic one. For a sequence of Hilbert spaces , the Hilbert direct sum is
with inner product
It is the completion of the algebraic direct sum in the associated norm. Taking every or gives the sequence space . Infinite square-summable sequences are allowed, unlike in the algebraic direct sum. (web.math.princeton.edu)
A closed subspace of a Hilbert space has an orthogonal decomposition . The closedness condition matters: algebraic decompositions concern finite sums and uniqueness, whereas Hilbert-space decompositions additionally involve convergence and completeness. (web.math.princeton.edu)
References
- Math 210A. Homework 1math.stanford.edu
- MATH 210A, FALL 2017: Homework 1 Solutionsmath.stanford.edu
- Math 210A: Modern Algebra, Homework 1math.stanford.edu
- SCLA Direct Sumslinear.pugetsound.edu
- Linear Algebra, Part 3: Direct Sums (Mathematica)cfm.brown.edu
- Lecture 12: Direct Sums and Projectionsmath.umd.edu
- RES.18-012 (Spring 2022) Full Lecture Notes: Algebra II Student Notesocw.mit.edu
- Properties of representationssites.ualberta.ca
- Functional Analysis Princeton University MAT520 Lecture Notesweb.math.princeton.edu