Linear Transformations and Their Matrices
Reading A as an action rather than an array, x maps to Ax is a transformation from R^n to R^m. The ones that preserve addition and scalar multiplication are the linear transformations, and every one is x maps to Ax for a unique standard matrix whose columns are the images of the standard basis vectors.
╌╌╌╌
A matrix has served as a bookkeeping device for a system. Read the other way, acts on a vector by multiplication, sending it to a new vector ; solving becomes finding which inputs sends to . This viewpoint gathers the earlier results (existence, uniqueness, span, independence) around a single map.
Transformations
A transformation (equivalently function or mapping) from to assigns to each a vector , written . This is the ordinary idea of a function, lifted from numbers to vectors.
The range can be smaller than the codomain: the codomain is the space in which images are permitted, the range the set of images actually attained.
Matrix transformations
The first source of transformations is matrix multiplication. Fix an matrix and define , often written . The domain is (matching the columns of ), the codomain is (matching the rows), and the range is the span of the columns of , because every image is a linear combination of those columns.
For example, sends to : a projection of onto the -plane. The map is a shear that slides the top of a square rightward while fixing the base, turning it into a parallelogram.
Linear transformations
Two properties, already proved for , single out the central class of maps.
Linearity means the map commutes with the two vector operations: adding then transforming equals transforming then adding, and likewise for scaling. Every matrix transformation is linear, by the linearity of . Two consequences follow immediately for any linear :
The first comes from . The second, applied repeatedly, gives the general rule
known in physics and engineering as the superposition principle: the response to a combination of inputs is the same combination of the responses. A map satisfying the two-vector rule for all is linear (set , then ), so that rule can serve as the test.1
A contraction or dilation is linear for any scalar . By contrast, is not: the absolute value breaks scaling, since in general. An affine map with also fails, because .
The standard matrix
A linear transformation is determined by where it sends the coordinate axes. Let be the columns of the identity — the standard basis vectors. Any is , so by linearity
The images of the basis vectors determine every image. Packing them as columns recovers a matrix.
So linear transformation
and matrix transformation
describe the same objects;
the first names a property, the second names the implementation.2 To build
, transform the axes and read off columns.
The geometric maps of the plane
The common maps are catalogued by their action on the unit square, all determined by the images of and .
| Transformation | Standard matrix | Effect on the unit square |
|---|---|---|
| Reflection through the -axis | flips vertically | |
| Reflection through | swaps coordinates | |
| Horizontal contraction / expansion | scales width by | |
| Horizontal shear | slants into a parallelogram | |
| Projection onto the -axis | collapses onto a line | |
| Rotation by angle | turns about the origin |
Onto and one-to-one
The existence and uniqueness questions of the whole chapter become two properties of the map .
Both reduce to pivot conditions on the standard matrix.
The onto criterion is the spanning theorem reworded. For one-to-one, if then ; distinct inputs with the same image give a nonzero solution of , and the independence of the columns says no such solution exists.3
The pivot counts fix the possibilities by shape. A map can be:
| Shape | Onto possible? | One-to-one possible? |
|---|---|---|
| (taller) | no — too few columns to span | yes |
| (square) | yes | yes — and one holds iff the other does |
| (wider) | yes | no — a free variable is forced |
A projection () is neither onto nor one-to-one, and a rotation is both.
Footnotes
- Lay, Linear Algebra and Its Applications, §1.8 — Introduction to Linear Transformations: the domain/codomain/range vocabulary, matrix transformations, the definition of linearity, and the consequences and the superposition principle. ↩
- Lay, §1.9 — The Matrix of a Linear Transformation: every linear has a unique standard matrix whose columns are , and the catalogue of geometric maps of the plane. ↩
- Lay, §1.9, Theorems 11 and 12: is one-to-one iff has only the trivial solution, iff the columns of are independent; is onto iff the columns of span the codomain. ↩
╌╌ END ╌╌