Linear TransformationsTopic #30 of 30

Orthogonal Transformations

Orthogonal matrices, rotations, reflections, and preserved distances.

Overview

Orthogonal transformations preserve lengths and angles. They include rotations and reflections, and are represented by orthogonal matrices with special properties.

Definition

A linear transformation T:RnRnT: \mathbb{R}^n \to \mathbb{R}^n is orthogonal if it preserves the inner product:

T(u)T(v)=uvfor all u,vT(\mathbf{u}) \cdot T(\mathbf{v}) = \mathbf{u} \cdot \mathbf{v} \quad \text{for all } \mathbf{u}, \mathbf{v}

Equivalently, TT preserves length:

T(u)=ufor all u\|T(\mathbf{u})\| = \|\mathbf{u}\| \quad \text{for all } \mathbf{u}

Orthogonal Matrices

A matrix QQ is orthogonal if:

QTQ=QQT=IQ^T Q = QQ^T = I

Equivalently: QT=Q1Q^T = Q^{-1}

Properties

  • Columns are orthonormal (unit length, mutually perpendicular)
  • Rows are orthonormal
  • det(Q)=1\lvert\det(Q)\rvert = 1
  • Eigenvalues have λ=1\lvert\lambda\rvert = 1

Examples in 2D

Rotation by θ\theta

Rθ=[cosθsinθsinθcosθ]R_\theta = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}

Verify: RθTRθ=IR_\theta^T R_\theta = I

det(Rθ)=cos2θ+sin2θ=1\det(R_\theta) = \cos^2\theta + \sin^2\theta = 1

Reflection Across Line Through Origin

Across x-axis:

[1001]\begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}

Across line y=xy = x:

[0110]\begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}

Across line at angle α\alpha to x-axis:

[cos2αsin2αsin2αcos2α]\begin{bmatrix} \cos 2\alpha & \sin 2\alpha \\ \sin 2\alpha & -\cos 2\alpha \end{bmatrix}

Rotations vs Reflections

Typedet(Q)\det(Q)Geometric Effect
Rotation+1+1Preserves orientation
Reflection1-1Reverses orientation

Examples in 3D

Rotation Around z-axis

Rz(θ)=[cosθsinθ0sinθcosθ0001]R_z(\theta) = \begin{bmatrix} \cos\theta & -\sin\theta & 0 \\ \sin\theta & \cos\theta & 0 \\ 0 & 0 & 1 \end{bmatrix}

Rotation Around x-axis

Rx(θ)=[1000cosθsinθ0sinθcosθ]R_x(\theta) = \begin{bmatrix} 1 & 0 & 0 \\ 0 & \cos\theta & -\sin\theta \\ 0 & \sin\theta & \cos\theta \end{bmatrix}

Rotation Around y-axis

Ry(θ)=[cosθ0sinθ010sinθ0cosθ]R_y(\theta) = \begin{bmatrix} \cos\theta & 0 & \sin\theta \\ 0 & 1 & 0 \\ -\sin\theta & 0 & \cos\theta \end{bmatrix}

Properties Preserved

Orthogonal transformations preserve:

  • Lengths: Qv=v\|Q\mathbf{v}\| = \|\mathbf{v}\|
  • Angles: (Qu,Qv)=(u,v)\angle(Q\mathbf{u}, Q\mathbf{v}) = \angle(\mathbf{u}, \mathbf{v})
  • Dot products: (Qu)(Qv)=uv(Q\mathbf{u}) \cdot (Q\mathbf{v}) = \mathbf{u} \cdot \mathbf{v}
  • Cross products: Q(u×v)=(Qu)×(Qv)Q(\mathbf{u} \times \mathbf{v}) = (Q\mathbf{u}) \times (Q\mathbf{v}) (if det(Q)=1\det(Q) = 1)
  • Orthogonality: uvQuQv\mathbf{u} \perp \mathbf{v} \Rightarrow Q\mathbf{u} \perp Q\mathbf{v}

Orthogonal Group O(n)

The set of all n×nn \times n orthogonal matrices forms a group:

  • Identity: II is orthogonal
  • Closure: Q1Q2Q_1 Q_2 is orthogonal if Q1,Q2Q_1, Q_2 are
  • Inverse: Q1=QTQ^{-1} = Q^T is orthogonal

Special Orthogonal Group SO(n)

Orthogonal matrices with det=1\det = 1 (rotations only).

Gram-Schmidt Process

Converts any basis to orthonormal basis:

  1. v1=v1/v1\mathbf{v}_1' = \mathbf{v}_1 / \|\mathbf{v}_1\|
  2. u2=v2(v2v1)v1\mathbf{u}_2 = \mathbf{v}_2 - (\mathbf{v}_2 \cdot \mathbf{v}_1')\mathbf{v}_1', then v2=u2/u2\mathbf{v}_2' = \mathbf{u}_2 / \|\mathbf{u}_2\|
  3. Continue for remaining vectors

Example: Verify Orthogonality

Q=13[212221122]Q = \frac{1}{3}\begin{bmatrix} 2 & 1 & -2 \\ 2 & -2 & 1 \\ 1 & 2 & 2 \end{bmatrix}

Check QTQQ^T Q:

  • Each column has length 4+4+1/3=1\sqrt{4+4+1}/3 = 1
  • Column products: (2)(1)+(2)(2)+(1)(2)=24+2=0(2)(1)+(2)(-2)+(1)(2) = 2-4+2 = 0

QQ is orthogonal.

Applications

  • Computer graphics: rotations, reflections
  • Physics: rigid body motion
  • Signal processing: orthogonal transforms (FFT, DCT)
  • Statistics: orthogonal regression
  • Quantum mechanics: unitary operators