Courses / Computer Science I
Algebra

Linear Independence and Basis

A linear combination is any sum c1 v1 + + ck vk. Their span is the set of all such combinations—the entire region they can reach. Vectors are linearly i…

Computer Science I 200 words Free to read

Spanning and Independence

A linear combination is any sum c1v1++ckvkc_1 v_1 + \dots + c_k v_k. Their span is the set of all such combinations—the entire region they can reach.

Vectors are linearly independent if no vector is a combination of the others. Equivalently, the only solution to c1v1++ckvk=0c_1 v_1 + \dots + c_k v_k = \mathbf{0} is all ci=0c_i = 0. Dependent means redundancy.

ConceptMeaningPitfall / Edge Case
SpanningReaches the whole spaceMay contain redundant vectors
IndependenceZero redundancyMay fail to reach the whole space
Two failures, side by side: reaching everywhere with waste, and

Basis and Dimension

A basis for a vector space is a set of vectors that is linearly independent AND spanning. It is a minimal spanning set with no wasted vectors.

The number of vectors in a basis is the dimension of the space. Every vector has a unique expression in a given basis, which forms the foundation of coordinates.

Common pitfall: Confusing spanning with independence. A basis requires both. A spanning set with extra vectors is not a basis, nor is an independent set too small to span.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

9practice questions
2interactive scenes

Algebra