The vector is three steps along plus two steps along . It is also one step along plus two steps along . Both descriptions are correct, but the numbers mean something only once you know which vectors they multiply and in which order. A basis is a list of reference vectors that describes every vector of a space in exactly one way. This lesson builds bases by removing redundant vectors or adding missing directions, and shows that every basis of a space has the same size, its dimension.
Key terms
Basis
Definition Tuples such as stand for column vectors. Let be a subspace of . A basis of is a list of vectors in that is linearly independent and spans . Spanning means every vector of is a linear combination of the list, and independence means that combination is unique. So a list of vectors in is a basis of exactly when every vector of is a combination of the list in exactly one way. Whether a list is a basis depends on the space it is meant to describe, so always name that space.
In plain words A basis has enough vectors to reach everything in the space and no spare ones.
Example The list , is a basis of . Solving
gives and , exactly one answer for every . Both conditions matter. The list , neither spans nor is independent. Adding makes it span, but it is still dependent. The single vector is independent but spans only the -axis, so it is a basis of the -axis and not of .
Standard basis
Definition For let be the vector in with in entry and in every other entry. The list is the standard basis of . It is a basis because every satisfies
and comparing entries shows that no other coefficients work. The matrix with these columns is the identity matrix , which has a pivot in every column.
In plain words The ordinary entries of a vector are its coordinates relative to the standard basis.
Example In the vector equals . The standard basis of is not a basis of the plane given by . A basis of must consist of vectors in , and none of , , satisfies .
Coordinate vector
Definition An ordered basis of a subspace is a basis whose vectors are taken in a fixed order, written . Each in can be written in exactly one way as , and the coordinate vector of relative to is the column of these coefficients,
It has entries, one for each basis vector, even when itself has entries. For an ordered basis of all of , put the basis vectors in the columns of the matrix . Then . Reordering the basis reorders the coordinates in the same way, while the vector itself does not move.
In plain words Coordinates are the weights on the basis vectors, read in the order of the basis. Only the standard basis gives every vector coordinates equal to its ordinary entries.
Example Let with and . By the basis example, , so has . Multiplying by rebuilds the vector,
In the reversed order the same vector has coordinates . A basis of a plane gives two coordinates even inside . With the ordered basis of the plane , found below, the vector has .
Pruning a spanning list
Definition Let span a subspace of . While the list is dependent, choose a dependence relation and remove one vector whose coefficient in it is nonzero. That vector is a combination of the others, so the shorter list still spans . Each step removes a vector, so after at most steps the list is independent and still spans , which makes it a basis of . In particular every finite spanning list of contains a basis of . In the relations come from elimination on the matrix whose columns are the listed vectors.
In plain words Throw out redundant vectors one at a time, choosing only vectors that a relation shows to be redundant, until no redundancy is left.
Example The vectors , and lie in the plane given by and span it, since every equals . They satisfy . Every coefficient is nonzero, so any one of the three may go. Removing leaves , and is only when . So is a basis of . Removing instead gives a different basis, .
Extending an independent list
Definition Let be linearly independent vectors in a subspace of , and let be a vector of outside . Then the list is still linearly independent. In any relation among the longer list the coefficient of must be zero, since otherwise would lie in the span of the others, and then the independence of the original list makes every other coefficient zero as well. As long as the list does not span , such a exists, so the step can be repeated. It stops after at most steps, because an independent list in has at most vectors, and the result is a basis of that contains the original list.
In plain words Add a direction of the target space that the list cannot reach yet. That never creates a redundancy, and you keep going until the list reaches the whole target space.
Example Here the target space is all of . The independent pair spans only the plane , so it is not yet a basis of . The vector lies outside that span, because , so is independent. It also spans , because
So is a basis of . In this ordered basis the vector has coordinates .
Dimension
Definition Let be a subspace of . If is spanned by vectors, then every linearly independent list in has at most vectors. Consequently any two bases of have the same number of vectors, since each is independent and each spans. This common number is the dimension of , written .
The bound comes from elimination. Write each vector of an independent list in as a combination of the spanning vectors and collect the coefficients as the columns of an matrix . If , some column of has no pivot, since has only rows, so for some nonzero . The combination is the combination of the spanning vectors with coefficients , so it equals . That is a nontrivial relation among independent vectors, which is impossible.
The empty list is independent, since it allows no nontrivial relation, and its span is , since its only combination, the empty sum, equals . So the zero subspace has the empty list as its basis, and . Every subspace of has a basis, obtained by extending the empty list, and , with equality only for . In a list of exactly vectors is a basis as soon as it is independent, and also as soon as it spans.
In plain words Dimension counts independent directions. It belongs to the space, not to the basis you happen to pick, and it can be smaller than the number of entries the vectors have.
Example The plane given by has the basis , so , even though its vectors have three entries. The standard basis gives , and a line through the origin, spanned by one nonzero vector, has dimension . Any three vectors in , such as , must be dependent, because three is more than .
Check yourself
- Let . Find for , check it by rebuilding , and give the coordinates of in the reversed order .
Show the answer
Solve and . Subtracting gives , and then . So , and indeed
In the reversed order the entries swap, giving .
- The vectors , and are linearly independent. Explain why they form a basis of without checking that they span, and find the coordinates of in this ordered basis.
Show the answer
The space has dimension , and in a list of exactly three independent vectors is a basis. Two independent vectors would not be enough, and four vectors would be dependent. For the coordinates, solve
that is , and . The last two give and , so . The coordinates are , and confirms them.
- Let be the plane in , with , and . Is a basis of ? If not, prune it to a basis, state , and then extend your basis to a basis of .
Show the answer
All three vectors satisfy the equation of . But , so the list is dependent and is not a basis. Remove . The combination is zero only when , so is independent. It spans , because a vector of has and therefore
So is a basis of and . To extend, pick a vector outside , such as , since . The list is then independent, and three independent vectors in form a basis. Explicitly,