The first chapters represented responses by number columns, and linear systems exposed free directions. We now separate the operations from that particular representation. Why can whole functions be vectors, and what makes a coordinate description complete and unique?
Abstracting the operations from the objects
So far, pairs of numbers have recorded responses, and arrows have displayed those pairs. What makes a vector abstract? The next step is to set aside its appearance and identify the rules that made our reasoning possible.
Objects, representations, and coefficients are different
In the first chapter’s response model, the object is an entire response. After choosing measurements and units, we record it as a pair such as . We then use coefficients to combine responses. These are three different roles.
Functions provide another example. Take two whole polynomials:
Define addition and scaling point by point:
Then
The result is an entire function, not its value at one particular input or a single point on its graph. Representing by its coefficient pair produces exactly the same combination rules as the earlier number pairs.
A representation must fit its space of objects. Two coefficients completely describe a polynomial of degree at most one, but two samples cannot determine an arbitrary function. The zero function and agree at and without being the same function.
This interactive figure needs JavaScript.
Adjust the coefficients, then switch between the function and coordinate-plane views. The numerical operations stay the same; their interpretation and display change. In the dependent setting, the second function is twice the first, so its constant and linear terms can no longer be controlled independently.
A vector space specifies the rules to preserve
A real vector space consists of a set with addition and real scalar multiplication, both defined and closed within . For any and , the following laws hold:
| Rule | Expression |
|---|---|
| Commutative addition | |
| Associative addition | |
| Zero vector | There is with |
| Additive inverses | Each has with |
| Associative scaling | |
| Identity scalar | |
| Distribution over vector addition | |
| Distribution over scalar addition |
Elements of are called vectors.
This is the abstraction: when the laws hold, the same reasoning applies without being rebuilt separately for arrows, number columns, and polynomials.
For real-valued functions on a fixed domain with pointwise operations, each law reduces to real arithmetic at every input. The zero vector is the zero function, and the additive inverse is the negative function. Polynomials of degree at most one are closed under these operations, so they too form a vector space.
In contrast, RGB colours restricted to components in do not form a real vector space. Additive inverses can leave the range, and sums can exceed its upper bound. Embedding colours in makes them convenient to compute with without making every result a valid colour. Clipping the result introduces a nonlinear operation.
The collection and its operations both matter
A vector space is not determined by the appearance of its elements. Real polynomials of degree at most two form . Polynomials of degree exactly two do not: adding and leaves that collection.
Real matrices of a fixed size also form a vector space under entrywise operations. An matrix has freely chosen entries, but its size must be fixed: arbitrary matrices of different shapes cannot all be added together.
The axioms imply familiar consequences rather than assuming them separately. For example,
Cancellation gives . Similarly, , so multiplication by produces the additive inverse.
No coordinates appeared in these proofs. That is why they apply equally to columns, functions, and matrices.
For the coordinate examples below, retain the first chapter’s vectors:
Why is it a subspace?
A subset of a real vector space is a linear subspace if it contains the zero vector and is closed under addition and real scalar multiplication. Closure means that these operations on elements of stay in . The remaining vector-space laws are inherited from .
The span of finitely many vectors satisfies these conditions.
Choosing all coefficients zero gives the zero vector. If and have coefficients and , then
which is another combination of the original vectors. For any real scalar ,
also remains in the same set.
The span is the smallest subspace containing the given vectors: any subspace containing them must contain their scalar multiples and finite sums, hence all their linear combinations.
The line is not a linear subspace because it misses the origin. Looking like a straight line is not sufficient. The singleton , however, is a subspace.
Applying the subspace test
A nonempty subset of is a subspace precisely when
Zero coefficients supply the zero vector, coefficients give addition, and give scalar multiplication. Conversely, closure under the two operations gives closure under these combinations.
For example, is a subspace. A linear combination of vectors satisfying the homogeneous equation still satisfies it. Solving the condition also gives
so . The same equation provides both a test and a parameterization. Changing its right-hand side to one excludes zero, so the resulting set is not a subspace.
Intersection, sum, and union
The intersection of two subspaces is a subspace: combinations of vectors belonging to both remain in both.
Their union usually is not. The two coordinate axes in a plane are subspaces, but their union excludes . To combine subspaces while retaining linear combinations, use their sum:
It contains zero. Addition and scaling can be regrouped into a part in and a part in , proving closure. It is the smallest subspace containing .
In three dimensions, let be the plane and the plane. Their intersection is the axis and their sum is all of space. Simply adding their dimensions would count the common direction twice.
If , every vector in their sum has a unique decomposition. Two decompositions would give
forcing both sides to vanish. This is a direct sum, written . The plane and axis provide an example; the two planes sharing the axis do not.
Reachability does not guarantee uniqueness
When , the target has multiple representations:
Subtracting gives . Coefficients that are not all zero have cancelled to zero, revealing redundancy between the directions.
Vectors are linearly independent if
forces every coefficient to be zero. They are linearly dependent if some coefficients that are not all zero satisfy the equation.
“Not all zero” does not mean “every coefficient is nonzero.” In a relation involving three or more vectors, some coefficients may be zero. Any family containing the zero vector is dependent: give that vector coefficient and all others coefficient zero.
For a finite family, dependence is equivalent to at least one vector being expressible using the others. In a nontrivial zero combination, choose a nonzero coefficient, rearrange, and divide by it. Conversely, move such an expression to one side to obtain a nontrivial zero combination.
A finite family is linearly independent if and only if every vector in its span has exactly one coefficient representation.
If coefficients and represent the same target, subtraction gives
Independence forces for every .
Conversely, a nontrivial zero combination gives two representations of the zero vector: the all-zero coefficients and the nontrivial coefficients. Representations therefore cannot all be unique.
In fact, if the family is dependent, every reachable target has infinitely many real coefficient representations. Add any real multiple of a nontrivial zero combination to an existing coefficient list; the target does not change. Unreachable targets still have no representation.
A basis: coverage without redundancy
A family is a basis of a space if it spans and is linearly independent.
The conditions have separate jobs: spanning gives existence of a representation, while independence gives uniqueness. After ordering the basis vectors, each vector has a unique coefficient column, its coordinates in that basis.
The standard vectors and form a basis of the plane. So do our and : the coefficients found for an arbitrary target both exist and are unique. Basis vectors need not follow the coordinate axes, have unit length, or be perpendicular. For example, and also form a basis: an arbitrary has unique coefficients .
The same vector has standard coordinates and coordinates in the ordered basis :
The vector is unchanged; the reference used to describe it has changed. A later treatment of change of basis will formalize this relationship.
The number of vectors in a basis of a finite-dimensional space is its dimension. The next section proves that all bases have the same length. Here the plane has dimension two, while the line spanned by a nonzero vector has dimension one. The zero subspace has the empty family as a basis and dimension zero, with the empty linear combination defined to be zero.
Why dimension does not depend on the basis
The key fact is that an independent family cannot be longer than a finite spanning family of the same space.
Let be independent and let span the space. Express using the . At least one coefficient is nonzero. Solve for that and replace it by without losing the spanning property.
Next introduce . Independence prevents it from being a combination of alone, so at least one remaining has a nonzero coefficient and can be replaced. Each independent vector consumes one position from the original spanning family. At most replacements are possible, giving .
Apply this inequality to two bases in both directions. Their lengths agree, making dimension a property of the space rather than the chosen basis.
How elimination measures dimension
Let have columns and pivots after elimination. Row operations left-multiply by an invertible matrix , so for every coefficient column ,
Column relations are therefore preserved. Echelon-form pivot columns are independent and span its other columns, so the corresponding original columns form a basis of the original column space. Row operations may change the column space itself; the transformed columns are not generally a basis of the original space.
The column-space dimension, or rank, is therefore . The homogeneous system has free variables. Setting these to successive standard basis vectors produces independent solution directions spanning the nullspace. Hence
The traffic system has five input coordinates and rank three, leaving a two-dimensional nullspace. Its nonhomogeneous solution set is a translate of that space; writing it as a particular solution plus directions does not make it a vector subspace.
Extracting a basis from generators
A spanning family may contain redundant vectors. Removing a vector expressible through the others preserves its span. Repeated removal from a finite spanning family eventually gives a basis. Conversely, adjoining a vector outside the span of an independent family preserves independence. In finite dimensions this extends the family to a basis.
For computation, place the generators in columns. For example,
The first two columns are pivot columns. Take the original columns
as a basis of the column space. Since , removing column three loses no reachable output.
For the row space, the nonzero echelon rows do form a basis: reversible row operations preserve the span of the rows themselves. Here these are and . Distinguish this rule from selecting original pivot columns for the column space.
Computing a nullspace basis
The homogeneous system becomes
Set to obtain
Thus is a basis of the nullspace. A column-space basis describes reachable outputs; a nullspace basis describes input changes invisible in the output. They answer different questions.
With several free variables, set one to one and the rest to zero in turn, recovering the complete solution each time. These directions are independent because their free coordinates are standard basis vectors, and they span because they realize every possible free-coordinate choice.
Counting common directions once
Finite-dimensional subspaces satisfy
Choose a basis of the intersection. Extend it to bases of and of . Combining these with only one copy of the intersection basis spans .
To check independence, suppose a combination vanishes. Move the terms to the other side; their sum belongs to both and , hence to the intersection. Independence of forces every coefficient to vanish. Independence of the basis of then forces the remaining coefficients to vanish. Counting the combined basis proves the formula.
Exercises
Are , , and independent? Every pair is nonparallel; does that contradict your answer?
Solution
They are dependent because . Pairwise nonparallel vectors rule out scalar-multiple relations between pairs, but a larger family may still contain redundancy.
Which subsets of are linear subspaces: the line , the line , and the set ?
Solution
The first line is , hence a subspace. The second misses the origin. The last set is the union of the coordinate axes; it contains the origin but is not closed under addition, since lies outside it.
In the real vector space of polynomials of degree at most one, prove that and form a basis.
Solution
For any , compare coefficients in
The unique solution is
Every polynomial has a unique representation, so these two polynomials form a basis. The vectors are polynomials; the scalars remain real numbers.
For the chapter’s matrix , column three is the sum of the first two. Why does this not make the first two dependent? Give a nullspace basis.
Solution
The first two are not scalar multiples: their second entries are zero and one, with the first column nonzero. The three-column relation gives . Elimination leaves one free variable, so this vector is a nullspace basis.
Let and . Is ?
Solution
If belongs to , its third component forces . Also , so every vector has a decomposition and the trivial intersection makes it unique.
Comments