CalcPath
ProgressProblem setsFeedback
← Question sheet

Linear Algebra · Solutions

Linear Transformations

12 questions · about 105 minutes

Work this sheet on paper and show every step — the method is what is being tested, and the solutions are written so you can check your route rather than just your answer. Name every result you use (“by rank-nullity”, “by the representation theorem”, “by the dimension obstruction”) and check its hypotheses; whenever a matrix appears, say which bases it is written in. No calculator is needed anywhere — every number is a small integer or a simple fraction. Full worked solutions are on a separate page, and each question also has its own reveal, so you can check one answer without seeing the rest.

  1. 1.Computation

    For each map decide whether it is linear. If it is, verify the one-line linearity test T(cu+v)=cT(u)+T(v) for general inputs. If it is not, give one explicit numerical counterexample and name the axiom it breaks (additivity, or homogeneity with a stated scalar). In every case say first whether the origin test T(0)=0 settles the question.

    1. (a)T:P2​→R2, T(p)=(p(1),p′(0)).
    2. (b)T:M2×2​→R, T(A)=detA.
    3. (c)T:R2→R, T(x,y)=max(x,y).

    Solution

    (a) Linear. The origin test passes — the zero polynomial has p(1)=0 and p′(0)=0 — so it decides nothing; the test can only ever refute linearity. Run the one-line test. For polynomials p,q and a scalar c, the definition of adding and scaling functions gives (cp+q)(1)=cp(1)+q(1), and the sum and constant-multiple rules of differentiation give (cp+q)′=cp′+q′, hence (cp+q)′(0)=cp′(0)+q′(0). Therefore

    T(cp+q)=(cp(1)+q(1),cp′(0)+q′(0))=c(p(1),p′(0))+(q(1),q′(0))=cT(p)+T(q).

    Sanity check with numbers: p=t2 gives T(p)=(1,0) and q=1+t gives T(q)=(2,1); linearity predicts T(2p+q)=2(1,0)+(2,1)=(4,1), and directly 2p+q=1+t+2t2 has value 4 at 1 and derivative 1+4t equal to 1 at 0. ✓

    (b) Not linear. det of the zero matrix is 0, so the origin test passes and says nothing. Homogeneity fails with c=2: det(2I)=det(20​02​)=4, whereas 2detI=2. (Additivity fails too: det(10​00​)+det(00​01​)=0, but the two matrices add to I with determinant 1.) One counterexample is enough. The determinant of a 2×2 matrix scales like c2, not like c.

    (c) Not linear. max(0,0)=0, so again the origin test passes. Additivity fails: T((1,0)+(0,1))=T(1,1)=1, but T(1,0)+T(0,1)=1+1=2. Homogeneity fails as well, but only for negative scalars: T(−1,0)=max(−1,0)=0 while −T(1,0)=−1. For c>0 we do have max(cx,cy)=cmax(x,y), so a check with positive scalars alone would have passed — the same trap as the absolute value.

  2. 2.Sketch

    Let T:R2→R2 be the map that first applies the horizontal shear H−1​ (so e2​↦(−1,1)) and then reflects across the x-axis. A drawing with no computation beside it earns nothing: every vertex you plot must be justified.

    1. (a)Find the images of the four corners 0, e1​, e1​+e2​, e2​ of the unit square, and write down the standard matrix of T.
    2. (b)On one pair of axes draw the unit square and its image, labelling each image vertex with the corner it came from. Walking the corners in the order 0,e1​,e1​+e2​,e2​, does the image go round the same way as the square?
    3. (c)Compute detT and explain how its size and its sign are both visible in your drawing.
    4. (d)Compute the standard matrix of T∘T. Which vertices of your drawing does T swap, and which does it fix?

    Solution

    (a) Track the basis vectors through both steps. The shear H−1​ fixes e1​ and sends e2​ to (−1,1); the reflection Fx​ fixes (1,0) and sends (−1,1) to (−1,−1). So T(e1​)=(1,0) and T(e2​)=(−1,−1), and stacking these as columns gives the standard matrix

    A=(10​−1−1​).

    As a product this is Fx​H−1​=(10​0−1​)(10​−11​), the reflection on the left because it is applied second. ✓

    The origin goes to itself, and by linearity T(e1​+e2​)=T(e1​)+T(e2​)=(1,0)+(−1,−1)=(0,−1). The fourth corner was never free to choose. So the corners go

    (0,0)↦(0,0),(1,0)↦(1,0),(1,1)↦(0,−1),(0,1)↦(−1,−1).

    (b) The drawing. The square has corners (0,0),(1,0),(1,1),(0,1). The image is the parallelogram with vertices (0,0),(1,0),(0,−1),(−1,−1): it shares the bottom edge from (0,0) to (1,0) with the square, and its opposite edge is the segment from (−1,−1) to (0,−1) lying on the line y=−1. It leans to the left and sits entirely below the x-axis. Label (1,0) as the image of e1​, (0,−1) as the image of e1​+e2​, and (−1,−1) as the image of e2​.

    Walking the square (0,0)→(1,0)→(1,1)→(0,1) goes counterclockwise. Walking the images (0,0)→(1,0)→(0,−1)→(−1,−1) goes clockwise. The orientation is reversed.

    (c) Determinant. detA=1⋅(−1)−(−1)⋅0=−1; equivalently detFx​⋅detH−1​=(−1)(1). Its size ∣−1∣=1 is the area of the parallelogram: base 1 along the x-axis and vertical height 1 (the far edge lies on y=−1), so area 1⋅1=1, unchanged. Its sign is the reversal of orientation found in (b): a shear preserves orientation and a reflection reverses it, so the composite reverses it.

    (d) T∘T is the identity.

    A2=(10​−1−1​)(10​−1−1​)=(10​−1+11​)=I.

    The picture says the same thing. T fixes (0,0) and (1,0). It sends e2​=(0,1) to (−1,−1), and A(−1,−1)T=(−1+1,1)T=(0,1)T sends it straight back; likewise (1,1)↦(0,−1) and A(0,−1)T=(1,1)T. So every vertex is either fixed or exchanged with its image, and applying T twice restores the square. Geometrically T is an oblique reflection in the x-axis: points on the axis stay put and everything else is flipped across it along the direction (1,2), which T reverses — A(1,2)T=(1−2,−2)T=−(1,2)T.

  3. 3.Computation

    A linear map T:R3→R2 satisfies

    T(1,0,1)=(2,3),T(0,1,1)=(1,−1),T(1,1,0)=(0,4).

    1. (a)Show that the three input vectors form a basis of R3, and explain why this guarantees that T is completely determined by the three values given.
    2. (b)Find T(e1​), T(e2​), T(e3​) and hence the standard matrix A of T. Check A against all three pieces of data.
    3. (c)Compute T(2,−1,3) twice: once from A and once by expressing (2,−1,3) in the given basis. Then decide whether T is one-to-one and whether it is onto, naming the results you use.

    Solution

    (a) A basis, so T is pinned down. Write u1​=(1,0,1), u2​=(0,1,1), u3​=(1,1,0). Three vectors in R3 form a basis exactly when the matrix with those columns is invertible:

    det​101​011​110​​=1(1⋅0−1⋅1)−0+1(0⋅1−1⋅1)=−1−1=−2=0.

    So they are a basis. Every x∈R3 is then a unique combination au1​+bu2​+cu3​, and because linear maps preserve linear combinations, T(x)=aT(u1​)+bT(u2​)+cT(u3​) is forced. A linear map is determined by its values on a basis.

    (b) Express each ej​ in the basis, then apply T. Solving au1​+bu2​+cu3​=(p,q,r) means solving a+c=p, b+c=q, a+b=r. Adding the three equations gives a+b+c=2p+q+r​, and subtracting each original equation from that yields

    a=2p−q+r​,b=2−p+q+r​,c=2p+q−r​.

    For e1​=(1,0,0): (a,b,c)=(21​,−21​,21​), so T(e1​)=21​(2,3)−21​(1,−1)+21​(0,4)=(21​,4).

    For e2​=(0,1,0): (a,b,c)=(−21​,21​,21​), so T(e2​)=−21​(2,3)+21​(1,−1)+21​(0,4)=(−21​,0).

    For e3​=(0,0,1): (a,b,c)=(21​,21​,−21​), so T(e3​)=21​(2,3)+21​(1,−1)−21​(0,4)=(23​,−1).

    Stack as columns:

    A=(21​4​−21​0​23​−1​).

    Checks: Au1​=(21​+23​,4−1)=(2,3) ✓; Au2​=(−21​+23​,0−1)=(1,−1) ✓; Au3​=(21​−21​,4+0)=(0,4) ✓.

    (c) Two routes to T(2,−1,3). From the matrix: A(2,−1,3)T=(1+21​+29​,8−0−3)T=(6,5)T.

    From the basis, with (p,q,r)=(2,−1,3): a=22+1+3​=3, b=2−2−1+3​=0, c=22−1−3​=−1. Check: 3u1​−u3​=(3,0,3)−(1,1,0)=(2,−1,3) ✓. Then T(2,−1,3)=3(2,3)+0(1,−1)−(0,4)=(6,5). ✓ The two routes agree.

    One-to-one: no. By the dimension obstruction, no linear map R3→R2 is one-to-one, because three columns in R2 are always dependent. Concretely, rank-nullity gives nullity 3−2=1; solving Ax=0 gives z=4x and y=13x, so ker(T)=span{(1,13,4)} — and indeed A(1,13,4)T=(21​−213​+6,4−4)T=0.

    Onto: yes. The columns (21​,4) and (−21​,0) are not multiples of each other, so they are independent and span R2; by the existence-and-uniqueness-via-columns theorem, T is onto.

  4. 4.Computation

    Let

    A=​12−1​−1−21​231​01−3​​

    and let T:R4→R3 be T(x)=Ax.

    1. (a)Row reduce A. State rank(T) and nullity(T), give a basis for ker(T) and a basis for im(T), and check one vector of each basis directly against A.
    2. (b)Show that b=(3,5,0) lies in im(T), and describe the complete solution set of T(x)=b in the form v0​+ker(T). Name the result that justifies this form, and verify one solution other than v0​.
    3. (c)The pivot columns of your reduced matrix are (1,0,0) and (0,1,0). Prove that these two vectors do not span im(T), and say what this shows about reading an image basis off a reduced matrix.

    Solution

    (a) Row reduce. R2​→R2​−2R1​ and R3​→R3​+R1​ give rows (1,−1,2,0), (0,0,−1,1), (0,0,3,−3). Then R3​→R3​+3R2​ zeroes the last row. Scale R2​→−R2​ and clear above the pivot with R1​→R1​−2R2​:

    ​100​−100​010​2−10​​.

    Pivots sit in columns 1 and 3, so rank(T)=2; the free variables are x2​,x4​, so nullity(T)=2. Check: 2+2=4=dimR4 ✓ (rank-nullity).

    Kernel: the reduced rows say x1​=x2​−2x4​ and x3​=x4​. Taking (x2​,x4​)=(1,0) and (0,1) gives the basis (1,1,0,0) and (−2,0,1,1). Check the second: A(−2,0,1,1)T=(−2+2,−4+3+1,2+1−3)T=0 ✓.

    Image: the pivot columns of the original A, namely (1,2,−1) and (2,3,1). The first is Ae1​, so it is certainly an output. ✓

    (b) The solution set is a translate of the kernel. Try b=α(1,2,−1)+β(2,3,1): the third coordinate gives −α+β=0, so β=α; the first gives 3α=3, so α=β=1; and the second checks, 2+3=5 ✓. Hence b=Ae1​+Ae3​=A(1,0,1,0)T, so b∈im(T) with particular solution v0​=(1,0,1,0).

    By the proposition on the solution set of T(x)=b — every solution is the particular one plus something in the kernel — the complete solution set is

    (1,0,1,0)+s(1,1,0,0)+t(−2,0,1,1),s,t∈R.

    Verify s=t=1: x=(0,1,2,1) and Ax=(−1+4,−2+6+1,1+2−3)=(3,5,0) ✓.

    (c) Row operations move the column space. im(T) is the plane spanned by c1​=(1,2,−1) and c3​=(2,3,1). Suppose (1,0,0)=αc1​+βc3​. The third coordinate gives β=α, the first then gives 3α=1, so α=β=31​; but the second coordinate would be 2α+3β=35​=0. Contradiction, so (1,0,0)∈/im(T), and a set containing it cannot be a basis of the image.

    A cleaner way to see the whole plane: a normal vector is c1​×c3​=(2⋅1−(−1)⋅3,(−1)⋅2−1⋅1,1⋅3−2⋅2)=(5,−3,−1), so im(T)={5x−3y−z=0}. Then b=(3,5,0) satisfies 15−15−0=0 ✓, and (1,0,0) gives 5=0.

    The lesson: row operations preserve the dependence relations among the columns — which is why they correctly identify columns 1 and 3 as the ones to keep — but they change the columns themselves, and the reduced columns span a different subspace of R3 (here the xy-plane). Take the pivot columns from the original matrix.

  5. 5.Proof

    Throughout, V is finite-dimensional with dimV=n. Quote the rank-nullity theorem by name each time you use it, and say which map and which domain you are applying it to.

    1. (a)Let T:V→V be linear with T∘T=0. Prove that im(T)⊆ker(T), and deduce that rank(T)≤n/2.
    2. (b)Write down an operator T on R4 with T∘T=0 and rank(T)=2, verify both claims, and say what this shows about the bound in (a).
    3. (c)Let T:U→V and S:V→W be linear, with U finite-dimensional. Prove that rank(S∘T)≥rank(T)−nullity(S). (Apply rank-nullity to the restriction of S to the subspace im(T).)

    Solution

    (a) The image sits inside the kernel. Let w∈im(T), say w=T(v). Then T(w)=T(T(v))=(T∘T)(v)=0, so w∈ker(T). Hence im(T)⊆ker(T).

    A subspace has dimension at most that of the space containing it, so rank(T)=dimim(T)≤dimker(T)=nullity(T). Now apply rank-nullity to T on its domain V:

    n=rank(T)+nullity(T)≥rank(T)+rank(T)=2rank(T),

    so rank(T)≤n/2. ■

    (b) The bound is sharp. Take T(x1​,x2​,x3​,x4​)=(x3​,x4​,0,0), whose standard matrix has 1's in positions (1,3) and (2,4) and zeros elsewhere. Then T(T(x))=T(x3​,x4​,0,0)=(0,0,0,0), so T∘T=0. The image is {(a,b,0,0)}=span{e1​,e2​}, of dimension 2, so rank(T)=2=4/2. The bound in (a) is attained, so it cannot be improved. Note that here ker(T)={x3​=x4​=0}=span{e1​,e2​} as well: equality in (a) happens exactly when im(T)=ker(T).

    (c) Restrict S to the image of T. Let S′ be the restriction of S to the subspace im(T), a linear map S′:im(T)→W (restricting a linear map to a subspace keeps both axioms). Its domain is finite-dimensional: by rank-nullity for T on U, dimim(T)=dimU−nullity(T)<∞.

    Its image is S(imT)={S(T(u)):u∈U}=im(S∘T), of dimension rank(S∘T).

    Its kernel is {w∈im(T):S(w)=0}=im(T)∩ker(S), a subspace of ker(S), so its dimension is at most nullity(S).

    Rank-nullity for S′ on the domain im(T) now reads

    rank(T)=dimim(T)=dim(im(T)∩ker(S))+rank(S∘T)≤nullity(S)+rank(S∘T),

    and rearranging gives rank(S∘T)≥rank(T)−nullity(S). ■

    Sanity check on (b) with S=T: the inequality predicts rank(T2)≥2−2=0, and indeed T2=0. The inequality is the lower half of the familiar rank(S∘T)≤min{rankS,rankT}: composing can lose rank, but at most nullity(S) of it.

  6. 6.Computation

    Let T:P2​→P2​ be the forward-difference operator T(p)(t)=p(t+1)−p(t), and let B={1,t,t2}.

    1. (a)Explain briefly why T is linear and why its output really lies in P2​. Then compute [T]B​.
    2. (b)Use the matrix to compute T(3−2t+5t2), and confirm the answer by direct substitution.
    3. (c)Read ker(T) and im(T) off the matrix, describe both as sets of polynomials, and check rank-nullity.
    4. (d)Now let C={1,1+t,1+t+t2}. Compute [T]CB​, and point to the single column that changed and why.

    Solution

    (a) Linearity and the matrix. For polynomials p,q and a scalar c,

    T(cp+q)(t)=(cp+q)(t+1)−(cp+q)(t)=c(p(t+1)−p(t))+(q(t+1)−q(t))=(cT(p)+T(q))(t),

    which is the one-line test. If degp≤2 then p(t+1) is again a polynomial of degree at most 2 (expand the binomials), and a difference of two such polynomials has degree at most 2, so T(p)∈P2​.

    Apply T to each basis vector and read off B-coordinates:

    T(1)=1−1=0→(0,0,0),T(t)=(t+1)−t=1→(1,0,0),T(t2)=(t+1)2−t2=2t+1→(1,2,0).

    Stacking as columns,

    [T]B​=​000​100​120​​.

    (b) Differencing a specific polynomial. [3−2t+5t2]B​=(3,−2,5)T, and

    ​000​100​120​​​3−25​​=​−2+5100​​=​3100​​,

    which decodes as 3+10t. Directly: p(t+1)=3−2(t+1)+5(t+1)2=3−2t−2+5t2+10t+5=5t2+8t+6, and subtracting p(t)=5t2−2t+3 leaves 10t+3. ✓

    (c) Kernel and image from the matrix. The system [T]B​c=0 says c2​+c3​=0 and 2c3​=0, so c2​=c3​=0 with c1​ free: ker(T)=span{1}, the constant polynomials, and nullity(T)=1. (These are the only polynomials with p(t+1)=p(t) for all t.) The image is the column space, spanned by (1,0,0) and (1,2,0), which is {(a,b,0)} — decoded, the polynomials a+bt, so im(T)=P1​ and rank(T)=2. Rank-nullity: 1+2=3=dimP2​ ✓. Like differentiation, differencing lowers the degree by one and kills exactly the constants.

    (d) Same map, new output basis. The outputs T(1)=0, T(t)=1, T(t2)=1+2t are unchanged; only step two of the recipe — express them in C — is redone. 0 has coordinates (0,0,0) in any basis. 1 is the first vector of C, so [1]C​=(1,0,0). For 1+2t=a⋅1+b(1+t)+c(1+t+t2): the t2 coefficient forces c=0, the t coefficient gives b=2, and the constant term gives a+b=1, so a=−1. Thus [1+2t]C​=(−1,2,0), and

    [T]CB​=​000​100​−120​​.

    Check: −1⋅1+2(1+t)=1+2t ✓. Only the third column changed, because 0 and 1 happen to have the same coordinates in B and C (both bases start with 1) while 1+2t does not. Writing T(t2) itself as the column, (1,2,0), would be the classic error: the column must be the C-coordinates, not the vector.

  7. 7.Computation

    Let T:R2→R2 be T(x,y)=(4x−2y,x+y), with standard matrix A, and let B={(1,1),(2,1)}.

    1. (a)Compute [T]B​ directly from the definition, by applying T to each basis vector and expressing the result in B.
    2. (b)Write down P=PE←B​, compute P−1, and verify P−1AP=[T]B​ by explicit multiplication. Confirm that trace and determinant agree between A and [T]B​, and name the theorem that says they must.
    3. (c)Find [v]B​ for v=(5,4), use [T]B​ to obtain [T(v)]B​, decode, and compare with T(5,4) computed directly.
    4. (d)Compute A5 exactly. Check your answer against the trace and determinant that [T]B​ predicts for A5.

    Solution

    (a) Directly from the definition. T(1,1)=(4−2,1+1)=(2,2)=2(1,1)+0(2,1), so the first column is (2,0)T. T(2,1)=(8−2,2+1)=(6,3)=0(1,1)+3(2,1), so the second column is (0,3)T. Hence

    [T]B​=(20​03​).

    The basis was chosen so that T merely stretches each basis vector — by 2 along (1,1) and by 3 along (2,1).

    (b) The change-of-basis formula. The standard matrix is A=(41​−21​) (one row per output component). In R2 the matrix PE←B​ is just the B vectors as columns:

    P=(11​21​),detP=1−2=−1,P−1=−11​(1−1​−21​)=(−11​2−1​).

    (Check: PP−1=(−1+2−1+1​2−22−1​)=I ✓.) Multiply right to left, the direction a vector travels:

    AP=(41​−21​)(11​21​)=(22​63​),P−1(AP)=(−11​2−1​)(22​63​)=(−2+42−2​−6+66−3​)=(20​03​).

    ✓ This matches (a), as the change-of-basis theorem for an operator, [T]B​=P−1[T]E​P, requires. Invariants: trA=4+1=5=2+3 and detA=4+2=6=2⋅3. They must agree by the similarity invariants theorem, since A and [T]B​ are similar.

    (c) Chasing one vector. Getting into B-coordinates costs the inverse: [v]B​=P−1v=(−5+8,5−4)T=(3,1)T. Check: 3(1,1)+1(2,1)=(5,4) ✓. Then [T(v)]B​=[T]B​[v]B​=(2⋅3,3⋅1)T=(6,3)T, which decodes as 6(1,1)+3(2,1)=(12,9). Directly, T(5,4)=(20−8,5+4)=(12,9). ✓

    (d) Powers through the friendly basis. From D=P−1AP with D=diag(2,3) we get A=PDP−1, and by part (5) of the invariants theorem A5=PD5P−1 with D5=diag(32,243). First

    PD5=(11​21​)(320​0243​)=(3232​486243​),

    then

    A5=(3232​486243​)(−11​2−1​)=(−32+486−32+243​64−48664−243​)=(454211​−422−179​).

    Checks. A5 is similar to D5, so its trace must be 32+243=275: indeed 454−179=275 ✓. Its determinant must be 32⋅243=65=7776: 454⋅(−179)−(−422)⋅211=−81266+89042=7776 ✓. And A5(1,1)T should be 25(1,1)T: 454−422=32 and 211−179=32 ✓.

  8. 8.Critique

    Let T:R3→R2, T(x,y,z)=(x+y,y+z), and S:R2→R3, S(a,b)=(a,b,a−b). A student writes the following.

    Step 1. MT​=(10​11​01​) and MS​=​101​01−1​​.

    Step 2. The matrix of S∘T is MT​MS​=(11​10​), multiplying in the order the maps are written.

    Step 3. det(11​10​)=−1=0, so S∘T is invertible.

    Step 4. Therefore T is one-to-one: if T(u)=T(v) then S(T(u))=S(T(v)), and S∘T invertible forces u=v.

    Step 1 is correct.

    1. (a)Identify every error, naming the theorem or rule each one violates. One of the remaining steps is a valid inference from a false premise — say which, and explain why its conclusion is nevertheless false.
    2. (b)Compute the correct standard matrix of S∘T, find its rank, and give a basis for ker(S∘T).
    3. (c)Decide, with proof, which of the four statements hold: S is one-to-one; S is onto; T is one-to-one; T is onto. Use the matrix MT​MS​ for the two that are true.

    Solution

    (a) Where it goes wrong. Step 2 violates the composition theorem, [S∘T]=[S][T]: the map applied first sits nearest the vector, on the right, so the matrix of S∘T is MS​MT​, not MT​MS​. The product the student formed, MT​MS​, is the matrix of T∘S:R2→R2. The shapes alone should have raised the alarm: S∘T is a map R3→R3 and needs a 3×3 matrix, and a 2×2 determinant cannot be its determinant.

    Step 3 is arithmetically right but is about the wrong map: it proves that T∘S is invertible (a determinant test is legitimate for an operator on R2, by the invertibility criteria), and says nothing about S∘T.

    Step 4 is the valid inference from a false premise. The argument "if S∘T is one-to-one then T is one-to-one" is correct exactly as written. But its premise is false — see (b) — so the conclusion is unsupported, and in fact it is false: by the dimension obstruction, no linear map R3→R2 is one-to-one, since three columns in R2 are always dependent.

    (b) The correct composite.

    MS∘T​=MS​MT​=​101​01−1​​(10​11​01​)=​101​110​01−1​​.

    The third row is the first minus the second, so the rows are dependent and det=0; the first two rows are independent, so the rank is 2 and, by rank-nullity on R3, the nullity is 1. Solving MS∘T​x=0: x+y=0 and y+z=0 (the third equation is redundant), so x=−y, z=−y, and

    ker(S∘T)=span{(1,−1,1)}.

    Check: (1−1,−1+1,1−1)=0 ✓. So S∘T is not invertible, and Step 3's conclusion was false.

    (c) The four statements. The student's product is the matrix of T∘S: MT​MS​=(11​10​), with determinant −1=0, so T∘S is an invertible operator on R2.

    S is one-to-one — true. If S(a)=S(b) then T(S(a))=T(S(b)), and T∘S one-to-one gives a=b. (Also visible directly: the columns (1,0,1) and (0,1,−1) of MS​ are independent.)

    T is onto — true. Given w∈R2, put a=(T∘S)−1(w); then T(S(a))=w, so w∈im(T).

    T is one-to-one — false, by the dimension obstruction (3>2); explicitly T(1,−1,1)=(0,0). Because S is one-to-one, ker(S∘T)=ker(T), which is why the kernel in (b) is exactly this line.

    S is onto — false, by the dimension obstruction (2<3); explicitly im(S)={(a,b,a−b)} is the plane z=x−y, and (0,0,1) is not on it.

    The moral: a composite that is invertible tells you the inner map is one-to-one and the outer map is onto — and nothing more.

  9. 9.Proof

    Let V and W be vector spaces with dimV=n≥1 and dimW=m, and write L(V,W) for the space of linear maps V→W with the pointwise operations. You may use that dimL(V,W)=mn, and that a linear map may be prescribed arbitrarily on a basis and extended by linearity.

    1. (a)Fix a nonzero v0​∈V and let U={T∈L(V,W):T(v0​)=0}. Prove that U is a subspace of L(V,W) and that dimU=m(n−1).
    2. (b)Fix T∈L(V) and define ΦT​:L(V)→L(V) by ΦT​(S)=T∘S. Prove that ΦT​ is linear, and that ΦT​ is one-to-one if and only if T is one-to-one.

    Solution

    (a) U is a kernel, and evaluation is onto. Define the evaluation map E:L(V,W)→W by E(T)=T(v0​). It is linear because the operations on L(V,W) are pointwise:

    E(cS+T)=(cS+T)(v0​)=cS(v0​)+T(v0​)=cE(S)+E(T).

    By definition U=ker(E), and the kernel of a linear map is a subspace. That proves the first claim.

    For the dimension, compute the rank of E. Since v0​=0, the set {v0​} is linearly independent and extends to a basis {v0​,b2​,…,bn​} of V. Given any w∈W, prescribe T(v0​)=w and T(bj​)=0 for j≥2, and extend by linearity; then E(T)=w. So E is onto and rank(E)=m. Rank-nullity for E on the domain L(V,W) gives

    mn=dimL(V,W)=nullity(E)+rank(E)=dimU+m,

    so dimU=mn−m=m(n−1). ■

    The count agrees with the knob-counting picture: a map in U is free to send each of b2​,…,bn​ anywhere in W — that is n−1 choices of m numbers — while its value on v0​ is fixed.

    (b) Left composition with T. Linearity. For S1​,S2​∈L(V), a scalar c, and any v∈V,

    ΦT​(cS1​+S2​)(v)=T(cS1​(v)+S2​(v))=cT(S1​(v))+T(S2​(v))=(cΦT​(S1​)+ΦT​(S2​))(v),

    using linearity of T. Two maps agreeing at every v are equal, so ΦT​(cS1​+S2​)=cΦT​(S1​)+ΦT​(S2​).

    (⇐) If T is one-to-one, so is ΦT​. Since ΦT​ is linear it suffices to show its kernel is trivial. Suppose ΦT​(S)=T∘S=0. Then for every v, T(S(v))=0, so S(v)∈ker(T)={0} by the trivial-kernel proposition. Hence S(v)=0 for all v, i.e. S=0.

    (⇒) If T is not one-to-one, neither is ΦT​. Pick v0​=0 with T(v0​)=0, and any basis {b1​,…,bn​} of V. Prescribe S(b1​)=v0​ and S(bj​)=0 for j≥2, extended by linearity. Then S=0, because S(b1​)=0. But (T∘S)(bj​) equals T(v0​)=0 for j=1 and T(0)=0 otherwise, and a linear map that vanishes on a basis is the zero map, so T∘S=0. Thus S is a nonzero element of ker(ΦT​), and ΦT​ is not one-to-one. ■

    Remark: ΦT​ is an operator on the finite-dimensional space L(V), so by the square dichotomy it is one-to-one iff onto iff invertible; the proof shows all three happen exactly when T is invertible, and then ΦT−1​(S)=T−1∘S.

  10. 10.Proof

    Let T:V→V be a linear operator on a finite-dimensional space, and write T2=T∘T. You may use that for subspaces X,Y of V, dim(X+Y)=dimX+dimY−dim(X∩Y), and that a subspace of V with the same dimension as V is all of V.

    1. (a)Prove that ker(T)⊆ker(T2) and im(T2)⊆im(T).
    2. (b)Prove that ker(T)=ker(T2) if and only if im(T)=im(T2).
    3. (c)Prove that if ker(T)=ker(T2) then ker(T)∩im(T)={0}, and deduce that ker(T)+im(T)=V.
    4. (d)Give an operator on R2 for which ker(T)=ker(T2), and show that both conclusions of (c) fail for it.

    Solution

    (a) Two inclusions. If v∈ker(T) then T2(v)=T(T(v))=T(0)=0, because a linear map fixes the origin; so v∈ker(T2). If w∈im(T2), say w=T(T(v)), then w=T(u) with u=T(v), so w∈im(T). ■

    (b) Equal kernels iff equal images. Let n=dimV. Both T and T2 have domain V, so rank-nullity gives

    n=nullity(T)+rank(T)=nullity(T2)+rank(T2),

    hence nullity(T)=nullity(T2) if and only if rank(T)=rank(T2).

    Now use (a). A subspace X⊆Y with dimX=dimY equals Y, because a basis of X is an independent set in Y of size dimY, hence a basis of Y. Applied to ker(T)⊆ker(T2): equality holds iff the nullities agree. Applied to im(T2)⊆im(T): equality holds iff the ranks agree. Chaining,

    ker(T)=ker(T2)⟺nullity(T)=nullity(T2)⟺rank(T)=rank(T2)⟺im(T)=im(T2). ■

    (c) Kernel and image become complementary. Assume ker(T)=ker(T2) and let v∈ker(T)∩im(T). Being in the image, v=T(u) for some u; being in the kernel, T(v)=0. So T2(u)=T(v)=0, which puts u∈ker(T2)=ker(T), and therefore v=T(u)=0. Hence ker(T)∩im(T)={0}.

    For the sum, use the dimension formula with the intersection now zero-dimensional, then rank-nullity for T on V:

    dim(ker(T)+im(T))=nullity(T)+rank(T)−0=n=dimV.

    A subspace of V of dimension dimV is V itself, so ker(T)+im(T)=V. ■ (Together, the two conclusions say V=ker(T)⊕im(T): every vector splits uniquely into a part that T destroys and a part that T produced.)

    (d) A counterexample when the kernels differ. Take T(x,y)=(y,0), with standard matrix (00​10​). Then ker(T)={y=0}=span{e1​}, while T2(x,y)=T(y,0)=(0,0), so T2=0 and ker(T2)=R2=ker(T).

    The image is im(T)={(y,0)}=span{e1​}, the same line as the kernel. So ker(T)∩im(T)=span{e1​}={0} and ker(T)+im(T)=span{e1​}=R2: both conclusions of (c) fail. Consistent with (b), the images differ too: im(T2)={0}=im(T). Rank-nullity still holds for each map separately (1+1=2 and 2+0=2); what fails is only the splitting.

  11. 11.Critique

    Two arguments about similarity follow. Each reaches a false conclusion.

    Argument 1. “A=(20​12​) and B=(20​02​) have the same trace 4, the same determinant 4, the same rank 2 and the same characteristic polynomial (λ−2)2. By the similarity invariants theorem, A∼B.”

    Argument 2. “A=(10​11​) and B=(11​01​) are not similar. Similar matrices represent the same operator, but A is the horizontal shear (x,y)↦(x+y,y) and B is the vertical shear (x,y)↦(x,x+y), and these are different operators on R2.”

    1. (a)For Argument 1: state exactly what the similarity invariants theorem says and which direction of implication the student used. Then decide whether A∼B, with a complete proof.
    2. (b)For Argument 2: identify the sentence that is wrong and explain the misreading of ‘represent the same operator’. Then decide whether A∼B; if they are similar, exhibit an invertible P with B=P−1AP, verify it by multiplication, and describe the basis B of R2 in which the horizontal shear has matrix B.

    Solution

    (a) The converse of a theorem is not the theorem. The similarity invariants theorem says: if B=P−1AP for some invertible P, then A and B have the same determinant, trace, rank and characteristic polynomial. It is a one-way implication, similar ⇒ invariants agree, and its practical use is the contrapositive: invariants differ ⇒ not similar. The student used the converse — invariants agree ⇒ similar — which the theorem does not assert and which is false, as this very pair shows.

    A∼B. Here B=2I, and for every invertible P,

    P−1(2I)P=2P−1IP=2P−1P=2I.

    So the only matrix similar to 2I is 2I itself. Since A=2I, A is not similar to B. ■ In operator language: B represents "double every vector", which looks identical in every basis, whereas A sends e2​ to (1,2), not to 2e2​, so A is not doubling and no change of basis can make it so. Agreement on all the listed invariants can only ever fail to rule out similarity; it never establishes it.

    (b) Same operator, different rulers. The wrong sentence is the last one: "these are different operators on R2, so the matrices are not similar." Similar matrices represent one operator in two different bases. The operator that A describes in the standard basis and the operator that B describes in the standard basis are indeed different maps — but that is not the question. The question is whether the horizontal shear, read in some other basis, has matrix B.

    It does. Take P=(01​10​), which is invertible (detP=−1) with P−1=P. Then

    AP=(10​11​)(01​10​)=(11​10​),P−1(AP)=(01​10​)(11​10​)=(11​01​)=B. ✓

    So A∼B. The columns of P=PE←B​ are the vectors of B, so B={e2​,e1​}: the standard basis in the opposite order.

    Check this directly from the definition of [T]B​ for the horizontal shear T(x,y)=(x+y,y). First basis vector e2​: T(e2​)=(1,1)=1⋅e2​+1⋅e1​, coordinates (1,1). Second basis vector e1​: T(e1​)=e1​=0⋅e2​+1⋅e1​, coordinates (0,1). Hence [T]B​=(11​01​)=B ✓. Swapping the names of the two axes turns a horizontal shear into a vertical one — the geometry is unchanged, only the labelling moved. By symmetry of ∼ (here even with the same P, since P−1=P), B∼A as well.

  12. 12.Computation

    Let D:P3​→P2​ be differentiation, D(p)=p′, and let S:P2​→P3​ be integration from 0, S(p)(t)=∫0t​p(u)du. Use the bases B={1,t,t2,t3} of P3​ and C={1,t,t2} of P2​.

    1. (a)Compute [D]CB​ and [S]BC​, stating the shape of each before you fill it in.
    2. (b)Compute both products [D]CB​[S]BC​ and [S]BC​[D]CB​. Name the theorem that makes them the matrices of D∘S and S∘D, identify both composite maps in words, and explain from the calculus point of view why one of them is the identity and the other is not.
    3. (c)Prove that no linear map R:P2​→P3​ whatsoever satisfies R∘D=idP3​​.
    4. (d)So D has a right inverse but no left inverse. Explain precisely why this does not contradict the theorem listing equivalent criteria for the invertibility of an operator.

    Solution

    (a) Two rectangular matrices. D goes from a 4-dimensional space to a 3-dimensional one, so [D]CB​ is 3×4. Apply D to B and read C-coordinates: D(1)=0, D(t)=1, D(t2)=2t, D(t3)=3t2, giving

    [D]CB​=​000​100​020​003​​.

    S goes from 3 dimensions to 4, so [S]BC​ is 4×3. Apply S to C: S(1)=t, S(t)=21​t2, S(t2)=31​t3, with B-coordinates (0,1,0,0), (0,0,21​,0), (0,0,0,31​):

    [S]BC​=​0100​0021​0​00031​​​.

    (b) The two composites. By the theorem that composition is matrix multiplication, [D∘S]CC​=[D]CB​[S]BC​ and [S∘D]BB​=[S]BC​[D]CB​; the inner basis B (respectively C) matches in each product, as it must. Multiplying,

    [D]CB​[S]BC​=​100​010​001​​=I3​,[S]BC​[D]CB​=​0000​0100​0010​0001​​.

    (For the first: row i of [D] has a single entry i in column i+1, and column i of [S] has a single entry i1​ in row i+1, so they meet exactly on the diagonal with product 1. For the second: row 1 of [S] is zero, and rows 2,3,4 of [S] pick out 1,21​,31​ times rows 1,2,3 of [D].)

    In words, D∘S=idP2​​: differentiating ∫0t​p returns p, which is the fundamental theorem of calculus. And (S∘D)(p)=∫0t​p′(u)du=p(t)−p(0): integrating the derivative recovers p minus its constant term. The matrix shows exactly that — it kills 1 and fixes t,t2,t3. The asymmetry is the kernel of D: differentiation destroys the constants, and no subsequent operation can rebuild information that has already been lost.

    (c) No left inverse exists. Suppose some linear R:P2​→P3​ had R∘D=idP3​​. Then D would be one-to-one: if D(p)=D(q), apply R to get p=R(D(p))=R(D(q))=q. But D is not one-to-one — D(1)=0=D(0) with 1=0, i.e. ker(D)=span{1} is nontrivial. Contradiction. ■

    A second proof by counting: rank(R∘D)≤rank(D)≤dimP2​=3, since every output of R∘D is an output of R applied to a 3-dimensional space, whereas rank(idP3​​)=4. Rank-nullity for D on P3​ already forces nullity(D)≥4−3=1 before any calculus is done.

    (d) Why there is no contradiction. The theorem of equivalent criteria — invertible ⟺ one-to-one ⟺ onto ⟺ trivial kernel ⟺ full rank ⟺ nonzero determinant — is stated for an operator T:V→V on a single finite-dimensional space. Its engine is the square dichotomy from rank-nullity, which needs dimV on both sides, and it is there that a one-sided inverse becomes two-sided. D:P3​→P2​ is not an operator: the domain has dimension 4 and the codomain 3. Rank-nullity makes D onto (rank 3 fills P2​) but never one-to-one (nullity at least 1), so a right inverse can exist — S is one — while a left inverse cannot. On the matrix side, [D] is 3×4, not square; it has no determinant, and a non-square matrix can satisfy MN=I without NM=I, exactly as [D][S]=I3​ while [S][D]=I4​. Finally, by classification by dimension, P3​≅P2​ because 4=3, so no isomorphism between them exists at all — the most one can hope for is a one-sided inverse, and that is what S provides.

← Back to the question sheet

CalcPath·Free university mathematics

SubjectsProblem setsProgressFeedbackAbout