Euler Hall — free maths guides

Describe the span as every linear combination of a list

Describe the span of a list as the set of all combinations, and read its dimension off the rank. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

The definition, and the word "every"

The span ofv1,…,vkv_1,\dots,v_k is span⁡{v1,…,vk}={ c1v1+⋯+ckvk  :  ci real  }.\operatorname{span}\{v_1,\dots,v_k\}=\{\,c_1v_1+\cdots+c_kv_k \;:\; c_i \text{ real }\,\}.

Three consequences fall out of that definition immediately, and none of them needs a picture.

  1. 1. The zero vector is always in it — take everyci=0c_i=0.
  2. 2. It is closed under addition and scaling — a combination of combinations is a combination, so adding or scaling never leaves.
  3. 3. It is the smallest subspace containing the list — any subspace containing the vectors must contain their combinations, so it contains the whole span.

Points 1 and 2 together say the span is a subspace. Point 3 is what "spanning set" means: the span is not one subspace among many containing the list, it is the least one.

What the span is not. It is not the list. Two vectors produce infinitely many combinations, and the span is all of them. It is also not "the plane they lie in" in a loose sense — see the trap below, where that reading fails.

Why rank, and not count

Write the vectors as columns ofAA. Then span⁡{v1,…,vk}={Ax:x∈Rk}=C(A),\operatorname{span}\{v_1,\dots,v_k\}=\{Ax: x\in\mathbb{R}^k\}=\mathbf{C}(A), the column space. The dimension of a column space is the rank, so the geometry of a span is read off the rank — the same number that decides independence, for the reason that independence is exactly "no column is redundant".

What this buys you in practice. You never have to visualise. Put the vectors in columns, eliminate, count pivots:

| pivots | span is | |---|---| | 1 | a line through the origin | | 2 | a plane through the origin (insideR3\mathbb{R}^3 or higher) | | 3 | a three-dimensional subspace — all ofR3\mathbb{R}^3 if that is the ambient space |

The same table holds in higher dimensions with "dimension1,2,31,2,3" in place of the words. Membership is a different question: the rank gives the size of the span, while whether a particularbb is inside is solvability ofAx=bAx=b, equivalentlyrank⁡[A∣b]=rank⁡A\operatorname{rank}[A\mid b]=\operatorname{rank}A.

Worked example: describe, then test membership

Describespan⁡{(1,0,1),(0,1,1)}\operatorname{span}\{(1,0,1),(0,1,1)\} and decide whether(3,5)(3,5) — no,(3,5)(3,5) is inR2\mathbb{R}^2; take(3,5,8)(3,5,8) — is in it.

Describe. The two vectors are not multiples of each other, so the rank is22 and the span is a plane through the origin inR3\mathbb{R}^3. To get its equation, a vector(x,y,z)(x,y,z) is in the span when c1(1,0,1)+c2(0,1,1)=(c1, c2, c1+c2)=(x,y,z).c_1(1,0,1)+c_2(0,1,1)=(c_1,\ c_2,\ c_1+c_2)=(x,y,z). Soc1=xc_1=x,c2=yc_2=y, and the third coordinate is forced:z=x+yz=x+y. The plane isx+y−z=0x+y-z=0.

Test the point. For(3,5,8)(3,5,8):3+5−8=03+5-8=0 ✓, so it is in the span, with coefficientsc=(3,5)c=(3,5). Check:3(1,0,1)+5(0,1,1)=(3,5,8)3(1,0,1)+5(0,1,1)=(3,5,8) ✓

Test a point outside. For(3,5,9)(3,5,9):3+5−9=−1≠03+5-9=-1\ne0, so it is outside. Equivalently, the rank comparison givesrank⁡A=2\operatorname{rank}A=2 butrank⁡[A∣b]=3\operatorname{rank}[A\mid b]=3.

Both routes to the equation. Solving and eliminating give the planex+y−z=0x+y-z=0; so does taking the cross product of the two vectors. The first route is the one that generalises.

By the end you can
  • Describe the span of a list as the set of all combinations, and read its dimension off the rank
  • Decide membership in a span by solving, or by comparing ranks
  • Recognise a span as the smallest subspace containing the list
Test yourself

(a) What isspan⁡{(1,0,0),(0,1,0),(1,1,0)}\operatorname{span}\{(1,0,0),(0,1,0),(1,1,0)\}? (b) Is(2,3)(2,3) inspan⁡{(1,1),(1,−1)}\operatorname{span}\{(1,1),(1,-1)\}? (c) True or false: the span of four vectors inR2\mathbb{R}^2 can be three-dimensional.

Answers

(a) Thexyxy-plane. The third vector is the sum of the first two, so the rank is22 and the span is two-dimensional.

(b) Yes:52(1,1)−12(1,−1)=(2,3)\frac{5}{2}(1,1)-\frac{1}{2}(1,-1)=(2,3). Since the two vectors are independent inR2\mathbb{R}^2, they span the whole plane and every vector is in it.

(c) False. A span insideR2\mathbb{R}^2 has dimension at most22; four vectors can only span a subspace ofR2\mathbb{R}^2, whatever their count.

Work out where to start — free, no accountAnswer six real questions — free, no account