Overview
Composing linear transformations means applying one transformation after another. This corresponds to matrix multiplication, with the order of matrices reversed from the order of application.
Definition
For transformations S:U→V and T:V→W, the composition is:
(T∘S)(u)=T(S(u))
First apply S, then apply T.
Composition is Linear
If S and T are linear, then T∘S is linear:
(T∘S)(cu+dv)=T(S(cu+dv))=T(cS(u)+dS(v))
=cT(S(u))+dT(S(v))=c(T∘S)(u)+d(T∘S)(v)
Matrix Representation
If S has matrix A and T has matrix B:
T∘S has matrix BA
Note the order: matrices multiply in reverse order of application.
Why Reversed?
(T∘S)(x)=T(S(x))=B(Ax)=(BA)x
Example
S is rotation by 90°, T is scaling by 2:
A=[01−10](rotation)
B=[2002](scaling)
T∘S (first rotate, then scale):
BA=[2002][01−10]=[02−20]
S∘T (first scale, then rotate):
AB=[01−10][2002]=[02−20]
In this case, AB=BA (scaling and rotation commute).
Non-Commutativity
In general, T∘S=S∘T.
Example
S = reflection across x-axis, T = rotation by 90°:
A=[100−1],B=[01−10]
BA=[01−10][100−1]=[0110]
AB=[100−1][01−10]=[0−1−10]
BA=AB: order matters!
Properties of Composition
| Property | Formula |
|---|
| Associativity | (T∘S)∘R=T∘(S∘R) |
| Identity | T∘I=I∘T=T |
| Inverse | T∘T−1=T−1∘T=I (if T invertible) |
| Not commutative | T∘S=S∘T in general |
Inverse Transformation
If T is invertible (bijective):
T−1 exists and T−1∘T=T∘T−1=I
Matrix form:
A−1A=AA−1=I
Multiple Compositions
For T1,T2,T3 with matrices A1,A2,A3:
T3∘T2∘T1 has matrix A3A2A1
Rightmost matrix corresponds to first transformation.
Application: Composite Transformations
Rotate then Scale
To rotate by θ then scale by s:
[s00s][cosθsinθ−sinθcosθ]=[scosθssinθ−ssinθscosθ]
Reflect then Rotate
Reflect across x-axis then rotate by 90°:
[01−10][100−1]=[0110]
This is reflection across y=x.
Decomposing Transformations
Any transformation can often be decomposed:
- A=QR (orthogonal × upper triangular)
- A=LU (lower × upper triangular)
- A=PDP−1 (diagonalization)
- A=UΣVT (singular value decomposition)