# Linear Algebra/Basis/Solutions

## Solutions[edit]

*This exercise is recommended for all readers.*

- Problem 1

Decide if each is a basis for .

- Answer

By Theorem 1.12, each is a basis if and only if each vector in the space can be given in a unique way as a linear combination of the given vectors.

- Yes this is a basis. The relation
- This is not a basis. Setting it up as in the prior item
- Yes, this is a basis. Setting up the relationship leads to this reduction
- No, this is not a basis. The reduction

*This exercise is recommended for all readers.*

- Problem 2

Represent the vector with respect to the basis.

- ,
- ,
- ,

- Answer

- We solve
- The relationship is easily solved by eye to give that , , , and .

- Problem 3

Find a basis for , the space of all quadratic polynomials. Must any such basis contain a polynomial of each degree:~degree zero, degree one, and degree two?

- Answer

One basis is . There are bases for that do not contain any polynomials of degree one or degree zero. One is . (Every basis has at least one polynomial of degree two, though.)

- Problem 4

Find a basis for the solution set of this system.

- Answer

The reduction

gives that the only condition is that . The solution set is

and so the obvious candidate for the basis is this.

We've shown that this spans the space, and showing it is also linearly independent is routine.

*This exercise is recommended for all readers.*

- Problem 5

Find a basis for , the space of matrices.

- Answer

There are many bases. This is an easy one.

*This exercise is recommended for all readers.*

- Problem 6

Find a basis for each.

- The subspace of
- The space of three-wide row vectors whose first and second components add to zero
- This subspace of the matrices

- Answer

For each item, many answers are possible.

- One way to proceed is to parametrize by expressing the as a combination of the other two . Then is and
- Parametrize to get , which suggests using the sequence . We've shown that it spans, and checking that it is linearly independent is easy.
- Rewriting

- Problem 7

Check Example 1.6.

- Answer

We will show that the second is a basis; the first is similar. We will show this straight from the definition of a basis, because this example appears before Theorem 1.12.

To see that it is linearly independent, we set up . Taking and gives this system

which shows that and .

The calculation for span is also easy; for any , we have that gives that and that , and so the span is the entire space.

*This exercise is recommended for all readers.*

- Problem 8

Find the span of each set and then find a basis for that span.

- in
- in

- Answer

- Asking which can be expressed as gives rise to three linear equations, describing the coefficients of , , and the constants.
- With

*This exercise is recommended for all readers.*

- Problem 9

Find a basis for each of these subspaces of the space of cubic polynomials.

- The subspace of cubic polynomials such that
- The subspace of polynomials such that and
- The subspace of polynomials such that , , and~
- The space of polynomials such that , , , and~

- Answer

- The subspace is . Rewriting gives , which, on breaking out the parameters, suggests for the basis (it is easily verified).
- The given subspace is the collection of cubics such that and . Gauss' method
*Comment.*A worthwhile check is to verify that both polynomials in the basis have both seven and five as roots.) - Here there are three conditions on the cubics, that , that ,and that . Gauss' method
*Comment.*As in the prior question, a worthwhile check is to verify that plugging seven, five, and three into this polynomial yields zero each time.) - This is the trivial subspace of . Thus, the basis is empty .

*Remark.* The polynomial in the third item could alternatively have been derived by multiplying out .

- Problem 10

We've seen that it is possible for a basis to remain a basis when it is reordered. Must it remain a basis?

- Answer

Yes. Linear independence and span are unchanged by reordering.

- Problem 11

Can a basis contain a zero vector?

- Answer

No linearly independent set contains a zero vector.

*This exercise is recommended for all readers.*

- Problem 12

Let be a basis for a vector space.

- Show that is a basis when . What happens when at least one is ?
- Prove that is a basis where .

- Answer

- To show that it is linearly independent, note that gives that , which in turn implies that each is zero. But with that means that each is zero. Showing that it spans the space is much the same; because is a basis, and so spans the space, we can for any write , and then . If any of the scalars are zero then the result is not a basis, because it is not linearly independent.
- Showing that is linearly independent is easy. To show that it spans the space, assume that . Then, we can represent the same with respect to in this way .

- Problem 13

Find one vector that will make each into a basis for the space.

- in
- in
- in

- Answer

Each forms a linearly independent set if is omitted. To preserve linear independence, we must expand the span of each. That is, we must determine the span of each (leaving out), and then pick a lying outside of that span. Then to finish, we must check that the result spans the entire given space. Those checks are routine.

- Any vector that is not a multiple of the given one, that is, any vector that is not on the line will do here. One is .
- By inspection, we notice that the vector is not in the span of the set of the two given vectors. The check that the resulting set is a basis for is routine.
- For any member of the span , the coefficient of equals the constant term. So we expand the span if we add a quadratic without this property, say, . The check that the result is a basis for is easy.

*This exercise is recommended for all readers.*

- Problem 14

Where is a basis, show that in this equation

each of the 's is zero. Generalize.

- Answer

To show that each scalar is zero, simply subtract . The obvious generalization is that in any equation involving only the 's, and in which each appears only once, each scalar is zero. For instance, an equation with a combination of the even-indexed basis vectors (i.e., , , etc.) on the right and the odd-indexed basis vectors on the left also gives the conclusion that all of the coefficients are zero.

- Problem 15

A basis contains some of the vectors from a vector space; can it contain them all?

- Answer

No; no linearly independent set contains the zero vector.

- Problem 16

Theorem 1.12 shows that, with respect to a basis, every linear combination is unique. If a subset is not a basis, can linear combinations be not unique? If so, must they be?

- Answer

Here is a subset of that is not a basis, and two different linear combinations of its elements that sum to the same vector.

Thus, when a subset is not a basis, it can be the case that its linear combinations are not unique.

But just because a subset is not a basis does not imply that its combinations must be not unique. For instance, this set

does have the property that

implies that . The idea here is that this subset fails to be a basis because it fails to span the space; the proof of the theorem establishes that linear combinations are unique if and only if the subset is linearly independent.

*This exercise is recommended for all readers.*

- Problem 17

A square matrix is **symmetric** if for all indices and , entry equals entry
.

- Find a basis for the vector space of symmetric matrices.
- Find a basis for the space of symmetric matrices.
- Find a basis for the space of symmetric matrices.

- Answer

- Describing the vector space as
- This is one possible basis.
- As in the prior two questions, we can form a basis from two kinds of matrices. First are the matrices with a single one on the diagonal and all other entries zero (there are of those matrices). Second are the matrices with two opposed off-diagonal entries are ones and all other entries are zeros. (That is, all entries in are zero except that and are one.)

*This exercise is recommended for all readers.*

- Problem 18

We can show that every basis for contains the same number of vectors.

- Show that no linearly independent subset of contains more than three vectors.
- Show that no spanning subset of contains fewer than three vectors. (
*Hint.*Recall how to calculate the span of a set and show that this method, when applied to two vectors, cannot yield all of .)

- Answer

- Any four vectors from are linearly related because the vector equation
- Given , ..., ,

- Problem 19

One of the exercises in the Subspaces subsection shows that the set

is a vector space under these operations.

Find a basis.

- Answer

We have (using these peculiar operations with care)

and so a good candidate for a basis is this.

To check linear independence we set up

(the vector on the right is the zero object in this space). That yields the linear system

with only the solution and . Checking the span is similar.