Appendix C. Solutions to exercises
The exercises are restated in main-text order. Each exercise number links back to its original statement.
Vector spaces and bases
Exercise 1.1.2 (Consequences of the axioms)
Let denote or . Let be a vector space over , , and . Prove the following statements directly from the vector space axioms.
-
(a) The zero vector and the additive inverse of each vector are unique.
-
(b) and .
-
(c) .
-
(d) If , then or .
Distinguish scalar zeros from vector zeros in your proofs.
Awaiting solution.
Exercise 1.2.12 (An unfamiliar vector space)
On , define
-
(a) Prove that these operations make a vector space over . Identify its zero vector and the additive inverse of .
-
(b) Determine the dimension of and characterize all its bases.
You may use the usual properties of real powers and logarithms.
Awaiting solution.
Exercise 1.2.13 (What span does)
Let be a vector space over , where denotes or . Let be arbitrary subsets, possibly empty or infinite. Recall that an empty linear combination is equal to .
-
(a) Prove that is a subspace containing .
-
(b) Prove that every subspace containing contains . Deduce that is the intersection of all subspaces containing .
Awaiting solution.
Exercise 1.2.14 (A parameter that changes the span)
Let denote or . For , set
-
(a) Determine exactly when is a basis of . For each remaining value of , find a basis and the dimension of its span, and describe the span by a linear equation.
-
(b) When the three vectors form a basis, express any as their linear combination.
Awaiting solution.
Exercise 1.2.15 (Solutions and differences of solutions)
Let denote or . In , define
-
(a) Prove that is a subspace and find a basis and its dimension. Determine whether is a subspace.
-
(b) Find for which , and prove this equality. Prove that the difference of any two elements of belongs to .
Awaiting solution.
Exercise 1.2.16 (A polynomial determined by three values)
Let denote or , and work in , the polynomials of degree at most two with coefficients in , including the zero polynomial.
-
(a) Construct such that, for ,
-
(b) Prove that these polynomials form a basis and that every satisfies
-
(c) Find the unique polynomial for which , , and .
Awaiting solution.
Exercise 1.2.17 (A vector space of recursively defined sequences)
Let be or . Let consist of the infinite sequences , where each , that satisfy
-
(a) Prove that is a vector space where vector addition is
and scalar multiplication is
Construct a basis and determine its dimension.
-
(b) Prove that the only sequence in with finitely many nonzero terms is the zero sequence.
Hint. For (a), consider the two sequences with initial values and .
Awaiting solution.
Exercise 1.2.18 (Intersecting two spans)
Let denote or . In , let
-
(a) Find bases and dimensions of , , and .
-
(b) Define . Prove directly that is a subspace, find a basis and its dimension, and describe it by one linear equation. Do not assume a dimension formula for sums of subspaces.
Awaiting solution.
Exercise 1.2.19 (Extending an independent set)
Let be a vector space over , where denotes or , and let have dimension .
-
(a) Prove that every linearly independent subset of is finite and can be extended to a basis of .
-
(b) Deduce that any linearly independent vectors form a basis, and that any set of vectors spanning is a basis.
-
(c) Prove that a subspace with must equal . Give an example showing that an infinite-dimensional space can have a proper subspace of the same dimension. Exhibit bases to justify the comparison.
Hint. For (a), show that adjoining to an independent set preserves independence. Use the comparison theorem to bound the number of steps.
Awaiting solution.
Exercise 1.2.20 (Testing plausible assertions)
Decide whether each statement is true or false. Prove every true statement and give an explicit counterexample for every false one. Here are subsets of a vector space over , where denotes or .
-
(a) If and are linearly independent, then is linearly independent.
-
(b) If and are linearly independent, then is linearly independent.
-
(c) If and are finite and , then and have the same number of elements.
-
(d) .
-
(e) If and is linearly independent, then .
Awaiting solution.
Exercise 1.2.21
Let be a basis of a real vector space .
-
(a) Show that is also a basis.
-
(b) Is it possible that a subset is linearly dependent but the set is linearly independent?
Awaiting solution.
Exercise 1.2.22
Let be the vector space of continuous real-valued functions with domain . Prove that this space has infinite dimension.
Awaiting solution.
Matrices and vector coordinates
Exercise 2.1.1
Given a matrix , let denote the entry in the -th row and -th column of . Let and . Show that the definition of matrix multiplication is the same as
Awaiting solution.
Exercise 2.1.2
Let be scalar-valued matrices such that and are well defined. Use the formula for matrix multiplication in Exercise 2.1.1 to prove associativity, i.e., .
Awaiting solution.
Exercise 2.1.3
For , let be given by
-
(a) Compute .
-
(b) Given , find a matrix such that .
Awaiting solution.
Exercise 2.1.4
-
(a) Fix . Prove that if satisfies for every , then .
-
(b) Show by example that, for every , for a single nonzero does not imply . What happens when ?
Awaiting solution.
Exercise 2.1.5
Recall that matrix multiplication is not necessarily commutative.
-
(a) For and , determine exactly when and are both defined.
-
(b) Determine when and have the same size.
-
(c) Given , find matrices such that .
-
(d) Let be the matrix whose entry in row and column is and all of whose other entries are . Prove that is a basis of and that
where if and otherwise.
-
(e) Prove that if satisfies for every , then for some .
-
(f) Determine all that commute with every , . Conclude that, for , commuting with every diagonal matrix is a strictly weaker condition than the one in (e).
Hint. Compare the entries of and .
Awaiting solution.
Exercise 2.1.6
There are nonzero matrices and such that .
-
(a) Find all with .
-
(b) Find with and .
Awaiting solution.
Exercise 2.1.7
Prove that the set of upper triangular matrices
is a subspace of , compute its dimension, and prove that it is closed under matrix multiplication.
Awaiting solution.
Exercise 2.1.8
Let or , and let
-
(a) Compute .
-
(b) Show that satisfies if and only if for some .
-
(c) Show that is the only with .
-
(d) Show that .
-
(e) Use this to write in the form .
-
(f) Use this to find such that .
Awaiting solution.
Linear equations and maps
Exercise 3.1.5
Work over or . Consider the system
-
(a) Show that this system has no solution.
-
(b) Find matrices and such that the system is equivalent to
-
(c) Find the set of all for which has a solution, and show that for each such , the solution is unique.
Awaiting solution.
Exercise 3.2.5
Matrix multiplication defines a map
This problem shows that matrix multiplication is a bilinear map.
-
(a) Show that given , the map
is linear.
-
(b) Show that given , the map
is linear.
Awaiting solution.
Exercise 3.3.3
Let be a basis of . Consider the linear map such that
Show that if is the matrix where , then but .
Awaiting solution.
Exercise 3.3.4
Let be an integer. Find a matrix such that
Awaiting solution.
Exercise 3.3.7
Let be an invertible linear map between vector spaces over the same field. Prove that is linear.
Awaiting solution.
Exercise 3.3.8
Call invertible if there is with . Prove that such an is unique (so is well defined), and that if are invertible then so is , with .
Awaiting solution.
Exercise 3.3.9
Let with .
-
(a) Prove that if is a column matrix such that , then .
-
(b) Deduce that the columns of are distinct and form a linearly independent subset of with elements, and hence a basis. Conclude that every can be written as .
-
(c) Prove that .
Awaiting solution.
Kernel, image, and rank
Exercise 4.3.11
Let be the linear map given by
-
(a) Find and give a basis for it.
-
(b) Find and give a basis for it.
-
(c) Compute the nullity and rank of , and verify the rank-nullity theorem.
-
(d) Determine whether is injective and whether it is surjective. Justify both answers.
Solution. (a) The kernel consists of the solutions of . Subtracting the first row from the third, and then the second row from the third, gives
Thus the equations are
Taking and as free variables, we obtain and . Consequently,
and
These two vectors span the kernel. The third and fourth coordinates of a linear combination are its two coefficients, so a combination equal to zero forces both coefficients to be zero. Hence the vectors are linearly independent and form a basis of .
(b) Let denote the columns of . They satisfy
For every ,
Therefore .
Conversely, if , choose . Then , so . We conclude that
To check linear independence, suppose . Then
which gives . Thus is a basis of . 12
(c) Both bases have two vectors, so
The rank–nullity identity is verified by
(d) The map is not injective, since its nullity is . It is not surjective, since . ◻
Exercise 4.3.12
Answer each question using the rank-nullity theorem.
-
(a) Suppose , where , , and . Find . Is injective? Is it surjective?
-
(b) Prove that every injective linear map is an isomorphism.
-
(c) Prove that no linear map from to can be injective.
-
(d) Prove that no linear map from to can be surjective.
Solution. (a) By the rank–nullity theorem,
The map is not injective because . It is not surjective because .
(b) Suppose is injective. Then , and the rank–nullity theorem gives
This equals the dimension of the codomain, so is surjective. Since is linear, injective, and surjective, it is an isomorphism.
(c) Suppose were injective. Its nullity would be zero, so the rank–nullity theorem would give
However, , so . This is a contradiction. Thus no such linear map can be injective.
(d) Suppose were surjective. Then , and rank–nullity would imply
Nullity is a dimension and is therefore nonnegative. This contradiction shows that no such linear map can be surjective. 13 ◻
Exercise 4.3.14
Define the subspaces
and
Construct a linear map such that
-
(a) Give an explicit formula for .
-
(b) Write as a matrix.
-
(c) Prove that its kernel and image are exactly and , rather than merely containing these subspaces.
-
(d) Verify rank-nullity for your map.
Solution. (a) Seek a map of the form
For both generators of to lie in the kernel, we require and . Choose and . This gives
(b) In the standard bases, the matrix of is
since
(c) We verify both equalities by proving both inclusions. The two generators satisfy and . By linearity, every vector also maps to zero. Hence .
Conversely, if , then , so . Thus
Therefore .
Every output of is a multiple of , giving . Conversely, every vector of has the form , and
Hence , and .
(d) The kernel has dimension , and the image has dimension . Thus
and
◻
Exercise 4.3.16
Let be defined by
-
(a) Find a basis for .
-
(b) Extend this basis to an ordered basis of , with spanning .
-
(c) Choose an ordered basis of such that
-
(d) Find the matrix of with respect to and .
-
(e) Verify directly the identity
Solution. (a) The condition gives the system
Subtracting the first equation from the second gives . Hence , and the first equation then gives . The solutions are exactly
Therefore
The equation forces , so this single vector is linearly independent and forms a basis of the kernel.
(b) Choose the ordered list
If , then
giving . Thus these vectors are linearly independent and form a basis of , with the kernel basis first.
(c) Set
If , then
These equations imply . Hence is an ordered basis of .
(d) Since
their -coordinate columns give
(e) Applying to each column of gives
On the other hand,
Thus . ◻
Exercise 4.3.18
Let be finite-dimensional vector spaces, with and , and let be a linear map. Consider the sets
and
Set . Recall that the empty set is a basis of the zero subspace.
-
(a) Prove that is a subspace of .
-
(b) Prove that is a subspace of .
-
(c) Prove that there exists a row matrix basis of such that
-
(d) Prove that
This is known as the rank-nullity theorem.
-
(e) Prove that there exist row matrix bases of and of such that , where and
Awaiting solution.
Exercise 4.4.1
Let be the vector space of all polynomials of degree at most in the variable with real coefficients, including the zero polynomial. Take . A basis of is
-
(a) Recall that differentiation is a linear map,
Find the matrix such that
-
(b) Find the matrix such that
where .
Awaiting solution.
Exercise 4.4.2
Let be the vector space of real polynomials of degree at most , including the zero polynomial, and define similarly. Consider the differentiation map
-
(a) Find , , the nullity of , and the rank of .
-
(b) Determine whether is injective and whether it is surjective.
-
(c) Find the matrix of with respect to
-
(d) Find a new ordered basis of , beginning with a basis of , for which the matrix relative to and is
Solution. (a) Write
Then , which is zero exactly when . The constant coefficient is unrestricted. Therefore
Every derivative belongs to . Conversely, given , choose
Then . Hence
(b) The map is not injective because its nullity is . It is surjective because its image is all of .
(c) Apply to the given basis entries. We obtain
Expressing these entries in gives
Thus .
(d) We want the nonzero basis images to be , respectively. Taking their antiderivatives gives
Its first vector is a basis of . Since the remaining entries are nonzero scalar multiples of the usual monomials, is a basis of . Moreover,
Therefore the matrix of with respect to and has the required form. ◻
Multilinear algebra and determinants
Let be an matrix with columns , and let be the normalized determinant function from § 5.4. The following column expansion is used in Exercise 5.4.5. Each column of can be written in terms of the standard basis,
The determinant can be computed by applying the antisymmetric and multilinear properties of to
Exercise 5.1.3
Let be a bilinear function on a real vector space such that for every . Show is antisymmetric.
Solution. Let be arbitrary. By the hypothesis and bilinearity,
Since , this reduces to
Hence . Since were arbitrary, is antisymmetric. ◻
Exercise 5.4.2
Show that
Solution. Let be the standard ordered basis of . The column vectors of the matrix are
Geometrically, and span the parallelogram
Let be the oriented area function, normalized by . It is antisymmetric and bilinear. By uniqueness of the normalized antisymmetric bilinear function, the determinant on columns satisfies
Thus the determinant is the signed area of this parallelogram, while its ordinary area is .
Bilinearity gives
The terms with repeated basis vectors vanish because . Antisymmetry gives , and the normalization gives the final equality. Consequently, the determinant is . ◻
Exercise 5.4.3
Show that
Solution. Let be the matrix in the question. Its columns are
Let be the normalized determinant function. Then and . Every term with repeated basis vectors vanishes. Expanding the inputs by multilinearity therefore gives
◻
Exercise 5.4.4
Explain why the determinant of an upper triangular matrix equals the product of its diagonal entries. In other words, explain why
A detailed proof is not required. Describe the process that gives this conclusion.
Solution. Let be the upper triangular matrix, with columns . Since entries below the diagonal are zero,
Expand by multilinearity, choosing one basis vector from each column. A term with repeated basis vectors vanishes.
The first column can contribute only . The second can contribute or , but choosing repeats the first input, so only can remain. Continuing in this way, column must contribute , since its other choices have already appeared in earlier inputs. Thus the only term that can remain selects the diagonal entry from every column. Using , we obtain
◻
Exercise 5.4.5
Use the computation procedure described above to compute
Solution. Let be the matrix in the question. We simplify it one column at a time. Adding a multiple of one column to another leaves the determinant unchanged. At each step, denotes column of the current matrix. We work from right to left, choosing each multiple to cancel an entry below the diagonal.
First replace by . The third and fourth entries of this column become
Thus
Next replace by , using the updated third column. The second and third entries become
Therefore,
Finally replace by , using the updated second column. The first and second entries become
We now have an upper triangular matrix, so its determinant is the product of its diagonal entries. Hence
◻
Exercise 5.4.6
How is related to for an matrix ? Explain.
Solution. Let be a real matrix with columns , and let be the normalized determinant function. The columns of are . By multilinearity, each of the negated columns contributes a factor of , so
Therefore,
◻
Exercise 5.4.7
Let the columns of be . Prove that, given and , if is the matrix whose columns are given by
then
Solution. Let be the determinant function on columns. Only column changes, and . By linearity in the -th input,
Since , the second determinant-function value contains in both positions and . It vanishes because its inputs repeat. Hence . ◻
Exercise 5.4.8
Given a permutation , the permutation matrix is the matrix whose -th column is , i.e.,
For example, take and let be the permutation given by
Its permutation matrix is
-
(a) Show that a matrix is a permutation matrix if and only if every entry is or and there is exactly one in each row and each column.
-
(b) Show that if
then
-
(c) Given a permutation and , describe the linear map defined by . In other words, what is ?
-
(d) Show that, for any two permutations and ,
by showing that for any ,
-
(e) Show that .
Solution. (a) Suppose a matrix is a permutation matrix where . Since is bijective, will be distinct and exhaust . Each column is a standard basis vector, so it contains a single in row and zeros elsewhere. Thus every column contains exactly one . Since each row index occurs exactly once among , every row also contains exactly one .
Conversely, consider an matrix where every entry is or and there is exactly one in each row and column. For each column , there exists a unique index giving the row containing its . Hence
No two columns can have their in the same row, so is injective. An injective map from a finite set to itself is also surjective, so is bijective. Thus and
Therefore is a permutation matrix if and only if every entry is or with exactly one in each row and column.
(b) We know that when we multiply a matrix by a basis vector it produces the corresponding column, . Matrix multiplication acts separately on each column of the matrix on the right. So when multiplying by the matrix of basis vector columns,
Applying the same rule to the permuted basis columns gives
Since ,
(c) We first express as a linear combination of the standard basis vectors,
Now applying to both sides and using linearity,
Focusing on each -th term , we know that right-multiplying by the -th basis vector produces the -th column. By the definition of , this gives
Substituting this identity into the linear combination gives
Thus, defines the linear map that permutes the coordinates of according to , moving the coefficient from the -th coordinate to the -th coordinate. Equivalently, the -th output coordinate comes from the input index satisfying , so
(d) Fix any . It was proven in part (c) that
Applying and using its action on standard basis vectors gives
On the other hand, the composition satisfies , so
Thus for every . Every vector is a linear combination of the standard basis vectors, so linearity implies that the two matrices act identically on every vector. Therefore,
(e) The determinant of is the value of the normalized antisymmetric multilinear function on its columns. Here , so
Each column is already a standard basis vector, so there is just one basis-vector value to evaluate. Since is bijective, these inputs are distinct.
Choose a decomposition into transpositions. Whenever two inputs are interchanged in an antisymmetric multilinear function, a factor of is produced. Applying the transpositions in this decomposition rearranges into , contributing a factor of . Normalization gives , and the definition of the sign gives . Hence,
Therefore, . ◻
Eigenvalues and diagonalization
Exercise 7.1.5
Suppose, for a matrix , is an eigenvector for the eigenvalue and is an eigenvector for the eigenvalue . What are the necessary and sufficient conditions that be an eigenvector of and what is its eigenvalue?
Awaiting solution.
Exercise 7.3.2
Find all eigenvectors of the matrix
Awaiting solution.
Exercise 7.3.3
Let be a basis of and be the map given by
Find the eigenvectors of by solving
where
directly for .
Awaiting solution.
Exercise 7.4.1
For any , the real matrix
is called a rotation matrix, because it rotates each vector counterclockwise by the angle . Compute the (possibly complex) eigenvalues and eigenvectors of .
Awaiting solution.
Exercise 7.4.5
True or false? Explain. If false, provide a counterexample.
-
3.1. If a matrix has one eigenvector, then it has infinitely many eigenvectors.
-
3.2. Every matrix over a field has at least one eigenvalue in .
-
3.3. Similar matrices always have the same eigenvectors.
-
3.4. If two matrices have the same eigenvalues, then they are similar.
Awaiting solution.
Exercise 7.5.5
A linear transformation is called nilpotent if for some positive integer , is the zero matrix. Prove that the only eigenvalue of is .
Awaiting solution.
Exercise 7.6.1
(10 points) Let be subspaces of such that
Prove directly that whenever and are nonzero vectors, the set is linearly independent.
Solution. Suppose , where are scalars. Then . Since are subspaces,
Hence and . Both and are nonzero, so . Therefore is linearly independent. ◻
Inner products and norms
Exercise 8.1.2
Which of the following is an inner product? Explain.
-
1.1. (5 points) For any ,
-
1.2. (5 points) For any ,
Solution. 1.1. Testing positive definiteness gives
The real coordinates can have opposite signs, so this expression can be negative even when . Thus the form is not positive definite and is not an inner product.
1.2. First, the form is symmetric because
To test positive definiteness, calculate
A sum of real squares is nonnegative and vanishes only when every squared term is zero. Hence exactly when , and whenever .
For linearity in the first argument, let and be arbitrary. Then
By symmetry,
Thus the form is bilinear, symmetric, and positive definite, so it is an inner product. ◻
Exercise 8.1.3
Let be a 2-dimensional real vector space and be a basis. Which of the following 2-tensors is an inner product? Explain.
-
2.1. (5 points) Let be the 2-tensor given by
-
2.2. (5 points) Let be given by
Solution. 2.1. The prescribed basis values are symmetric, with . To test positive definiteness, write , where . Since is a 2-tensor, bilinearity gives
Choosing and gives , but . Therefore is not positive definite and is not an inner product.
2.2. Here
Thus is not symmetric and cannot be an inner product. ◻
Exercise 8.4.3
(30 points) Let be a real inner product space and let be nonzero vectors. Consider the function given by
-
4.1. (10 points) Prove that has a unique minimum.
-
4.2. (10 points) Find the minimum value of and the value of for which equals the minimum value.
-
4.3. (10 points) Use your solution to the previous parts of this problem to prove that for any ,
and equality holds if and only if there exists a scalar such that
Solution. 4.1. A quadratic with is an upward-opening parabola and has a unique minimum. By bilinearity and symmetry of the real inner product,
Since , positive definiteness gives . Thus has a unique minimum.
4.2. Complete the square in . Factoring out from the first two terms gives
Since , the required shift satisfies , or . Adding and subtracting gives
Because , the squared term has its unique minimum at zero. Consequently,
Substituting , , and yields
4.3. First suppose . The preceding calculation also applies when . Positive definiteness gives
Thus its global minimum satisfies
Since , multiplying by gives
If equality holds, then , so
Positive definiteness implies . Hence with .
Conversely, if for some , then
Since for every , its minimum is zero. Therefore
which gives equality in the Cauchy–Schwarz inequality. If instead , our assumption forces . Then , so the same argument applies.
Finally, if , bilinearity gives and , so
Equality holds, and the required alternative is satisfied by . This completes the inequality and its equality characterization for all . ◻
Exercise 8.5.2
Let be orthogonal vectors in a real inner-product space. Using only the properties of the inner product, prove the Pythagorean identity
Awaiting solution. A solution has not yet been supplied.