Skip to main content

Linear Transformations

  • Situation: Shape changes under scale, rotation and shear
  • Target: Linearity · Scale and reflection · Rotation
  • Convention: Right-handed orthonormal frame; column vectors; rightmost matrix first; angles in radians unless marked °; lengths in m · Overview

Core concepts​

  • Linearity: L(au+bv)=aLu+bLv; origin fixed; translation excluded from a 3×3 linear map

  • Scale and reflection: diagonal factors; one negative factor reversing handedness; zero factor collapsing a dimension

  • Rotation: orthogonal matrix with determinant +1; preserved lengths, angles and orientation

  • Shear and projection: x′=x+ky as shear; diag(1,1,0) as orthogonal projection onto xy; determinant 1 versus 0

  • Normal transformation: n′ proportional to L⁻ᵀn for invertible L; renormalization after nonuniform scale; area from transformed edges

Worked example​

Shared triangle area: 6 m² initially, 12 m² after S=diag(2,1,1), 6 m² after rotation alone; arbitrary surface area not generally multiplied by det L

Rz(θ)=[cos⁡θ−sin⁡θ0sin⁡θcos⁡θ0001],n′∝(L−1)TnR_z(\theta)=\begin{bmatrix}\cos\theta&-\sin\theta&0\\\sin\theta&\cos\theta&0\\0&0&1\end{bmatrix},\qquad \mathbf n'\propto(L^{-1})^T\mathbf n
Shape changes under scale, rotation and shear
Figure 1. Shape changes under scale, rotation and shear

Practice​

  • Preparation → prediction → calculation: Previous matrices and triangle; predict length/area changes → transform vertices and edges → calculate area and normal → retain R and S
  • Record: Assumed exercise inputs; predictions before calculation; calculated answers and optional viewer output in separate columns; no physical measurements
CasePredictionCalculated resultViewer output (optional)
Rz(π/2)(1,0,0)TR_z(\pi/2)(1,0,0)^T
diag⁡(1,1,0)(2,3,4)T\operatorname{diag}(1,1,0)(2,3,4)^T
x′=x+2y, (x,y)=(1,3)x'=x+2y,\ (x,y)=(1,3)
  • Optional extension: Tilted normal n=(1,1,0); S⁻ᵀn=(1/2,1,0), normalized to (1,2,0)/√5

Exercises​

  1. Problem: Rz(π/2)(1,0,0)TR_z(\pi/2)(1,0,0)^T
  2. Problem: diag⁡(1,1,0)(2,3,4)T\operatorname{diag}(1,1,0)(2,3,4)^T
  3. Problem: x′=x+2y, (x,y)=(1,3)x'=x+2y,\ (x,y)=(1,3)
  4. Problem: Inverse of xy projection
Answers and checks
  1. Answer: (0,1,0)T(0,1,0)^T
  2. Answer: (2,3,0)T(2,3,0)^T
  3. Answer: (x′,y′)=(7,3)(x',y')=(7,3)
  4. Answer: None; lost z coordinate and determinant 0

Connections​