Chapter 2 · Section 2.1

Span and Linear Combinations

The fundamental question of this chapter is: given some vectors, what can you build from them? The answer involves two operations -- addition and scalar multiplication -- and the concept of a linear combination.

Definition 2.1: Linear Combination
A linear combination of a list of vectors v1,…,vm∈Vv_1, \ldots, v_m \in V is a vector of the forma1v1+a2v2+⋯+amvma_1 v_1 + a_2 v_2 + \cdots + a_m v_mwhere a1,…,am∈Fa_1, \ldots, a_m \in \F. The scalars a1,…,ama_1, \ldots, a_m are called the coefficients of the linear combination.
IntuitionA linear combination is anything you can build by scaling each vector and adding the results. It's the most general thing you can do with the two vector space operations. For example, 3v1−2v2+v33v_1 - 2v_2 + v_3 is a linear combination with coefficients 3,−2,13, -2, 1.
Definition 2.2: Span
The span of a list of vectors v1,…,vmv_1, \ldots, v_m is the set of all linear combinations:span(v1,…,vm)={a1v1+⋯+amvm:a1,…,am∈F}\text{span}(v_1, \ldots, v_m) = \{a_1 v_1 + \cdots + a_m v_m : a_1, \ldots, a_m \in \F\}The span of the empty list is defined to be {0}\{0\}.
IntuitionThe span is everything you can "reach" by combining the given vectors. In R2\R^2: span of one nonzero vector is a line, span of two non-collinear vectors is the whole plane. The span tells you the "reach" of your vectors.

span(v) = the line through the origin in the direction of v. Every point on the line is some scalar multiple of v.

Drag v to see how the span line changes.

Explore how span changes with one vector vs. two. When vectors are collinear, the span stays a line.
Theorem 2.3: Span is a Subspace
The span of any list of vectors in VV is a subspace of VV.
IntuitionThis makes sense: if you can reach two vectors via linear combinations, then their sum is also a linear combination (just add the coefficients). And scaling a linear combination is a linear combination (just scale the coefficients).
Proof
Let v1,…,vm∈Vv_1, \ldots, v_m \in V. We verify the three subspace conditions for span(v1,…,vm)\text{span}(v_1, \ldots, v_m): 1. 0=0v1+⋯+0vm∈span(v1,…,vm)0 = 0v_1 + \cdots + 0v_m \in \text{span}(v_1, \ldots, v_m). 2. If u=a1v1+⋯+amvmu = a_1v_1 + \cdots + a_mv_m and w=b1v1+⋯+bmvmw = b_1v_1 + \cdots + b_mv_m, then u+w=(a1+b1)v1+⋯+(am+bm)vm∈span(v1,…,vm)u + w = (a_1+b_1)v_1 + \cdots + (a_m+b_m)v_m \in \text{span}(v_1, \ldots, v_m). 3. If u=a1v1+⋯+amvmu = a_1v_1 + \cdots + a_mv_m and λ∈F\lambda \in \F, then λu=(λa1)v1+⋯+(λam)vm∈span(v1,…,vm)\lambda u = (\lambda a_1)v_1 + \cdots + (\lambda a_m)v_m \in \text{span}(v_1, \ldots, v_m).
What this proof is really doingEach condition boils down to: combining linear combinations gives another linear combination.
◼
Definition 2.4: Spans / Finite-Dimensional
If span(v1,…,vm)=V\text{span}(v_1, \ldots, v_m) = V, we say the list v1,…,vmv_1, \ldots, v_m spans VV. A vector space is finite-dimensional if some list of vectors in it spans it.
Intuition"Spans VV" means every vector in VV can be written as a linear combination of v1,…,vmv_1, \ldots, v_m. Finite-dimensional means you can describe the whole space with finitely many vectors. Rn\R^n is finite-dimensional (the standard basis vectors span it). The space of all polynomials is not (no finite list spans it).
Spanning R^3
The vectors e1=(1,0,0)e_1 = (1,0,0), e2=(0,1,0)e_2 = (0,1,0), e3=(0,0,1)e_3 = (0,0,1) span R3\R^3. Any vector (a,b,c)(a,b,c) can be written as ae1+be2+ce3ae_1 + be_2 + ce_3. These are the standard basis vectors.
A set that doesn't span
The vectors (1,0,0)(1,0,0) and (0,1,0)(0,1,0) do NOT span R3\R^3. Their span is {(a,b,0):a,b∈R}\{(a,b,0) : a,b \in \R\}, which is the xyxy-plane. The vector (0,0,1)(0,0,1) is not in this span -- you can't produce a nonzero third component from linear combinations of these two vectors.
The span of a list of vectors is always the smallest subspace containing those vectors. This is because any subspace containing v1,…,vmv_1, \ldots, v_m must contain all their linear combinations (by closure), and the span is exactly the set of all linear combinations.

Worked Examples

Span of a single vector
Describe span((2,3))\text{span}((2, 3)) geometrically in R2\R^2.
Solutionspan((2,3))={t(2,3):t∈R}={(2t,3t):t∈R}\text{span}((2,3)) = \{t(2,3) : t \in \R\} = \{(2t, 3t) : t \in \R\}. This is the line through the origin with slope 3/23/2.
Checking if a vector is in a span
Is (1,1,1)∈span((1,0,1),(0,1,0))(1, 1, 1) \in \text{span}((1, 0, 1), (0, 1, 0))?
SolutionWe need to find a,ba, b such that a(1,0,1)+b(0,1,0)=(1,1,1)a(1,0,1) + b(0,1,0) = (1,1,1). This gives a=1a = 1, b=1b = 1, a=1a = 1. Check: (1,0,1)+(0,1,0)=(1,1,1)(1,0,1) + (0,1,0) = (1,1,1). Yes, it's in the span.

Practice Problems

Problem 1basicCustom
Which of the following is a linear combination of (1,0)(1, 0) and (0,1)(0, 1)?
Problem 2standardCustom
Is the vector (3,5,1)(3, 5, 1) in span((1,1,0),(1,2,1))\text{span}((1, 1, 0), (1, 2, 1))? (Answer yes or no.)
Problem 3basicAxler
The span of the empty list of vectors is: