Examples from Seen Questions
All examples from Seen Questions.
A linear transformation from a quadrilateral
A mapping is a linear transformation. A quadrilateral and its image under have vertices
and
(a) Find the coefficients such that
(b) Find a matrix such that .
Solution
The vectors on the right in part (a) are and , so part (a) expresses the standard basis vectors and in terms of and . This is possible because and are not parallel: the determinant of the matrix with columns and is .
For , comparing coordinates gives
The second equation gives . Substitution into the first equation gives
For , the coordinate equations are
Using in the first equation gives
Hence
Because is linear, apply to these coordinate identities:
and
The columns of the standard-coordinate matrix are the images of and . Therefore
For a check, this matrix sends the four given vertices to
Thus the matrix agrees with every given image vertex. Part (a) recovers the standard-basis images from and and those images become the columns of . This is the coordinate form of the fact that a linear map is determined by its values on a basis.
Values of a partially specified linear transformation
Let be a linear transformation such that
where .
Using the information given, compute the following, or state that there is not enough information by entering the word undetermined.
(a)
(b)
(c)
Now suppose that you also know
(d)
Compute all of the vectors that you could not compute above:
Solution
Rewrite each input as a linear combination of the vectors whose images are known. Linearity applies the same coefficients to the corresponding output vectors.
For (a), every linear transformation sends the zero vector to the zero vector:
For (b), the given information does not determine . Let . Since
linearity gives
The vector is not known at this stage, so the answer to (b) is
For (c),
Therefore
For (d), the additional information is
For the previously undetermined vector, use
Thus
The three requested entries in part (d) are therefore
The first data set fixes and the sum , but not the two summands separately. The extra value of removes exactly that remaining freedom. Once the images of all three standard basis vectors are known, every value of the linear map is forced by its coordinates.
Trigonometric polynomials and a differential operator
Later-topic preview: the interpretation in terms of eigenvalues uses ideas from the later eigenvalues chapter.
A real trigonometric polynomial of degree , where is a positive integer, is a function of the form
where and the highest-degree coefficients are not both zero. For , the polynomial has degree zero and for all .
(a)
Using Euler's formula, write the function in (1) as
Find and for .
(b)
The set of all real trigonometric polynomials of degree at most , denoted by , is a vector space over with the usual addition and scalar multiplication.
For the following statements, let be an integer satisfying .
Consider the linear transformation
(i)
Choose all correct statements:
- For all such , is in .
- For all such , is not in .
- For some but not all such , is in .
- For all such , is in .
- For all such , is not in .
- For some but not all such , is in .
(ii)
Find a basis for .
(iii)
Find and explain your answer.
Solution
For part (a), use
Therefore
The coefficient of the zero-frequency term is unchanged, so
For , the positive-frequency coefficient is
The corresponding negative-frequency coefficient is
As a check, because the original polynomial is real-valued,
For part (b), the restriction ensures that belongs to . The operator is linear because differentiation and addition preserve linear combinations.
For ,
Consequently,
and .
(b)(i)
For the proposed polynomial,
The coefficient of is always , so this expression can never be zero. Hence is in the kernel for no integer with .
The only frequency missing from the image is , because
If , the term cannot be produced by , so
If , both frequencies and have non-zero multiplier , so the polynomial is in the image. For example, when ,
The correct selections are therefore
and
(b)(ii)
Write
Then
The functions at distinct frequencies are linearly independent. One way to see this is to use part (a), multiply a zero exponential sum by and obtain a complex polynomial in that vanishes at infinitely many points of the unit circle; a non-zero polynomial cannot do that.
Therefore forces every displayed coefficient to vanish, so the constant coefficient and all frequencies except must be zero:
The coefficients are unrestricted because . Hence
so one basis is
(b)(iii)
Every output of has zero and coefficients. Conversely, if
then the polynomial
belongs to and satisfies . Therefore
Equivalently, the image is the set of trigonometric polynomials in whose and coefficients are both zero. Its dimension is , in agreement with rank-nullity.
The operator acts diagonally, multiplying each frequency by . Frequency has eigenvalue zero, so its two real directions form the kernel and removing exactly those two directions gives the image.
[exam]
A projection, nullity and a composition
Suppose
and let be the linear transformation defined by
Additionally, suppose
and let be the linear transformation defined by
You are also given that .
(a) Nullity of
(i)
The nullity of is
(ii)
Give a brief explanation of how this value is obtained.
(b) Kernel of
The kernel of is the set of all satisfying a Cartesian equation.
Briefly explain how the formula for this equation is obtained.
Solution
Part (a) needs only the projection, whose kernel can be found directly. For part (b), makes invertible, so sends no non-zero vector to zero and composing with does not change the kernel of .
First,
Every value of is a scalar multiple of , so . Also,
so and . Since the domain has dimension , the rank-nullity theorem gives
This can also be checked by finding the kernel. For ,
because . Therefore
Dividing the equation by gives , or . Hence
which is a two-dimensional plane, agreeing with the nullity calculation.
For part (b), means that is invertible. Thus
For any ,
Consequently,
The requested Cartesian equation is therefore
equivalently .
In summary, the kernel of the projection is the orthogonal complement of and rank-nullity turns the one-dimensional image into nullity . The determinant condition is used only to show that is injective, which gives .
[exam]
A projection onto a subspace
Later-topic preview: parts (b) and (c) use eigenvalues and eigenvectors.
Suppose that is a subspace of defined as follows:
(a) Choose the correct statement about
- The subspace is a plane through the origin.
- The subspace is a line which does not go through the origin.
- The subspace is a plane which does not go through the origin.
- The subspace is a line through the origin.
- The subspace is the entire space .
The mapping is the projection onto , defined as follows: for any vector , is the unique vector in such that is perpendicular to every vector in .
It can be proved that is a linear transformation. It is also known that for any normal to and for any vector . These facts do not need to be proved here.
(b) Select all that apply
- Any nonzero vector in is an eigenvector of .
- There exists a nonzero vector in that is not an eigenvector of .
- Any nonzero normal vector to is an eigenvector of .
- The linear transformation has at least one zero eigenvalue.
- All eigenvalues of are zero.
- All eigenvalues of are nonzero.
- The linear transformation has at least one eigenvalue that equals .
- The rank of is .
- The rank of is .
- The nullity of is .
- The nullity of is .
(c) Select all that apply
- The vector is an eigenvector of .
- The vector is an eigenvector of .
- The vector is an eigenvector of .
Solution
Let
The third vector is redundant because
The first two vectors are not scalar multiples, so they are linearly independent. Therefore
Since a two-dimensional subspace of is a plane and every subspace contains the zero vector, the correct statement in part (a) is
A normal vector is
because
and
Thus
and decomposes as
The projection is the identity on and is zero on . Relative to the basis , its matrix is therefore
The matrix shows the eigenvalues and the dimensions of the corresponding eigenspaces:
Consequently, the statements selected in part (b) are
Indeed, , so , while , so .
For part (c), the first vector is , so
It is an eigenvector for . The second vector is , so
and it is an eigenvector for .
For the third vector, let
The orthogonal projection onto the plane perpendicular to is
Here and , so
This is not a scalar multiple of : comparing second coordinates forces the scalar to be , but then the first coordinates and disagree. Therefore the third vector is not an eigenvector. The selected vectors in part (c) are
Geometrically, vectors in the plane are fixed, with eigenvalue and vectors in the normal direction are sent to zero, with eigenvalue . The same split into a two-dimensional image and a one-dimensional kernel gives the rank and nullity.
[exam]
- [1]:Subspace
- [2]:Eigenvalue
- [3]:Eigenvector
Kernels, ranks and powers of a matrix
Let and be square matrices of the same size . It is generally true that
(a)
(i)
Prove this result by completing the following argument:
If and so , then and hence .
(ii)
Complete the following statement. Some interesting special cases to consider are when (the zero matrix) and (the identity matrix). In these cases, and .
(b)
Choose all the correct statements, which are true for all and :
- ;
- ;
- ;
- ;
- ;
- .
(c)
Let be a square matrix and let
Choose all the correct statements, which are true for all square matrices:
- The sequence is non-decreasing.
- The sequence is constant.
- The sequence is non-increasing.
- The sequence is bounded.
- The sequence is unbounded.
- exists.
- does not exist.
(d)
The following matrix computation and output is available:
>> A = [5, 7, -6; 10, 12, -11; 20, 24, -22]
A =
5 7 -6
10 12 -11
20 24 -22
>> A^2
ans =
-25 -25 25
-50 -50 50
-100 -100 100
>> A^3 + 5*A^2
ans =
0 0 0
0 0 0
0 0 0Find the smallest integer such that
Justify the answer using the displayed computation.
Solution
The kernel inclusion in part (a) gives a nullity inequality. Because and have the same number of columns, rank-nullity turns it into a rank inequality, which part (c) applies to consecutive powers of .
(a) Kernel inclusion and the special cases
By definition,
Therefore
This is exactly the condition . The completed argument is
If , then , so every vector in is sent to zero:
If , then , so
The identity case shows that the inclusion can be an equality, while the zero-matrix case shows that can be much larger.
(b) Comparing rank and nullity
The inclusion from part (a) implies
so
Both and are , so rank-nullity gives
Reversing the inequality after subtracting from gives
Thus the correct selections in part (b) are exactly
The equality statements are not always true: taking gives , so both inequalities are strict whenever is non-zero.
(c) The rank sequence
Apply the rank inequality from part (b) with the left factor and the right factor :
Therefore is non-increasing. Since an matrix has rank between and ,
so the sequence is bounded. A non-increasing sequence of integers bounded below must eventually be constant and therefore its limit exists.
The sequence need not be constant from the start. For example, a non-zero nilpotent matrix can have . The correct selections are
(d) Finding the smallest stabilisation index
First determine explicitly. Row operations give
There are two pivots, so
The displayed value of is non-zero and its rows are multiples of the first row:
Thus
The second MATLAB output says
Multiplying by for any gives
Because multiplying a matrix by the non-zero scalar does not change its rank,
However,
so the equality does not hold at . Therefore the smallest possible integer is
[exam]
- [1]:Kernel
- [2]:Rank
- [3]:Rank-nullity theorem for vector spaces
Ranks of products involving a matrix and its transpose
Wenbo is given the matrix
Jess has found the eigenvalues of to be approximately
where any integer eigenvalues are exact, not approximations.
The eigenvalue list is supplied as data; the rank calculation below is verified directly from by row reduction.
Calculate:
(a) ;
(b) .
(c) If is another matrix with , what are the possible values of ?
Solution
Find first, then compare kernels. For any real matrix, the quadratic forms and are squared Euclidean lengths, so the two products have the same kernels as and . Rank-nullity then gives their ranks.
Row reduction gives
There are pivots in columns , and , so
The exact zero eigenvalue agrees with this singularity, but it is the row reduction that shows the nullity is exactly one; the rounded eigenvalues alone would not.
For part (a), if then . Conversely, if , then
so . Hence
Both matrices have four columns. Since , rank-nullity gives
Similarly,
because
Transposition preserves rank, so and . Therefore
For part (c), write a rank-one matrix as
Then
This product has rank at most . It has rank when . Such a non-zero exists because . It has rank when , which can be achieved by choosing . Consequently, the possible values are
The kernel identities give the product ranks without multiplying the matrices and the rank-one factorisation reduces part (c) to whether is zero.
[exam]
Possible nullities of a linear map
Let
be a linear map. Suppose the kernel of has dimension . Then:
(a) the maximum possible value of is ___;
(b) the minimum possible value of is ___; and
(c) is surjective if and only if ___.
Solution
The domain consists of matrices, so one basis is given by the matrices with a single and all other entries . Hence
The space has basis , so
Let . Rank-nullity gives
so
The rank is at least and cannot exceed the dimension of the codomain:
Therefore
The upper bound is attained by the zero map, whose kernel is the whole 63-dimensional domain. The lower bound is attainable because a 63-dimensional domain can map onto the 26-dimensional codomain by sending 26 domain basis vectors to a basis of and the remaining 37 basis vectors to zero. Thus
and
Finally, is surjective exactly when its image is the whole codomain. This is equivalent to
Using ,
Hence
[routine]
Classifying mathematical objects
Later-topic preview: several classifications use eigenvalues, eigenspaces or diagonalisation.
Consider the following mathematical objects that we encountered in MATH1251:
-
.
-
defined by
where is the vector space of all integrable functions on the interval .
-
.
-
defined by
-
.
-
.
-
.
-
defined by
-
.
-
.
-
.
(a) Select all examples on the list above for which the following requirements are well-defined and are satisfied.
(i) ___ has at least 3 linearly independent columns.
(ii) ___ is rank 1.
(iii) ___ has a 3-dimensional eigenspace.
(iv) ___ is a 4-dimensional vector space.
(v) ___ has a positive eigenvalue.
(vi) ___ has positive nullity.
(vii) ___ is a subspace of .
(viii) ___ is diagonalisable.
(ix) ___ has linearly dependent columns.
Solution
A requirement can be satisfied only where it is well defined for the object. Rank and nullity apply to linear maps and matrices. Eigenvalues, eigenspaces and diagonalisation apply to endomorphisms, such as square matrices or maps from a vector space to itself. Statements about columns apply to matrices, and the vector-space and subspace statements apply to the listed sets or spaces.
For object 3, denote the matrix by . Row reduction gives
There are pivots in columns , so
Consequently, object 3 has at least three linearly independent columns. It also has five columns in , so its columns are linearly dependent and rank-nullity gives
The matrix in object 1 is the identity matrix. Its columns are independent, its rank is , its nullity is and its only eigenvalue is , with a three-dimensional eigenspace. It is already diagonal, so it is diagonalisable.
For object 5, write
Its second column is the negative of its first column, while the first column is nonzero. Therefore and its columns are linearly dependent. Its characteristic polynomial is
Thus its eigenvalues are and . They are distinct, so is diagonalisable, but it has no positive eigenvalue.
For object 9,
Its eigenvalues are and , so it has a positive eigenvalue and is diagonalisable. Its columns are independent and its nullity is .
For object 2, linearity of integration makes this a linear map. It is nonzero because
Its codomain is one-dimensional, so its nonzero image is all of :
Its kernel is nontrivial, since, for example,
Thus object 2 has positive nullity.
For object 4, the vector is nonzero. The dot-product map therefore has image and rank . Its kernel is the plane perpendicular to this vector, so its nullity is , which is positive.
For object 8, write . Then
The image consists of the constant polynomials, so
With respect to the basis , the matrix of is
Its only eigenvalue is and its eigenspace is the one-dimensional space of constant polynomials. Since has dimension , object 8 is not diagonalisable and has no positive eigenvalue.
The remaining vector-space dimensions are
Object 7 is not four-dimensional. Its second displayed vector is the negative of the first and the other three vectors are independent: if
then the fourth coordinate gives , the first gives and the second gives . Hence object 7 has dimension .
The four polynomials in object 11 are linearly independent because a linear combination equal to the zero polynomial has all four coefficients equal to zero. Therefore object 11 has dimension .
Each of , and object 11 is a subspace of : every polynomial in these spaces has degree at most and the span in object 11 is closed under addition and scalar multiplication. Object 7 is a subspace of , not of .
Collecting the results, the selected object numbers are:
Different objects need different tests: row reduction counts pivots and free variables, coefficient comparison gives polynomial dimensions and eigenvalue statements require a square map.
[exam]
Consequences of prescribed kernel and image vectors
Let and be vector spaces and let
be a linear transformation. Let be vectors in and let be vectors in .
It is given that are linearly independent and also are linearly independent. It is also given that
(a)
Select the statements which are definitely true. If it is not possible to be certain whether a statement is true or false, do not select it.
- is a subspace of .
- is a subspace of .
- .
- .
- .
- is not an element of .
(b)
Select the statements which are definitely true. If it is not possible to be certain whether a statement is true or false, do not select it.
- is a subspace of .
- is a subspace of .
- .
- .
- .
- is not an element of .
(c)
Now suppose that you are told that the vector space is in fact . Select the correct statement from the following list, then give a brief explanation:
- and .
- and .
- Either or , but we do not have enough information to tell which.
- and .
- and .
- and .
(d)
By selecting a statement from each list, complete a carefully explained proof that is a linearly independent set.
Solution
Write
For (a), the kernel is a subspace of the domain , so the first statement is definitely true and the second is false.
Since , both and belong to . Being linearly independent, they give at least two independent directions, so
There is no information ruling out further independent vectors in , so neither nor is forced.
Finally,
The independence of implies , so . Hence . The definitely true choices in (a) are
For (b), the image is a subspace of the codomain , not necessarily a subspace of . Because
both and belong to . Their independence gives
There may be further independent vectors in the image, so rank at most and rank equal to are not forced. Also,
so . Therefore the definitely true choices in (b) are
For (c), the rank-nullity theorem applies to the domain :
The conclusions from (a) and (b) give
Thus
The only possible pairs are
The given information does not determine whether an additional independent image direction occurs. Therefore the correct listed statement is
For (d), suppose that scalars satisfy
Apply to both sides. Since is linear and ,
Because are linearly independent, the last equation implies
Substituting these values into the original relation gives
Since are linearly independent,
Therefore
which is precisely the homogeneous criterion for to be linearly independent.