Span and Linear Combinations
Subtopic: Vector Spaces
A linear combination mixes vectors using addition and scalar multiplication—the two fundamental operations in a vector space. The span of a set of vectors is everything you can build from those vectors using linear combinations. Span tells you the "reach" of your vectors: what space they can fill.
Introduction
Given a few vectors, what can you make from them? If you can add them, subtract them, scale them, and combine those operations—what collection of vectors can you reach?
With a single nonzero vector in , you can reach everything on the line through v and the origin. With two non-parallel vectors, you can reach any point in . That's span: the set of all destinations reachable by combining your starting vectors.
Definition
Linear Combination
A linear combination of vectors is any expression of the form:
where are scalars (the coefficients).
Span
The span of vectors is the set of all their linear combinations: span
The span is always a subspace—it contains (take all coefficients zero), and it's closed under addition and scalar multiplication.
Geometric Interpretation
In :
• The span of one nonzero vector is a line through the origin
• The span of two non-parallel vectors is a plane through the origin
• The span of three vectors that don't all lie in one plane is all of
Adding more vectors can expand the span (if they point in new directions) or leave it unchanged (if they're already in the span).
Think of each vector as opening a new degree of freedom. But if a new vector is already reachable from the others, it adds no new freedom—the span doesn't grow.
Worked Example 1
Let and . What is ?
The span consists of all vectors .
This is the set — a plane through the origin in .
To check if a specific vector is in the span, like :
We need , , and check
Yes, is in the span.
Worked Example 2
Is in span ?
We need to find such that .
This gives the system:
From equation : .
From equation : .
Check equation : .
The system has no solution. Therefore is NOT in the span.
Checking if a Vector is in a Span
To determine if a vector is in span:
Set up the equation .
Write this as a linear system (or matrix equation).
If the system has a solution, is in the span. If not, it is not.
In matrix form: is in span if and only if the system has a solution, where .
Spanning Sets
A set of vectors spans a vector space if span — every vector in can be written as a linear combination of the .
Examples:
spans (the standard basis)
also spans (different basis)
does NOT span — both vectors lie on the -axis, so the span is just a line
Key Properties
The span of any set of vectors is a subspace (the smallest subspace containing those vectors).
span — a line through the origin (or if ).
Adding a vector to a set either expands the span or leaves it unchanged — it never shrinks.
If span, then spanspan.
span — the zero vector alone spans only the trivial subspace.
Connection to Matrices
The column space of a matrix is exactly the span of its columns. If , then: colspan
This means: has a solution if and only if is in the span of columns.
Applications
In computer graphics, colors are often represented as linear combinations of basis colors (RGB). The span of {Red, Green, Blue} is all displayable colors.
In signal processing, any signal in a given space can be written as a linear combination of basis signals (like sine waves in Fourier analysis).
In data science, the span of feature vectors determines what relationships a linear model can capture.
Summary
A linear combination is a sum of scaled vectors. The span of a set of vectors is all their possible linear combinations—the subspace they generate. To check if a vector is in a span, solve the corresponding linear system. A spanning set for a space means every vector in can be expressed as a linear combination of the set. The concept connects directly to column spaces of matrices.