Skip to content
Lesson 6 of 9 · Linear Algebra

Span, independence and basis

Describe which vectors a set can build (span), decide whether they are redundant (independence), and choose a basis and dimension.

22 min

Span

The span of vectors v₁, …, vₖ is the set of all their linear combinations c₁v₁ + … + cₖvₖ. One nonzero vector spans a line through the origin; two non-parallel vectors in 3D span a plane; three vectors that are not coplanar span all of 3D space.

To test whether b is in the span, solve the system with those vectors as columns; if it has a solution, b is in the span.

Vectors are linearly independent if the only way to combine them to get the zero vector is with all coefficients zero. Otherwise they are dependent: at least one is a combination of the others, so it adds nothing new.

Quick tests: put them as columns of a matrix. They are independent exactly when every column has a pivot, or, for n vectors in Rⁿ, when the determinant is nonzero. More than n vectors in Rⁿ are always dependent.

A basis of a space is a set of vectors that is both independent and spans the space. It is a minimal set of building blocks: every vector can be built in exactly one way. The dimension is the number of vectors in any basis. Rⁿ has dimension n; the standard basis is e₁, …, eₙ, but there are infinitely many other bases.

A subspace is a set of vectors closed under addition and scaling (so it contains 0): a line or plane through the origin in R³, for instance. A line not through the origin is not a subspace.

Are (1, 0, 1), (0, 1, 1), (1, 1, 0) independent? Do they form a basis of R³?

  1. 1

    Matrix with these as columns: [1 0 1; 0 1 1; 1 1 0]

    Columns v₁, v₂, v₃.

1/4

Is b = (3, 2, 5) in the span of (1, 0, 1) and (0, 1, 1)?

  1. 1

    a(1, 0, 1) + b′(0, 1, 1) = (a, b′, a + b′)

    General combination.

1/3

Are (1, 2, 3), (2, 4, 6), (1, 0, 1) independent?

  1. 1

    (2, 4, 6) = 2(1, 2, 3)

    The second is a multiple of the first.

1/2
Decide

You have the vectors v₁ = (1, 2) and v₂ = (2, 4) and want to span the whole plane R².

Do v₁ and v₂ span R²?

  • Span: all linear combinations. To test membership, solve a linear system.
  • Independent: only the trivial combination gives 0; no vector is redundant.
  • A basis is an independent spanning set; dimension is the size of any basis.
  • n vectors in Rⁿ form a basis exactly when det ≠ 0.
  • A subspace contains 0 and is closed under addition and scaling.
Check yourself

Practice.

1Numeric answer

What is the dimension of the span of (1, 0, 0) and (0, 1, 0) and (1, 1, 0)?

2Multiple choice

Which set is a basis of R²?

  • A(1, 2), (2, 4)
  • B(1, 0), (0, 1), (1, 1)
  • C(1, 1), (1, −1)
  • D(0, 0), (1, 1)
3Multiple choice

Which is a subspace of R²?

  • Athe line y = x
  • Bthe line y = x + 1
  • Cthe unit circle
  • Dthe first quadrant
4Select all that apply

Which statements are true for four vectors in R³?

  • AThey are always dependent
  • BThey always span R³
  • CThey could be a basis
  • DSome vector is a combination of the others

Practise this lesson, not just read it

In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of Linear Algebra is planned around your week. Free.