|
Every Euler angle sequence is built from three elementary coordinate transformations about the coordinate axes.
For that reason, the most efficient way to understand Euler Angle matrices is to understand the three one axis passive transformations first.
This article derives the passive elementary matrices
interprets their signs geometrically, and records the diagnostic tests that make later Euler sequence formulas easier to verify.
PhysicsLibrary uses right handed orthonormal coordinate frames and passive coordinate transformations.
If the same physical vector has coordinate columns
and
in frames and , then
 |
(1) |
A passive transformation therefore keeps the physical vector fixed while the coordinate frame is rotated.
A positive frame rotation follows the right hand rule.
The three elementary passive coordinate transformations are denoted
 |
(2) |
where is the rotation angle and the subscript refers to the axis respectively.
A general intrinsic Euler sequence is composed from the elementary transformations.
For intrinsic - - with sequence angles
,
 |
(3) |
Thus every Euler angle formula is ultimately a product of the three matrices derived in this article.
If their signs are understood at the elementary level, later formulas become much easier to trust and debug.
A passive frame rotation changes coordinates, not the physical vector.
Suppose frame is obtained from frame by a positive rotation of the coordinate axes through angle about one of the coordinate axes.
Then a fixed physical vector has one coordinate column in frame and a different coordinate column in frame .
The unchanged geometry and changed coordinates are related by
 |
(4) |
This passive viewpoint is the key sign convention.
For example, if the coordinate axes rotate positively about , then a physical vector that originally had coordinates
will generally not retain those same coordinates in the rotated frame.
Let frame be obtained from frame by a positive frame rotation through angle about axis , the axis.
The axis is unchanged by this rotation, while the and axes rotate in the plane.
Figure. Passive frame rotation about axis  . The  axis is common to both frames, while the  and  axes of frame  are obtained by a positive frame rotation through angle  about  . The angle label is placed between
the pre-rotation and post-rotation axes to emphasize that  is the geometric separation of those axes. All axes share one common origin.
Let
and
Under the passive rotation about axis ,
 |
(5) |
because the first axis is unchanged.
In the plane, the coordinate pair transforms as a two dimensional passive rotation:
 |
(6) |
 |
(7) |
Collecting terms gives
 |
(8) |
Therefore
 |
(9) |
At
,
 |
(10) |
If a fixed physical vector has initial coordinates
then
 |
(11) |
This sign pattern agrees with the passive interpretation: the vector did not move, but the coordinate axes did.
Now let frame be obtained from frame by a positive frame rotation through angle about axis , the axis.
The axis is unchanged, while the and axes rotate in the plane.
Figure. Passive frame rotation about axis  . The  axis is common to both frames, while the  and  axes of frame  result from a positive frame rotation through angle  about  . The marked angle  is drawn between corresponding old and new axes.
Again write
Because the second axis is unchanged,
 |
(12) |
The coordinates transform as
 |
(13) |
 |
(14) |
Hence
 |
(15) |
so
 |
(16) |
At
,
 |
(17) |
If
then
 |
(18) |
Finally let frame be obtained from frame by a positive frame rotation through angle about axis , the axis.
The axis is unchanged, while the and axes rotate in the plane.
Figure. Passive frame rotation about axis  . The  axis is common to both frames, while the  and  axes of frame  are produced by a positive frame rotation through angle  about  . The angle marker is drawn between
the old and new  axes to emphasize the sign convention.
With the same notation,
 |
(19) |
and the coordinates transform as
 |
(20) |
 |
(21) |
Therefore
 |
(22) |
so
 |
(23) |
At
,
 |
(24) |
If
then
 |
(25) |
This example is often the quickest sign check for the passive convention.
Each elementary matrix is an orthogonal matrix with determinant .
For each ,
 |
(26) |
 |
(27) |
and therefore
 |
(28) |
Because changing the sign of the angle reverses the frame rotation,
 |
(29) |
This identity is one of the most useful algebraic checks in Euler angle work.
The passive coordinate transformation and the active vector rotation for the same positive geometric angle are transposes of one another.
If
denotes the active rotation matrix, then
 |
(30) |
Thus many sign disagreements found in textbooks are actually differences between active and passive conventions.
The geometry is the same; the map interpretation is different.
For a passive direction cosine matrix,
 |
(31) |
so the columns are the coordinates of the basis vectors of frame expressed in frame .
Equivalently, the entries may be written as direction cosines
 |
(32) |
Therefore the rows are the components of the basis vectors of frame measured along the axes of frame .
Both viewpoints are valid and useful.
For small ,
Therefore
 |
(33) |
 |
(34) |
and
 |
(35) |
These first-order forms are useful in error analysis and linearized attitude models, but they should not be mistaken for exact finite rotation matrices.
Because a generic intrinsic sequence is
every Euler matrix is formed by multiplying the elementary matrices in the appropriate order.
For example, the PhysicsLibrary passive intrinsic - - yaw pitch roll map is
 |
(36) |
The rightmost factor acts first on a coordinate column.
Thus the first step is a positive frame rotation about axis through yaw , the second step is a positive frame rotation about the current axis through pitch , and the third step is a positive frame rotation about the current axis through roll .
Any derived Euler matrix should agree with the elementary matrices under appropriate specializations.
Useful tests include:
- set all angles to zero and verify the identity matrix;
- set two angles to zero and verify the correct elementary matrix;
- test the
cases recorded above;
- verify orthogonality:
- verify proper determinant:
- verify the reverse map:
- compare with the corresponding passive quaternion relation when a quaternion representation is available.
These checks are simple enough to do by hand and strong enough to catch most sign, order, and convention mistakes.
The three elementary passive coordinate transformations are
 |
(37) |
 |
(38) |
and
 |
(39) |
They are orthogonal, proper, and related to their active counterparts by transpose.
Every intrinsic Euler angle matrix in the PhysicsLibrary convention is built from these elementary factors according to
 |
(40) |
Understanding these three matrices is therefore the key first step toward understanding every later Euler sequence formula.
The next companion article, Elementary axis rotations and passive rotation matrices: examples, exercises, and solutions, will reinforce these results with direct computations and verification checks.
Henderson is a classic engineering source for Euler angle transformations, quaternions, and direction cosine matrices.
Moore develops passive coordinate transformations and orientation of reference frames in a modern open text.
Diebel gives a compact comparative overview of Euler angles, rotation matrices, quaternions, and rotation vectors.
- 1
- D. M. Henderson, Euler Angles, Quaternions, and Transformation Matrices: Working Relationships, JSC-12960, NASA Johnson Space Center, 1977. NASA Technical Reports Server
- 2
- J. K. Moore, Learn Multibody Dynamics, chapter “Orientation of Reference Frames,” 2026 edition. Licensed CC BY 4.0. Orientation of Reference Frames
- 3
- J. Diebel, “Representing Attitude: Euler Angles, Unit Quaternions, and Rotation Vectors,” Stanford University, 2006. Online PDF
Unless otherwise noted, this PhysicsLibrary entry is intended for release under the Creative Commons Attribution ShareAlike 4.0 International license.
|