Decide whether b lies in the column space
State that b is in C(A) exactly when Ax = b has a solution. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
The column space of is every combination of its columns. So
Written as a matrix, that is
There is no third thing to check. Asking "is in the column space" and asking "is solvable" are the same question with two vocabularies. The weights are the solution vector.
The mechanical test. Form the augmented matrix and compare the two ranks:
- → solvable, so. - → a pivot lands in the column, which reads. Not solvable, so.
The picture. For a with independent columns, is a plane. Two vectors in reach a plane and nothing more, so most of is outside it.
Elimination replaces the system by an equivalent one: the same solutions, in triangular form. A pivot in one of the first columns uses up one unknown. A pivot in the last column would have to "solve", which is impossible — that is the only way a system fails.
So the number of pivots among the first columns is, and the total number of pivots is. The system is solvable exactly when the extra column adds no pivot, which is exactly when the two ranks agree.
This also explains why a square invertible reaches everything: it already has pivots in columns, so there is no room to gain one, and every is solvable. Interesting cases are tall or singular matrices, where there is room to fail.
Question. Is in the column space of?
Step 1 — write what membership means. We need weights with.
Step 2 — read the first two rows as equations.
Step 3 — solve them. Double the second:. Subtract the first:, so. Then.
Step 4 — check the row you did not use. Third entry of:, but has there.
Step 5 — conclude. The weights that satisfy the first two equations miss the third, so no weights work. The system is inconsistent and.
Rank check. (columns independent) and (the third row contradicts). Larger augmented rank means outside — the same conclusion, reached faster.
- State that b is in C(A) exactly when Ax = b has a solution
- Decide membership by comparing rank A with rank [A | b]
- Check a claimed set of weights by multiplying it out
- Reject 'it has the right length' and 'A is not square' as reasons
Is in the column space of? Give the weights if it is.
Answer
Yes, with weights — and with many other pairs, because the two columns are identical.
Every combination is, so any pair with works. The rank comparison: and too, since the augmented third row is still a multiple of the first. Equal ranks, so solvable.
The lesson: when the columns are dependent, a solution — if there is one — is never unique. Membership is a yes/no question; the weights are not.