|
Euler angles describe the orientation of one three dimensional coordinate frame relative to another by means of three successive one axis rotations.
The phrase “Euler angles” is often used loosely. In precise engineering and mathematical work, however, an Euler angle triple is not defined by three numbers alone. Its meaning also depends on:
- the coordinate frames being related;
- whether the rotations are intrinsic or extrinsic;
- the three rotation axes;
- the order in which the rotations occur;
- the sign convention for positive rotation;
- whether the matrices act actively on physical vectors or passively on coordinate representations.
This article develops the geometry behind Euler angles before specializing to individual sequences such as - - yaw pitch roll or - - proper Euler angles.
The PhysicsLibrary convention is passive and intrinsic.
Let and be right handed orthonormal frames.
A physical vector may be represented by coordinate columns
and
The passive direction cosine matrix from frame coordinates to frame coordinates is defined by
 |
(1) |
The matrix
therefore describes the orientation of frame relative to frame while mapping coordinate descriptions from into .
Because both frames are orthonormal,
 |
(2) |
and
 |
(3) |
Thus
 |
(4) |
The two matrices represent opposite coordinate map directions for the same relative physical orientation.
An Euler angle construction introduces two intermediate frames between the initial and final frames.
Let
 |
(5) |
The sequence is
Each arrow represents one rotation about one coordinate axis.
For a generic intrinsic sequence - - ,
The first step is a rotation through about axis of . The second is a rotation through about axis of the moving frame . The third is a rotation through about axis of the moving frame .
The three angles are therefore:
first intrinsic rotation angle |
(6) |
second intrinsic rotation angle |
(7) |
and
third intrinsic rotation angle |
(8) |
The intermediate frames are not optional bookkeeping devices. They are part of the geometric meaning of an intrinsic Euler sequence.
Figure. Intrinsic Euler angle construction. Frame  is rotated through three successive intrinsic rotations to produce  , then  , and finally  . The angles  ,  , and  are applied in that
chronological order, while the passive coordinate transformation is written as
The second and third rotations are taken about axes of the intermediate moving frames, which is why intrinsic Euler angles are sequence dependent and should not be treated as components of an ordinary vector.
In an intrinsic sequence, each rotation after the first is performed about an axis of the frame produced by the previous rotation.
For intrinsic - - :
- rotate frame
through about axis of ;
- rotate the resulting frame
through about axis of ;
- rotate the resulting frame
through about axis of .
The second and third axes have therefore generally moved in physical space.
This is the reason finite Euler angle rotations cannot be interpreted as three independent rotations about the original frame axes.
Let
be the passive elementary coordinate transformation associated with the first intrinsic frame rotation.
Then
 |
(9) |
The second step is
 |
(10) |
The third step is
 |
(11) |
Substitute successively:
Since
and
the complete intrinsic Euler coordinate transformation is
 |
(12) |
This is the central composition rule for the PhysicsLibrary Euler angle series.
The product
is sometimes misread as though the rotation happened first.
That is not what the matrix equation means.
Coordinate columns are multiplied from the left:
The first operation applied to the column is therefore
The chronological intrinsic sequence is still
The matrix product writes the composed maps in the usual function composition order.
For completeness, the three elementary passive transformations are
 |
(13) |
 |
(14) |
and
 |
(15) |
Each matrix describes the change in coordinates caused by a positive rotation of the coordinate frame.
For example,
 |
(16) |
Thus a fixed physical vector having coordinates
has coordinates
 |
(17) |
after the frame is rotated positively by about .
An Euler angle triple is often written as
This notation resembles a vector, but its geometric meaning is completely different.
In general,
 |
(18) |
does not represent the composition of two orientations.
Likewise,
 |
(19) |
is not generally the exact relative orientation between two finite Euler attitudes.
The reason is that the meaning of the second and third Euler angles depends on the intermediate moving frames.
Euler angles are nonlinear coordinates on the orientation manifold, not components of an ordinary geometric vector.
Consider two positive frame rotations:
 about 
and
 about 
The corresponding passive matrices are
and
In general,
 |
(20) |
Thus changing the sequence changes the final orientation.
This is not a numerical artifact. Noncommutativity is a fundamental property of finite rotations in three dimensions.
The orientation of one rigid orthonormal frame relative to another has three independent degrees of freedom.
Euler angles provide three scalar coordinates for those three degrees of freedom.
The construction uses three successive rotations because two rotations are not sufficient to generate every possible orientation, while three properly chosen rotations are sufficient locally.
The use of three parameters is minimal.
A direction cosine matrix uses nine stored numbers subject to six independent orthonormality constraints.
A unit quaternion uses four stored numbers subject to one unit norm constraint.
Euler angles use exactly three scalar coordinates, but that minimality requires coordinate singularities somewhere in the representation.
Suppose two consecutive intrinsic rotations are both about the same current axis.
For example,
Here both consecutive steps are rotations about the current axis , with angles and respectively.
Because the first rotation leaves its own rotation axis unchanged in the current frame, the second rotation is about the same physical axis.
The two rotations combine:
 |
(21) |
Thus two adjacent rotations about the same axis do not provide two independent orientation coordinates.
A valid standard three angle sequence therefore requires
and
The first and third axes may either differ or coincide.
There are three choices for the first axis.
Once the first axis is chosen, there are two choices for the second axis because the second axis must differ from the first.
For the third axis, there are two admissible choices:
- use the remaining third axis;
- return to the first axis.
Therefore the number of standard sequences is
 |
(22) |
These divide naturally into two families.
A Tait Bryan sequence uses three distinct axes.
The six intrinsic Tait Bryan sequences are
 |
(23) |
Because all three axes differ, these are also called Cardan sequences in some literature.
Aerospace yaw pitch roll is normally represented by the intrinsic - - Tait Bryan sequence.
A proper Euler sequence returns to the first axis on the third rotation.
The six intrinsic proper Euler sequences are
 |
(24) |
These sequences are common in classical rigid body mechanics, orbital orientation, and historical treatments of Euler's rotational coordinates.
Consider intrinsic - - .
The frame chain is
The three intrinsic rotations are about axis of , then about axis of , then about axis of .
The passive coordinate transformation is
 |
(25) |
In aerospace notation,
 |
(26) |
Therefore
 |
(27) |
This is the standard PhysicsLibrary yaw pitch roll specialization.
Consider intrinsic - - .
The frame chain is
The three intrinsic rotations are about axis of , then about axis of , then about axis of .
The passive transformation is
 |
(28) |
Although the first and third axis labels are both , they refer to axis of different intermediate frames.
That moving axis distinction is essential.
An intrinsic sequence uses moving axes.
An extrinsic sequence uses axes fixed in the original reference frame.
A given physical orientation can often be described either way.
An intrinsic - - sequence can be reinterpreted as a corresponding extrinsic sequence with reverse axis order, provided the angle association is handled consistently.
For example, an intrinsic
description corresponds to a fixed axis description involving
This equivalence does not mean the words “intrinsic” and “extrinsic” may be omitted. They describe different geometric constructions that happen to produce the same final orientation under the corresponding reversal rule.
The distinction between intrinsic and extrinsic concerns which axes are used.
The distinction between active and passive concerns what is being rotated.
An active transformation rotates a physical vector while holding the coordinate frame fixed.
A passive transformation rotates the coordinate frame while holding the physical vector fixed.
These are independent choices.
The PhysicsLibrary Euler series uses passive coordinate transformations and intrinsic moving axis sequence names.
Suppose the sequence is intrinsic - - , but only the first angle is nonzero:
Then
Since
and
the complete transformation reduces to
 |
(29) |
Thus the generic sequence correctly reduces to the expected single elementary frame rotation.
Compare
with
using positive angles.
For the first chronological order,
Using the elementary matrices,
 |
(30) |
For the reversed chronological order,
This gives
 |
(31) |
Therefore
 |
(32) |
The same two angle magnitudes give different final orientations when the sequence is changed.
Consider the proper Euler sequence
At first glance it may appear that the first and third rotations are about the same axis and could be combined.
That is generally false.
The first rotation is about axis of frame .
The third rotation is about axis of frame .
After the intermediate rotation about axis of , axis of is generally not aligned with axis of .
Therefore the first and third rotations are generally about different physical directions even though the sequence labels both axes with the number .
This is exactly why proper Euler sequences remain three parameter representations.
A given physical orientation may have multiple Euler angle descriptions.
The simplest source of nonuniqueness is periodicity.
For any integer ,
 |
(33) |
Thus adding full turns to sequence angles can leave the final orientation unchanged.
More subtle alternate branches occur when extracting angles from a DCM.
At singular configurations, the first and third Euler angles may no longer be independently identifiable.
Therefore Euler angles require declared principal ranges when used as a unique coordinate output.
Minimal three parameter orientation coordinates cannot cover all of three dimensional orientation space with one globally nonsingular chart.
For a Tait Bryan sequence, the middle angle becomes singular when the first and third axes align after the middle rotation.
The generic condition is
 |
(34) |
For - - ,
 |
(35) |
For a proper Euler sequence, the singularity occurs when
 |
(36) |
On the usual principal interval,
 |
(37) |
The physical orientation is not singular at these configurations.
Only the Euler coordinate chart is singular.
The set of all proper three dimensional rotations is the rotation group
Euler angles provide local coordinates on .
A local coordinate map may be written schematically as
The map is smooth away from singular configurations.
At a gimbal lock configuration, the local coordinate Jacobian loses rank.
This geometric viewpoint explains several practical facts at once:
- Euler angles are not vectors;
- finite angle differences are not exact relative rotations;
- coordinate singularities are unavoidable;
- several triples may represent the same orientation;
- alternative attitude representations can remain regular when a chosen Euler chart becomes singular.
The migrated PhysicsLibrary quaternion series uses the same passive frame map direction.
For intrinsic - - ,
 |
(38) |
while
 |
(39) |
The representations are connected by
 |
(40) |
This agreement is a useful convention check.
Euler angles supply a minimal human interpretable coordinate chart.
A unit quaternion supplies a four component nonsingular attitude representation subject to a unit norm constraint.
Neither representation changes the underlying physical orientation.
Euler angles are especially useful when:
- the orientation naturally has physically meaningful yaw, pitch, and roll coordinates;
- the system remains well away from the sequence singularity;
- human readability is important;
- limits are naturally expressed in angular coordinates;
- initial or final boundary conditions are specified in a particular sequence;
- visualization or operator displays require intuitive attitude angles.
A DCM or quaternion may be preferable when:
- the motion can pass through an Euler singularity;
- the attitude must be propagated numerically for long intervals;
- angular velocity measurements drive the attitude state;
- repeated composition is central;
- derivatives and optimization must remain smooth over large orientation ranges;
- a global orientation representation is required.
Euler angles are still useful in such systems as display coordinates even when the internal state is represented by a quaternion or DCM.
- Treating
as a geometric vector.
- Forgetting that the second and third intrinsic axes move.
- Reading the matrix product from left to right as chronological order.
- Assuming a
- - sequence is automatically yaw pitch roll without declaring intrinsic or extrinsic.
- Using
as generic first, second, and third angles while also calling them roll, pitch, and yaw.
- Assuming active versus passive is determined by whether a sequence is intrinsic or extrinsic.
- Assuming the first and third axes of a proper Euler sequence are the same physical axis.
- Subtracting two finite Euler triples to obtain an exact relative orientation.
- Ignoring alternate angle branches.
- Treating gimbal lock as a physical loss of orientation rather than a coordinate singularity.
Any derived sequence formula should pass the following tests.
 |
(41) |
For example,
must give
 |
(42) |
Likewise for the second and third rotations.
 |
(43) |
 |
(44) |
 |
(45) |
 |
(46) |
These checks catch many sign and sequence mistakes before a formula is used in software.
Euler angles describe orientation through three ordered one axis frame rotations.
In the PhysicsLibrary convention:
 |
(47) |
and intrinsic - - means
 |
(48) |
The intermediate frames
are part of the definition.
There are twelve standard sequences:
- six Tait Bryan sequences with three distinct axes;
- six proper Euler sequences with first and third axes equal by label.
Euler angles are minimal and interpretable, but they are nonlinear local coordinates rather than vector components. Their sequence dependence, noncommutativity, nonuniqueness, and singularities are fundamental geometric features, not implementation defects.
The next article in the series, Elementary Axis Rotations and Passive Rotation Matrices, derives the three elementary matrices used throughout all twelve Euler sequences.
Henderson provides a classic engineering tabulation of Euler sequences, quaternions, and transformation matrices.
Diebel presents a modern unified treatment of attitude representations.
Moore develops frame orientation from basis vectors and direction cosine matrices in a form especially useful for passive coordinate transformations.
Goldstein, Poole, and Safko provide the classical mechanics context for proper Euler angles and rigid body orientation.
- 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. Diebel, “Representing Attitude: Euler Angles, Unit Quaternions, and Rotation Vectors,” Stanford University, 2006. Online PDF
- 3
- J. K. Moore, Learn Multibody Dynamics, chapter “Orientation of Reference Frames,” 2026 edition. Licensed CC BY 4.0. Orientation of Reference Frames
- 4
- H. Goldstein, C. Poole, and J. Safko, Classical Mechanics, 3rd ed., Addison Wesley, 2002. Publisher search
Unless otherwise noted, this PhysicsLibrary entry is intended for release under the Creative Commons Attribution ShareAlike 4.0 International license.
|