Section LISS  Linear Independence and Spanning Sets

From A First Course in Linear Algebra
Version 2.20
© 2004.
Licensed under the GNU Free Documentation License.
http://linear.ups.edu/

A vector space is defined as a set with two operations, meeting ten properties (Definition VS). Just as the definition of span of a set of vectors only required knowing how to add vectors and how to multiply vectors by scalars, so it is with linear independence. A definition of a linear independent set of vectors in an arbitrary vector space only requires knowing how to form linear combinations and equating these with the zero vector. Since every vector space must have a zero vector (Property Z), we always have a zero vector at our disposal.

In this section we will also put a twist on the notion of the span of a set of vectors. Rather than beginning with a set of vectors and creating a subspace that is the span, we will instead begin with a subspace and look for a set of vectors whose span equals the subspace.

The combination of linear independence and spanning will be very important going forward.

Subsection LI: Linear Independence

Our previous definition of linear independence (Definition LI) employed a relation of linear dependence that was a linear combination on one side of an equality and a zero vector on the other side. As a linear combination in a vector space (Definition LC) depends only on vector addition and scalar multiplication, and every vector space must have a zero vector (Property Z), we can extend our definition of linear independence from the setting of m to the setting of a general vector space V with almost no changes. Compare these next two definitions with Definition RLDCV and Definition LICV.

Definition RLD
Relation of Linear Dependence
Suppose that V is a vector space. Given a set of vectors S = u1,u2,u3,,un, an equation of the form

α1u1 + α2u2 + α3u3 + + αnun = 0

is a relation of linear dependence on S. If this equation is formed in a trivial fashion, i.e. αi = 0, 1 i n, then we say it is a trivial relation of linear dependence on S.

Definition LI
Linear Independence
Suppose that V is a vector space. The set of vectors S = u1,u2,u3,,un from V is linearly dependent if there is a relation of linear dependence on S that is not trivial. In the case where the only relation of linear dependence on S is the trivial one, then S is a linearly independent set of vectors.

Notice the emphasis on the word “only.” This might remind you of the definition of a nonsingular matrix, where if the matrix is employed as the coefficient matrix of a homogeneous system then the only solution is the trivial one.

Example LIP4
Linear independence in P4
In the vector space of polynomials with degree 4 or less, P4 (Example VSP) consider the set

S = 2x4 + 3x3 + 2x2 x + 10, x4 2x3 + x2 + 5x 8,2x4 + x3 + 10x2 + 17x 2 .

Is this set of vectors linearly independent or dependent? Consider that

3 2x4 + 3x3 + 2x2 x + 10 + 4 x4 2x3 + x2 + 5x 8 + (1) 2x4 + x3 + 10x2 + 17x 2 = 0x4 + 0x3 + 0x2 + 0x + 0 = 0

This is a nontrivial relation of linear dependence (Definition RLD) on the set S and so convinces us that S is linearly dependent (Definition LI).

Now, I hear you say, “Where did those scalars come from?” Do not worry about that right now, just be sure you understand why the above explanation is sufficient to prove that S is linearly dependent. The remainder of the example will demonstrate how we might find these scalars if they had not been provided so readily. Let’s look at another set of vectors (polynomials) from P4. Let

T = 3x4 2x3 + 4x2 + 6x 1, 3x4 + 1x3 + 0x2 + 4x + 2, 4x4 + 5x3 2x2 + 3x + 1,2x4 7x3 + 4x2 + 2x + 1

Suppose we have a relation of linear dependence on this set,

0 = 0x4 + 0x3 + 0x2 + 0x + 0 = α1 3x4 2x3 + 4x2 + 6x 1 + α 2 3x4 + 1x3 + 0x2 + 4x + 2 + α3 4x4 + 5x3 2x2 + 3x + 1 + α 4 2x4 7x3 + 4x2 + 2x + 1

Using our definitions of vector addition and scalar multiplication in P4 (Example VSP), we arrive at,

0x4 + 0x3 + 0x2 + 0x + 0 = 3α 1 3α2 + 4α3 + 2α4 x4 + 2α 1 + α2 + 5α3 7α4 x3 + 4α1 + 2α3 + 4α4 x2 + 6α 1 + 4α2 + 3α3 + 2α4 x + α1 + 2α2 + α3 + α4 .

Equating coefficients, we arrive at the homogeneous system of equations,

3α1 3α2 + 4α3 + 2α4 = 0 2α1 + α2 + 5α3 7α4 = 0 4α1 + 2α3 + 4α4 = 0 6α1 + 4α2 + 3α3 + 2α4 = 0 α1 + 2α2 + α3 + α4 = 0

We form the coefficient matrix of this homogeneous system of equations and row-reduce to find

1000 0 0 0 0 010 0 0 0 1 0 000

We expected the system to be consistent (Theorem HSC) and so can compute n r = 4 4 = 0 and Theorem CSRN tells us that the solution is unique. Since this is a homogeneous system, this unique solution is the trivial solution (Definition TSHSE), α1 = 0, α2 = 0, α3 = 0, α4 = 0. So by Definition LI the set T is linearly independent.

A few observations. If we had discovered infinitely many solutions, then we could have used one of the non-trivial ones to provide a linear combination in the manner we used to show that S was linearly dependent. It is important to realize that it is not interesting that we can create a relation of linear dependence with zero scalars — we can always do that — but that for T, this is the only way to create a relation of linear dependence. It was no accident that we arrived at a homogeneous system of equations in this example, it is related to our use of the zero vector in defining a relation of linear dependence. It is easy to present a convincing statement that a set is linearly dependent (just exhibit a nontrivial relation of linear dependence) but a convincing statement of linear independence requires demonstrating that there is no relation of linear dependence other than the trivial one. Notice how we relied on theorems from Chapter SLE to provide this demonstration. Whew! There’s a lot going on in this example. Spend some time with it, we’ll be waiting patiently right here when you get back.

Example LIM32
Linear independence in M32
Consider the two sets of vectors R and S from the vector space of all 3 × 2 matrices, M32 (Example VSM)

R = 31 1 4 6 6 , 2 3 1 3 2 6 , 6 61 0 7 9 , 7 9 4 5 2 5 S = 2 0 1 1 1 3 , 4 0 2 2 2 6 , 1 12 1 2 4 , 5310 7 2 0

One set is linearly independent, the other is not. Which is which? Let’s examine R first. Build a generic relation of linear dependence (Definition RLD),

α1 31 1 4 6 6 +α2 2 3 1 3 2 6 +α3 6 61 0 7 9 +α4 7 9 4 5 2 5 = 0

Massaging the left-hand side with our definitions of vector addition and scalar multiplication in M32 (Example VSM) we obtain,

3α1 2α2 + 6α3 + 7α41α1 + 3α2 6α3 + 9α4 1α1 + 1α2 α3 4α4 4α1 3α2 + 5α4 6α1 2α2 + 7α3 + 2α4 6α1 6α2 9α3 + 5α4 = 00 0 0 0 0

Using our definition of matrix equality (Definition ME) and equating corresponding entries we get the homogeneous system of six equations in four variables,

3α1 2α2 + 6α3 + 7α4 = 0 1α1 + 3α2 6α3 + 9α4 = 0 1α1 + 1α2 α3 4α4 = 0 4α1 3α2 + 5α4 = 0 6α1 2α2 + 7α3 + 2α4 = 0 6α1 6α2 9α3 + 5α4 = 0

Form the coefficient matrix of this homogeneous system and row-reduce to obtain

1000 0 0 0 0 010 0 0 0 1 0 000 0 0 0 0

Analyzing this matrix we are led to conclude that α1 = 0, α2 = 0, α3 = 0, α4 = 0. This means there is only a trivial relation of linear dependence on the vectors of R and so we call R a linearly independent set (Definition LI).

So it must be that S is linearly dependent. Let’s see if we can find a non-trivial relation of linear dependence on S. We will begin as with R, by constructing a relation of linear dependence (Definition RLD) with unknown scalars,

α1 2 0 1 1 1 3 +α2 4 0 2 2 2 6 +α3 1 12 1 2 4 +α4 5310 7 2 0 = 0

Massaging the left-hand side with our definitions of vector addition and scalar multiplication in M32 (Example VSM) we obtain,

2α1 4α2 + α3 5α4 α3 + 3α4 α1 2α2 2α3 10α4α1 + 2α2 + α3 + 7α4 α1 2α2 + 2α3 + 2α4 3α1 6α2 + 4α3 = 00 0 0 0 0

Using our definition of matrix equality (Definition ME) and equating corresponding entries we get the homogeneous system of six equations in four variables,

2α1 4α2 + α3 5α4 = 0 + α3 + 3α4 = 0 α1 2α2 2α3 10α4 = 0 α1 + 2α2 + α3 + 7α4 = 0 α1 2α2 + 2α3 + 2α4 = 0 3α1 6α2 + 4α3 = 0

Form the coefficient matrix of this homogeneous system and row-reduce to obtain

1204 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Analyzing this we see that the system is consistent (we expected this since the system is homogeneous, Theorem HSC) and has n r = 4 2 = 2 free variables, namely α2 and α4. This means there are infinitely many solutions, and in particular, we can find a non-trivial solution, so long as we do not pick all of our free variables to be zero. The mere presence of a nontrivial solution for these scalars is enough to conclude that S is a linearly dependent set (Definition LI). But let’s go ahead and explicitly construct a non-trivial relation of linear dependence.

Choose α2 = 1 and α4 = 1. There is nothing special about this choice, there are infinitely many possibilities, some “easier” than this one, just avoid picking both variables to be zero. Then we find the corresponding dependent variables to be α1 = 2 and α3 = 3. So the relation of linear dependence,

(2) 2 0 1 1 1 3 +(1) 4 0 2 2 2 6 +(3) 1 12 1 2 4 +(1) 5310 7 2 0 = 00 0 0 0 0

is an iron-clad demonstration that S is linearly dependent. Can you construct another such demonstration?

Example LIC
Linearly independent set in the crazy vector space
Is the set R = (1,0),(6,3) linearly independent in the crazy vector space C (Example CVS)? We begin with an arbitrary relation of linear independence on R

0 = a1(1,0) + a2(6,3)  Definition RLD

and then massage it to a point where we can apply the definition of equality in C. Recall the definitions of vector addition and scalar multiplication in C are not what you would expect.

(1, 1) = 0  Example CVS = a1(1,0) + a2(6,3)  Definition RLD = (1a1 + a1 1,0a1 + a1 1) + (6a2 + a2 1,3a2 + a2 1) Example CVS = (2a1 1,a1 1) + (7a2 1,4a2 1) = (2a1 1 + 7a2 1 + 1,a1 1 + 4a2 1 + 1)  Example CVS = (2a1 + 7a2 1,a1 + 4a2 1)

Equality in C (Example CVS) then yields the two equations,

2a1 + 7a2 1 = 1 a1 + 4a2 1 = 1

which becomes the homogeneous system

2a1 + 7a2 = 0 a1 + 4a2 = 0

Since the coefficient matrix of this system is nonsingular (check this!) the system has only the trivial solution a1 = a2 = 0. By Definition LI the set R is linearly independent. Notice that even though the zero vector of C is not what we might first suspected, a question about linear independence still concludes with a question about a homogeneous system of equations. Hmmm.

Subsection SS: Spanning Sets

In a vector space V , suppose we are given a set of vectors S V . Then we can immediately construct a subspace, S, using Definition SS and then be assured by Theorem SSS that the construction does provide a subspace. We now turn the situation upside-down. Suppose we are first given a subspace W V . Can we find a set S so that S = W? Typically W is infinite and we are searching for a finite set of vectors S that we can combine in linear combinations and “build” all of W.

I like to think of S as the raw materials that are sufficient for the construction of W. If you have nails, lumber, wire, copper pipe, drywall, plywood, carpet, shingles, paint (and a few other things), then you can combine them in many different ways to create a house (or infinitely many different houses for that matter). A fast-food restaurant may have beef, chicken, beans, cheese, tortillas, taco shells and hot sauce and from this small list of ingredients build a wide variety of items for sale. Or maybe a better analogy comes from Ben Cordes — the additive primary colors (red, green and blue) can be combined to create many different colors by varying the intensity of each. The intensity is like a scalar multiple, and the combination of the three intensities is like vector addition. The three individual colors, red, green and blue, are the elements of the spanning set.

Because we will use terms like “spanned by” and “spanning set,” there is the potential for confusion with “the span.” Come back and reread the first paragraph of this subsection whenever you are uncertain about the difference. Here’s the working definition.

Definition TSVS
To Span a Vector Space
Suppose V is a vector space. A subset S of V is a spanning set for V if S = V . In this case, we also say S spans V .

The definition of a spanning set requires that two sets (subspaces actually) be equal. If S is a subset of V , then S V , always. Thus it is usually only necessary to prove that V S. Now would be a good time to review Definition SE.

Example SSP4
Spanning set in P4
In Example SP4 we showed that

W = p(x)p P4,p(2) = 0

is a subspace of P4, the vector space of polynomials with degree at most 4 (Example VSP). In this example, we will show that the set

S = x 2,x2 4x + 4,x3 6x2 + 12x 8,x4 8x3 + 24x2 32x + 16

is a spanning set for W. To do this, we require that W = S. This is an equality of sets. We can check that every polynomial in S has x = 2 as a root and therefore S W. Since W is closed under addition and scalar multiplication, S W also.

So it remains to show that W S (Definition SE). To do this, begin by choosing an arbitrary polynomial in W, say r(x) = ax4 + bx3 + cx2 + dx + e W. This polynomial is not as arbitrary as it would appear, since we also know it must have x = 2 as a root. This translates to

0 = a(2)4 + b(2)3 + c(2)2 + d(2) + e = 16a + 8b + 4c + 2d + e

as a condition on r.

We wish to show that r is a polynomial in S, that is, we want to show that r can be written as a linear combination of the vectors (polynomials) in S. So let’s try.

r(x) = ax4 + bx3 + cx2 + dx + e = α1 x 2 + α2 x2 4x + 4 + α 3 x3 6x2 + 12x 8 + α4 x4 8x3 + 24x2 32x + 16 = α4x4 + α 3 8α4 x3 + α 2 6α3 + 24α2 x2 + α1 4α2 + 12α3 32α4 x + 2α1 + 4α2 8α3 + 16α4

Equating coefficients (vector equality in P4) gives the system of five equations in four variables,

α4 = a α3 8α4 = b α2 6α3 + 24α2 = c α1 4α2 + 12α3 32α4 = d 2α1 + 4α2 8α3 + 16α4 = e

Any solution to this system of equations will provide the linear combination we need to determine if r S, but we need to be convinced there is a solution for any values of a,b,c,d,e that qualify r to be a member of W. So the question is: is this system of equations consistent? We will form the augmented matrix, and row-reduce. (We probably need to do this by hand, since the matrix is symbolic — reversing the order of the first four rows is the best way to start). We obtain a matrix in reduced row-echelon form

1000 32a + 12b + 4c + d 0 100 24a + 6b + c 0 010 8a + b 0 0 0 a 0 00016a + 8b + 4c + 2d + e = 100032a + 12b + 4c + d 0 100 24a + 6b + c 0 010 8a + b 0 0 0 a 0 000 0

For your results to match our first matrix, you may find it necessary to multiply the final row of your row-reduced matrix by the appropriate scalar, and/or add multiples of this row to some of the other rows. To obtain the second version of the matrix, the last entry of the last column has been simplified to zero according to the one condition we were able to impose on an arbitrary polynomial from W. So with no leading 1’s in the last column, Theorem RCLS tells us this system is consistent. Therefore, any polynomial from W can be written as a linear combination of the polynomials in S, so W S. Therefore, W = S and S is a spanning set for W by Definition TSVS.

Notice that an alternative to row-reducing the augmented matrix by hand would be to appeal to Theorem FS by expressing the column space of the coefficient matrix as a null space, and then verifying that the condition on r guarantees that r is in the column space, thus implying that the system is always consistent. Give it a try, we’ll wait. This has been a complicated example, but worth studying carefully.

Given a subspace and a set of vectors, as in Example SSP4 it can take some work to determine that the set actually is a spanning set. An even harder problem is to be confronted with a subspace and required to construct a spanning set with no guidance. We will now work an example of this flavor, but some of the steps will be unmotivated. Fortunately, we will have some better tools for this type of problem later on.

Example SSM22
Spanning set in M22
In the space of all 2 × 2 matrices, M22 consider the subspace

Z = ab c d a + 3b c 5d = 0, 2a 6b + 3c + 14d = 0

and find a spanning set for Z.

We need to construct a limited number of matrices in Z so that every matrix in Z can be expressed as a linear combination of this limited number of matrices. Suppose that B = ab c d is a matrix in Z. Then we can form a column vector with the entries of B and write

a b c d N1 3 152 6 3 14

Row-reducing this matrix and applying Theorem REMES we obtain the equivalent statement,

a b c d N1301 0 0 4

We can then express the subspace Z in the following equal forms,

Z = ab c d a + 3b c 5d = 0, 2a 6b + 3c + 14d = 0 = ab c d a + 3b d = 0,c + 4d = 0 = ab c d a = 3b + d,c = 4d = 3b + db 4d d b,d = 3bb 0 0 + d 04d d b,d = b 31 0 0 + d 1 04 1 b,d = 31 0 0 , 1 04 1

So the set

Q = 31 0 0 , 1 04 1

spans Z by Definition TSVS.

Example SSC
Spanning set in the crazy vector space
In Example LIC we determined that the set R = (1,0),(6,3) is linearly independent in the crazy vector space C (Example CVS). We now show that R is a spanning set for C.

Given an arbitrary vector (x,y) C we desire to show that it can be written as a linear combination of the elements of R. In other words, are there scalars a1 and a2 so that

(x,y) = a1(1,0) + a2(6,3)

We will act as if this equation is true and try to determine just what a1 and a2 would be (as functions of x and y).

(x,y) = a1(1,0) + a2(6,3) = (1a1 + a1 1,0a1 + a1 1) + (6a2 + a2 1,3a2 + a2 1) Scalar mult in C = (2a1 1,a1 1) + (7a2 1,4a2 1) = (2a1 1 + 7a2 1 + 1,a1 1 + 4a2 1 + 1)  Addition in C = (2a1 + 7a2 1,a1 + 4a2 1)

Equality in C then yields the two equations,

2a1 + 7a2 1 = x a1 + 4a2 1 = y

which becomes the linear system with a matrix representation

27 1 4 a1 a2 = x + 1 y + 1

The coefficient matrix of this system is nonsingular, hence invertible (Theorem NI), and we can employ its inverse to find a solution (Theorem TTMI, Theorem SNCM),

a1 a2 = 27 1 4 1 x + 1 y + 1 = 4 71 2 x + 1 y + 1 = 4x 7y 3x + 2y + 1

We could chase through the above implications backwards and take the existence of these solutions as sufficient evidence for R being a spanning set for C. Instead, let us view the above as simply scratchwork and now get serious with a simple direct proof that R is a spanning set. Ready? Suppose (x,y) is any vector from C, then compute the following linear combination using the definitions of the operations in C,

(4x 7y 3)(1,0) + (x + 2y + 1)(6,3) = 1(4x 7y 3) + (4x 7y 3) 1,0(4x 7y 3) + (4x 7y 3) 1 + 6(x + 2y + 1) + (x + 2y + 1) 1,3(x + 2y + 1) + (x + 2y + 1) 1 = (8x 14y 7,4x 7y 4) + (7x + 14y + 6, 4x + 8y + 3) = ((8x 14y 7) + (7x + 14y + 6) + 1,(4x 7y 4) + (4x + 8y + 3) + 1) = (x,y)

This final sequence of computations in C is sufficient to demonstrate that any element of C can be written (or expressed) as a linear combination of the two vectors in R, so C R. Since the reverse inclusion R C is trivially true, C = R and we say R spans C (Definition TSVS). Notice that this demonstration is no more or less valid if we hide from the reader our scratchwork that suggested a1 = 4x 7y 3 and a2 = x + 2y + 1.

Subsection VR: Vector Representation

In Chapter R we will take up the matter of representations fully, where Theorem VRRB will be critical for Definition VR. We will now motivate and prove a critical theorem that tells us how to “represent” a vector. This theorem could wait, but working with it now will provide some extra insight into the nature of linearly independent spanning sets. First an example, then the theorem.

Example AVR
A vector representation
Consider the set

S = 7 5 1 , 6 5 0 , 12 7 4

from the vector space 3. Let A be the matrix whose columns are the set S, and verify that A is nonsingular. By Theorem NMLIC the elements of S form a linearly independent set. Suppose that b 3. Then SA,b has a (unique) solution (Theorem NMUS) and hence is consistent. By Theorem SLSLC, b S. Since b is arbitrary, this is enough to show that S = 3, and therefore S is a spanning set for 3 (Definition TSVS). (This set comes from the columns of the coefficient matrix of Archetype B.)

Now examine the situation for a particular choice of b, say b = 33 24 5 . Because S is a spanning set for 3, we know we can write b as a linear combination of the vectors in S,

33 24 5 = (3) 7 5 1 +(5) 6 5 0 +(2) 12 7 4 .

The nonsingularity of the matrix A tells that the scalars in this linear combination are unique. More precisely, it is the linear independence of S that provides the uniqueness. We will refer to the scalars a1 = 3, a2 = 5, a3 = 2 as a “representation of b relative to S.” In other words, once we settle on S as a linearly independent set that spans 3, the vector b is recoverable just by knowing the scalars a1 = 3, a2 = 5, a3 = 2 (use these scalars in a linear combination of the vectors in S). This is all an illustration of the following important theorem, which we prove in the setting of a general vector space.

Theorem VRRB
Vector Representation Relative to a Basis
Suppose that V is a vector space and B = v1,v2,v3,,vm is a linearly independent set that spans V . Let w be any vector in V . Then there exist unique scalars a1,a2,a3,,am such that

w = a1v1 + a2v2 + a3v3 + + amvm.

Proof   That w can be written as a linear combination of the vectors in B follows from the spanning property of the set (Definition TSVS). This is good, but not the meat of this theorem. We now know that for any choice of the vector w there exist some scalars that will create w as a linear combination of the basis vectors. The real question is: Is there more than one way to write w as a linear combination of {v1,v2,v3,,vm}? Are the scalars a1,a2,a3,,am unique? (Technique U)

Assume there are two ways to express w as a linear combination of {v1,v2,v3,,vm}. In other words there exist scalars a1,a2,a3,,am and b1,b2,b3,,bm so that

w = a1v1 + a2v2 + a3v3 + + amvm w = b1v1 + b2v2 + b3v3 + + bmvm.

Then notice that

0 = w + (w)  Property AI = w + (1)w  Theorem AISM = (a1v1 + a2v2 + a3v3 + + amvm)+ (1)(b1v1 + b2v2 + b3v3 + + bmvm) = (a1v1 + a2v2 + a3v3 + + amvm)+ (b1v1 b2v2 b3v3 bmvm)  Property DVA = (a1 b1)v1 + (a2 b2)v2 + (a3 b3)v3+ + (am bm)vm  Property CProperty DSA

But this is a relation of linear dependence on a linearly independent set of vectors (Definition RLD)! Now we are using the other assumption about B, that {v1,v2,v3,,vm} is a linearly independent set. So by Definition LI it must happen that the scalars are all zero. That is,

(a1 b1) = 0 (a2 b2) = 0 (a3 b3) = 0 (am bm) = 0 a1 = b1 a2 = b2 a3 = b3 am = bm.

And so we find that the scalars are unique.

This is a very typical use of the hypothesis that a set is linearly independent — obtain a relation of linear dependence and then conclude that the scalars must all be zero. The result of this theorem tells us that we can write any vector in a vector space as a linear combination of the vectors in a linearly independent spanning set, but only just. There is only enough raw material in the spanning set to write each vector one way as a linear combination. So in this sense, we could call a linearly independent spanning set a “minimal spanning set.” These sets are so important that we will give them a simpler name (“basis”) and explore their properties further in the next section.

Subsection READ: Reading Questions

  1. Is the set of matrices below linearly independent or linearly dependent in the vector space M22? Why or why not?
    1 32 4 , 2 3 3 5 , 0 91 3
  2. Explain the difference between the following two uses of the term “span”:
    (a) S is a subset of the vector space V and the span of S is a subspace of V .
    (b) W is subspace of the vector space Y and T spans W.
  3. The set
    S = 6 2 1 , 4 3 1 , 5 8 2

    is linearly independent and spans 3. Write the vector x = 6 2 2 a linear combination of the elements of S. How many ways are there to answer this question, and which theorem allows you to say so?

Subsection EXC: Exercises

C20 In the vector space of 2 × 2 matrices, M22, determine if the set S below is linearly independent.

S = 21 1 3 , 0 41 2 , 42 1 3

 
Contributed by Robert Beezer Solution [984]

C21 In the crazy vector space C (Example CVS), is the set S = (0,2),(2,8) linearly independent?  
Contributed by Robert Beezer Solution [985]

C22 In the vector space of polynomials P3, determine if the set S is linearly independent or linearly dependent.

S = 2 + x 3x2 8x3,1 + x + x2 + 5x3,3 4x2 7x3

 
Contributed by Robert Beezer Solution [987]

C23 Determine if the set S = (3,1),(7,3) is linearly independent in the crazy vector space C (Example CVS).  
Contributed by Robert Beezer Solution [988]

C24 In the vector space of real-valued functions F = ff : , determine if the following set S is linearly independent.

S = sin 2x, cos 2x, 2

 
Contributed by Chris Black Solution [989]

C25 Let

S = 12 2 1 , 2 11 2 , 01 1 2

  1. Determine if S spans M2,2.
  2. Determine if S is linearly independent.

 
Contributed by Chris Black Solution [989]

C26 Let

S = 12 2 1 , 2 11 2 , 01 1 2 , 10 1 1 , 14 0 3

  1. Determine if S spans M2,2.
  2. Determine if S is linearly independent.

 
Contributed by Chris Black Solution [992]

C30 In Example LIM32, find another nontrivial relation of linear dependence on the linearly dependent set of 3 × 2 matrices, S.  
Contributed by Robert Beezer

C40 Determine if the set T = x2 x + 5,4x3 x2 + 5x,3x + 2 spans the vector space of polynomials with degree 4 or less, P4.  
Contributed by Robert Beezer Solution [996]

C41 The set W is a subspace of M22, the vector space of all 2 × 2 matrices. Prove that S is a spanning set for W.

W = ab c d 2a 3b + 4c d = 0 S = 10 0 2 , 0 1 0 3 , 00 1 4

 
Contributed by Robert Beezer Solution [997]

C42 Determine if the set S = (3,1),(7,3) spans the crazy vector space C (Example CVS).  
Contributed by Robert Beezer Solution [998]

M10 Halfway through Example SSP4, we need to show that the system of equations

S0 0 0 1 0 0 1 8 0 1 6 24 1 4 12 32 2 4 8 16 , a b c d e

is consistent for every choice of the vector of constants satisfying 16a + 8b + 4c + 2d + e = 0.

Express the column space of the coefficient matrix of this system as a null space, using Theorem FS. From this use Theorem CSCS to establish that the system is always consistent. Notice that this approach removes from Example SSP4 the need to row-reduce a symbolic matrix.  
Contributed by Robert Beezer Solution [1000]

T40 Prove the following variation of Theorem EMMVP: Suppose that B = u1,u2,u3,,un is a basis for n. Suppose also that A and B are m × n matrices such that Aui = Bui for every 1 i n. Then A = B. Can you modify the hypothesis further and obtain a generalization of Theorem EMMVP?  
Contributed by Robert Beezer

T50 Suppose that V is a vector space and u,v V are two vectors in V . Use the definition of linear independence to prove that S = u,v is a linearly dependent set if and only if one of the two vectors is a scalar multiple of the other. Prove this directly in the context of an abstract vector space (V ), without simply giving an upgraded version of Theorem DLDS for the special case of just two vectors.  
Contributed by Robert Beezer Solution [1000]

Subsection SOL: Solutions

C20 Contributed by Robert Beezer Statement [978]
Begin with a relation of linear dependence on the vectors in S and massage it according to the definitions of vector addition and scalar multiplication in M22,

O = a1 21 1 3 + a2 0 41 2 + a3 42 1 3 00 0 0 = 2a1 + 4a3 a1 + 4a2 + 2a3 a1 a2 + a3 3a1 + 2a2 + 3a3

By our definition of matrix equality (Definition ME) we arrive at a homogeneous system of linear equations,

2a1 + 4a3 = 0 a1 + 4a2 + 2a3 = 0 a1 a2 + a3 = 0 3a1 + 2a2 + 3a3 = 0

The coefficient matrix of this system row-reduces to the matrix,

100 0 0 0 01 0 0 0

and from this we conclude that the only solution is a1 = a2 = a3 = 0. Since the relation of linear dependence (Definition RLD) is trivial, the set S is linearly independent (Definition LI).

C21 Contributed by Robert Beezer Statement [978]
We begin with a relation of linear dependence using unknown scalars a and b. We wish to know if these scalars must both be zero. Recall that the zero vector in C is (1, 1) and that the definitions of vector addition and scalar multiplication are not what we might expect.

0 = (1, 1) = a(0,2) + b(2,8)  Definition RLD = (0a + a 1,2a + a 1) + (2b + b 1,8b + b 1) Scalar mult., Example CVS = (a 1,3a 1) + (3b 1,9b 1) = (a 1 + 3b 1 + 1,3a 1 + 9b 1 + 1)  Vector addition, Example CVS = (a + 3b 1,3a + 9b 1)

From this we obtain two equalities, which can be converted to a homogeneous system of equations,

1 = a + 3b 1 a + 3b = 0 1 = 3a + 9b 1 3a + 9b = 0

This homogeneous system has a singular coefficient matrix (Theorem SMZD), and so has more than just the trivial solution (Definition NM). Any nontrivial solution will give us a nontrivial relation of linear dependence on S. So S is linearly dependent (Definition LI).

C22 Contributed by Robert Beezer Statement [978]
Begin with a relation of linear dependence (Definition RLD),

a1 2 + x 3x2 8x3 + a 2 1 + x + x2 + 5x3 + a 3 3 4x2 7x3 = 0

Massage according to the definitions of scalar multiplication and vector addition in the definition of P3 (Example VSP) and use the zero vector dro this vector space,

2a1 + a2 + 3a3+a1 + a2 x+3a1 + a2 4a3 x2+8a 1 + 5a2 7a3 x3 = 0+0x+0x2+0x3

The definition of the equality of polynomials allows us to deduce the following four equations,

2a1 + a2 + 3a3 = 0 a1 + a2 = 0 3a1 + a2 4a3 = 0 8a1 + 5a2 7a3 = 0

Row-reducing the coefficient matrix of this homogeneous system leads to the unique solution a1 = a2 = a3 = 0. So the only relation of linear dependence on S is the trivial one, and this is linear independence for S (Definition LI).

C23 Contributed by Robert Beezer Statement [979]
Notice, or discover, that the following gives a nontrivial relation of linear dependence on S in C, so by Definition LI, the set S is linearly dependent.

2(3,1) + (1)(7,3) = (7,3) + (9, 5) = (1, 1) = 0

C24 Contributed by Chris Black Statement [979]
One of the fundamental identities of trigonometry is sin 2(x) + cos 2(x) = 1. Thus, we have a dependence relation 2(sin 2x) + 2(cos 2x) + (1)(2) = 0, and the set is linearly dependent.

C25 Contributed by Chris Black Statement [979]

  1. If S spans M2,2, then for every 2 × 2 matrix B = xy z w , there exist constants α,β,γ so that xy z w = α 12 2 1 + β 2 11 2 + γ 01 1 2

    Applying Definition ME, this leads to the linear system

    α + 2β = x 2α + β + γ = y 2α β + γ = z α + 2β + 2γ = w.

    We need to row-reduce the augmented matrix of this system by hand due to the symbols x, y, z, and w in the vector of constants.

    1 2 0x 2 1 1 y 2 11z 1 2 2 w  RREF 100 x y + z 0 10 1 2(y z) 0 01 1 2(w x) 0 001 2(5y 3x 3z w)

    With the apperance of a leading 1 possible in the last column, by Theorem RCLS there will exist some matrices B = xy z w so that the linear system above has no solution (namely, whenever 5y 3x 3z w0), so the set S does not span M2,2. (For example, you can verify that there is no solution when B = 33 3 2 .)

  2. To check for linear independence, we need to see if there are nontrivial coefficients α,β,γ that solve 00 0 0 = α 12 2 1 + β 2 11 2 + γ 01 1 2

    This requires the same work that was done in part (a), with x = y = z = w = 0. In that case, the coefficient matrix row-reduces to have a leading 1 in each of the first three columns and a row of zeros on the bottom, so we know that the only solution to the matrix equation is α = β = γ = 0. So the set S is linearly independent.

C26 Contributed by Chris Black Statement [980]

  1. The matrices in S will span M2,2 if for any xy z w , there are coefficients a,b,c,d,e so that a 12 2 1 + b 2 11 2 + c 01 1 2 + d 10 1 1 + e 14 0 3 = xy z w

    Thus, we have

    a + 2b + d + e 2a + b + c + 4e 2a b + c + da + 2b + 2c + d + 3e = xy z w  so we have the matrix equation 1 2 011 2 1 1 0 4 2 1110 1 2 2 1 3 a b c d e = x y z w

    This system will have a solution for every vector on the right side if the row-reduced coefficient matrix has a leading one in every row, since then it is never possible to have a leading 1 appear in teh final colum of a row-reduced augmented matrix.

    1 2 011 2 1 1 0 4 2 1110 1 2 2 1 3  RREF 1000 1 0 0 0 1 0 010 1 0 0 0 2

    Since there is a leading one in each row of the row-reduced coefficient matrix, there is a solution for every vector x y z w , which means that there is a solution to the original equation for every matrix xy z w . Thus, the original four matrices span M2,2.

  2. The matrices in S are linearly independent if the only solution to a 12 2 1 + b 2 11 2 + c 01 1 2 + d 10 1 1 + e 14 0 3 = 00 0 0

    is a = b = c = d = e = 0.

    We have

    a + 2b + d + e 2a + b + c + 4e 2a b + c + da + 2b + 2c + d + 3e = 1 2 011 2 1 1 0 4 2 1110 1 2 2 1 3 a b c d e = 00 0 0

    so we need to find the nullspace of the matrix

    1 2 011 2 1 1 0 4 2 1110 1 2 2 1 3

    We row-reduced this matrix in part (a), and found that there is a column without a leading 1, which correspons to a free variable in a description of the solution set to the homogeneous system, so the nullspace is nontrivial and there are an infinite number of solutions to

    a 12 2 1 + b 2 11 2 + c 01 1 2 + d 10 1 1 + e 14 0 3 = 00 0 0

    Thus, this set of matrices is not linearly independent.

C40 Contributed by Robert Beezer Statement [981]
The polynomial x4 is an element of P4. Can we write this element as a linear combination of the elements of T? To wit, are there scalars a1, a2, a3 such that

x4 = a 1 x2 x + 5 + a 2 4x3 x2 + 5x + a 3 3x + 2

Massaging the right side of this equation, according to the definitions of Example VSP, and then equating coefficients, leads to an inconsistent system of equations (check this!). As such, T is not a spanning set for P4.

C41 Contributed by Robert Beezer Statement [981]
We want to show that W = S (Definition TSVS), which is an equality of sets (Definition SE).

First, show that S W. Begin by checking that each of the three matrices in S is a member of the set W. Then, since W is a vector space, the closure properties (Property AC, Property SC) guarantee that every linear combination of elements of S remains in W.

Second, show that W S. We want to convince ourselves that an arbitrary element of W is a linear combination of elements of S. Choose

x = ab c d W

The values of a,b,c,d are not totally arbitrary, since membership in W requires that 2a 3b + 4c d = 0. Now, rewrite as follows,

x = ab c d = a b c 2a 3b + 4c 2a 3b + 4c d = 0 = a 0 0 2a + 0 b 0 3b + 0 0 c 4c  Definition MA = a 10 0 2 + b 0 1 0 3 + c 00 1 4  Definition MSM S  Definition SS

C42 Contributed by Robert Beezer Statement [981]
We will try to show that S spans C. Let (x,y) be an arbitrary element of C and search for scalars a1 and a2 such that

(x,y) = a1(3,1) + a2(7,3) = (4a1 1,2a1 1) + (8a2 1,4a2 1) = (4a1 + 8a2 1, 2a1 + 4a2 1)

Equality in C leads to the system

4a1 + 8a2 = x + 1 2a1 + 4a2 = y + 1

This system has a singular coefficient matrix whose column space is simply 2 1 . So any choice of x and y that causes the column vector x + 1 y + 1 to lie outside the column space will lead to an inconsistent system, and hence create an element (x,y) that is not in the span of S. So S does not span C.

For example, choose x = 0 and y = 5, and then we can see that 1 6 2 1 and we know that (0,5) cannot be written as a linear combination of the vectors in S. A shorter solution might begin by asserting that (0,5) is not in S and then establishing this claim alone.

M10 Contributed by Robert Beezer Statement [982]
Theorem FS provides the matrix

L = 11 21 41 8 1_ 16

and so if A denotes the coefficient matrix of the system, then CA = NL. The single homogeneous equation in SL,0 is equivalent to the condition on the vector of constants (use a,b,c,d,e as variables and then multiply by 16).

T50 Contributed by Robert Beezer Statement [982]

( ) If S is linearly dependent, then there are scalars α and β, not both zero, such that αu + βv = 0. Suppose that α0, the proof proceeds similarly if β0. Now,

u = 1u  Property O = 1 ααu  Property MICN = 1 α αu  Property SMA = 1 α αu + 0  Property Z = 1 α αu + βv βv  Property AI = 1 α 0 βv  Definition LI = 1 α βv  Property Z = β α v  Property SMA

which shows that u is a scalar multiple of v.

( ) Suppose now that u is a scalar multiple of v. More precisely, suppose there is a scalar γ such that u = γv. Then

(1)u + γv = (1)u + u = (1)u + (1)u  Property O = (1) + 1 u  Property DSA = 0u  Property AICN = 0  Theorem ZSSM

This is a relation of linear of linear dependence on S (Definition RLD), which is nontrivial since one of the scalars is 1. Therefore S is linearly dependent by Definition LI.

Be careful using this theorem. It is only applicable to sets of two vectors. In particular, linear dependence in a set of three or more vectors can be more complicated than just one vector being a scalar multiple of another.