Skip to main content
Logo image

Coordinated Linear Algebra

Section 6.3 Extra Topic: Composition and Inverses

Note to Student: In this section we will often use U, V and W to denote subspaces of Rn, or any other finite-dimensional vector space, such as those we study later on.

Subsection 6.3.1 Composition and Matrix Multiplication

Definition 6.3.1.

Let U, V and W be vector spaces, and let T:UV and S:VW be linear transformations. The composition of S and T is the transformation ST:UW given by
(ST)(u)=S(T(u)).

Example 6.3.2.

Define
T:R2R2byT([u1u2])=[u1+u23u1+3u2],S:R2R2byS([v1v2])=[3v1v23v1+v2].
(You should be able to verify that both transformations are linear.) Examine the effect of ST on vectors of R2.
Answer.
From the computational standpoint, the situation is simple.
(ST)([u1u2])=S(T([u1u2]))=S([u1+u23u1+3u2])=[3(u1+u2)(3u1+3u2)3(u1+u2)+(3u1+3u2)]=0.
This means that ST maps all vectors of R2 to 0.
In addition to the computational approach, it is also useful to visualize what happens geometrically. First, observe that
T([u1u2])=[u1+u23u1+3u2]=(u1+u2)[13].
Therefore the image of any vector of R2 under T lies on the line determined by the vector [1,3]. Even though S is defined on all of R2, we are only interested in the action of S on vectors along the line determined by [1,3]. Our computations showed that all such vectors map to 0. The actions of individual transformations, as well as the composite transformation are shown below.
Composition of functions diagram

Proof.

Let T:UV and S:VW be linear transformations. We will show that ST is linear. For all vectors u1 and u2 of U and scalars a and b we have:
(ST)(au1+bu2)=S(T(au1+bu2))=S(aT(u1)+bT(u2))=aS(T(u1))+bS(T(u2))=a(ST)(u1)+b(ST)(u2).

Proof.

For all u in U we have:
((RS)T)(u)=(RS)(T(u))=R(S(T(u)))=R((ST)(u))=(R(ST))(u).
In this section we will consider linear transformations of Rn and their standard matrices.

Proof.

For all v in Rn we have:
(ST)(v)=S(T(v))=S(MTv)=MS(MTv)=(MSMT)v.

Example 6.3.6.

Example 6.3.2, we discussed a composite transformation ST:R2R2 given by:
T([u1u2])=[u1+u23u1+3u2]andS([v1v2])=[3v1v23v1+v2].
Express ST as a matrix transformation.
Answer.
The standard matrix for T:R2R2 is
[1133]
and the standard matrix for S:R2R2 is
[3131].
The standard matrix for ST is the product
[3131][1133]=[0000].
We conclude this section by revisiting the associative property of matrix multiplication. At the time matrix multiplication was introduced, we skipped the cumbersome proof that for appropriately sized matrices A, B and C, we have (AB)C=A(BC) (see Theorem 4.1.20).
We are now in a position to prove this result with ease. Every matrix induces a linear transformation. The product of two matrices can be interpreted as a composition of transformations. Since function composition is associative, so is matrix multiplication. We formalize this observation as a theorem.

Subsection 6.3.2 Inverses of Linear Transformations

Exploration 6.3.1.

Define a linear transformation T:R2R2 by T(v)=2v. In other words, T doubles every vector in R2. Now define S:R2R2 by S(v)=12v. What happens when we compose these two transformations?
(ST)(v)=S(T(v))=S(2v)=(12)(2)v=v,
(TS)(v)=T(S(v))=T(12v)=(2)(12)v=v.
Both composite transformations return the original vector v. In other words, ST=idR2 and TS=idR2. We say that S is an inverse of T, and T is an inverse of S.

Definition 6.3.8.

Let V and W be vector spaces, and let T:VW be a linear transformation. A transformation S:WV satisfying ST=idV and TS=idW is called an inverse of T. If T has an inverse, T is called invertible.

Example 6.3.9.

Let T:R2R2 be a transformation defined by
T([xy])=[x+yxy].
(ow would you verify that T is linear?). Show that S:R2R2 given by
S([xy])=[0.5x+0.5y0.5x0.5y]
is an inverse of T.
Answer.
We will show that ST=idR2.
(ST)([xy])=S(T([xy]))=S([x+yxy])=[0.5(x+y)+0.5(xy)0.5(x+y)0.5(xy)]=[xy].
We leave it to the reader to verify that TS=idR2.
Definition 6.3.8 does not specifically require an inverse S of a linear transformation T to be linear, but it turns out that the requirement that ST=idV and TS=idW is sufficient to guarantee that S is linear.

Proof.

Subsection 6.3.3 Linear Transformations of Rn and the Standard Matrix of the Inverse Transformation

Every linear transformation T:RnRm is a matrix transformation (see Theorem 6.2.24). If T has an inverse S, then by Theorem 6.3.10, S is also a matrix transformation.
Let MT and MS denote the standard matrices of T and S, respectively. We see that
ST=idRn and S=idRm
if and only if
MSMT=In and MTMS=Im.
In other words, T and S are inverse transformations if and only if MT and MS are matrix inverses.
Note that if S is an inverse of T, then MT and MS are square matrices, and n=m.

Proof.

Please note that Theorem 6.3.11 is only applicable in the context of linear transformations of Rn and their standard matrices. The following example provides us with motivation to investigate inverses further, which we will do in the next section.

Exploration 6.3.2.

Let
V=span([100],[111]).
Define a linear transformation
T:VR2
T([100])=[11]andT([111])=[01].
Observe that
{[100],[111]}
is a basis of V (why?). The information about the images of the basis vectors is sufficient to define a linear transformation. This is because every vector v in V can be expressed as a linear combination of the basis elements. The image, T(v), can be found by applying the linearity properties.
At this point we know what transformation T does, but it is still unclear what the matrix of this linear transformation is. Geometrically speaking, the domain of T is a plane in R3 and its codomain is R2.
Does T have an inverse? We are not in a position to answer this question right now because Theorem 6.3.11 does not apply to this situation.

Exercises 6.3.4 Exercises

1.

Let T:R2R2 and S:R2R2 be linear transformations with standard matrices
MT=[2412]andMS=[1121]
respectively. Describe the actions of T, S, and ST geometrically, as in Example 6.3.2.

2.

Let T:R3R2 and S:R2R2 be linear transformations with standard matrices
MT=[101210]andMS=[1212]
respectively. Describe the actions of T, S, and ST geometrically, as in Example 6.3.2.

4.

Let T:R2R2 be a linear transformation given by
T([xy])=[2x5yx+3y]
Propose a candidate for the inverse of T and verify your choice using Definition 6.3.8.
Answer.
T1([xy])=[3x+5yx+2y]

5.

Explain why linear transformation T:R2R2 given by
T([xy])=[2x+2y3x3y].
does not have an inverse.

7.

Suppose T:UV and S:VW are linear transformations with inverses T and S respectively. Prove that TS is the inverse of ST.