Linear Transformation — Definition, Formula & Examples
A linear transformation is a function between two vector spaces that preserves addition and scalar multiplication. In practice, every linear transformation from to can be represented by multiplying by an matrix.
A function between vector spaces and over a field is a linear transformation if for all vectors and all scalars : (1) and (2) .
Key Formula
Where:
- = The linear transformation
- = The m × n matrix representing the transformation
- = An input vector in \mathbb{R}^n
How It Works
To apply a linear transformation in , you multiply a matrix by an input vector to get the output . Each column of tells you where the corresponding standard basis vector lands after the transformation. For example, rotations, reflections, projections, and scaling are all linear transformations. To verify that a given function is linear, check that it satisfies both the addition and scalar multiplication properties — or equivalently, that for all vectors and scalars.
Worked Example
Problem: Let T be the linear transformation defined by the matrix A = [[2, 1], [0, 3]]. Find T(x) when x = [4, -1].
Step 1: Set up the matrix-vector multiplication.
Step 2: Compute each entry of the result. The first entry is (2)(4) + (1)(-1) = 7. The second entry is (0)(4) + (3)(-1) = -3.
Answer:
Why It Matters
Linear transformations are the central objects of study in linear algebra courses and appear throughout engineering, physics, and computer science. Computer graphics engines use them to rotate, scale, and project 3D models onto a 2D screen. In data science, techniques like principal component analysis (PCA) rely on linear transformations to reduce high-dimensional data.
Common Mistakes
Mistake: Assuming any function defined by a formula is linear — for instance, treating T(x) = x² or T(x) = x + 3 as linear transformations.
Correction: A linear transformation must satisfy T(0) = 0. Functions with constant terms (like x + 3) or nonlinear operations (like squaring) fail the linearity properties. Always verify both additivity and scalar multiplication.
