Vector Spaces and Subspaces
A vector space is any collection of things you can add and scale without ever leaving the collection. Arrows qualify, but so do polynomials, matrices, functions and signals, so everything you prove about vectors works for all of them at once.
What the symbols mean
- Candidate subspace
A subset of a vector space that is itself a vector space.
Explanation
A vector space is simply a collection of things you can add together and multiply by numbers, where the results always land back in the collection. The name is a little misleading: "vector" here doesn't have to mean an arrow. It means anything that adds and scales the way arrows do, and "space" just means the whole collection of them. A subspace is a smaller vector space sitting inside a bigger one, and the test above is how you spot one. All we're really saying with it is three small checks: (the zero vector is in the set), (adding two members keeps you inside) and (scaling a member keeps you inside). It sounds abstract, but it boils down to "can I add and scale without falling out?"; bear with it.
Examples of vector spaces. You've been working in the first one all along, and the rest add and scale the same way:
- .
- : polynomials of degree at most , added and scaled as usual.
- : all matrices.
- Continuous functions on an interval; the solutions of a linear homogeneous differential equation.
That last one is superposition in disguise: add two solutions, or scale one, and you get another solution. There's an animation further down that shows this with and .
Subspaces need only the three checks above. Think about why that's enough. Rules like already hold in the bigger space, so they automatically hold for the members of too; the other rules are inherited. The only thing that can go wrong is falling out of , and that's exactly what the three checks catch.
A common mistake. It's tempting to think any set described by a tidy equation is a subspace, because it looks just as clean as the examples above. It isn't: the polynomials with miss the zero polynomial, which has , so they fail right away. Watch out for sets that aren't closed under scaling too. The vectors with nonnegative entries survive addition, but multiply one by and you're out.
Here's the pay-off: a theorem proved once, for "vector spaces," instantly holds for polynomials, matrices and differential equations.
See it
Worked examples
Is a subspace of ?
- 1
The zero polynomial is in , since .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Is (polynomials of degree at most 2) a vector space?
Is a subspace?
Are the symmetric matrices a subspace of ?
Do the solutions of form a vector space?
What is the zero vector of ?
A recording studio only keeps 4-sample clips whose samples add to (no DC offset). Clips and both qualify. Compute the mix .
The hardest one here. Get it, and you've got this lesson.
Let be the polynomials in with . Every member of can be written for one fixed polynomial with and leading coefficient . Find .
Where it's used
Signal processing treats audio clips as vectors in a function space, and quantum mechanics treats states as vectors in (infinite-dimensional) Hilbert spaces.