Loading editor...

Rotations as reflections

4. Thinking of rotations in terms of reflections

The relationship between rotation and reflections is not immediately obvious, but easy to understand and extremely useful. We will explore this relationship algebraically first and then geometrically.

First we need to understand the concept of a reflection matrix.

It can be shown that reflection of sum of two vectors is the sum of reflections of those vectors. The scaling argument also holds.


4.1 Reflection matrices

One can think of reflection around a point, a line or a hyperplane. We start with reflection around a line and then derive some properties for reflection around a hyperplane.

4.1.1 Reflection around a line

  • This denotes the point we want to reflect.
  • of reflection. It is represented by a unit vector .
  • It keeps the same.
    • The component parallel to :
  • The component of is .
    • The component perpendicular to :
  • The sum of - the parallel and the negative of perpendicular - gives the .
    • The original vector:
    • The reflected vector:

The matrix reflects any vector around the line given by a unit vector .

This equation, and the entire line of reasoning, holds for any higher dimensional space as well.


4.1.2 Reflection around a hyperplane

Now we define reflection around a hyperplane.

It means a line in 2D, a plane in 3D and a dimensional space in a -dimensional space.

We represent this hyperplane using a unit vector that is orthogonal to this space. This reflection flips the component of the vector parallel to the vector while keeping the rest of the components the same.

The reflection we just saw can be seen as a reflection around

Using the same logic as above, we have:

  • The reflected vector:

Thus, the reflection matrix is:


4.2 Algebraic approach

Given a unit vector and the corresponding (hyperplane) reflection matrix , it is easy to see that

  • : it is symmetric.
  • : its transpose is its inverse.

since for a unit vector .

  • A reflection matrix has eigenvalues equal to and one eigenvalue equal to .

This matrix maps to and keeps the rest of the orthogonal vectors the same. Both and have the same length.

To summarize:

Reflection matrix Rotation matrix
Orthogonality
Determinant

Now it is easy to see that if are two reflection matrices,

Thus is a rotation matrix. In other words:

A composition of two reflections is a rotation.


4.3 Geometric approach

We visualize a rotation as a composition of two reflections around two axes, working entirely in the 2D plane first where each axis is a line through the origin.

4.3.1 Visualizing in 2D

We start with the vector we want to rotate. Here is .

Now place two mirror lines through the origin. The first, , is fixed along the horizontal. The second, , is tilted away from it. The between the two axes is marked by the arc.

  • Reflecting across gives .
  • Reflecting across gives , which lands back on the guide circle of radius , since a reflection preserves length.

Now check the claim. Rotate the original : the green vector lands exactly on top of , and its arc is twice the arc between the mirrors. Two reflections equal one rotation by twice the inter-mirror angle.

and watch , , both arcs and the green comparison vector move together, staying locked to the identity as changes.

We will use this insight - that two reflections compose into a rotation - to describe a rotation using geometric algebra next.


4.3.2 Visualizing in 3D

In 3D each hyperplane is a plane and this is genuinely hard to picture, so we reduce it to 2D without loss of generality and let the flat picture, where the angles are honest, carry the argument.

Consider a 3D reflection around a hyperplane represented by a unit vector . If lies in the XY plane, it will only negate the component of an input vector that lies in this place. It will leave the z-value of untouched. In other words:

Thus, two or more reflections whose vectors lie in the XY plane when composed will all leave the z-coordinate unchanged:

Choose coordinates and look at the . Perpendicular to it stands the , which we take as the fixed rotation axis. The in-plane span that ground.

Labelling fixes the frame.

Here is the without loss of generality: the two mirror normals span a plane, which we take as the xy-plane, so is the fixed rotation axis.

A general need not lie in this plane, but each normal has no -component, so both reflections leave 's -component untouched. Only its in-plane part ever moves, and it stays in the plane. Tracking here loses no generality; the axial part just rides along fixed.

To see this on the scaffold itself, add a vector and its rotated image. Here is , lifted off the ground to height . Rotating it about the -axis gives : the in-plane part has turned, but the tip does not rise or fall. The shows both tips sit at .

Thus we can use the same visualization as for the 2D case to illustrate the connection between rotations and composition of two reflections in the general case.


← Quaternions · Geometric algebra →