4.110 min read
Composition of Linear Maps
When we apply two linear maps in sequence — first , then — the result is their composition . The composition of two linear maps is itself a linear map.
This is the conceptual origin of matrix multiplication. If and , then . The inner dimensions must match — this is exactly the dimension-matching rule for matrix multiplication.
Why study composition? Because in practice, transformations are always chained: rotate then scale, project then filter, encode then decode. Each step is a matrix; chaining steps is matrix multiplication.
Formal View
Definition 4.1 — Composition
If and are linear maps, their composition is defined by . This map is also linear.
Interactive Visualization
Composition: v → Bv → A(Bv)
Why This Matters
Composition is the mathematical model of "apply transformation A after transformation B."
- Computer graphics: model → world → camera → clip → screen space are 4 successive matrix multiplications
- Neural networks: each layer applies a linear map, and forward pass is a composition of all layers
- Signal processing: cascaded filters correspond to composed linear maps
Quiz
Question 1
The composition of two linear maps is always a linear map.
Common Mistakes
- Thinking then of the result — composition applies FIRST, then .
- Ignoring dimension compatibility — must output vectors that can accept as input.