Beta

Visualizing the 4d numbers Quaternions

Below is a short summary and detailed review of this video written by FutureFactual:

Quaternion Visualization: Rotations in Four Dimensions via the Hypersphere

Overview

This video builds an intuition for quaternions by tracing a path from real and complex numbers to a four dimensional number system that describes rotations in 3D space. It uses a visual storytelling approach with Linus and Felix to project four dimensional rotations down to our three dimensional experience and to reveal how left and right quaternion multiplication acts as rotations in four dimensions.

Key insights

  • Quaternions extend complex numbers to four dimensions and provide a compact way to represent 3D rotations.
  • Stereographic projection maps unit circles and spheres from higher dimensions to lines and planes, allowing Geometric intuition in lower dimensions.
  • Unit quaternions form a sphere in four dimensional space, and left multiplication by basis quaternions induces two perpendicular 2D rotations that encode a rigid motion on the hypersphere.
  • Conjugation and right multiplication are essential to understanding how unit quaternions describe orientation in three dimensions.

Quaternion foundations and historical context

The long form of this video sets out a narrative for understanding quaternions by building from one to four dimensions. It begins by recapping the complex numbers as a two dimensional extension of the real numbers and then introduces quaternions as a four dimensional extension. The central mathematical motivation is to find a robust language for describing rotations in three dimensional space, and the historical story of Hamilton is used to illustrate how adding two imaginary dimensions to the real numbers created a four dimensional system with a powerful geometric interpretation. The video references the famous Broom Bridge moment in Dublin and situates quaternions within the broader development of vector concepts and the eventual computer science revolution that popularized quaternion based rotation calculations in graphics and robotics. The aim is not merely algebraic fluency but geometric intuition that makes quaternion multiplication feel like a natural transformation of space.

Visualization through a layered learning ladder

A key methodological choice of the video is to introduce a sequence of characters who represent increasingly sophisticated geometric viewpoints. Linus the Linelander is a one dimensional mind who learns about the unit circle in the complex plane through a stereographic projection. This projection maps the unit circle onto a line, allowing Linus to observe how a unit imaginary unit acts as a rotation of the plane. The narrative then introduces Felix the Flatlander to extend this intuition to three dimensions. Felix is shown a stereographic projection of the unit sphere of the 3D complex extension and is guided to understand how a real and two imaginary axes, guided by a new unit J, describe 3D rotations in this projection. Both Linus and Felix view how unit complex numbers and unit quaternions rotate, stretch, and warp in their respective projections, with certain fixed reference circles or lines serving as anchor points in the projection. The pink and yellow reference circles help visualize how rotations move certain points on the sphere and on the plane, establishing a concrete picture of how the algebra translates into geometric motion.

From three to four imaginary directions: the quaternion picture

The core step is the introduction of three imaginary directions I, J and K that sit perpendicular to the real axis and to each other. Quaternions are then written as a four component object: a real part plus three imaginary parts. The presentation points out that while this is a purely algebraic object, it is amenable to a geometric interpretation. The quaternion units are described in terms of their multiplication rules and a compact formulation that encodes both dot and cross products when restricted to three dimensions. The magnitude of a quaternion generalizes the notion of distance from the origin, and multiplication by a quaternion is described as a scaling followed by a rotation, paralleling the complex number case but in a higher dimensional setting. The unit quaternions, those with magnitude one, live on a four dimensional unit sphere and can be projected down to three dimensions for intuitive visualization.

Two perpendicular rotations: a four dimensional rotation paradigm

The video then elaborates the mechanism by which left multiplication by a unit quaternion acts as a rotation in four dimensions. It presents a concrete example with the unit I, showing how multiplying by I rotates a circle in the plane formed by 1 and I and, crucially, a second, perpendicular circle through J and K. The right hand rule is introduced to describe how the second circle rotates in response to the left rotation, with the two 2D rotations synchronized and perpendicular to each other. This leads to a pair of rotation actions that uniquely determine a rigid motion on the hypersphere. The demonstration uses explicit tracking of how the standard basis elements 1, I, J, K transform under left multiplication by I, and then generalizes to multiplication by J and K. This approach makes the otherwise abstract four dimensional motion accessible through two independent two dimensional rotations that share a common center.

The role of basis quaternions and non commutativity

A careful treatment explains that any quaternion can be understood by knowing how it acts on the basis quaternions 1, I, J and K. Because multiplication distributes, these four numbers form a basis for the entire four dimensional space, so knowing the transformation on the basis determines the transformation on all quaternions. The video emphasizes that quaternion multiplication is not commutative, contrasting it with the much more familiar commutative operations in basic arithmetic. It also draws an analogy with the Rubik’s cube to illustrate why order of operations matters in spatial transformations. The non commutativity is highlighted as a central feature that enables quaternions to capture orientation in a robust and compact way.

Unit sphere, hypersphere, and projections

The presentation then returns to the geometric picture by describing the unit quaternion sphere as a four dimensional object that projects down to a three dimensional space. The unit sphere in the I, J, K subspace remains fixed under projection, acting as the equator of the hypersphere. Quaternions with positive real parts lie inside the unit sphere, while those with negative real parts reside outside. The minus one point sits at infinity, analogous to a pole in the projection. The projection maps the sphere onto a three dimensional XY plane, with lines and circles in the projection corresponding to circles on the hypersphere that pass through minus one. This duality between the high dimensional sphere and its projection is the essential geometric translation used to visualize quaternion actions in a way that is tangible within ordinary space.

Conjugation, orientation, and the promised follow up

The video previews a follow up that will describe how unit quaternions describe orientation in three dimensional space via a process called conjugation. It promises a careful, example driven tour of how quaternion conjugation yields the 3D rotation operator, linking the four dimensional geometry to familiar 3D geometry and providing a complete mathematical account beyond the intuitive sketches. The narrative also points to a published work and a post linking to more materials for those who want a deeper dive into the relationship between quaternions and 3D orientation.

In summary, the video offers a structured approach to building intuition for quaternion multiplication by climbing a ladder from one to four dimensions, using stereographic projection to project complex and quaternion spheres onto lines and planes, and highlighting the two perpendicular 2D rotation actions that encode the four dimensional rotation. The emphasis on left and right actions and on conjugation prepares the viewer for a rigorous but approachable treatment of how quaternions encode 3D rotation in a compact and numerically stable form, which is why they have become central in graphics, robotics, and quantum mechanics. The story also underlines the historical significance and the ongoing relevance of quaternions in modern computation and physics.

To find out more about the video and 3Blue1Brown go to: Visualizing the 4d numbers Quaternions.