1. Home
  2. Explore
  3. Mathematics
  4. Linear Combinations of Vectors

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Linear Combinations of Vectors

Speaker 1Speaker 2

Linear Combinations of Vectors

5:16
0:00-5:16
  1. Corey

    A phrase you’ll hear constantly in linear algebra is “linear combination.” It sounds abstract, but the basic idea is simple: take some vectors, multiply each by a real number, and add the results.

  2. Maria

    So if we have vectors v₁ through vₙ, a typical linear combination is c₁v₁ + c₂v₂ + … + cₙvₙ, where each coefficient c is a real number. The vectors can live in a space like R² or, more generally, Rⁿ.

  3. Corey

    Exactly. The “linear” part matters because we’re only scaling vectors and adding them. We’re not multiplying vectors by each other or squaring them; those operations aren’t part of this definition.

  4. Maria

    Let’s make it concrete. Suppose a is the vector (1, 2) and b is the vector (0, 3). A linear combination of a and b has the form c₁a + c₂b, with any real numbers c₁ and c₂.

  5. Corey

    Even choosing both coefficients to be zero counts. Zero times a plus zero times b gives the zero vector, (0, 0), so the zero vector is one valid linear combination.

  6. Maria

    And if we choose 3 for the coefficient of a and negative 2 for the coefficient of b, we get 3a − 2b. That’s (3, 6) − (0, 6), which equals (3, 0). Different real coefficients give different linear combinations.

  7. Corey

    Now the bigger question is: what is the set of every vector we could make this way? That set is called the span of the vectors. In other words, the span is all possible linear combinations of them.

  8. Maria

    With a = (1, 2) and b = (0, 3), their span is all of R². Visually, scaling a moves us along a direction, and adding any multiple of b lets us move vertically. By choosing the coefficients appropriately, we can reach any point in the plane.

  9. Corey

    But two vectors don’t always span the whole plane. For example, take a = (2, 2) and b = (−2, −2). They point along the same line, in opposite directions.

  10. Maria

    Any multiple of either one still lies on that line, so adding their multiples can only produce vectors on the same line. Their span is that line—not all of R². In particular, there’s no way to combine them to reach a vector off the line.

  11. Corey

    The zero vector gives another useful example. Any real number times (0, 0) is still (0, 0), so the span of the zero vector is just the zero vector itself.

  12. Maria

    And the span of one nonzero vector is the line you get by scaling it by every real number. Positive coefficients go along its direction, negative coefficients go the opposite way, and zero lands at the origin.

  13. Corey

    For two vectors to span R², they need to point in different, non-collinear directions. The vectors (1, 2) and (0, 3) do; the pair (2, 2) and (−2, −2) don’t.

  14. Maria

    A familiar pair that spans R² is the unit vectors i = (1, 0) and j = (0, 1). They’re perpendicular, or orthogonal, and any vector (x₁, x₂) can be written as x₁i + x₂j.

  15. Corey

    That pair is especially convenient, and it’s called a basis for R². We’ll leave the formal definition of “basis” for later, but for now, the key point is that these two vectors can represent every vector in the plane.

  16. Maria

    Here’s the formal notation for span: span(v₁, …, vₙ) is the set of all vectors c₁v₁ + … + cₙvₙ, where each cᵢ can be any real number. Saying that a and b span R² means every vector in R² can be formed as a linear combination of a and b.

  17. Corey

    We can verify that claim for our example algebraically. Let a = (1, 2), b = (0, 3), and take any target vector x = (x₁, x₂). We want coefficients c₁ and c₂ such that c₁a + c₂b = x.

  18. Maria

    Matching coordinates gives two equations: c₁ = x₁, and 2c₁ + 3c₂ = x₂. Substituting c₁ = x₁ into the second equation gives c₂ = (x₂ − 2x₁)/3.

  19. Corey

    Those formulas work for any real x₁ and x₂, so we can always find coefficients. That proves a and b span all of R².

  20. Maria

    For example, to make the vector (2, 2), set x₁ = 2 and x₂ = 2. Then c₁ = 2 and c₂ = (2 − 4)/3 = −2/3.

  21. Corey

    So 2a − two-thirds of b equals (2, 2): twice (1, 2) gives (2, 4), and subtracting two-thirds of (0, 3), or (0, 2), leaves (2, 2). That’s the central idea: linear combinations are the vectors you can build by scaling and adding, and the span is the full set you can build.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent