# Rotations in 4-dimensional Euclidean space

In mathematics, the group of **rotations about a fixed point in four-dimensional Euclidean space** is denoted **SO(4)**. The name comes from the fact that it is (isomorphic to) the special orthogonal group of order 4.

In this article *rotation* means *rotational displacement*. For the sake of uniqueness rotation angles are assumed to be in the segment except where mentioned or clearly implied by the context otherwise.

A "fixed plane" is a plane for which every vector in the plane is unchanged after the rotation. An "invariant plane" is a plane for which every vector in the plane, although it may be affected by the rotation, remains in the plane after the rotation.

## Geometry of 4D rotations

Four-dimensional rotations are of two types: simple rotations and double rotations.

### Simple rotations

A simple rotation R about a rotation centre O leaves an entire plane A through O (axis-plane) fixed. Every plane *B* that is completely orthogonal^{[1]} to A intersects A in a certain point P. Each such point P is the centre of the 2D rotation induced by R in B. All these 2D rotations have the same rotation angle .

Half-lines from O in the axis-plane A are not displaced; half-lines from O orthogonal to A are displaced through ; all other half-lines are displaced through an angle .

### Double rotations

For each rotation R of 4-space (fixing the origin), there is at least one pair of orthogonal 2-planes A and B each of which are invariant and whose direct sum A⊕B is all of 4-space. Hence R operating on either of these planes produces an ordinary rotation of that plane. For almost all R (all of the 6-dimensional set of rotations except for a 3-dimensional subset), the rotation angles α in plane A and β in plane B — both assumed to be nonzero — are different. The unequal rotation angles α and β satisfying -π < α, β < π are almost** ^{*}** uniquely determined by R. Assuming that 4-space is oriented, then the orientations of the 2-planes A and B can be chosen consistent with this orientation in two ways. If the rotation angles are unequal (α ≠ β), R is sometimes termed a "double rotation".

In that case of a double rotation, A and B are the only pair of invariant planes, and half-lines from the origin in A, B are displaced through α and β respectively, and half-lines from the origin not in A or B are displaced through angles strictly between α and β.

** ^{*}**Assuming that 4-space is oriented, then an orientation for each of the 2-planes A and B can be chosen to be consistent with this orientation of 4-space in two equally valid ways. If the angles from one such choice of orientations of A and B are {α, β}, then the angles from the other choice are {-α, -β}. (In order to measure a rotation angle in a 2-plane, it is necessary to specify an orientation on that 2-plane. A rotation angle of -π is the same as one of +π. If the orientation of 4-space is reversed, the resulting angles would be either {α, -β} or {-α, β}. Hence the

**absolute values**of the angles are well-defined completely independently of any choices.)

#### Isoclinic rotations

If the rotation angles of a double rotation are equal then there are infinitely many invariant planes instead of just two, and all half-lines from O are displaced through the same angle. Such rotations are called **isoclinic** or **equiangular rotations**, or **Clifford displacements**. Beware: not all planes through O are invariant under isoclinic rotations; only planes that are spanned by a half-line and the corresponding displaced half-line are invariant.

Assuming that a fixed orientation has been chosen for 4-dimensional space, isoclinic 4D rotations may be put into two categories. To see this, consider an isoclinic rotation R, and take an orientation-consistent ordered set OU, OX, OY, OZ of mutually perpendicular half-lines at O (denoted as OUXYZ) such that OU and OX span an invariant plane, and therefore OY and OZ also span an invariant plane. Now assume that only the rotation angle is specified. Then there are in general four isoclinic rotations in planes OUX and OYZ with rotation angle , depending on the rotation senses in OUX and OYZ.

We make the convention that the rotation senses from OU to OX and from OY to OZ are reckoned positive. Then we have the four rotations R1 = , R2 = , R3 = and R4 = . R1 and R2 are each other's inverses; so are R3 and R4. As long as lies between 0 and , these four rotations will be distinct.

Isoclinic rotations with like signs are denoted as *left-isoclinic*; those with opposite signs as *right-isoclinic*. Left- (Right-) isoclinic rotations are represented by left- (right-) multiplication by unit quaternions; see the paragraph "Relation to quaternions" below.

The four rotations are pairwise different except if or . The angle corresponds to the identity rotation; corresponds to the central inversion, given by the negative of the identity matrix. These two elements of SO(4) are the only ones that are simultaneously left- and right-isoclinic.

Left- and right-isocliny defined as above seem to depend on which specific isoclinic rotation was selected. However, when another isoclinic rotation R′ with its own axes OU′, OX′, OY′, OZ′ is selected, then one can always choose the order of U′, X′, Y′, Z′ such that OUXYZ can be transformed into OU′X′Y′Z′ by a rotation rather than by a rotation-reflection. (I.e., so that the ordered basis OU′, OX′, OY′, OZ′ is also consistent with the same fixed choice of orientation as OU, OX, OY, OZ.) Therefore, once one has selected an orientation (i.e., a system OUXYZ of axes that is universally denoted as right-handed), one can determine the left or right character of a specific isoclinic rotation.

### Group structure of SO(4)

SO(4) is a noncommutative compact 6-dimensional Lie group.

Each plane through the rotation centre O is the axis-plane of a commutative subgroup isomorphic to SO(2). All these subgroups are mutually conjugate in SO(4).

Each pair of completely orthogonal planes through O is the pair of invariant planes of a commutative subgroup of SO(4) isomorphic to *SO*(2) × *SO*(2).

These groups are maximal tori of SO(4), which are all mutually conjugate in SO(4). See also Clifford torus.

All left-isoclinic rotations form a noncommutative subgroup S^{3}_{L} of SO(4), which is isomorphic to the multiplicative group S^{3} of unit quaternions. All right-isoclinic rotations likewise form a subgroup S^{3}_{R} of SO(4) isomorphic to S^{3}. Both S^{3}_{L} and S^{3}_{R} are maximal subgroups of SO(4).

Each left-isoclinic rotation commutes with each right-isoclinic rotation. This implies that there exists a direct product S^{3}_{L} × S^{3}_{R} with normal subgroups S^{3}_{L} and S^{3}_{R}; both of the corresponding factor groups are isomorphic to the other factor of the direct product, i.e. isomorphic to S^{3}. (This is not SO(4) or a subgroup of it, because S^{3}_{L} and S^{3}_{R} are not disjoint: the identity I and the central inversion -I each belong to both S^{3}_{L} and S^{3}_{R}.)

Each 4D rotation A is in two ways the product of left- and right-isoclinic rotations A_{L} and A_{R}. A_{L} and A_{R} are together determined up to the central inversion, i.e. when both A_{L} and A_{R} are multiplied by the central inversion their product is A again.

This implies that S^{3}_{L} × S^{3}_{R} is the universal covering group of SO(4) — its unique double cover — and that S^{3}_{L} and S^{3}_{R} are normal subgroups of SO(4). The identity rotation I and the central inversion -I form a group C_{2} of order 2, which is the centre of SO(4) and of both S^{3}_{L} and S^{3}_{R}. The centre of a group is a normal subgroup of that group. The factor group of C_{2} in SO(4) is isomorphic to SO(3) × SO(3). The factor groups of S^{3}_{L} by C_{2} and of S^{3}_{R} by C_{2} are each isomorphic to SO(3). Similarly, the factor groups of SO(4) by S^{3}_{L} and of SO(4) by S^{3}_{R} are each isomorphic to SO(3).

The **topology** of SO(4) is the same as that of the Lie group SO(3) × Spin(3) = SO(3) × SU(2), namely the topology of P^{3} × S^{3}. However, it is noteworthy that, **as a Lie group**, SO(4) is **not** a direct product of Lie groups, and so it is not isomorphic to SO(3) × Spin(3) = SO(3) × SU(2).

### Special property of SO(4) among rotation groups in general

The odd-dimensional rotation groups do not contain the central inversion and are simple groups.

The even-dimensional rotation groups do contain the central inversion −I and have the group C_{2} = {I, −I} as their centre. From SO(6) onwards they are almost-simple in the sense that the factor groups of their centres are simple groups.

SO(4) is different: there is no conjugation by any element of SO(4) that transforms left- and right-isoclinic rotations into each other. Reflections transform a left-isoclinic rotation into a right-isoclinic one by conjugation, and vice versa. This implies that under the group O(4) of *all* isometries with fixed point O the subgroups S^{3}_{L} and S^{3}_{R} are mutually conjugate and so are not normal subgroups of O(4). The 5D rotation group SO(5) and all higher rotation groups contain subgroups isomorphic to O(4). Like SO(4), all even-dimensional rotation groups contain isoclinic rotations. But unlike SO(4), in SO(6) and all higher even-dimensional rotation groups any pair of isoclinic rotations through the same angle is conjugate. The sets of all isoclinic rotations are not even subgroups of SO(2N), let alone normal subgroups.

## Algebra of 4D rotations

SO(4) is commonly identified with the group of orientation-preserving isometric linear mappings of a 4D vector space with inner product over the real numbers onto itself.

With respect to an orthonormal basis in such a space SO(4) is represented as the group of real 4th-order orthogonal matrices with determinant +1.

### Isoclinic decomposition

A 4D rotation given by its matrix is decomposed into a left-isoclinic and a right-isoclinic rotation as follows:

Let be its matrix with respect to an arbitrary orthonormal basis.

Calculate from this the so-called *associate matrix*

M has rank one and is of unit Euclidean norm as a 16D vector if and only if A is indeed a 4D rotation matrix. In this case there exist reals a, b, c, d; p, q, r, s such that

and . There are exactly two sets of a, b, c, d; p, q, r, s such that and . They are each other's opposites.

The rotation matrix then equals

This formula is due to Van Elfrinkhof (1897).

The first factor in this decomposition represents a left-isoclinic rotation, the second factor a right-isoclinic rotation. The factors are determined up to the negative 4th-order identity matrix, i.e. the central inversion.

### Relation to quaternions

A point in 4-dimensional space with Cartesian coordinates (*u*, *x*, *y*, *z*) may be represented by a quaternion *P* = *u* + *xi* + *yj* + *zk*.

A left-isoclinic rotation is represented by left-multiplication by a unit quaternion *Q*_{L} = *a* + *bi* + *cj* + *dk*. In matrix-vector language this is

Likewise, a right-isoclinic rotation is represented by right-multiplication by a unit quaternion *Q*_{R} = *p* + *qi* + *rj* + *sk*, which is in matrix-vector form

In the preceding section (Isoclinic decomposition) it is shown how a general 4D rotation is split into left- and right-isoclinic factors.

In quaternion language Van Elfrinkhof's formula reads

or in symbolic form

According to the German mathematician Felix Klein this formula was already known to Cayley in 1854.

Quaternion multiplication is associative. Therefore,

which shows that left-isoclinic and right-isoclinic rotations commute.

### The eigenvalues of 4D rotation matrices

The four eigenvalues of a 4-D rotation matrix generally occur as two conjugate pairs of complex numbers of unit magnitude. If an eigenvalue is real, it must be unity, since a rotation leaves the magnitude of a vector unchanged. The conjugate of that eigenvalue is also unity, yielding a pair of eigenvectors which define a fixed plane, and so the rotation is simple. In quaternion notation, a proper (i.e., non-inverting) rotation in SO(4) is a proper simple rotation if and only if the real parts of the unit quaternions * QL* and * QR* are equal in magnitude and have the same sign (*). If they are both zero, all eigenvalues of the rotation are unity, and the rotation is the null rotation. If the real parts of * QL* and * QR* are not equal then all eigenvalues are complex, and the rotation is a double rotation.

(*) Example of opposite signs: the central inversion; in the quaternion representation the real parts are +1 and -1, and the central inversion cannot be accomplished by a single simple rotation.

### The Euler–Rodrigues formula for 3D rotations

Our ordinary 3D space is conveniently treated as the subspace with coordinate system OXYZ of the 4D space with coordinate system OUXYZ. Its rotation group SO(3) is identified with the subgroup of SO(4) consisting of the matrices

In Van Elfrinkhof's formula in the preceding subsection this restriction to three dimensions leads to , or in quaternion representation: *Q*_{R} = *Q*_{L}' = *Q*_{L}^{−1}.
The 3D rotation matrix then becomes

which is the representation of the 3D rotation by its Euler–Rodrigues parameters: a, b, c, d.

The corresponding quaternion formula

,

where *Q* = *Q*_{L,} or, in expanded form:

is known as the Hamilton–Cayley formula.

### Hopf Coordinates

Rotations in 3D space are made mathematically much more tractable by the use of spherical coordinates. Any rotation in 3D will characterized by a fixed axis of rotation and an invariant plane perpendicular to that axis. Without loss of generality, we can take the *xy* plane as the invariant plane and the *z* axis as the fixed axis. Since radial distances are not affected by rotation, we can characterize a rotation by its effect on the unit sphere (2-sphere)
by spherical coordinates referred to the fixed axis and invariant plane:

It can be seen that since , the points lie on the 2-sphere. A point at rotated by an angle about the *z* axis is specified simply by . While hyperspherical coordinates are also useful in dealing with 4D rotations, an even more useful coordinate system for 4D is provided by Hopf Coordinates ,^{[2]} which are a set of three angular coordinates specifying a position on the 3-sphere. For example:

It can be seen that since , the points lie in the 3-sphere.

In 4D space, every rotation about the origin has two invariant planes which are completely orthogonal to each other and intersect at the origin, and are rotated by two independent angles and . Without loss of generality, we can choose, respectively, the *uz* and the *xy* plane as these invariant planes. A rotation in 4D of a point through angles and is then simply expressed in Hopf coordinates as .

## Visualization of 4D rotations

Every rotation in 3D space has an invariant axis-line which is unchanged by the rotation. The rotation is completely specified by specifying the axis of rotation and the angle of rotation about that axis. Without loss of generality, this axis may be chosen as the *z*-axis of a Cartesian coordinate system, allowing a simpler visualizaton of the rotation.

In 3D space, the spherical coordinates may be seen as a parametric expression of the 2-sphere. For fixed they describe circles on the 2-sphere which are perpendicular to the *z* axis and these circles may be viewed as "trajectories" of a point on the sphere. A point on the sphere, under a rotation about the *z* axis, will follow a trajectory as the angle varies The trajectory may be viewed as a rotation parametric in time, where the angle of rotation is linear in time: , with being an "angular velocity".

Analogous to the 3D case, every rotation in 4D space has at least two invariant axis-planes which are left invariant by the rotation and are completely orthogonal (i.e. they intersect at a point). The rotation is completely specified by specifying the axis planes and the angles of rotation about them. Without loss of generality, these axis planes may be chosen to be the *uz* and *xy* planes of a Cartesian coordinate system, allowing a simpler visualizaton of the rotation.

In 4D space, the Hopf angles parameterize the 3-sphere. For fixed they describe a torus parameterized by and , with being the special case of the Clifford torus in the *xy* and *uz* planes. These tori are not the usual tori found in 3D-space. While they are still 2D surfaces, they are embedded in the 3-sphere. The 3-sphere can be stereographically projected onto the whole Euclidean 3D-space, and these tori are then seen as the usual tori of revolution. It can be seen that a point specified by undergoing a rotation with the *uz* and *xy* planes invariant will remain on the torus specified by .^{[3]} The trajectory of a point can be written as a function of time as and stereographically projected onto its associated torus, as in the figures below.^{[4]} In these figures, the initial point is taken to be , i.e. on the Clifford torus. In Fig. 1, two simple rotation trajectories are shown in black, while a left and a right isoclinic trajectory is shown in red and blue respectively. In Fig. 2, a general rotation in which and is shown, while in Fig. 3, a general rotation in which and is shown.

## Generating 4D Rotation Matrices

Four dimensional rotations can be derived by Rodrigues rotation formula and Cayley Formula. Let be a 4x4 skew symmetric matrix. The skew-symmetric matrix can be uniquely decomposed as by two skew-symmetric matrices and satisfying the properties , and where and are eigenvalues of . Then, the 4D rotation matrices can be obtained with skew-symmetric matrices and by Rodrigues rotation formula and Cayley Formula.

Erdoğdu, M., Özdemir, M. (2015). "Generating Four Dimensional Rotation Matrices".

Let be a given nonzero skew-symmetric matrix with the set of eigenvalues . Then can be decomposed as where and are skew-symmetric matrices satisfying the properties

- and .

Moreover, the skew-symmetric matrices and are uniquely obtained as

and

- .

Then,

is a rotation matrix in , which is generated by Rodrigues rotation formula, with the set of eigenvalues , , , .

Also,

is a rotation matrix in , which is generated by Cayley rotation formula, such that the set of eigenvalues of is,

- .

Generating rotation matrix can be classified with respect to the values and as follows:

I. If and , then formulas generates simple rotations;

II. If , are nonzero and , then formulas generates double rotations;

III. If , are nonzero and , then formulas generates isoclinic rotations.

## See also

- Orthogonal matrix
- Orthogonal group
- Lorentz group
- Poincaré group
- Laplace–Runge–Lenz vector
- Plane of rotation
- Quaternions and spatial rotation

## Notes

- ↑ Two flat subspaces
*S*_{1}and*S*_{2}of dimensions*M*and*N*of a Euclidean space*S*of at least*M*+*N*dimensions are called*completely orthogonal*if every line in S1 is orthogonal to every line in S2. If dim(*S*) =*M*+*N*then S1 and S2 intersect in a single point O. If dim(*S*) >*M*+*N*then S1 and S2 may or may not intersect. If dim(*S*) =*M*+*N*then a line in*S*_{1}and a line in*S*_{2}may or may not intersect; if they intersect then they intersect in O. Literature: Schoute 1902, Volume 1. - ↑ Karcher, Hermann, "Bianchi-Pinkall Flat Tori in S3",
*3DXM Documentation*, 3DXM Consortium, retrieved April 5, 2015 - ↑ Pinkall, U. (1985). "Hopf tori in S3" (PDF).
*Invent. math*.**81**: 379–386. Retrieved 7 April 2015. - ↑ Banchoff, Thomas F. (1990).
*Beyond the Third Dimension*. W H Freeman & Co;. ISBN 978-0716750253. Retrieved 2015-04-08.

## References

- L. van Elfrinkhof: Eene eigenschap van de orthogonale substitutie van de vierde orde.
*Handelingen van het 6e Nederlandsch Natuurkundig en Geneeskundig Congres, Delft, 1897.* - Felix Klein: Elementary Mathematics from an Advanced Standpoint: Arithmetic, Algebra, Analysis. Translated by E.R. Hedrick and C.A. Noble. The Macmillan Company, New York, 1932.
- Henry Parker Manning:
*Geometry of four dimensions*. The Macmillan Company, 1914. Republished unaltered and unabridged by Dover Publications in 1954. In this monograph four-dimensional geometry is developed from first principles in a synthetic axiomatic way. Manning's work can be considered as a direct extension of the works of Euclid and Hilbert to four dimensions. - J. H. Conway and D. A. Smith: On Quaternions and Octonions: Their Geometry, Arithmetic, and Symmetry. A. K. Peters, 2003.
- Arthur Stafford Hathaway (1902) Quaternion Space, Transactions of the American Mathematical Society 3(1):46–59.
- Johan E. Mebius, A matrix-based proof of the quaternion representation theorem for four-dimensional rotations.,
*arXiv General Mathematics*2005. - Johan E. Mebius, Derivation of the Euler–Rodrigues formula for three-dimensional rotations from the general formula for four-dimensional rotations.,
*arXiv General Mathematics*2007. - P.H.Schoute:
*Mehrdimensionale Geometrie*. Leipzig: G.J.Göschensche Verlagshandlung. Volume 1 (Sammlung Schubert XXXV): Die linearen Räume, 1902. Volume 2 (Sammlung Schubert XXXVI): Die Polytope, 1905. - Irving Stringham (1901) On the geometry of planes in a parabolic space of four dimensions,
*Transactions of the American Mathematical Society*2:183–214. - Melek Erdoğdu, Mustafa Özdemir, Generating Four Dimensional Rotation Matrices, https://www.researchgate.net/publication/283007638_Generating_Four_Dimensional_Rotation_Matrices, 2015.