Skip to content

Linear Transformation

Transformations Written in Linalg Form

Translation

\[ + \begin{bmatrix} \Delta x \\ \Delta y \end{bmatrix} \]

Rotation

\[ \begin{bmatrix} \cos(\theta) & -\sin(\theta) \\ \sin(\theta) & \cos(\theta) \end{bmatrix} \]

for counter-clockwise rot

Dilation

\[ k \mathbf{p} + (1 - k) \mathbf{c} \]

This is basically a weighted sum, where \(\mathbf{p}\) is the original point, and \(\mathbf{c}\) is the center of the transformation.

Special Case (reflection about point):

\[ 2 \mathbf{c} - \mathbf{p} \]

Reflection (about line through origin)

\[ \begin{bmatrix} \cos(2 \theta) & \sin(2 \theta) \\ -\sin(2 \theta) & \cos(2 \theta) \end{bmatrix} \]

where \(\theta\) is the angle between x-axis and reflection axis.
See Trigonometry for calculation of \(\cos(2\theta) \, \sin(2\theta)\) with \(\cos(\theta) \, \sin(\theta)\).
For reflection about any line, first do a translation then apply this matrix then translate back.

How to Derive These Matrices

Note

Any translation + dilation + rotation (can be about different centers) can be rewritten as a single rotation + scale (about a single point.)


Basic Idea

Single Point in Motion + Translation

Let \(\mathbf{u} = A \mathbf{x} + \mathbf{b}\)
if \(\mathbf{v}\) is related to \(\mathbf{u}\) via a linear transformation

\[ \begin{align*} \mathbf{v} & = M \mathbf{u} + \mathbf{d} \\ & = M (A \mathbf{x} + \mathbf{b}) + \mathbf{d} \\ & = \underbrace{M A \mathbf{x}}_{\text{transform orignal motion}} + \underbrace{(M \mathbf{b} + d)}_{\text{transform orignal motion's center}} \end{align*} \]

Example



Transformation in Linalg ⇒ Similar Triangles
($ \triangle BDU \sim \triangle B'DV $, but here's a special case where it is congruent)

Two Points in Motion

Denote points \(A \, B\).
Idea: Transform \(AB\) to make either \(A'\) or \(B'\) stationary. (Often uses translation)

Example



Given equilateral \(\triangle ABC\), \(CD = BE\). Find \(\min(DE)\).
Translates \(ED\) to \(E'D'\)
⇒ \(CD = DD' ,\, \angle CDD' = 120^\circ\)
⇒ \(\angle DCD' = 30^\circ\) (locus of \(D'\))

For more points, the idea is the same: use some transformations to make points stationary.


Further Examples

  • R5 (solvable with Idea 2 but redundant if the original point's path is an arc)