4.5.16Linear Algebra (Full)

Span — definition

1,746 words8 min readdifficulty · medium

WHAT is the span?

WHY this definition? Because the two operations a vector space gives you are scaling (cvc\,v) and adding (u+vu+v). A linear combination c1v1++ckvkc_1v_1+\cdots+c_kv_k is just these two operations applied repeatedly. The span is therefore the closure — everything you can build using only the tools you're allowed.


HOW do you compute / reason about a span?

To check "is vector ww in span{v1,,vk}\operatorname{span}\{v_1,\dots,v_k\}?", you ask: Do there exist scalars ci such that c1v1++ckvk=w?\text{Do there exist scalars } c_i \text{ such that } c_1v_1+\cdots+c_kv_k = w? This is just a system of linear equations in the unknowns cic_i. If it has a solution → yes; if not → no.


Why span is a subspace (mini-derivation from scratch)

We claim S=span{v1,,vk}S = \operatorname{span}\{v_1,\dots,v_k\} is a subspace. We must show: (1) contains 0\mathbf 0, (2) closed under addition, (3) closed under scaling.

  1. Zero: take all ci=0c_i=0, giving 0S\mathbf 0 \in S. ✔ Why this step? The empty-everything combination is a valid combination.
  2. Addition: take x=aivix=\sum a_i v_i and y=biviy=\sum b_i v_i. Then x+y=(ai+bi)vi,x+y = \sum (a_i+b_i)v_i, which is again a linear combination → in SS. ✔ Why? We grouped like terms; (ai+bi)(a_i+b_i) is just another scalar.
  3. Scaling: λx=λaivi=(λai)viS\lambda x = \lambda\sum a_i v_i = \sum (\lambda a_i)v_i \in S. ✔ Why? Pulling λ\lambda inside still leaves a linear combination.

So every span is a subspace — this is the deep reason spans matter.


Figure — Span — definition

Worked examples


Common mistakes (Steel-manned)


Recall Feynman: explain to a 12-year-old

You have a couple of magic arrows. You can make each arrow longer or shorter, point it the opposite way, and lay arrows tip-to-tail to combine them. The span is every spot you could possibly land on using your arrows like this. If your arrows point in genuinely different directions, you can fill a whole sheet (a plane). If they secretly point the same way, you can only travel along one line. And you can always stay home (the origin) by not moving at all.


Active recall

What is the span of a set of vectors?
The set of all linear combinations c1v1++ckvkc_1v_1+\cdots+c_kv_k with scalars ciRc_i\in\mathbb R.
Why does every span contain the zero vector?
Choosing all scalars ci=0c_i=0 gives 0\mathbf 0, which is always a valid linear combination.
Is a span always a subspace?
Yes — it contains 0\mathbf 0 and is closed under addition and scalar multiplication.
What two operations build a span?
Scalar multiplication (scale/flip) and vector addition.
How do you test if wspan{vi}w\in\operatorname{span}\{v_i\}?
Solve the linear system civi=w\sum c_i v_i = w; if a solution exists, ww is in the span.
Does having two vectors guarantee they span a plane?
No — only if they are linearly independent; if one is a multiple of the other they span just a line.
What scalars are allowed in a linear combination?
All real numbers, including negatives and zero (not just positive).
When does adding a new vector enlarge a span?
Only when the new vector is not already in the current span (a new independent direction).
Geometrically, what can a span look like in R3\mathbb R^3?
A point (just origin), a line, a plane, or all of R3\mathbb R^3 — always through the origin.
What does det0\det\neq0 tell you about whether v1,v2v_1,v_2 span R2\mathbb R^2?
Nonzero determinant ⇒ the matrix is invertible ⇒ every vector is reachable ⇒ they span R2\mathbb R^2.

Connections

  • Linear combination — the building block of every span.
  • Linear independence — controls whether extra vectors enlarge the span.
  • Subspace — every span is one; spans are the standard way to produce subspaces.
  • Basis — a minimal spanning set (spans + independent).
  • Dimension — the number of vectors in a basis = "size" of the span.
  • Column space — the span of a matrix's columns.
  • Determinant — tests full-span in square cases.

Concept Map

provides ops

applied repeatedly

set of all

contains zero

always is a

requires

requires

requires

membership test

solution exists

one vector gives

Vector space V

Scaling and addition

Linear combination

Span

Passes through origin

Subspace

Contains zero vector

Closed under addition

Closed under scaling

System of linear equations

w is in span

Line through origin

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, span ka matlab simple hai: tumhe kuch vectors diye gaye hain (maan lo do-teen arrows). Tum un arrows ko sirf teen kaam kar sakte ho — unhe scale (chhota-bada) karo, flip (ulta) karo, aur add (jodo). Span yeh batata hai ki in operations se tum kahan-kahan pahunch sakte ho. Jitni bhi jagah tum reach kar sakte ho, woh poora set hi span hai. Yeh hamesha origin se guzarta hai, kyunki saare scalars zero le lo toh tum apni jagah (origin) pe hi reh jaate ho.

Ek important baat: scalars koi bhi real number ho sakte hain — positive, negative, zero. Sirf positive nahi. Isiliye span ek poori line ya poora plane banta hai, dono directions mein. Agar ek vector diya hai toh span ek line banega; agar do alag direction wale (independent) vectors diye toh plane banega. Lekin agar do vectors actually same direction mein point kar rahe hain (jaise (1,1)(1,1) aur (2,2)(2,2)), toh tumhe lagega "do vectors hain, plane banega" — par nahi, woh sirf line hi banayenge. Yeh wali galti bahut students karte hain.

Span important kyun hai? Kyunki har span ek subspace hota hai — yeh proof simple hai: usme zero hai, addition close hai, scaling close hai. Aur subspaces hi linear algebra ki backbone hain. Aage jab tum basis, dimension, column space padhoge, sab span ke upar hi khade hain. Toh span ko achhe se samajh lo: bas yaad rakho — SCALE, FLIP, ADD — bas itna hi mil raha hai tumhe.

Go deeper — visual, from zero

Test yourself — Linear Algebra (Full)

Connections