Subspaces, Null Spaces and Column Spaces
Check closure and distinguish homogeneous solution spaces from translated solution sets.
Builds on Span, Independence and Bases
The bigger question: How many independent directions does a model really have?
On this page
A space must survive linear combinations
A nonempty subset of is a subspace if it is closed under addition and scalar multiplication. Equivalently, every linear combination of its vectors stays inside it. It must contain zero. Lines and planes through the origin are familiar examples; translated lines and planes generally are not subspaces.
The null space is a subspace of the input space. The column space is a subspace of the output space. Linearity proves closure for both.
Visual guide
- Subspace y = x
- Not a subspace y = x + 1
Worked example: a homogeneous constraint
The set is a subspace of . Setting gives . These two independent vectors are a basis of the null space of .
The set is not a subspace because it excludes zero. If is one solution of , all solutions are . This is an affine translation of a subspace.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
A subspace must contain zero and be closed under linear combinations.
Hint 2 · Take the next step
A line through the origin preserves addition and scaling.
Show the reasoning
Answer: The line y=2x
y=2x is the span of (1,2). The other sets do not even contain the zero vector.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Worked example: find a column-space basis
For , the second column is twice the first. Columns one and three are independent, so they form a basis for . The output space is the plane .
Row reduction identifies pivot column indices, but the basis vectors must be taken from the original matrix. Row operations generally change the column space as a subset of the output space, even though they preserve which columns are independent.
Practice
- Is the set a subspace?
- Find .
- Is every homogeneous system consistent?
Show worked solutions
- No. Multiplying by leaves the set.
- and is free, so the null space is the span of .
- Yes. The zero vector is always a solution, although nonzero solutions may also exist.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.