Vector equations and span
Rewrite a linear system as a vector equation x₁a₁ + x₂a₂ = b, describe the span of one or two vectors in ℝ² and ℝ³ as a line or a plane through the origin, and decide by row reduction whether b lies in the span.
It opens on
The three equations x₁ = 2, x₁ + x₂ = 3, x₂ = 1 have two unknowns. If we change the right side to (1, 2, 2), will the system still have a solution?
Why it matters
Whether a system has a solution, whether a signal can be built from given parts and whether a model can reach a target are all the question of whether one vector lies in the span of others.
Good to know first
- Reduced row echelon form: row operations turn the augmented matrix [A | b] into a form that shows whether the system is consistent
- a vector in ℝ³ is a column of three numbers drawn as an arrow from the origin
Step by step
A system is a vector equation
Write a system as x₁a₁ + x₂a₂ = b by stacking the coefficients of each unknown, and solve it by matching entries.
Stack the entries: the first entries give 1x₁ + 0x₂ = 2, the second 1x₁ + 1x₂ = 3, the third 0x₁ + 1x₂ = 1; the same three equations.
A common mix-up
A system is just stacked equations and the columns have no meaning.
In fact: Each column is the vector the unknown scales, and the right side must be a combination of them.
The span: a line, a plane
Describe span {u} as a line and span {a₁, a₂} as a plane through the origin, in ℝ² and in ℝ³.
In ℝ², span {u} for u = (1, 2) is every c(1, 2): the line y = 2x through the origin, as drawn.
A common mix-up
The span of two vectors in ℝ³ is all of ℝ³.
In fact: Two vectors give only a plane through the origin.
Deciding by row reduction
Decide whether b is in span {a₁, a₂} by row reducing [a₁ a₂ | b] and reading consistency.
[a₁ a₂ | b] = rows (1, 0 | 2), (1, 1 | 3), (0, 1 | 1); subtract row 1 from row 2 to get (0, 1 | 1), then subtract that from row 3 to get (0, 0 | 0): consistent, with x₁ = 2 and x₂ = 1.
A common mix-up
More equations than unknowns means no solution.
In fact: The system is consistent whenever the right side is a combination of the columns, as for b.
Try it
Write x₁ + 2x₂ = 4, x₂ = 1 as a vector equation and solve it.Answer
x₁(1, 0) + x₂(2, 1) = (4, 1); x₁ = 2, x₂ = 1
Hint: The second entry gives x₂
Is (−3, −6) in span {(1, 2)}? Name the weight.Answer
Yes, c = −3
Hint: −3 times (1, 2)
Is (1, 2, 1) in span {a₁, a₂}?Answer
Yes, x₁ = 1 and x₂ = 1
Hint: The plane equation gives 1 − 2 + 1 = 0
Which weights x₁ and x₂ solve the vector equation?Answer
x₁ = 2 and x₂ = 1, since the first and third entries give them and the middle entry checks: 2 + 1 = 3.
Is (−1, −2) in span {u}, and is (3, 1)?Answer
(−1, −2) is, with c = −1; (3, 1) is not, since 3(1, 2) = (3, 6).
