Vector Equations
Solving a system is the same as asking whether one vector can be built by stretching and adding some others: . The span of a set of vectors is everything you can build that way.
What the symbols mean
- Column vectors
The columns of the coefficient matrix.
- Weights
How much of each vector to use.
Explanation
A vector equation is simply a system of equations read column by column instead of row by row: it asks whether you can reach a target vector by taking some amount of each of a few other vectors and adding them up. Think of directions like "walk 3 blocks east, then 2 blocks north"; the question is how many blocks of each. That's good for any mixing problem, like how many servings of two foods give a target amount of protein and carbs. The equation looks heavy, but it has only three kinds of pieces: (the directions you're allowed to move in, which are the columns of your system), (how far to go in each direction, the weights you're solving for) and (where you want to end up). It's the same system as before, just seen as a picture; bear with it.
From systems to vectors. Take a look at the system in the worked example below: and . Stack it up by columns and it says
Nothing new happened: the top entries give the first equation and the bottom entries give the second. But now there's a picture. You're combining two arrows to land on a third.
Linear combinations. means: walk 3 copies of , then 2 copies of backward. Any sum of scaled vectors like that is called a linear combination.
Span is everywhere such walks can reach. One nonzero vector spans a line through the origin, since all you can do is go forward or back along it. Two non-parallel vectors in span a plane through the origin. Notice the origin is always included: set every weight to and you haven't moved.
The key equivalence: is in exactly when the system with augmented matrix is consistent. Think about why. Being in the span means some weights build , and those weights are exactly a solution of that system. So everything you learned about row reduction carries straight over: to test whether a vector can be reached, row reduce and look for a row.
A common mistake. It's tempting to think two vectors in can reach any point in space, because two vectors were enough to fill the plane . They can't: two non-parallel vectors in only span a plane through the origin, and every point off that plane is out of reach. To fill all of you need at least three vectors.
There's an animation further down that shows two thrusters' pushes adding up to a target.
See it
Worked examples
Is a combination of and ?
- 1
Matching entries on both sides of gives the system , .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Compute .
Find weights with . Give .
What does the span of one nonzero vector in look like?
Is in the span of ?
Is in the span of ?
One serving of food A has g of protein and g of carbs; one serving of food B has g of protein and g of carbs. How many servings of each give exactly g of protein and g of carbs? Give A, then B.
The hardest one here. Get it, and you've got this lesson.
For which value of is in the span of and ?
Where it's used
Mixing problems are vector equations: which combination of available alloys (or nutrients, or paint colors) produces a target composition?