Loading…
A basis gives unique coordinates; dimension records the common size of all bases and provides criteria for spanning and independence.
A spanning list represents every vector in a space, but a dependent list can give several coefficient lists for the same vector. Requiring independence as well as spanning makes each representation unique. A basis combines these two conditions.
Definition 6.5.1
(Basis)
A set of vectors is a basis for a vector space if both conditions hold:
Here the scalars are real and the displayed bases are finite. Fixing an order gives unique coordinates: spanning provides an expression for , and if , subtraction gives . Independence forces for every . Thus existence and uniqueness come from different parts of the definition.
The following sequence separates the two basis conditions: spanning supplies every target, while independence removes redundant representations. Dimension records the common size of a basis; the counting proof comes next.
Follow basis and dimension connect span, independence, stable basis size, and the two-of-three basis shortcut.
Spanning means enough reach
A list such as {u1,u2} spans W when every target x in W can be written as a linear combination of the listed vectors.
Independence removes redundancy
If u3=u1+u2, then adding u3 changes the description but not the span, so the list is too large to be a basis.
Basis means both conditions
A basis is a spanning list that is also linearly independent: large enough to reach W, but not larger than necessary.
Dimension is the stable count
Different bases of the same finite-dimensional space may look different, but they contain the same number of vectors.
Use the two-of-three shortcut
For n vectors in W, any two facts among dim(W)=n, independence, and spanning imply the third.
Shortcut in R3
Once row reduction shows three vectors in R3 are independent, dim(R3)=3 supplies the spanning part automatically.
A basis is exactly enough information: it reaches every vector in the space and contains no redundant direction. Dimension records the stable size of such a list.
Compare a pair of scalar-multiple generators with an independent pair, and identify the span in each case.
Build one vector from a span
Change the coefficients and watch where lands. Try to reach the target .
Coefficients ,
= = = target
Target not reached yet
; the target is still away.
NoticeEvery output vector is built from the horizontal and vertical directions.
The first basis most students meet is the standard basis of :
These vectors are important because each one isolates one coordinate direction.
Worked example 6.5.2
(Why the standard basis of really is a basis)
To show that is a basis for , you must check the two basis conditions.
First, they span . If
then
So every vector in can be built from .
Second, they are linearly independent. If
then comparing coordinates gives
So the only linear relation is the trivial one.
Since both conditions hold, is a basis for .
Once the standard basis is fixed, the coefficients , , and rebuild the vector uniquely.
Different bases can use different vectors. To define dimension, we must first show that their lengths cannot differ:
Theorem 6.5.3
(Every basis of the same space has the same size)
If and are finite bases of the same real vector space , then they contain the same number of vectors.
This statement is what makes dimension well-defined. Without it, the phrase "the number of vectors in a basis" would depend on which basis you picked, and dimension would not be a stable idea.
The reason behind the theorem is the following counting principle.
Theorem 6.5.4
(Too many vectors in a spanned space force dependence)
Suppose spans a vector space . Then any collection of more than vectors in is linearly dependent.
Proof
(Count coefficients before defining dimension)
The goal is to produce a nontrivial relation among vectors , using only the fact that vectors span . Write
The coefficient matrix has rows and columns. Elimination gives at most pivots, so the homogeneous system has a free variable and a nonzero solution . For that solution,
This is the required nontrivial relation. We imposed the coefficient equations as a sufficient condition for the vector sum to vanish. We did not assume the spanning vectors were independent, so we must not infer conversely that every vanishing sum has zero coefficients relative to that list. When , the span is the zero space and any nonempty list in it contains only zero vectors, hence is dependent directly.
Now let the two finite bases have sizes . The first spans and the second is independent, so . Interchanging their roles gives , hence . This uses the earlier homogeneous-system theorem, not dimension itself; therefore defining dimension by basis size is not circular.
Definition 6.5.5
(Dimension)
The dimension of a vector space , written , is the number of vectors in any basis of .
Dimension tells you how many genuinely independent directions the space has.
The zero space is the exceptional case:
Its basis is the empty list: its only linear combination is the empty sum, defined as zero, and it has no nontrivial coefficient relation. The singleton spans the zero space but is dependent, so it is not a basis.
A vector can have three entries while belonging to a space with only two independent directions. The next example separates the ambient coordinate count from the dimension of the subspace.
Worked example 6.5.6
(A basis for a plane inside )
Let
This is the plane inside .
Consider
Every vector in has the form
so and span .
They are also linearly independent, because
forces .
Therefore is a basis for , and
So dimension does not count how many entries a vector happens to have. It counts how many independent directions the space itself contains.
Once you know the dimension of a space, many basis questions become shorter.
If , then:
This is why dimension is powerful. It turns a long two-part basis test into a one-part check when the number of vectors already matches the dimension.
A useful way to package the shortcut is the following three-way criterion. Suppose are vectors in a subspace . Consider the three statements:
If any two of these statements are true, then the third is automatically true, and is a basis for .
This is often the cleanest way to write a solution. Instead of proving both independence and spanning from scratch, you first identify the dimension and then prove whichever of independence or spanning is easier.
Worked example 6.5.7
(Using dimension to avoid a second calculation in )
Let
We want to show that these three vectors form a basis for .
First test linear independence. The equation
has coefficient matrix
Row reduction gives an echelon form with a pivot in every column, for example
Therefore the homogeneous equation has only the trivial solution, and are linearly independent.
Since , three linearly independent vectors in automatically span . Hence the vectors form a basis. The point is that the spanning part is not ignored; it is supplied by the dimension theorem.
A nontrivial zero relation detects redundancy in the given list.
Test one set for dependence
Pick a vector family and read its dependence test. A solution with coefficients not all zero shows dependence.
Holds: the family is linearly independent
Independent. The only way to solve is , so this pair is linearly independent.
NoticeOne nontrivial relation is enough to prove dependence. Independence needs more: the test equation must have only the zero solution.
Theorem 6.5.8
(Extension and reduction consequences)
If , then:
A basis is also an inclusion-minimal spanning set: deleting any member loses spanning, since otherwise that member would be a combination of the others. Conversely, a dependent spanning list can be shortened by the redundancy theorem. A basis is inclusion-maximal among independent lists inside : every further vector already lies in its span. Conversely, if an independent list does not span , appending a vector outside its span preserves independence. These are inclusion statements, not merely guesses from list length.
For a homogeneous system, the dimension shortcut becomes especially concrete. Let be a matrix with rank . Then
An RREF with pivots has free coordinates. Setting one free coordinate to one and the others to zero gives one null-space vector for each free coordinate. Every solution is their combination, and their free coordinates force the coefficients of any zero combination to vanish. This gives the dimension formula, including the empty basis when . Here rank is the pivot count; 6.6 Column space, row space, and rank identifies it with the dimensions of the row and column spaces.
So vectors form a basis for exactly when all three checks hold:
This avoids proving the full set equality directly.
Worked example 6.5.9
(Testing a proposed basis for a null space)
Let
and
First check membership. Direct multiplication gives and , so both vectors lie in .
Next compute the dimension of . A row-reduced form of is
so . Since has four columns,
Finally check independence. Put the proposed vectors into a matrix:
Row reduction gives a pivot in each column, so are linearly independent. We now have membership, the correct dimension count, and independence. Therefore form a basis for .
The failure modes are just as important:
Sometimes the input is not a clean proposed basis. You may be given a long list of vectors and asked for the dimension of its span. The efficient method is to extract a basis from the original list.
Theorem 6.5.10
(Pivot columns give a minimal spanning set)
Let
Row-reduce . If the pivot columns of the reduced matrix occur in positions , then
is a basis for , and .
The positions are read from a row-reduced form, but the basis vectors themselves come from the original list. This is the same rule used for column space.
Worked example 6.5.11
(Extracting a basis from a generating list)
Let , where
Put the vectors into the columns of :
The pivot columns are columns and , so
is a basis for , and . The non-pivot column also tells us the redundancy relation:
Dimension also controls when one subspace can equal another. Suppose is finite-dimensional, is a subspace of , and both use the same real scalars. Then
Moreover,
The containment hypothesis matters. Equal dimension alone does not force two subspaces to be equal. For example, two different lines through the origin in both have dimension 1, but neither line contains the other. The theorem applies when one subspace is already known to sit inside the other.
To see the equality implication, take a basis of . It is an independent list inside of size , so the dimension criterion makes it a basis of too. Its span is both spaces. The finite-dimensional hypothesis is necessary for this counting argument; the earlier infinite polynomial space does not license extending this criterion to arbitrary infinite-dimensional inclusions.
Worked example 6.5.12
(Using dimension to prove equality of subspaces)
Let
and let
Every vector in has third coordinate zero, so . We also know from the earlier plane example that . Since the two displayed generators of are linearly independent, as well.
Thus is a subspace of and both have dimension 2. The comparable-subspace theorem gives .
Common mistake
(Dimension is not just the number of coordinates)
A subspace of can have dimension 0, 1, 2, or 3. The ambient space tells you how many entries vectors have; the dimension tells you how many independent directions the subspace itself has.
Another common mistake is to check spanning and stop there. A spanning set can still fail to be a basis if one vector is redundant.
Quick check
(Can be a basis for ?)
Think about both basis conditions, not just the number of vectors.
No. The two vectors point in the same direction, so they are linearly dependent. They also fail to span the vertical direction. Therefore they are not a basis for .
Quick check
(Suppose and you already found three linearly independent vectors in . What remains to prove?)
Use the dimension shortcut from this note.
Nothing essential remains. In a 3-dimensional space, any three linearly independent vectors automatically form a basis, so they already span .
Quick check
(Do the vectors , , and form a basis for ?)
Try to test independence first. If they are independent, dimension does the rest.
Set
Comparing coordinates gives
Subtract the first two equations to get , so . Then the third equation becomes , so , and therefore too.
So the three vectors are linearly independent. Because has dimension 3, they automatically form a basis for .
This note depends on 6.4 Linear dependence and independence and 6.3 Linear combinations and span.