Read a matrix by its columns, compose transformations, and distinguish linear from affine maps.
80 minYou need Modules 1 and 2
In this module you will
Match the dimensions of a matrix with its inputs and outputs
Build a matrix from the images of the coordinate vectors
Compose maps and apply the transpose rule
1
A matrix as a rule for vectors
A linear map preserves addition and scalar multiplication. The two properties combine to give T(au+bv)=aT(u)+bT(v). In particular, it sends zero to zero. A matrix with m rows and n columns sends vectors in Rn to vectors in Rm. Its columns say where the coordinate vectors go.
Example 3.1Build the matrix of a shear✓ Checked
Let T(x,y)=(x+2y,y). The first coordinate vector goes to (1,0) and the second to (2,1). The matrix therefore has columns (1,0)T and (2,1)T. At (0,3) its output is (6,3), three times the second column.
Try it
Apply a matrix to the square and to (1,1)T. Start with the identity, then try a shear and a matrix with dependent columns. Notice what happens to the square.
2
Composition and transpose
To apply B first and A second, form AB. Its jth column is A applied to column j of B. The inner dimensions must agree. If A is m×n and B is n×p, then AB is m×p.
The transpose swaps rows with columns. At the entry level, (AB)ij=∑kAikBkj. Switching i and j gives (AB)T=BTAT. The order reverses.
Example 3.2A scale and a shear✓ Checked
Let S=(2001) and H=(1011). On (0,1), shearing then scaling gives (2,1), while scaling then shearing gives (1,1). Both compositions exist and give different maps.
3
Affine maps
A map of the form Ax+b is affine. Its translation term moves every output by the same amount. It is linear exactly when b=0. If coordinates represent points on a map, translating the origin changes positions but keeps every displacement transformed by A.