Subspace spanned by a set
If is any subset of a vector space define the subspace spanned or generated by , denoted , as the set of allfinite linear combinations of elements of ,
The word ‘finite’ is emphasized here because no meaning can be attached to infinite sums until we have available the concept of‘limit’ (see Chapters 10 and 13). We may think of as the intersection ofall subspaces of that contain – essentially, it is the ‘smallest’ vector subspace containing . At first sight the notation whereby the indices on the coefficients of the linear combinations have been set in the superscript position may seem a little peculiar, but we will eventually see that judicious and systematic placements of indices can make many expressions much easier to manipulate.
If and are subspaces of show that their sum is identical with the span of their union,
The vector space is said to be finite dimensional [7] if it can be spanned by a finite set, , where . Otherwise we say is infinite dimensional. When is finite dimensional its dimension, , is defined to be the smallest number such that is spanned by a set consisting ofjust vectors.
is finite dimensional, since it can be generated by the set of‘unit vectors’,
Since any vector can be written
these vectors span , and . We will see directly that , as to be expected.
is clearly infinite dimensional. It is not even possible to span this space with the set of vectors , where
The reason is that any finite linear combination ofthese vectors will only give rise to vectors having at most a finite number of non-zero components. The set of all those vectors tha are finite linear combinations of vectors from does in fact form an infinite dimensiona subspace of , but it is certainly not the whole space. The space spanned by is precisely the subspace defined in Example 3.10.
If is a vector space and is any non-zero vector show that if and only if every vector is proportional to ; i.e., for some
Show that the set of functions on the real line, , is an infinite dimensional vector space.
Basis of a vector space
A set of vectors is said to be linearly independent, often written ‘l.i.’ , if every finite subset of vectors has the property that
In other words, the zero vector 0 cannot be written as a non-trivial linear combination of these vectors. The zero vector can never be a member of a l.i. set since for any . If is a finite set ofvectors, , it is sufficient to set in the above definition. A subset ofa vector space is called a basis ifit is linearly independen and spans the whole of . A set of vectors is said to be linearly dependent if it is not l.i.
The set of vectors span since every vector can be expressed as a linear combination
They are linearly independent, for if then we must have . Hence is a basis of
Show that the vectors are l.i. and form a basis of
It is perhaps surprising to learn that even infinite dimensional vector space such as always has a basis. Just try and construct a basis! The set clearly won’ do, since any vector having an infinite number of non-zero components cannot be a finite linear combination of these vectors. We omit the proof as it is heavily dependent on Zorn’s lemma and such bases are only of limited use. For the rest of this section we only consider bases in finite dimensional spaces.
Let be afinite dimensional vector space ofdimension . A subset spans ifand only ifit is linearly independent
Proof
Only if: Assume , so that every vector is a linear combination
The set is then linearly independent, for suppose there exists a vanishing linear combi nation
where, say, . Replacing by where , we find
Thus spans , contradicting the initial hypothesis that cannot be spanned by a set of fewer than vectors on account of
If: Assume is linearly independent. Our aim is to show that it spans all of . Since there must exist a set of exactly vectors spanning . By the above argument this set is l.i. Expand in terms of the vectors from ,
where, by a permutation of the vectors of the basis , we may assume that . The set is a basis for :
(a) is linearly independent, for if there were a vanishing linear combination
then substituting Eq. (3.4) gives
By linear independence of and it follows that , and subsequently that
(b) The set spans the vector space since by Eq. (3.4)
and every must be a linear combination of since it is spanned by
Continuing, must be a unique linear combination
Since, by hypothesis, and are linearly independent, at least one of the coefficients must be non-zero, say . Repeating the above argument we see that the set is a basis for . Continue the process times to prove that is a basis for . -
If is a basis ofthe vector space then
Proof
Suppose that . The set of vectors is l.i., since it is a subset of the l.i. set . Hence, by Theorem 3.3 it spans , since it consists of exactly vectors. But this is impossible since, for example, the vector cannot be a linear combination of the vectors in . Hence we must have . However, by the definition of dimension it is impossible to have hence -
Show that if is an l.i. set of vectors then
Let be a finite dimensional vector space, . If is a basis of then each vector has a unique decomposition
The scalars are called the components ofthe vector with respect to this basis.
Proof
Since the span , every vector has a decomposition of the form Eq. (3.5). If there were a second such decomposition,
then
Since the are linearly independent, each coefficient ofthis sum must vanish, Hence , and the decomposition is unique.
If and are finite dimensional then they are isomorphic if and only if they have the same dimension.
Proof
Suppose and have the same dimension . Let be a basis of and a basis of , where . Set to be the linear map defined by . This map extends uniquely to all vectors in by linearity,
and is clearly one-to-one and onto. Thus is an isomorphism between and
Conversely suppose and are isomorphic vector spaces, and let be a linear map having inverse . If is a basis of , we show that is a basis of
(a) The vectors are linearly independent, for suppose there exist scalars such that
Then,
and from the linear independence of it follows that
(b) To show that the vectors span let be any vector in and set
Since spans there exist scalars such that
Applying the map to this equation results in
which shows that the set spans
By Corollary 3.4 it follows that since both vector spaces have a basis consisting of vectors. -
By Corollary 3.4 the space is -dimensional since, as shown in Example 3.19, the set is a basis. Using Theorem 3.6 every -dimensional vector space over the field is isomorphic to , which may be though of as the archetypical -dimensional vector space over . Every basis of establishes an isomorphism defined by
Example 3.20 may lead the reader to wonder why we bother at all with the abstract vector space machinery of Section 3.2, when all properties of a finite dimensional vector space could be referred to the space by simply picking a basis. This would, however, have some unfortunate consequences. Firstly, there are infinitely many bases of the vector space , each of which gives rise to a different isomorphism between and . There is nothing natural in the correspondence between the two spaces, since there is no genera way of singling out a preferred basis for the vector space . Furthermore, any vector space concept should ideally be given a basis-independent definition, else we are always faced with the task of showing that it is independent of the choice of basis. For these reasons we will persevere with the ‘invariant’ approach to vector space theory.
Matrix of a linear operator
Let be a linear operator on a finite dimensional vector space . Given a basis of define the components of the linear operator with respect to this basis by setting
By Theorem 3.5 the components are uniquely defined by these equations, and the square matrix is called the matrix of with respect to the basis . It is usua to take the superscript as the ‘first’ index, labelling rows, while the subscript labels the columns, and for this reason it is generally advisable to leave some horizontal spacing between these two indices. In Section 2.3 the components of a matrix were denoted by subscripted symbols such as , but in general vector spaces it is a good idea to display the components of a matrix representing a linear operator in this ‘mixed script notation.
If is an arbitrary vector of then its image vector is given by
and the components of are given by
If we write the components of and as column vectors or matrices, and
then Eq. (3.7) is the componentwise representation of the matrix equation
The matrix of the composition of two operators is given by
where
This can be recognized as the componentwise formula for the matrix product .
Care should be taken when reading off the components of the matrix from Eq. (3.6) as it is very easy to come up mistakenly with the ‘transpose’ array. For example, if a transformation of a three-dimensional vector space is defined by its effect on a basis
, , ,
then its matrix with respect to this basis is
The result of applying to a vector is
which can also be obtained by multiplying the matrix and the column vector
If is a transformation given by
whose matrix with respect to this basis is
the product of these two transformations is found from
Thus the matrix of is the matrix product of and ,
In Example 3.21 compute by calculating and also by evaluating the matrix product of and .
If is a finite dimensional vector space, , over the field , show that the group oflinear transformations of is isomorphic to the matrix group ofinvertible matrices,
Basis extension theorem
While specific bases should not be used in general definitions of vector space concepts if at all possible, there are specific instances when the singling out of a basis can prove of great benefit. The following theorem is often useful, in that it allows us to extend any l.i. set to a basis. In particular, it implies that if is any non-zero vector, one can always find a basis such that
Let be any l.i. subset of , where Then there exists a basis of such that
Proof
If then by Theorem 3.3 the set is a basis of and there is nothing to show. Assuming , we set . By Corollary 3.4 the set cannot span since it consists of fewer than elements, and there must exist a vector that is not a linear combination of . The set is l.i., for if
then we must have , else would be a linear combination of . The linear independence of then implies that continue adding vectors that are linearly independent of those going before, until we arrive at a set , which is l.i. and has elements. This set must be a basis and the process can be continued no further. -
The following examples illustrate how useful this theorem can be in applications.
Let be a -dimensional vector subspace ofa vector space ofdimension . We will demonstrate that the dimension ofthe factor space , known as the codimen sion of , is . By Theorem 3.7 it is possible to find a basis of such that the first vectors are a basis of . Then forms a basis for since every coset can be written
where is the unique expansion given by Theorem 3.5. These cosets therefore span . They are also l.i., for if
then , which implies that there exist such that
By the linear independence of we have that . The desired result now follows,
Let be a linear operator on a finite dimensional vector space . Define its rank to be the dimension of its image , and its nullity to be the dimension of its kernel ,
By Theorem 3.7 there exists a basis of such that the first vectors form a basis of such that . For any vector
and ). Furthermore the vectors are l.i., for if there were a non-trivial linear combination
then , which is only possible if all . Hence , so that
Problems
Show that the vectors and in are linearly dependent iff . In , show that the vectors and are linearly dependent if or
Generalize these statements to dimensions.
Let and be any vector spaces, which are possibly infinite dimensional, and a linear map. Show that if is a l.i. subset of , then is a linearly independent subset of .
Let and be finite dimensional vector spaces of dimensions and respectively, and a linear map. Given a basis of and a basis of , show that the equations
serve to uniquely define the matrix of components of the linear map with respec to these bases.
If is an arbitrary vector of show that the components ofits image vector are given by
Write this as a matrix equation.
Let be a four-dimensional vector space and a linear operator whose effect on a basis is
Find a basis for and and calculate the rank and nullity of .