How to Compose Two Linear Transformations

Linear transformations are fundamental concepts in linear algebra, often used in various fields such as computer graphics, engineering, and physics. Understanding how to compose two linear transformations can help you simplify complex transformations and solve problems more efficiently.

What is a Linear Transformation?

A linear transformation is a function between two vector spaces that preserves the operations of vector addition and scalar multiplication. If we have two vector spaces $V$ and $W$, a function $T: V rightarrow W$ is a linear transformation if for all vectors $mathbf{u}, mathbf{v} in V$ and all scalars $c in mathbb{R}$:

  1. $T(mathbf{u} + mathbf{v}) = T(mathbf{u}) + T(mathbf{v})$
  2. $T(cmathbf{u}) = cT(mathbf{u})$

Matrices and Linear Transformations

Linear transformations can be represented by matrices. If $T: mathbb{R}^n rightarrow mathbb{R}^m$ is a linear transformation, there exists an $m times n$ matrix $A$ such that for any vector $mathbf{x} in mathbb{R}^n$, $T(mathbf{x}) = Amathbf{x}$

Composition of Linear Transformations

To compose two linear transformations means to apply one transformation after another. Suppose we have two linear transformations $T_1: V rightarrow W$ and $T_2: W rightarrow U$. The composition of $T_1$ and $T_2$, denoted as $T_2 circ T_1$, is a new linear transformation from $V$ to $U$ defined by:

$(T_2 circ T_1)(mathbf{v}) = T_2(T_1(mathbf{v}))$

for all $mathbf{v} in V$

Matrix Representation of Composed Transformations

If $T_1$ and $T_2$ are represented by matrices $A$ and $B$ respectively, then the composition $T_2 circ T_1$ can be represented by the matrix product $BA$. Here’s how it works:

  1. Let $T_1: mathbb{R}^n rightarrow mathbb{R}^m$ be represented by an $m times n$ matrix $A$
  2. Let $T_2: mathbb{R}^m rightarrow mathbb{R}^p$ be represented by a $p times m$ matrix $B$
  3. The composition $T_2 circ T_1: mathbb{R}^n rightarrow mathbb{R}^p$ is represented by the $p times n$ matrix $BA$

Example

Let’s consider an example to make this clearer. Suppose we have the following matrices representing two linear transformations:

$A = begin{pmatrix} 1 & 2 \ 3 & 4 end{pmatrix}$ and $B = begin{pmatrix} 0 & 1 \ 1 & 0 end{pmatrix}$

To find the matrix representing the composition $T_2 circ T_1$, we compute the product $BA$:

$BA = begin{pmatrix} 0 & 1 \ 1 & 0 end{pmatrix} begin{pmatrix} 1 & 2 \ 3 & 4 end{pmatrix} = begin{pmatrix} 3 & 4 \ 1 & 2 end{pmatrix}$

So, the composed transformation $T_2 circ T_1$ is represented by the matrix $begin{pmatrix} 3 & 4 \ 1 & 2 end{pmatrix}$

Properties of Composed Transformations

Associativity

Composition of linear transformations is associative. That means if you have three linear transformations $T_1$, $T_2$, and $T_3$, then:

$(T_3 circ T_2) circ T_1 = T_3 circ (T_2 circ T_1)$

Identity Transformation

The identity transformation $I: V rightarrow V$ is the transformation that maps every vector to itself. For any linear transformation $T: V rightarrow W$:

$T circ I = T$

$I circ T = T$

Invertibility

If $T: V rightarrow W$ is a linear transformation represented by an invertible matrix $A$, then the inverse transformation $T^{-1}: W rightarrow V$ is represented by the inverse matrix $A^{-1}$. The composition of $T$ and $T^{-1}$ yields the identity transformation:

$T circ T^{-1} = I_W$

$T^{-1} circ T = I_V$

Applications of Composed Transformations

Computer Graphics

In computer graphics, transformations such as rotations, translations, and scalings are often composed to achieve complex effects. For example, to rotate an object around a point, you might translate the object so that the point is at the origin, apply the rotation, and then translate it back.

Differential Equations

In solving systems of linear differential equations, the solutions can often be expressed as compositions of simpler linear transformations.

Quantum Mechanics

In quantum mechanics, the state of a system is described by a vector in a complex vector space. The evolution of the system over time is governed by linear transformations, and these transformations are often composed to describe the system’s behavior over longer periods.

Conclusion

Composing linear transformations allows us to build complex transformations from simpler ones, making it a powerful tool in various fields. By understanding how to represent and compute these compositions using matrices, you can tackle a wide range of problems more effectively.

Citations

  1. 1. Khan Academy – Linear Transformations
  2. 2. MIT OpenCourseWare – Linear Algebra
  3. 3. Paul’s Online Math Notes – Linear Transformations