Part 8: Linear Transformations and Their Matrices
8.1 Examples of Linear Transformations
A linear transformation satisfies:
Key requirement: (follows from linearity).
Examples of Linear Transformations:
-
Rotation in by angle :
-
Reflection across a line
-
Projection onto a subspace
-
Diagonalization of matrices (similarity transformation )
-
Derivative of polynomials: , mapping polynomials of degree to polynomials of degree
-
Integration: , mapping polynomials of degree to degree
Composition: If and are linear transformations, then is also linear. The matrix of the composition is the product of the individual matrices.
8.2 Derivative Matrix and Integral Matrix
Derivative as a linear transformation: Consider polynomials of degree (space of dimension 3) mapping to polynomials of degree (space of dimension 2).
Basis for cubics: Basis for linears:
The derivative matrix (3 columns, 2 rows):
because , , .
Integral Matrix (the pseudoinverse):
because , .
Fundamental Theorem of Calculus: (derivative of integral = identity).
Composition: = projection onto the subspace of polynomials with zero constant term (integral of derivative loses the constant).
This matrix viewpoint shows that integration and differentiation are inverses up to a projection, exactly as in calculus.
8.3 Basis for and Basis for : Matrix for
The matrix representation of a linear transformation depends on the choice of bases:
- Choose a basis for
- Choose a basis for
Column of gives the coefficients when is expressed in the output basis:
Applying the transformation: For any expressed in the -basis, gives the coordinates of in the -basis.
Change of Basis: If we change bases, the matrix changes by a similarity transformation:
where encodes the new basis vectors for in terms of the old, and encodes the new basis for . This is a change of basis -- the same linear transformation, just described in different coordinates.
Important: The matrix size depends on the dimensions of and . The rank of the matrix equals the dimension of the image of (the rank-nullity theorem).