Euler Hall — free maths guides

Extend an independent set to a basis, one vector at a time

Count how many vectors are still needed to reach a basis. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

The two halves of the rule

Given an independent setSS inRn\mathbb{R}^n with∣S∣=k<n|S| = k < n:

  • - How many to add:n−kn - k. The count is forced — a basis ofRn\mathbb{R}^n hasnn vectors.
  • - Which vectors to add: any vector outside the span of what you already have. Such a vector raises the dimension by one, and one is always available whilek<nk < n.

That is the whole procedure. Nothing else can go wrong as long as you check the count and check that each new vector is genuinely outside the span.

And the hard limit: if the set is dependent, no extension can help. A relation already present among your vectors survives every addition, so a dependent set can never be completed to a basis.

Why a vector outside the span always exists while k < n

IfSS spans akk-dimensional subspaceWW andk<nk < n, thenW≠RnW \ne \mathbb{R}^n, so some vector ofRn\mathbb{R}^n is not inWW. That vector is your candidate.

And why adding it keeps the set independent: supposec1s1+⋯+cksk+c w=0c_1s_1 + \cdots + c_ks_k + c\,w = 0 withw∉Ww \notin W. Ifc≠0c \ne 0 thenw=−(c1s1+⋯+cksk)/cw = -(c_1s_1+\cdots+c_ks_k)/c, which is inWW — contradiction. Soc=0c=0, and then independence ofSS forces everyci=0c_i = 0.

So each addition raises the dimension by exactly one, and repeating untilk=nk = n gives an independent set ofnn vectors inRn\mathbb{R}^n. Such a set must span, so it is a basis. That is the proof that every independent set extends.

Extend a plane to a basis of R^3

LetS={(1,0,0),(0,1,0)}S = \{(1,0,0),(0,1,0)\} inR3\mathbb{R}^3. Extend to a basis.

Step 1 — how many more?n−k=3−2=1n - k = 3 - 2 = 1.

Step 2 — what is the span?SS spans thexyxy-plane,z=0z = 0.

Step 3 — pick a vector outside it. Any vector with a nonzero third entry. Takew=(0,0,1)w = (0,0,1).

Step 4 — check independence.c1(1,0,0)+c2(0,1,0)+c3(0,0,1)=(c1,c2,c3)c_1(1,0,0) + c_2(0,1,0) + c_3(0,0,1) = (c_1,c_2,c_3), which is zero only when all three coefficients are zero. Independent.

Step 5 — count. Three independent vectors inR3\mathbb{R}^3, so they span. A basis is{(1,0,0),(0,1,0),(0,0,1)}\{(1,0,0),(0,1,0),(0,0,1)\}.

What would have gone wrong. Adding(2,−3,0)(2,-3,0) instead: that is2(1,0,0)−3(0,1,0)2(1,0,0)-3(0,1,0), inside the plane. The count would still be 3, the independence check would fail, and the set would not be a basis. A vector inside the span is not an extension.

The sentence a marker wants: SS spans thexyxy-plane, so(0,0,1)∉span⁡S(0,0,1)\notin\operatorname{span}S; the three vectors are therefore independent, and three independent vectors inR3\mathbb{R}^3 form a basis."

By the end you can
  • Count how many vectors are still needed to reach a basis
  • Choose a vector that completes an independent set, and reject the candidates already in its span
  • Decide whether a given set can be extended at all, and state the reason when it cannot
Test yourself

S={(1,2,0),(0,1,1)}S=\{(1,2,0),(0,1,1)\} inR3\mathbb{R}^3.

(a) How many vectors must be added? (b) Describespan⁡S\operatorname{span}S. (c) Give one valid vector and one invalid vector for the extension, and say why the invalid one fails.

Work it before opening the answer.

Answers

(a)3−2=13 - 2 = 1.

(b) A plane through the origin, containing all combinationsa(1,2,0)+b(0,1,1)=(a, 2a+b, b)a(1,2,0)+b(0,1,1) = (a,\,2a+b,\,b).

(c) A valid choice is(0,0,1)(0,0,1): checkc1(1,2,0)+c2(0,1,1)=(0,0,1)c_1(1,2,0)+c_2(0,1,1) = (0,0,1) givesc1=0c_1=0, thenc2=1c_2 = 1 from the third entry, but then the second entry is1≠01\ne0. No solution, so(0,0,1)(0,0,1) is outside.

An invalid choice is(1,3,1)=(1,2,0)+(0,1,1)(1,3,1) = (1,2,0)+(0,1,1), inside the plane. The set would stay 2-dimensional.

What was being tested: the membership test, which is a linear system, not a visual comparison.

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