Linear TransformationsTopic #26 of 30

Introduction to Linear Transformations

Definition, examples (rotation, scaling, projection), and linearity conditions.

Overview

A linear transformation is a function between vector spaces that preserves vector addition and scalar multiplication. Linear transformations are the functions that "play well" with linear algebra.

Definition

A function T:VWT: V \to W is a linear transformation if for all u,vV\mathbf{u}, \mathbf{v} \in V and scalar cc:

  1. Additivity: T(u+v)=T(u)+T(v)T(\mathbf{u} + \mathbf{v}) = T(\mathbf{u}) + T(\mathbf{v})
  2. Homogeneity: T(cv)=cT(v)T(c\mathbf{v}) = cT(\mathbf{v})

Equivalently (combined):

T(cu+dv)=cT(u)+dT(v)T(c\mathbf{u} + d\mathbf{v}) = cT(\mathbf{u}) + dT(\mathbf{v})

Basic Examples

Scaling

T(v)=kvT(\mathbf{v}) = k\mathbf{v} for scalar kk

T[xy]=k[xy]=[kxky]T\begin{bmatrix} x \\ y \end{bmatrix} = k\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} kx \\ ky \end{bmatrix}

Rotation (2D)

Rotate by angle θ\theta:

T[xy]=[xcosθysinθxsinθ+ycosθ]T\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} x\cos\theta - y\sin\theta \\ x\sin\theta + y\cos\theta \end{bmatrix}

Projection

Project onto x-axis:

T[xy]=[x0]T\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} x \\ 0 \end{bmatrix}

Reflection

Reflect across x-axis:

T[xy]=[xy]T\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} x \\ -y \end{bmatrix}

Verifying Linearity

To prove TT is linear, verify both conditions:

Example

T(x,y)=(2x+y,xy)T(x, y) = (2x + y, x - y)

Check additivity:

T(u+v)=T(x1+x2,y1+y2)=(2(x1+x2)+(y1+y2),(x1+x2)(y1+y2))T(\mathbf{u} + \mathbf{v}) = T(x_1+x_2, y_1+y_2) = (2(x_1+x_2) + (y_1+y_2), (x_1+x_2) - (y_1+y_2))

=(2x1+y1,x1y1)+(2x2+y2,x2y2)=T(u)+T(v)= (2x_1+y_1, x_1-y_1) + (2x_2+y_2, x_2-y_2) = T(\mathbf{u}) + T(\mathbf{v}) \checkmark

T(cv)=T(cx,cy)=(2cx+cy,cxcy)=c(2x+y,xy)=cT(v)T(c\mathbf{v}) = T(cx, cy) = (2cx+cy, cx-cy) = c(2x+y, x-y) = cT(\mathbf{v}) \checkmark

TT is linear.

Non-Linear Examples

These are NOT linear transformations:

  • T(x)=x+1T(x) = x + 1 (translation)
  • T(x,y)=xyT(x, y) = xy (multiplication)
  • T(x)=x2T(x) = x^2 (squaring)
  • T(x)=xT(x) = \lvert x \rvert (absolute value)

Why Not Linear

T(x)=x+1T(x) = x + 1:

T(0)=10T(0) = 1 \neq 0

But linear transformations must satisfy T(0)=0T(\mathbf{0}) = \mathbf{0}

Properties of Linear Transformations

PropertyFormula
Zero maps to zeroT(0)=0T(\mathbf{0}) = \mathbf{0}
NegationT(v)=T(v)T(-\mathbf{v}) = -T(\mathbf{v})
Linear combinationT(civi)=ciT(vi)T(\sum c_i\mathbf{v}_i) = \sum c_i T(\mathbf{v}_i)

Standard Linear Transformations

Zero Transformation

T(v)=0T(\mathbf{v}) = \mathbf{0} for all v\mathbf{v}

Identity Transformation

T(v)=vT(\mathbf{v}) = \mathbf{v} for all v\mathbf{v}

Differentiation

D:PnPn1D: P_n \to P_{n-1}

D(p(x))=p(x)D(p(x)) = p'(x)

Integration

:PnPn+1\int: P_n \to P_{n+1}

(p(x))=p(x)dx\int(p(x)) = \int p(x) \, dx

Composition

If SS and TT are linear, so is STS \circ T:

(ST)(v)=S(T(v))(S \circ T)(\mathbf{v}) = S(T(\mathbf{v}))

Inverse

If TT is invertible (bijective), T1T^{-1} is also linear:

T1(T(v))=vT^{-1}(T(\mathbf{v})) = \mathbf{v}

Connection to Matrices

Every linear transformation T:RnRmT: \mathbb{R}^n \to \mathbb{R}^m can be represented by an m×nm \times n matrix AA:

T(v)=AvT(\mathbf{v}) = A\mathbf{v}

This is the fundamental link between transformations and matrices.