In mathematics and mechanics, the Euler–Rodrigues formula describes the rotation of a vector in three dimensions. It is based on Rodrigues' rotation formula, but uses a different parametrization.
The parameter a may be called the scalar parameter and the vector parameter. In standard vector notation, the Rodrigues rotation formula takes the compact form[citation needed]
The parameters (a, b, c, d) and (−a, −b, −c, −d) describe the same rotation. Apart from this symmetry, every set of four parameters describes a unique rotation in three-dimensional space.
The composition of two rotations is itself a rotation. Let (a1, b1, c1, d1) and (a2, b2, c2, d2) be the Euler parameters of two rotations. The parameters for the compound rotation (rotation 2 after rotation 1) are as follows:
It is straightforward, though tedious, to check that a2 + b2 + c2 + d2 = 1. (This is essentially Euler's four-square identity.)
Any central rotation in three dimensions is uniquely determined by its axis of rotation (represented by a unit vectork→ = (kx, ky, kz)) and the rotation angle φ. The Euler parameters for this rotation are calculated as follows:
Note that if φ is increased by a full rotation of 360 degrees, the arguments of sine and cosine only increase by 180 degrees. The resulting parameters are the opposite of the original values, (−a, −b, −c, −d); they represent the same rotation.
In particular, the identity transformation (null rotation, φ = 0) corresponds to parameter values (a, b, c, d) = (±1, 0, 0, 0). Rotations of 180 degrees about any axis result in a = 0.
The Euler parameters can be viewed as the coefficients of a quaternion; the scalar parameter a is the real part, the vector parameters b, c, d are the imaginary parts.
Thus we have the quaternion
which is a quaternion of unit length (or versor) since
Most importantly, the above equations for composition of rotations are precisely the equations for multiplication of quaternions . In other words, the group of unit quaternions with multiplication, modulo the negative sign, is isomorphic to the group of rotations with composition.
A rotation in 3D can thus be represented by a quaternion q:
where:
is the scalar (real) part,
is the vector (imaginary) part,
is a unit vector representing the axis of rotation.
For a pure quaternion , the rotated vector is given by:
where
To derive the quaternionic equivalent of the Euler-Rodrigues equation, substitute and into :
Compute first:
Using quaternion multiplication rules:
Now multiply by :
Expand the product into three parts:
Part 1: Scalar Term
The scalar contribution is:
The vector contribution is:
Part 2: Vector Term Scalar Part of
Part 3: Vector Term Vector Part of
The vector term multiplied by gives:
Using the vector identity , we get:
Combine all terms
The factor of 2 in comes from two identical terms in the quaternion product expansion. These terms combine naturally due to the symmetry of the quaternion conjugation operation. The first term comes from the scalar-vector product
The second term comes from the vector-vector product:
These two terms are identical and arise from different parts of the quaternion multiplication.
Simplify each term
1. Term 1 + Term 2:
2. Term 3:
Using :
3. Term 4:
Using the double-angle identity :
Combining all terms, we get the standard Euler-Rodrigues formula:
When multiplying quaternions, the scalar part of the product arises from scalar scalar terms and vector vector terms (dot products). In the expansion of , the scalar contribution comes from:
The result of must be a pure quaternion (i.e., it has no scalar part) because is a pure quaternion (its scalar part is 0) and the conjugation preserves the pure quaternion property.
Thus, any scalar terms generated during the intermediate steps of the quaternion multiplication must cancel out in the final result. The scalar contribution is canceled by an equal and opposite scalar term that arises from another part of the quaternion multiplication. After cancellation of the scalar terms, the result is a pure quaternion . The vector part is given by the above Euler-Rodrigues formula.
It is important to note that . is a unit vector along the axis of rotation. But is defined to be
The Lie groupSU(2) can be used to represent three-dimensional rotations in complex 2 × 2 matrices. The SU(2)-matrix corresponding to a rotation, in terms of its Euler parameters, is
Rotation is given by , which it can be confirmed by multiplying out gives the Euler–Rodrigues formula as stated above.
Thus, the Euler parameters are the real and imaginary coordinates in an SU(2) matrix corresponding to an element of the spin group Spin(3), which maps by a double cover mapping to a rotation in the orthogonal group SO(3). This realizes as the unique three-dimensional irreducible representation of the Lie group SU(2) ≈ Spin(3).
^ abGoldstein (1980)[2] considers a passive (contravariant, or "alias") transformation, rather than the active (covariant, or "alibi") transformation here. His matrix therefore corresponds to the transpose of the Euler–Rodrigues matrix given at the head of this article, or, equivalently, to the Euler–Rodrigues matrix for an active rotation of rather than . Taking this into account, it is apparent that his , , and in eqn 4-67 (p.153) are equal to , , and here. However his , , , and , the elements of his matrix , correspond to the elements of matrix here, rather than the matrix . This then gives his parametrization
In consequence, while his formula (4-64) is identical symbol-by-symbol to the transformation matrix given here, using his definitions for , , , and it gives his matrix , whereas the definitions based on the matrix above lead to the (active) Euler–Rodrigues matrix presented here.
Pennestrì et al (2016)[3] similarly define their , , , and in terms of the passive matrix rather than the active matrix .
The parametrization here accords with that used in eg Sakurai and Napolitano (2020),[4] p. 165, and Altmann (1986),[5] eqn. 5 p. 113 / eqn. 9 p. 117.
^e.g. Felix Klein (1897), The mathematical theory of the top, New York: Scribner. p.4
^ abGoldstein, H. (1980), "The Cayley-Klein Parameters and Related Quantities". §4-5 in Classical Mechanics, 2nd ed. Reading, MA: Addison-Wesley. p. 153
^ abE. Pennestrì, P.P. Valentini, G. Figliolini, J. Angeles (2016), "Dual Cayley–Klein parameters and Möbius transform: Theory and applications", Mechanism and Machine Theory106(January):50-67. doi:10.1016/j.mechmachtheory.2016.08.008. pdf available via ResearchGate
^Felix Klein and Arnold Sommerfeld, Über die Theorie des Kreisels, vol 1. (Teubner, 1897). Translated (2008) as: The Theory of the Top, vol 1. Boston: Birkhauser. ISBN0817647201