Decide whether a vector lies in a span by solving a system
Bound the dimension of a span from the number of vectors. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
"The span of" means every combination. So asking whether is in the span is asking whether some choice of the's works — and that is a linear system:
The vectors go in the columns of. Then:
- - the system has a solution is in the span;
- - the solution, when it exists, is the weight list.
Two questions, one computation. That is the whole skill.
Elimination decides consistency. Reduce the augmented matrix and look for a row of the form. If there is one, no solution; if not, solutions exist.
That is exactly the same statement as
Adjoining a column can raise the rank by at most one, and it does so precisely when is not already in the column space. So:
This is worth internalising because it turns a vague "does it work out?" into a number comparison. And when the ranks are equal, the solution of the system gives you the coefficients, so you get the weight list for free.
Is in the span of and? If so, what are the weights?
Columns..
Solve. The three equations are The first gives, the third gives, and the middle one checks: ✓. Consistent, so is in the span.
Weights.,. Confirm:
The rank check. has rank 2 (two independent columns). Adjoining keeps the rank at 2, since the third column is a combination of the first two. Equal ranks, consistent — the same conclusion from a different route.
- Bound the dimension of a span from the number of vectors
- Decide membership by comparing rank A with rank [A | b]
- Report the weights that express a member as a combination
- Say why counting vectors can rule membership out but never in
1. Is in the span of and? Of alone? 2. Three vectors in: what does their span's dimension depend on, and what values are possible? 3. is in the span of two vectors, and the system has one free variable. How many weight lists are there?
Answers
1., so yes. But alone spans only the line through, and is not on it — so no. 2. It depends on how many of the three are independent: the possible dimensions are 0, 1, 2 or 3 (0 only for the all-zero set, 1 if they are all parallel, 2 if they are coplanar but not collinear, 3 if independent). 3. Infinitely many — one for each value of the free variable. Any of them is a correct answer to "express as a combination", because they all produce the same vector.