Tutorials › Linear Algebra › Composition and Inversion of Isomorphisms

Isomorphisms · Tutorial 455 of 1000

Composition and Inversion of Isomorphisms

Prove the composition and inverse rules for isomorphisms, and use them to calculate explicit maps and their inverses.

Intermediate 9 min read

What You'll Learn

  • Define an isomorphism as a linear bijection between vector spaces.
  • Prove that the composition of two isomorphisms is an isomorphism.
  • Prove that the inverse of an isomorphism is an isomorphism.
  • Derive the reverse-order formula for the inverse of a composition.
  • Compute composite maps and inverse maps in coordinate and matrix-space examples.
  • Check inverse formulas by composing in both orders.

Isomorphisms Can Be Composed and Reversed

An isomorphism is a linear map that gives a one-to-one correspondence between two vector spaces. When one isomorphism carries vectors from \(U\) to \(V\), and another carries them from \(V\) to \(W\), applying the maps in sequence gives a new correspondence from \(U\) to \(W\). An isomorphism can also be run in reverse: its inverse map takes each output back to the unique input that produced it. These operations are useful because they let us combine known correspondences and calculate new ones without testing every vector separately.

Throughout, \(U,V,W\) are vector spaces over the same field \(\mathbb{F}\), where \(\mathbb{F}\) is \(\mathbb{R}\) or \(\mathbb{C}\). A linear map \(T:U\to V\) preserves addition and scalar multiplication: \(T(\mathbf{u}+\mathbf{v})=T(\mathbf{u})+T(\mathbf{v})\) and \(T(c\mathbf{u})=cT(\mathbf{u})\). It is bijective if it is both one-to-one (distinct inputs have distinct outputs) and onto (every element of the codomain is an output).

Definition: An isomorphism from \(U\) to \(V\) is a linear bijection \(T:U\to V\). If \(T\) is an isomorphism, its inverse function \(T^{-1}:V\to U\) assigns to each \(\mathbf{y}\in V\) the unique \(\mathbf{x}\in U\) such that \(T(\mathbf{x})=\mathbf{y}\). Thus \(T^{-1}\circ T=\operatorname{id}_U\) and \(T\circ T^{-1}=\operatorname{id}_V\), where \(\operatorname{id}_U\) and \(\operatorname{id}_V\) are the identity maps.

The inverse function exists because \(T\) is bijective: being onto supplies an input for every output, and being one-to-one makes that input unique. Linearity of the inverse is an additional fact, not part of the definition of an inverse function. We prove it first, then use it to establish the composition and inversion rules.

Theorem: If \(T:U\to V\) is an isomorphism, then \(T^{-1}:V\to U\) is an isomorphism.

Proof. The inverse function is bijective: \(T^{-1}(\mathbf{y}_1)=T^{-1}(\mathbf{y}_2)\) implies, after applying \(T\), that \(\mathbf{y}_1=\mathbf{y}_2\); and for each \(\mathbf{x}\in U\), \(T^{-1}(T(\mathbf{x}))=\mathbf{x}\), so \(\mathbf{x}\) is in the image of \(T^{-1}\). To prove linearity, take \(\mathbf{y}_1,\mathbf{y}_2\in V\) and scalars \(a,b\in\mathbb{F}\). Set \(\mathbf{x}_1=T^{-1}(\mathbf{y}_1)\) and \(\mathbf{x}_2=T^{-1}(\mathbf{y}_2)\). By linearity of \(T\), \(T(a\mathbf{x}_1+b\mathbf{x}_2)=a\mathbf{y}_1+b\mathbf{y}_2\). The unique input that \(T\) sends to \(a\mathbf{y}_1+b\mathbf{y}_2\) is therefore \(a\mathbf{x}_1+b\mathbf{x}_2\). By the definition of \(T^{-1}\), this gives \(T^{-1}(a\mathbf{y}_1+b\mathbf{y}_2)=aT^{-1}(\mathbf{y}_1)+bT^{-1}(\mathbf{y}_2)\). Thus \(T^{-1}\) is linear as well as bijective, so it is an isomorphism. \(\square\)

The Composition Theorem

Suppose \(T:U\to V\) and \(S:V\to W\) are isomorphisms. The composition \(S\circ T:U\to W\) means that \(T\) is applied first and then \(S\): \((S\circ T)(\mathbf{u})=S(T(\mathbf{u}))\). Its inverse must undo these steps in the opposite order. The next theorem proves both that the composition is an isomorphism and that its inverse has this reverse-order form.

Theorem (Composition and inverse rules): Let \(T:U\to V\) and \(S:V\to W\) be isomorphisms of vector spaces over \(\mathbb{F}\). Then \(S\circ T:U\to W\) is an isomorphism, and \((S\circ T)^{-1}=T^{-1}\circ S^{-1}\).

Proof. For \(\mathbf{u}_1,\mathbf{u}_2\in U\) and \(a,b\in\mathbb{F}\), linearity of \(T\) and \(S\) gives \((S\circ T)(a\mathbf{u}_1+b\mathbf{u}_2)=S(aT(\mathbf{u}_1)+bT(\mathbf{u}_2))=a(S\circ T)(\mathbf{u}_1)+b(S\circ T)(\mathbf{u}_2)\). Hence the composition is linear. If \((S\circ T)(\mathbf{u}_1)=(S\circ T)(\mathbf{u}_2)\), injectivity of \(S\) gives \(T(\mathbf{u}_1)=T(\mathbf{u}_2)\), and injectivity of \(T\) then gives \(\mathbf{u}_1=\mathbf{u}_2\). So the composition is one-to-one. For any \(\mathbf{w}\in W\), surjectivity of \(S\) gives \(\mathbf{v}\in V\) with \(S(\mathbf{v})=\mathbf{w}\); surjectivity of \(T\) gives \(\mathbf{u}\in U\) with \(T(\mathbf{u})=\mathbf{v}\). Thus \((S\circ T)(\mathbf{u})=\mathbf{w}\), so the composition is onto. It is therefore an isomorphism.

To verify the inverse formula, start with any \(\mathbf{w}\in W\). Applying \(S^{-1}\) and then \(T^{-1}\) returns an element of \(U\), and \((S\circ T)(T^{-1}(S^{-1}(\mathbf{w})))=S(S^{-1}(\mathbf{w}))=\mathbf{w}\). In the other direction, for any \(\mathbf{u}\in U\), \(T^{-1}(S^{-1}((S\circ T)(\mathbf{u})))=T^{-1}(T(\mathbf{u}))=\mathbf{u}\). These two identities show that \(T^{-1}\circ S^{-1}\) is the inverse of \(S\circ T\). \(\square\)

The order is important. In \(S\circ T\), the map \(T\) acts first, so its inverse acts last when undoing the composition. The formula also has the correct domains: \(S^{-1}:W\to V\) acts first on an element of \(W\), followed by \(T^{-1}:V\to U\).

Computing a Composition with Matrices

Worked Example: Composing Two Isomorphisms of \(\mathbb{R}^2\)

Define \(T:\mathbb{R}^2\to\mathbb{R}^2\) and \(S:\mathbb{R}^2\to\mathbb{R}^2\) by \(T(\mathbf{x})=\mathbf{A}\mathbf{x}\) and \(S(\mathbf{y})=\mathbf{B}\mathbf{y}\), where

$$ \mathbf{A}=\begin{bmatrix}1&2\\0&1\end{bmatrix}, \qquad \mathbf{B}=\begin{bmatrix}2&0\\1&1\end{bmatrix}. $$

Both maps are linear by the matrix-vector product. Their inverses are given by the following matrices, as direct multiplication verifies:

$$ \mathbf{A}^{-1}=\begin{bmatrix}1&-2\\0&1\end{bmatrix}, \qquad \mathbf{A}\mathbf{A}^{-1} =\mathbf{A}^{-1}\mathbf{A} =\begin{bmatrix}1&0\\0&1\end{bmatrix}, $$
$$ \mathbf{B}^{-1}=\begin{bmatrix}\tfrac12&0\\-\tfrac12&1\end{bmatrix}, \qquad \mathbf{B}\mathbf{B}^{-1} =\mathbf{B}^{-1}\mathbf{B} =\begin{bmatrix}1&0\\0&1\end{bmatrix}. $$

These inverse matrices show that \(T\) and \(S\) are bijective, so both are isomorphisms. The matrix of \(S\circ T\) is \(\mathbf{B}\mathbf{A}\), because \(T\) acts first:

$$ \mathbf{B}\mathbf{A} = \begin{bmatrix}2&0\\1&1\end{bmatrix} \begin{bmatrix}1&2\\0&1\end{bmatrix} = \begin{bmatrix}2&4\\1&3\end{bmatrix}. $$

The inverse rule predicts that the inverse matrix is \(\mathbf{A}^{-1}\mathbf{B}^{-1}\), with the order reversed:

$$ \mathbf{A}^{-1}\mathbf{B}^{-1} = \begin{bmatrix}1&-2\\0&1\end{bmatrix} \begin{bmatrix}\tfrac12&0\\-\tfrac12&1\end{bmatrix} = \begin{bmatrix}\tfrac32&-2\\-\tfrac12&1\end{bmatrix}. $$

Check: Multiplying in both orders gives the identity matrix:

$$ \begin{bmatrix}2&4\\1&3\end{bmatrix} \begin{bmatrix}\tfrac32&-2\\-\tfrac12&1\end{bmatrix} = \begin{bmatrix}1&0\\0&1\end{bmatrix}, \qquad \begin{bmatrix}\tfrac32&-2\\-\tfrac12&1\end{bmatrix} \begin{bmatrix}2&4\\1&3\end{bmatrix} = \begin{bmatrix}1&0\\0&1\end{bmatrix}. $$

An Isomorphism on a Matrix Space

The same reasoning applies to vector spaces whose elements are matrices. For this example, \(\mathbb{R}^{2\times2}\) is a vector space with matrix addition and scalar multiplication. We will specify a map by its effect on the entries of a matrix, then find its inverse by solving for the original entries.

Worked Example: Finding the Inverse of a Map on \(\mathbb{R}^{2\times2}\)

Define \(L:\mathbb{R}^{2\times2}\to\mathbb{R}^{2\times2}\) by \(L(\mathbf{X})=\mathbf{P}\mathbf{X}\mathbf{Q}\), where \(\mathbf{P}=\begin{bmatrix}1&1\\0&1\end{bmatrix}\) and \(\mathbf{Q}=\begin{bmatrix}1&0\\1&1\end{bmatrix}\). For \(\mathbf{X}=\begin{bmatrix}a&b\\c&d\end{bmatrix}\), compute in two stages:

$$ \mathbf{P}\mathbf{X} = \begin{bmatrix}a+c&b+d\\c&d\end{bmatrix}, \qquad L(\mathbf{X}) = \begin{bmatrix}a+b+c+d&b+d\\c+d&d\end{bmatrix}. $$

Matrix multiplication by fixed matrices is linear, so \(L\) is linear. Write an output matrix as \(\mathbf{Y}=\begin{bmatrix}p&q\\r&s\end{bmatrix}\). Equating its entries with those of \(L(\mathbf{X})\) gives \(s=d\), \(q=b+d\), \(r=c+d\), and \(p=a+b+c+d\). Solving in order yields \(d=s\), \(b=q-s\), \(c=r-s\), and \(a=p-q-r+s\). Therefore the candidate inverse is

$$ L^{-1}\left( \begin{bmatrix}p&q\\r&s\end{bmatrix} \right) = \begin{bmatrix}p-q-r+s&q-s\\r-s&s\end{bmatrix}. $$

Check: If the entries \(p,q,r,s\) come from \(L(\mathbf{X})\), then they are \(p=a+b+c+d\), \(q=b+d\), \(r=c+d\), and \(s=d\). Substitution into the inverse formula recovers \(a'=p-q-r+s=a\), \(b'=q-s=b\), \(c'=r-s=c\), and \(d'=s=d\). Conversely, start with arbitrary \(p,q,r,s\) and apply \(L\) to the proposed inverse. Its output entries are \[ (p-q-r+s)+(q-s)+(r-s)+s=p,\quad (q-s)+s=q,\quad (r-s)+s=r,\quad s=s. \] Thus the inverse formula works in both directions. It is linear in \(p,q,r,s\), and the two inverse identities show that \(L\) is bijective. Hence \(L\) is an isomorphism.

Computing the Reverse Order Directly

Worked Example: Composing Coordinate Formulas

Define \(C,D:\mathbb{R}^2\to\mathbb{R}^2\) by \(C(x,y)=(x+y,x-y)\) and \(D(u,v)=(u,2v)\). Both are linear. Solving \(C(x,y)=(u,v)\) gives \(x=(u+v)/2\) and \(y=(u-v)/2\), so \(C^{-1}(u,v)=((u+v)/2,(u-v)/2)\). Also \(D^{-1}(u,v)=(u,v/2)\). These formulas verify that both maps are isomorphisms.

Applying \(C\) first and \(D\) second gives \((D\circ C)(x,y)=(x+y,2x-2y)\). The composition theorem says its inverse is \(C^{-1}\circ D^{-1}\), not \(D^{-1}\circ C^{-1}\). Apply the two maps in the prescribed order to \((r,s)\):

$$ (r,s)\xmapsto{D^{-1}}(r,s/2) \xmapsto{C^{-1}} \left(\frac{r}{2}+\frac{s}{4},\frac{r}{2}-\frac{s}{4}\right). $$

Check: If \(x=r/2+s/4\) and \(y=r/2-s/4\), then \(x+y=r\) and \(2x-2y=s\), so \(D(C(x,y))=(r,s)\). In the other direction, substituting \(r=x+y\) and \(s=2x-2y\) into the proposed inverse gives first coordinate \((x+y)/2+(x-y)/2=x\) and second coordinate \((x+y)/2-(x-y)/2=y\). The formula therefore undoes the composition in both directions.

Why the Order and Hypotheses Matter

The composition theorem requires the codomain of the first map to be the domain of the second. It also requires both maps to be isomorphisms. Linearity alone does not guarantee that a map has an inverse: for example, the zero map from \(\mathbb{R}^2\) to \(\mathbb{R}^2\) sends every vector to \(\mathbf{0}\), so it is neither one-to-one nor onto. The inverse rule is for isomorphisms, not for arbitrary linear maps.

Common mistake: reversing the wrong order. For the first worked example, the correct inverse of \(S\circ T\) has matrix \(\mathbf{A}^{-1}\mathbf{B}^{-1}\). A tempting but incorrect expression is \(\mathbf{B}^{-1}\mathbf{A}^{-1}\). In fact, that reversed product is

$$ \mathbf{B}^{-1}\mathbf{A}^{-1} = \begin{bmatrix}\tfrac12&-1\\-\tfrac12&2\end{bmatrix}. $$

It is not an inverse of \(\mathbf{B}\mathbf{A}\), since multiplying gives \(\begin{bmatrix}2&4\\1&3\end{bmatrix}\begin{bmatrix}\tfrac12&-1\\-\tfrac12&2\end{bmatrix} =\begin{bmatrix}-1&6\\-1&5\end{bmatrix}\), not the identity matrix. The correction is to undo the last map applied first: since \(T\) acts before \(S\), undo \(S\) first and then undo \(T\). That is exactly \(T^{-1}\circ S^{-1}\).

These rules are useful whenever a complicated correspondence is built from simpler ones. If each stage is an isomorphism, the full sequence is an isomorphism, and its inverse can be computed by reversing the stages and inverting each map. Checking the two compositions against the appropriate identity map is a direct way to catch both arithmetic errors and order errors.

Check Your Understanding

Use the definitions and the two inverse identities to justify each answer.

  1. If \(T:U\to V\) and \(S:V\to W\) are isomorphisms, which map acts first in \(S\circ T\)?
  2. State and prove why the composition of two isomorphisms is one-to-one.
  3. If \(T\) and \(S\) are isomorphisms, write the inverse of \(S\circ T\) in the correct order.
  4. For \(C(x,y)=(x+y,x-y)\), verify directly that \(C^{-1}(u,v)=((u+v)/2,(u-v)/2)\).
  5. Explain why a linear map that is not bijective does not have an inverse function defined on its whole codomain with values in its domain.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon