AoZai
AoZai

Reading Notice

These are personal study and translation notes for reference only; the original course materials belong to MIT OpenCourseWare and their respective rights holders.

ZoomNotes for Linear Algebra

Gilbert Strang, MIT 18.06 · Ch.8 / 11

Part 8: Linear Transformations and Their Matrices

8.1 Examples of Linear Transformations

A linear transformation T:VWT: V \to W satisfies:

T(cv+dw)=cT(v)+dT(w)T(c\mathbf{v} + d\mathbf{w}) = cT(\mathbf{v}) + dT(\mathbf{w})

Key requirement: T(0)=0T(0) = 0 (follows from linearity).

Examples of Linear Transformations:

  1. Rotation in R2\mathbb{R}^2 by angle θ\theta: T(x,y)=(xcosθysinθ,xsinθ+ycosθ)T(x,y) = (x\cos\theta - y\sin\theta, x\sin\theta + y\cos\theta)

  2. Reflection across a line

  3. Projection onto a subspace

  4. Diagonalization of matrices (similarity transformation T(A)=B1ABT(A) = B^{-1}AB)

  5. Derivative of polynomials: T(p)=dp/dtT(p) = dp/dt, mapping polynomials of degree nn to polynomials of degree n1n-1

  6. Integration: T(f)=0xf(t)dtT(f) = \int_0^x f(t) dt, mapping polynomials of degree nn to degree n+1n+1

Composition: If T:VWT: V \to W and S:WZS: W \to Z are linear transformations, then ST:VZS \circ T: V \to Z is also linear. The matrix of the composition is the product of the individual matrices.


8.2 Derivative Matrix DD and Integral Matrix D+D^+

Derivative as a linear transformation: Consider polynomials of degree 2\leq 2 (space of dimension 3) mapping to polynomials of degree 1\leq 1 (space of dimension 2).

Basis for cubics: {1,x,x2}\{1, x, x^2\} Basis for linears: {1,x}\{1, x\}

The derivative matrix DD (3 columns, 2 rows):

D=[010002]D = \begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 2 \end{bmatrix}

because ddx(1)=0\frac{d}{dx}(1) = 0, ddx(x)=1\frac{d}{dx}(x) = 1, ddx(x2)=2x\frac{d}{dx}(x^2) = 2x.

Integral Matrix D+D^+ (the pseudoinverse):

D+=[001001/2]D^+ = \begin{bmatrix} 0 & 0 \\ 1 & 0 \\ 0 & 1/2 \end{bmatrix}

because 0x1dt=x\int_0^x 1 \, dt = x, 0xtdt=x2/2\int_0^x t \, dt = x^2/2.

Fundamental Theorem of Calculus: DD+=ID D^+ = I (derivative of integral = identity).

Composition: D+DD^+ D = 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 VV and Basis for WW: Matrix for T:VWT: V \to W

The matrix representation AA of a linear transformation T:VWT: V \to W depends on the choice of bases:

  • Choose a basis v1,,vn\mathbf{v}_1, \dots, \mathbf{v}_n for VV
  • Choose a basis w1,,wm\mathbf{w}_1, \dots, \mathbf{w}_m for WW

Column jj of AA gives the coefficients when T(vj)T(\mathbf{v}_j) is expressed in the output basis:

T(vj)=i=1maijwiT(\mathbf{v}_j) = \sum_{i=1}^m a_{ij} \mathbf{w}_i

Applying the transformation: For any xx expressed in the VV-basis, AxAx gives the coordinates of T(x)T(x) in the WW-basis.

Change of Basis: If we change bases, the matrix changes by a similarity transformation:

M=Y1AVM = Y^{-1} A V

where VV encodes the new basis vectors for VV in terms of the old, and YY encodes the new basis for WW. This is a change of basis -- the same linear transformation, just described in different coordinates.

Important: The matrix size depends on the dimensions of VV and WW. The rank of the matrix equals the dimension of the image of TT (the rank-nullity theorem).

Previous Next
© MIT OpenCourseWare  |  18.06 Linear Algebra  |  Gilbert Strang  |  Spring 2010
ocw.mit.edu  ·  CC BY-NC-SA 4.0