Автора пока нетВзять себе
- Языки
- English
- Темы
- ОбразованиеНаука
Turn a frame with attached strings through one full 2π revolution and the strings stay tangled; it takes a full 4π turn to return to the initial state. A paper on teaching three-dimensional rotation with quaternions uses this frame-with-strings model in an appendix, aimed at advanced undergraduates and graduate students in physics and engineering.

The starting state of the model: a painting hung from two ribbons on a horizontal support. In the paper's quaternion model this is the identity element, 1.
The problem: gimbal lock
Describing an orientation as three turns about fixed axes, as with Euler angles, is intuitive but breaks at certain orientations. When two of the three rotation axes line up, the system loses one of its three degrees of freedom. A pitch of ±90° in the Z-Y-X convention is the standard example. At that point two of the angles produce the same result, and the mapping from angles to orientation can no longer be inverted. In mechanical gimbals the rings become coplanar and one axis "locks" with another. In aerospace this can cause serious errors in attitude determination, and in software it shows up as jumps or undefined derivatives when orientation data are interpolated or integrated. Workarounds, such as switching Euler conventions on the fly, only move the singularity somewhere else.
The fix: quaternions
Quaternions, introduced by Sir William Rowan Hamilton in the nineteenth century, extend the complex numbers to four dimensions: one scalar part and three imaginary parts, with i² = j² = k² = ijk = −1. Their multiplication is associative but not commutative, which matches the fact that the order of 3D rotations matters. A rotation by angle θ about a unit axis u is a unit quaternion, q = cos(θ/2) + sin(θ/2)u, and it rotates a vector v by v′ = q v q*, where q* is the conjugate. Expanding that expression gives the Rodrigues rotation formula.
Unit quaternions form the three-dimensional sphere in four-dimensional space, and that sphere is a smooth double cover of the group of 3D rotations: q and −q describe the same orientation. Every orientation has a representation, and none sits at a point where the Jacobian loses rank, so there is nothing to lock. The paper's practical recipe has four steps:
- Represent orientation only with unit quaternions.
- Update by multiplying small rotation quaternions, in the right order.
- Renormalize periodically, which controls numerical drift cheaply.
- Interpolate with SLERP, spherical linear interpolation, which gives constant angular speed without crossing singularities.
Quaternions are likewise standard in computer graphics, robotics, aerospace engineering and physical simulation.
The classroom model
The paper builds on earlier teaching work, including the visual explanation of the Dirac belt trick by Silverman and Staley's demonstrations of the 4π periodicity of rotations. Its own contribution is an integrated framework rather than new mathematics: algebra, computation and a physical model together.
In the model, hanging the painting by ribbons assigns the identity to the untwisted state. Rotations by π about three perpendicular axes stand for i, j and k, and a full 2π turn leaves the picture facing as before but twists the ribbons, which is the element −1. Because (−1)² = 1, a second 2π turn can be undone, so a total of 4π brings back the original state; that is why a rotation by half the angle appears in q, and why the double cover matters. The same structure links to quantum mechanics: a spin-½ particle's state returns to itself only after a 4π rotation, and unit quaternions are the group SU(2) that governs it.

The ribbons twisted by a full 2π rotation, from which the untangling sequence begins.

After the ribbons are re-routed around the support with the painting held still, the original untwisted state is back, showing the 4π periodicity.
A short teaching sequence
The paper proposes, as an untested outline, a module of two 1.5-hour sessions or one 2.5-hour workshop in five phases:
| Phase | What happens |
|---|---|
| Engage | A short video shows gimbal lock; students discuss why Euler angles fail |
| Explore | Pairs revisit plane rotations with complex numbers, combine small turns in different orders, and see the belt trick or the ribbon model |
| Explain | A 30-minute lecture derives v′ = q v q* and links it to Rodrigues' formula |
| Elaborate | A computing mini-lab in Python, MATLAB or GeoGebra: rotate by quaternion, compare with rotation matrices, interpolate with SLERP |
| Evaluate | Compose two rotations, show that q and −q give the same rotation, relate quaternions to spacecraft or 3D animation, and name a case where Euler angles are still acceptable |
The authors state plainly that this sequence has not been tested in a classroom, and they leave classroom validation, assessment tools and statistical analysis for future work.
Sources
- Fernando Ricardo González Díaz, Vicent Martinez Badenes, Teodoro Rivera Montalvo et al., A quaternionic approach to teaching 3D rotations and the resolution of gimbal lock, arXiv:2511.04452 (2025), licensed CC BY 4.0. Changed here: condensed and reworded, with the math written as plain text and two of the authors' figures reproduced; rewritten in hubnx's own words.
Комментарии



