Category: Linear Algebra Level: 301
a u + b v, with a, b ∈ ℝ
Stretch two vectors by numbers and add the results. Two vectors that point in different directions reach every point of the plane this way, so their span is the whole plane.
Start with u and v. The goal is to reach the point (4, 1) using only stretched copies of u and v.
u = (1, 1), v = (-2, 1)
Multiplying by a scalar changes the length but keeps the line. Every multiple of u sits on the dashed line through u.
2u = (2, 2)
Multiplying by −1 reverses the direction. The vector −v lies on the same line as v but points the other way.
-1v = (2, -1)
Place −v at the tip of 2u. The path ends exactly on the target, so 2 and −1 are the weights that work.
2u + (-1)v = (2, 2) + (2, -1) = (4, 1)
The skewed grid shows every combination with whole-number weights. Weights in between fill the gaps, so u and v reach every point. Their span is the whole plane.
span(u, v) = ℝ2
cd svg-generator python3 -m svgmath render linear-combinations --out /tmp/linear-combinations
Source: svgmath/diagrams/vectors.py