Course contentsShow
← Mathematics
Lesson 2060 of 3,12143. Linear Algebra — Vectors and SpacesFree lesson

Determining if a Vector is in a Span

Test whether a specific vector can be written as a linear combination of a given set.

Determining if a Vector is in a Span

You'll learn: how to test whether a specific vector can be written as a linear combination of a given set of vectors.

The Core Idea

Remember that the span of a set of vectors is all possible linear combinations of those vectors. So when we ask "Is vector v in the span of {v₁, v₂, ...}?" we're really asking: "Can we find scalars c₁, c₂, ... such that v = c₁v₁ + c₂v₂ + ...?"

This becomes a system of equations problem. Each component of the vector equation gives us one algebraic equation, and we need to determine if this system has a solution.

The Process

Step 1: Write the equation v = c₁v₁ + c₂v₂ + ... + cₙvₙ

Step 2: Expand component-wise to create a system of equations

Step 3: Solve the system (or show it has no solution)

Example

Is v = [5, 1] in the span of {[1, 2], [3, 0]}?

Set up: [5, 1] = c₁[1, 2] + c₂[3, 0]

This gives us:

  • 5 = c₁ + 3c₂
  • 1 = 2c₁ + 0c₂

From the second equation: c₁ = 1/2

Substituting into the first: 5 = 1/2 + 3c₂ → c₂ = 3/2

Since we found consistent values for c₁ and c₂, yes, [5, 1] is in the span.

Think of It This Way

Imagine the given vectors as "building blocks" and the target vector as something you're trying to build. You can only use scaling (stretching/shrinking) and addition. If you can match your target exactly, it's in the span!

Key Takeaway: A vector is in the span of a set if and only if the system of equations formed by the linear combination has at least one solution.