Historical Context & Motivation
Have you ever resized a photo, rotated a shape in a video game, or watched a 3-D movie? Behind all of these actions is a powerful mathematical idea called a linear transformation. For centuries, mathematicians worked with equations and geometric shapes separately. The concept of a linear transformation brought them together, creating a single language that connects algebra and geometry.
The story begins with systems of equations that people needed to solve for trade, navigation, and engineering. Over time, brilliant thinkers realized that certain kinds of functions — ones that play nicely with addition and multiplication — deserve a special name and special study.
The central question this lesson addresses is: What exactly makes a function between vectors "linear," and why does that matter? By the end, you will be able to state the definition, test whether a function qualifies, and see why this idea is so useful.
Core Principles & Definitions
A linear transformation is a special kind of function that takes in a vector and gives back a vector. What makes it special? It must obey two rules — and only two. If a function follows both rules, it earns the title "linear." If it breaks even one of them, it does not.
Vectors In, Vectors Out
Additivity (Rule 1)
Homogeneity (Rule 2)
Zero Goes to Zero
Visual Explanation
The best way to understand a linear transformation is to see it in action. The diagram below shows two vectors u and v in the original (input) space on the left, and their images T(u) and T(v) in the output space on the right. Notice how the parallelogram formed by u and v maps to a parallelogram formed by T(u) and T(v). Straight lines stay straight, and the origin stays fixed.
In the diagram, the key visual clue is that the parallelogram rule is preserved. In a linear transformation, if two vectors form a parallelogram, their images also form a parallelogram. Grids of evenly spaced lines in the input become evenly spaced lines in the output (though they may be stretched, rotated, or reflected). Lines that are parallel before the transformation stay parallel afterward, and the origin never moves.
Mathematical Framework
Now let's write the definition precisely using mathematical notation. A function T from a vector space V to a vector space W is called a linear transformation if and only if it satisfies the following two properties for all vectors u and v in V and every scalar c.
These two properties are sometimes combined into a single condition called superposition:
In practice, many linear transformations from ℝⁿ to ℝᵐ can be represented by matrix multiplication. If A is an m × n matrix, then T(v) = A · v defines a linear transformation. You can verify: A(u + v) = Au + Av (additivity), and A(cv) = c(Av) (homogeneity). Matrices are the most common way you will encounter linear transformations in calculations.
Linear vs. Non-Linear — Telling Them Apart
Not every function is a linear transformation. In fact, most functions you have already studied — like squaring a number or adding a constant — are not linear. The diagram below compares what a linear transformation does to a grid versus what a non-linear transformation does. Notice how the linear version keeps grid lines straight and evenly spaced, while the non-linear version warps and curves them.
| Function | Linear? | Why / Why Not |
|---|---|---|
| T(x, y) = (2x, 3y) | Yes ✓ | Scaling each component by a constant satisfies both rules. |
| T(x, y) = (x + 1, y) | No ✗ | Adding 1 shifts the origin. T(0,0) = (1,0) ≠ (0,0). |
| T(x, y) = (−y, x) | Yes ✓ | This is a 90° rotation. Rotations are linear transformations. |
| f(x) = x² | No ✗ | f(2 + 3) = 25, but f(2) + f(3) = 4 + 9 = 13. Additivity fails. |
| T(x, y) = (x + y, x − y) | Yes ✓ | Each output component is a linear combination of inputs — no squares, no constants added. |
Worked Example
Let's work through a full example. We will determine whether the function T(x, y) = (3x − y, 2x + 4y) is a linear transformation by checking both required properties.
Strengths, Limitations & Common Pitfalls
Linear transformations are incredibly useful, but they also have boundaries. Understanding both their strengths and their limitations helps you know when and how to apply them.
| Strengths | Limitations |
|---|---|
| Can be represented by matrices, making calculations efficient even for huge data sets. | Cannot model curved relationships like parabolas (y = x²) or exponential growth. |
| Predictable behavior: scaling the input scales the output by the same factor. | Cannot include shifts or translations — T(0) must always equal 0. |
| Can be composed (chained together) and inverted, making them flexible building blocks. | Real-world phenomena are often non-linear; linear transformations only approximate small portions. |
| Foundation for computer graphics: rotations, reflections, and scaling are all linear. | Perspective projections (like 3-D to 2-D in video games) require an extension called affine transformations. |
Connection to Advanced Topics
The definition of a linear transformation is the starting point for a huge web of ideas in mathematics and science. Once you know what a linear transformation is, you can explore how to measure it, classify it, and use it in sophisticated ways.
| This Lesson | Where It Leads |
|---|---|
| Definition: T(u + v) = T(u) + T(v) and T(cv) = cT(v) | Matrix representation: Every linear transformation from ℝⁿ to ℝᵐ can be written as multiplication by a unique matrix. |
| The zero vector maps to the zero vector. | Kernel (null space): The set of all vectors that T sends to zero reveals important structural information. |
| Additivity and homogeneity as separate checks. | Eigenvalues and eigenvectors: Special vectors whose direction is unchanged by T, used in vibration analysis, Google's PageRank, and quantum mechanics. |
| Geometric intuition: grid lines stay straight and evenly spaced. | Singular Value Decomposition (SVD): Breaking any linear transformation into a rotation, a stretch, and another rotation — used in image compression and data science. |
As you continue studying linear algebra, remember that the two simple rules — additivity and homogeneity — are the foundation for everything that comes next. Master them, and the rest of linear algebra will feel like natural extensions of the same core idea.
Practice Problems
Lesson Summary
A linear transformation is a function T between vector spaces that satisfies two rules: additivity — T(u + v) = T(u) + T(v) — and homogeneity — T(c · v) = c · T(v). These two properties can be combined into the single superposition condition: T(c₁u + c₂v) = c₁T(u) + c₂T(v). A key consequence is that T(0) = 0 always, and straight, evenly spaced grid lines remain straight and evenly spaced after the transformation.
Linear transformations from ℝⁿ to ℝᵐ can be represented by matrix multiplication, and they are completely determined by their action on a set of basis vectors. Common examples include rotations, reflections, scaling, and projections. Functions that add constants, square their inputs, or use absolute values are not linear. Mastering this definition opens the door to matrices, eigenvalues, and the many powerful tools of linear algebra.