Linear span


In linear algebra, the linear span of a set of vectors in a vector space is the smallest linear subspace that contains the set. It can be characterized either as the intersection of all linear subspaces that contain, or as the set of linear combinations of elements of. The linear span of a set of vectors is therefore a vector space. Spans can be generalized to matroids and modules.
For expressing that a vector space is a span of a set, one commonly uses the following phrases: spans ; generates ; is spanned by ; is generated by ; is a spanning set of ; is a generating set of.

Definition

Given a vector space V over a field K, the span of a set S of vectors is defined to be the intersection W of all subspaces of V that contain S. W is referred to as the subspace spanned by S, or by the vectors in S. Conversely, S is called a spanning set of W, and we say that S spans W.
Alternatively, the span of S may be defined as the set of all finite linear combinations of elements of S, which follows from the above definition.
In particular, if S is a finite subset of V, then the span of S is the set of all linear combinations of the elements of S. In the case of infinite S, infinite linear combinations are excluded by the definition; a generalization that allows these is not equivalent.

Examples

The real vector space R3 has as a spanning set. This particular spanning set is also a basis. If were replaced by, it would also form the canonical basis of R3.
Another spanning set for the same space is given by, but this set is not a basis, because it is linearly dependent.
The set is not a spanning set of R3; instead its span is the space of all vectors in R3 whose last component is zero. That space is also spanned by the set, as is a linear combination of and. It does, however, span R2.
The empty set is a spanning set of since the empty set is a subset of all possible vector spaces in R3, and is the intersection of all of these vector spaces.
The set of functions xn where n is a non-negative integer spans the space of polynomials.

Theorems

Theorem 1: The subspace spanned by a non-empty subset S of a vector space V is the set of all linear combinations of vectors in S.
This theorem is so well known that at times it is referred to as the definition of span of a set.
Theorem 2: Every spanning set S of a vector space V must contain at least as many elements as any linearly independent set of vectors from V.
Theorem 3: Let V be a finite-dimensional vector space. Any set of vectors that spans V can be reduced to a basis for V by discarding vectors if necessary. If the axiom of choice holds, this is true without the assumption that V has finite dimension.
This also indicates that a basis is a minimal spanning set when V is finite-dimensional.

Generalizations

Generalizing the definition of the span of points in space, a subset X of the ground set of a matroid is called a spanning set if the rank of X equals the rank of the entire ground set.
The vector space definition can also be generalized to modules. Given an R-module A and a collection of elements a1, …, an of A, the submodule of A spanned by a1, …, an is the sum of cyclic modules
consisting of all R-linear combinations of the elements ai. As with the case of vector spaces, the submodule of A spanned by any subset of A is the intersection of all submodules containing that subset.

Closed linear span (functional analysis)

In functional analysis, a closed linear span of a set of vectors is the minimal closed set which contains the linear span of that set.
Suppose that X is a normed vector space and let E be any non-empty subset of X. The closed linear span of E, denoted by or, is the intersection of all the closed linear subspaces of X which contain E.
One mathematical formulation of this is
The closed linear span of the set of functions xn on the interval , where n is a non-negative integer, depends on the norm used. If the L2 norm is used, then the closed linear span is the Hilbert space of square-integrable functions on the interval. But if the maximum norm is used, the closed linear span will be the space of continuous functions on the interval. In either case, the closed linear span contains functions that are not polynomials, and so are not in the linear span itself. However, the cardinality of the set of functions in the closed linear span is the cardinality of the continuum, which is the same cardinality as for the set of polynomials.

A useful lemma

Let X be a normed space and let E be any non-empty subset of X. Then