Lecture 13 Linear Combinations & Matrix Equations

Tags: #linear-algebra #vectors #matrices #span

1. The "Three Languages" of Linear Algebra

These three forms represent the exact same mathematical problem. If you can solve one, you can solve the others:

  1. Linear System (Augmented Matrix)
  2. Vector Equation: x1a1+x2a2++xnan=b
  3. Matrix Equation: Ax=b

2. Linear Combinations

A vector b is a linear combination of vectors a1,,an if you can scale them by some weights (x1,,xn) and add them together to get b.

How to test for a Linear Combination

Put the vectors into the columns of an augmented matrix [a1 a2  | b] and row reduce.

  • Consistent (A solution exists): YES, it is a linear combination.
  • Inconsistent (You get a row like 0 0 0 | 3): NO, it is not a linear combination.

3. The Span

Definition: The Span{v1, v2, ...} is the set of ALL possible linear combinations you can make with those vectors.

Geometric Interpretation in R3:


4. The Matrix-Vector Product (Ax)

There are two ways to look at Ax:

  1. The Row-Column Rule (The "Calculator" View):
    Dot products of the matrix rows with the vector column.
  2. The Column Combination Rule (The "Matrix Intuition" View):
    Multiplying a matrix by a vector x is just creating a linear combination of the columns of A, using the entries of x as the weights.Ax=[a1a2][x1x2]=x1a1+x2a2

Standard Unit Vectors (ej)

Multiplying a matrix A by the j-th standard unit vector ej (like [010]) acts as a "selector switch"—it perfectly extracts the j-th column of A.


5. Important Theorems & Tricks

Existence of Solutions

For an m×n matrix A, the equation Ax=b has a solution for EVERY possible b in Rm if and only if:

  1. The columns of A span Rm.
  2. Matrix A has a pivot position in every row. (No all-zero rows in the coefficient matrix!)

Properties of Linearity

Matrix equations are linear, meaning you can distribute and pull out scalars:

  1. A(u+v)=Au+Av
  2. A(cu)=c(Au)

💡 Trick: Solving by Inspection (No Row Operations)

If you are given a relationship between vectors, you can easily find the solution vector x for a matrix equation without doing any math.

Example:
Given vectors u,v,w and the fact: 3u+1vw=0.
Find x for the equation: [uv]x=w

Solution:

  1. Rearrange the given fact to isolate the target vector (w):
    3u+1v=w
  2. Since the matrix equation is really just x1u+x2v=w, we can just read the weights directly!
  3. Therefore, x=[31].