5 Vector Spaces
A structured guide to vector spaces, subspaces, spans, independence, bases, dimension, and coordinates, with definitions, tests, examples, and a unified problem-solving workflow.
Foundations and Examples
A is an abstract setting in which vectors can be added and multiplied by scalars while obeying familiar algebraic laws. These objects need not look like geometric arrows. Common examples include:
, the set of real -tuples;
, the real polynomials of degree at most ;
the set of all real matrices;
real-valued functions on a fixed domain; and
solution sets of homogeneous linear differential equations.
For example, every element of can be written as
where . Adding two such polynomials or multiplying one by a scalar still produces a polynomial in .
The axioms ensure that there is a zero vector, every vector has an additive inverse, addition is commutative and associative, and scalar multiplication distributes over addition. The key perspective is that the nature of the objects is less important than the linear operations they support.
Takeaway: Vector-space methods apply to many kinds of mathematical objects, not only numerical tuples.
Testing Subspaces
A subset becomes a when it is itself a under the operations inherited from the larger space. A practical test is:
Confirm that the subset is nonempty.
For all in the subset and all scalars , verify that remains in the subset.
This single closure condition guarantees the zero vector and additive inverses as well as closure under addition and scalar multiplication.
Consider
If and satisfy the equation, then
Thus is closed under linear combinations. Solving for gives
so the set can also be described using two generating vectors.
By contrast,
is not a because it does not contain , and scalar multiplication does not preserve the defining equation.
Takeaway: Homogeneous linear conditions typically define subspaces; a nonzero constant on the right-hand side usually prevents a set from being a .
Building Spaces with Spans
A is formed by multiplying given vectors by scalars and adding the results. For vectors , their is
To determine whether a vector belongs to a , solve the coefficient equation
For example, let
Then
so every vector in the satisfies
Indeed, , so it belongs to the . To test another vector, substitute its coordinates into the equation or solve directly for and .
The of any set is a because sums of linear combinations are still linear combinations, and scalar multiples of linear combinations are also linear combinations.
Takeaway: Spanning asks which vectors can be constructed from a given collection; membership is decided by solving a equation.
Recognizing Independence
A set is when the only way to produce the zero vector from its vectors is to use all zero coefficients:
If a nonzero coefficient choice produces the zero vector, the set is dependent. Dependence means that at least one vector is redundant and can be written as a of the others.
For example,
are dependent because
The standard vectors and are independent: if
then both coefficients must be zero.
Useful consequences include:
Any set containing the zero vector is dependent.
Any subset of an independent set is independent.
Any set with more than vectors in is dependent.
In a matrix whose columns are the vectors, independence is equivalent to having a pivot in every column after row reduction.
Takeaway: Independence measures whether a collection contains redundancy.
Constructing Bases
A combines the two central requirements: it spans the space and is . Therefore, a generates every vector without redundancy, and every vector has exactly one representation as a of the vectors.
The standard of is
Every vector satisfies
The polynomial space has , because every polynomial is generated by these elements and the only polynomial identity
for every has .
To extract a from a spanning set, remove redundant vectors until the remaining vectors are independent. In a matrix calculation, row reduction identifies pivot columns. The corresponding columns of the original matrix, not merely the columns of the row-reduced matrix, form a for the column space.
For
the third column is the sum of the first two, so the first and second columns form a for the column space.
Takeaway: A is an efficient generating system: enough vectors to , but no redundant vectors.
Measuring
counts the number of vectors in a . The fact that every of a finite-dimensional has the same number of vectors makes well-defined.
Important examples are
For instance, the four matrix units form a of , so
If has , then:
every independent set in has at most vectors;
every spanning set for has at least vectors;
any set of exactly independent vectors is a ; and
any set of exactly vectors that spans is a .
The zero has , with the empty set as its .
Takeaway: Once the is known, the number of vectors in a candidate set can quickly reveal whether it could be a .
Coordinates in a Chosen
Let be an ordered . Every vector has a unique expression
Its relative to is
For the
and the vector , solve
The resulting equations are
Therefore, and , so
The is not the original vector; it is the list of coefficients used with the chosen ordered . If the vectors are placed as columns of
then
For a of , the matrix is invertible and
Takeaway: To find coordinates, express the vector as a of the ordered and record the coefficients in the same order.
An Integrated Problem-Solving Workflow
The concepts fit together as a systematic workflow for analyzing a or a generated set:
Describe the vectors using equations or parameters.
Rewrite a general vector as a of parameter vectors.
Use those parameter vectors as candidate vectors.
Check that they are .
Count them to obtain the .
Solve a coefficient equation to find coordinates relative to the resulting .
For example, consider
Solving for gives , so
Thus
The three vectors are independent because the first three coordinates force all coefficients to be zero in any equal to the zero vector. They therefore form a , and
For , the coordinates relative to this are immediately visible:
Final checklist: distinguish the space from its subsets, test closure for subspaces, solve coefficient equations for spans and coordinates, test the zero relation for independence, and use spanning plus independence to establish a .