← Linear algebra

Linear combinations

Write a vector as c₁v₁ + c₂v₂.

Start this lesson

A linear combination of vectors v₁ and v₂ is c₁v₁ + c₂v₂ for some numbers c₁, c₂. To write a target vector w that way, set up one equation per component and solve the system for c₁ and c₂.

Example: Write ⟨7, 4⟩ using ⟨1, 2⟩ and ⟨3, 0⟩

  1. c₁ + 3c₂ = 7, 2c₁ = 4 — Match components
  2. c₁ = 2, c₂ = 5/3 — Solve

Why it works: A combination scales each vector and adds them. Matching the across and up parts gives two equations for the two scales.

Tip: If v₁ and v₂ point in different directions, every vector in the plane is a linear combination of them.