Transformations

Reflection, rotation, translation and enlargement, combined transformations, and transformation matrices, with a worked example.

Every rule below sends an object point P(x, y) to its image P′.

Reflection

Axis of reflectionImage of P(x, y)
x-axis (y = 0)(x, −y)
y-axis (x = 0)(−x, y)
y = x(y, x)
y = −x(−y, −x)
x = h(2h − x, y)
y = k(x, 2k − y)

Rotation about the origin

AngleImage of P(x, y)
+90° (anticlockwise) or −270°(−y, x)
−90° (clockwise) or +270°(y, −x)
±180°(−x, −y)

Two rotations about the same centre combine into one: R₁ o R₂ = R₂ o R₁ = rotation by θ₁ + θ₂.

Translation and enlargement

  • Translation by T = (a, b): P′(x + a, y + b);   T₁ o T₂ = T₂ o T₁ = T₁ + T₂
  • Enlargement E[(0, 0), k]: P′(kx, ky)
  • Enlargement E[(a, b), k]: P′(k(x − a) + a, k(y − b) + b)
  • Two enlargements, same centre: E₂ o E₁ = E₁ o E₂ = E[(a, b), k₁ × k₂]

Combined transformations

G o F means F first, then G on the image. F o G means G first, then F.

Reflect inSame as
x = h₁, then x = h₂ (parallel)translation by (2(h₂ − h₁), 0)
y = k₁, then y = k₂ (parallel)translation by (0, 2(k₂ − k₁))
x = h, then y = khalf turn (180°) about (h, k)
y = k, then x = hhalf turn (180°) about (h, k)
x = h, then y = xrotation −90° about (h, h)
y = k, then y = xrotation +90° about (k, k)

Two reflections in parallel lines make a translation by twice the distance between them; in intersecting lines they make a rotation about the crossing point by twice the angle from the first line to the second.

Transformation matrices

Image = matrix × object, with matrices written row by row [a b; c d].

MatrixTransformationP(x, y) →
[1 0; 0 −1]reflection in the x-axis(x, −y)
[−1 0; 0 1]reflection in the y-axis(−x, y)
[0 1; 1 0]reflection in y = x(y, x)
[0 −1; −1 0]reflection in y = −x(−y, −x)
[0 −1; 1 0]rotation +90° about O(−y, x)
[0 1; −1 0]rotation −90° about O(y, −x)
[−1 0; 0 −1]rotation 180° about O(−x, −y)
[k 0; 0 k]enlargement E[O, k](kx, ky)

To find a matrix, write the image coordinates as equations: for (x, y) → (x, −y), x = 1·x + 0·y and −y = 0·x + (−1)·y, so the matrix is [1 0; 0 −1].

Worked example

Reflect P(3, 1) in y = 2 and then in y = x. What single transformation is this?

  • In y = 2: (3, 1) → (3, 2·2 − 1) = (3, 3). In y = x: (3, 3) → (3, 3). Single transformation: rotation +90° about (2, 2)
  • Check with the rule: rotation +90° about (2, 2) sends (3, 1) to (2 − (1 − 2), 2 + (3 − 2)) = (3, 3) ✓