Course contentsShow
← Mathematics
Lesson 2267 of 3,12147. Linear Algebra — Applications and Advanced TopicsFree lesson

Composition of Linear Transformations

Understanding how composing transformations corresponds to matrix multiplication.

Composition of Linear Transformations

What you'll learn: How composing two linear transformations corresponds exactly to multiplying their matrices.

The Core Idea

When you apply one linear transformation after another, you're composing them—just like composing functions in calculus. The beautiful surprise is that the matrix representing this composition is simply the product of the individual matrices.

If transformation T is represented by matrix A and transformation S is represented by matrix B, then applying T first, then S, gives you the composition S ∘ T (read "S after T"), which is represented by the matrix product BA.

Notice the order: the transformation you apply first appears on the right in the matrix product.

Why This Works

Think of transformations as instructions that reshape vectors. When you:

  1. Transform vector v by T to get T(v) = A**v**
  2. Then transform the result by S to get S(T(v)) = B(A**v**)

By associativity of matrix multiplication, B(A**v**) = (BA)**v**. The combined effect is the same as applying the single matrix BA directly.

An Analogy

Imagine a factory assembly line: one machine rotates parts (transformation T), the next machine scales them (transformation S). The combined effect of both machines working in sequence is a single "composite operation" that could theoretically be done by one super-machine—that's your matrix product BA.

The Order Matters

Just as f(g(x)) differs from g(f(x)) for functions, matrix multiplication is not commutative: BA ≠ AB in general. Always track which transformation happens first!

Key Takeaway: Composing linear transformations corresponds to multiplying their matrices, with the first transformation applied appearing rightmost in the product: (S ∘ T) is represented by BA.