Volume I · Interactive Atlas

Mathematical Transformations

A rigorous visual exploration of linear, affine, and projective transformations in two and three dimensions

§ 1

Linear Transformations

Every linear map T: ℝ² → ℝ² is encoded by a 2×2 matrix. Drag the sliders to deform the unit grid in real time.

Matrix Equation
T(x) = Ax
where A = [[a, b], [c, d]]

det(A) = 1.00  |  trace = 2.00
Live Transform
§ 2

Affine Transformations

An affine map adds translation to linear: T(x) = Ax + b. The origin is no longer fixed.

Homogeneous Form
[x'] [a b tx] [x]
[y'] = [c d ty] [y]
[1 ] [0 0 1] [1]
Affine Map
§ 3

Eigenvectors & Eigenvalues

The eigenvectors of A are the directions that the transformation merely stretches or flips — never rotates.

Characteristic Equation
Av = λv
⟺ (A - λI)v = 0
⟺ det(A - λI) = 0

λ₁ = 1.00   λ₂ = 1.00
Eigenspace
§ 4

3D Transformations & Projection

Rotations in ℝ³ and perspective projection onto the 2D viewing plane. Drag to orbit.

Rotation Matrices
Rx(θ) = [[1,0,0],[0,cosθ,-sinθ],[0,sinθ,cosθ]]
Ry(φ) = [[cosφ,0,sinφ],[0,1,0],[-sinφ,0,cosφ]]
Rz(ψ) = [[cosψ,-sinψ,0],[sinψ,cosψ,0],[0,0,1]]
3D View — Drag to Orbit
§ 5

Composition of Transformations

Apply two transformations sequentially. Observe that T₂∘T₁ ≠ T₁∘T₂ in general.

Composition Law
(T₂ ∘ T₁)(x) = T₂(T₁(x)) = B·(A·x) = (BA)·x

Note: matrix multiplication is associative but NOT commutative
T₁
First Transform
T₂
Second Transform
T₂ ∘ T₁ Combined
§ 6

Fourier Transform

The DFT is a linear transformation that maps a signal from the time domain into the frequency domain.

Discrete Fourier Transform
X[k] = Σₙ x[n] · e^(-i·2π·k·n/N)

e^(iθ) = cos(θ) + i·sin(θ)  ← Euler's Formula
Time Domain
Frequency Domain