|
Euler Angles describe the relative orientation of two three dimensional reference frames by means of three successive one axis rotations. They provide a minimal three parameter description of orientation and are therefore intuitive, compact, and widely used in mechanics, aerospace engineering, navigation, robotics, and computer graphics.
That economy comes with a cost. Euler angle formulas are highly convention sensitive, every three angle chart contains a coordinate singularity, and a single physical orientation may be represented by more than one angle triple.
The purpose of the PhysicsLibrary Euler angle series is therefore not merely to tabulate rotation matrices. The series develops one consistent frame language from elementary passive coordinate transformations through sequence composition, inverse extraction, gimbal lock, angular velocity, quaternion conversion, and numerical implementation.
This entry is the convention anchor and roadmap for that series.
A formula involving Euler angles is incomplete unless enough information is given to answer the following questions:
- Are the coordinate frames right handed?
- What is the positive sense of a frame rotation?
- Is the operation an active vector rotation or a passive coordinate transformation?
- What coordinate direction does the transformation map?
- Is the sequence intrinsic, using moving axes, or extrinsic, using fixed axes?
- What is the axis sequence?
- Which angle is applied first?
- What do the angle symbols mean?
- What principal angle ranges are used when extracting Euler angles from an orientation?
Most apparent disagreements between Euler angle formulas reduce to one or more of these convention choices.
Unless an article explicitly states otherwise, the PhysicsLibrary Euler Angle series uses the following convention.
- Coordinate frames are right handed and orthonormal.
- Positive frame rotation follows the right hand rule.
- Passive coordinate transformations are canonical. If
and
are coordinate columns of the same physical vector in frames and , then
 |
(1) |
- Generic Euler sequences are named and derived as intrinsic moving axis sequences.
- Generic first, second, and third sequence angles are written
 |
(2) |
- For intrinsic sequence
- - ,
 |
(3) |
- The rightmost matrix acts first on a coordinate column.
- The symbols
are reserved for contexts in which their physical aerospace meanings are intended:
The convention is deliberately explicit. Sequence labels such as - - are not sufficient by themselves to determine a formula.
Let frame be obtained from frame by a positive frame rotation through angle about one coordinate axis. The passive transformation from coordinates to coordinates is denoted
, where denotes the axis respectively.
The elementary transformations are
 |
(5) |
 |
(6) |
and
 |
(7) |
Each is orthogonal:
 |
(8) |
and
 |
(9) |
The active vector rotation matrix for the same positive geometric angle is the transpose of the passive coordinate transformation matrix.
Suppose frame is obtained by rotating the axes of frame through about
.
Then
 |
(10) |
A fixed physical vector having coordinates
therefore has new coordinates
 |
(11) |
The physical vector did not move. The coordinate axes moved, so the coordinates change with the passive sign.
This test is used repeatedly throughout the series.
Let the original frame be
and the final frame be
An intrinsic - - sequence is
The three steps are:
- rotate through
about axis of ;
- rotate through
about axis of the moving frame ;
- rotate through
about axis of the moving frame .
The successive passive coordinate transformations are
 |
(12) |
 |
(13) |
and
 |
(14) |
Substitution gives the universal PhysicsLibrary intrinsic sequence rule
 |
(15) |
The rightmost matrix acts first. This is ordinary composition of coordinate maps, not a reversal of the chronological physical sequence.
A useful three angle sequence cannot repeat the same axis in two consecutive rotations because consecutive rotations about the same current axis combine into one rotation.
This leaves twelve standard intrinsic sequences.
Tait Bryan sequences use three distinct axes:
| Sequence |
Passive intrinsic product |
- - |
 |
- - |
 |
- - |
 |
- - |
 |
- - |
 |
- - |
 |
Proper Euler sequences repeat the first axis as the third axis:
| Sequence |
Passive intrinsic product |
- - |
 |
- - |
 |
- - |
 |
- - |
 |
- - |
 |
- - |
 |
The PhysicsLibrary legacy sequence entries retain their canonical names: Euler 121 sequence, Euler 123 sequence, Euler 131 sequence, Euler 132 Sequence, Euler 212 sequence, Euler 213 sequence, Euler 231 sequence, Euler 232 sequence, Euler 312 Sequence, Euler 313 sequence, Euler 321 sequence, and Euler 323 sequence.
Those entries form a reference subseries and are to be modernized under the convention established here.
An intrinsic sequence rotates about moving axes.
An extrinsic sequence rotates about axes fixed in the original frame.
These are not different orientation spaces. A physical orientation described by an intrinsic sequence can be redescribed by an extrinsic sequence using the reverse axis order with the corresponding angle association.
For example, intrinsic - - consists of:
- a first rotation about the original
axis;
- a second rotation about the new
axis;
- a third rotation about the newest
axis.
The same final orientation can be described using a corresponding fixed axis sequence, but PhysicsLibrary names and derives its sequence articles intrinsically.
Passive versus active and intrinsic versus extrinsic are independent distinctions. A source may be active and intrinsic, passive and intrinsic, active and extrinsic, or passive and extrinsic.
Older PhysicsLibrary Euler entries often used
as generic first, second, and third sequence parameters.
That notation is mathematically usable but conflicts with the widespread aerospace convention
For a - - yaw pitch roll sequence, yaw is the first rotation and roll is the third rotation. Treating
generically as first, second, and third can therefore make a correct matrix look as if yaw and roll have been interchanged.
PhysicsLibrary now uses
 |
(16) |
for generic sequence positions and reserves
for physical roll, pitch, and yaw when those meanings are intended.
For intrinsic - - ,
 |
(17) |
Thus
 |
(18) |
Let
and
Then
 |
(19) |
This is the flagship Tait Bryan sequence in the PhysicsLibrary series.
An Euler triple is a set of nonlinear coordinates for an orientation.
In general,
does not represent the composition of the corresponding orientations.
Finite rotations in three dimensions do not commute, and the meaning of each Euler angle depends on the intermediate frame created by earlier rotations.
Euler angles therefore should not be transformed, added, subtracted, or integrated as though they formed an ordinary three component geometric vector.
This distinction is particularly important in attitude estimation, where a small local rotation error may be approximated by a three component vector even though a finite Euler triple is not such a vector.
Euler angles give local coordinates on the orientation manifold.
No three parameter Euler chart is globally nonsingular.
For a Tait Bryan sequence, the singularity occurs when the first and third rotation axes align after the middle rotation.
In the principal branch this occurs when
 |
(20) |
For - - yaw pitch roll,
 |
(21) |
At this configuration, yaw and roll lose independent meaning.
For a proper Euler sequence, the coordinate singularity occurs when
 |
(22) |
that is,
 |
(23) |
on the usual principal interval.
The physical orientation remains well defined at every Euler singularity. Only the selected coordinate chart loses rank.
Euler representations are also not globally unique. Periodicity, alternate branches, and singular outer-angle coupling allow more than one triple to represent the same orientation.
Inverse Euler extraction must declare a principal range.
A common PhysicsLibrary default for a Tait Bryan sequence is
 |
(24) |
with special handling at the middle-angle singularity.
A common proper Euler principal choice is
 |
(25) |
Individual sequence articles must state their extraction ranges explicitly.
A direction cosine matrix represents the complete orientation using nine entries constrained by orthonormality.
Under the PhysicsLibrary convention,
 |
(26) |
The reverse map is
 |
(27) |
where
 |
(28) |
A matrix that is the transpose of a PhysicsLibrary Euler matrix may therefore describe the same relative physical orientation while mapping coordinates in the opposite direction.
Unlike an Euler coordinate chart, a valid DCM has no gimbal lock singularity. Its redundancy is controlled by the orthogonality constraints.
The migrated PhysicsLibrary quaternion series uses the same passive frame map direction as this Euler series.
For
 |
(29) |
the passive quaternion coordinate transformation is
 |
(30) |
The quaternion and DCM describe the same map:
 |
(31) |
For a positive elementary frame rotation through about axis ,
 |
(32) |
Therefore an intrinsic - - sequence has quaternion product
 |
(33) |
in the same written factor order as the passive DCM product
 |
(34) |
For aerospace intrinsic - - ,
 |
(35) |
and
 |
(36) |
This direct frame alignment is the canonical PhysicsLibrary bridge between the Euler and quaternion series.
It replaces older explanations in which the quaternion represented the opposite map direction and the Euler matrix was related by an additional transpose.
Euler angle rates
are rates of change of nonlinear orientation coordinates.
They are not, in general, the components of physical angular velocity in either the reference or body frame.
For aerospace - - , let
Then
 |
(37) |
Away from gimbal lock,
 |
(38) |
The inverse mapping becomes singular as
The rate singularity and the geometric Euler coordinate singularity are the same phenomenon viewed differentially.
Euler angles remain extremely useful as human readable orientation coordinates, but software should distinguish display coordinates from internal attitude state representation.
Important practices include:
- do not integrate body gyroscope components directly as
;
- use the correct Euler rate transformation when Euler angles are the integrated state;
- consider propagating a quaternion or DCM internally and converting to Euler angles for output;
- use
rather than a single argument inverse tangent when extracting angles;
- clip numerical arguments to inverse sine and inverse cosine when small roundoff errors would otherwise move them outside the interval
;
- declare wrapping intervals such as
;
- distinguish wrapped display angles from unwrapped continuous plotting variables;
- detect near-singular configurations rather than waiting for an exact division by zero;
- use a consistent principal branch when comparing or logging Euler angle time histories.
The planned PhysicsLibrary Euler angle series is:
| ID |
Article |
| EA00 |
Euler Angle Series Overview and Article Guide |
| EA01 |
Euler Angles: Definition and Basic Geometry |
| EA01E |
Definition and Basic Geometry: Examples, Exercises, and Solutions |
| EA02 |
Elementary Axis Rotations and Passive Rotation Matrices |
| EA02E |
Elementary Axis Rotations: Examples, Exercises, and Solutions |
| EA03 |
Intrinsic and Extrinsic Euler Rotations |
| EA03E |
Intrinsic and Extrinsic Euler Rotations: Examples, Exercises, and Solutions |
| EA04 |
Euler Sequence Composition and the Twelve Standard Sequences |
| EA04E |
Euler Sequence Composition: Examples, Exercises, and Solutions |
| EA05 |
Tait Bryan Angles |
| EA05E |
Tait Bryan Angles: Examples, Exercises, and Solutions |
| EA06 |
Proper Euler Angles |
| EA06E |
Proper Euler Angles: Examples, Exercises, and Solutions |
| EA07 |
Euler 321 Yaw Pitch Roll |
| EA07E |
Euler 321: Examples, Exercises, and Solutions |
| EA08 |
Euler 313 Proper Euler Sequence |
| EA08E |
Euler 313: Examples, Exercises, and Solutions |
| EA09 |
Direction Cosine Matrix to Euler Angles |
| EA09E |
DCM to Euler Angles: Examples, Exercises, and Solutions |
| EA10 |
Euler Angle Singularities, Gimbal Lock, and Nonuniqueness |
| EA10E |
Singularities and Gimbal Lock: Examples, Exercises, and Solutions |
| EA11 |
Euler Angle Rates and Angular Velocity |
| EA11E |
Euler Angle Rates: Examples, Exercises, and Solutions |
| EA12 |
Euler Angles and Quaternions |
| EA12E |
Euler / Quaternion Conversion: Examples, Exercises, and Solutions |
| EA13 |
Numerical Euler Angle Propagation and Software Handling |
| EA13E |
Numerical Euler Angles: Examples, Exercises, and Solutions |
| EA14 |
Euler Angle Exercises for Physics and Engineering |
The twelve established PhysicsLibrary sequence pages remain useful canonical reference objects and should be modernized rather than discarded.
They are:
- Euler 121 sequence;
- Euler 123 sequence;
- Euler 131 sequence;
- Euler 132 sequence;
- Euler 212 sequence;
- Euler 213 sequence;
- Euler 231 sequence;
- Euler 232 sequence;
- Euler 312 sequence;
- Euler 313 sequence;
- Euler 321 sequence;
- Euler 323 sequence.
Each modernized sequence page should use the same template:
- convention declaration;
- intermediate frame chain;
- generic angle names
;
- elementary passive matrices;
- exact matrix product;
- fully expanded DCM;
- single axis sanity checks;
- inverse extraction formulas;
- principal ranges;
- singular configuration;
- alternate branch;
- intrinsic / extrinsic equivalence note;
- corresponding passive quaternion product;
- one numerical example;
- common implementation mistakes.
The series naturally falls into five stages.
Begin with this overview, then read:
- Euler Angles: Definition and Basic Geometry;
- Elementary Axis Rotations and Passive Rotation Matrices;
- Intrinsic and Extrinsic Euler Rotations;
- Euler Sequence Composition and the Twelve Standard Sequences.
These articles establish enough geometry to read any later sequence formula without relying on a memorized sign convention.
Next read:
- Tait Bryan Angles;
- Proper Euler Angles.
These articles explain the common singularity and branch structure within each six-sequence family.
The principal engineering references are:
- Euler 321 Yaw Pitch Roll;
- Euler 313 Proper Euler Sequence;
- Direction Cosine Matrix to Euler Angles.
The - - and - - articles provide one complete example from each Euler family.
Continue with:
- Euler Angle Singularities, Gimbal Lock, and Nonuniqueness;
- Euler Angle Rates and Angular Velocity;
- Euler Angles and Quaternions.
These entries make clear where Euler coordinates fail, where they remain useful, and how they connect to nonsingular attitude representations.
Finish with:
- Numerical Euler Angle Propagation and Software Handling;
- Euler Angle Exercises for Physics and Engineering.
A compact route is:
- this overview;
- Euler Angles: Definition and Basic Geometry;
- Elementary Axis Rotations and Passive Rotation Matrices;
- Euler 321 Yaw Pitch Roll;
- Euler Angle Singularities, Gimbal Lock, and Nonuniqueness.
Emphasize:
- this overview;
- Elementary Axis Rotations and Passive Rotation Matrices;
- Intrinsic and Extrinsic Euler Rotations;
- Euler 321 Yaw Pitch Roll;
- Direction Cosine Matrix to Euler Angles;
- Euler Angle Rates and Angular Velocity;
- Euler Angles and Quaternions;
- Numerical Euler Angle Propagation and Software Handling.
Emphasize:
- Euler Angles: Definition and Basic Geometry;
- Proper Euler Angles;
- Euler 313 Proper Euler Sequence;
- Euler Angle Singularities, Gimbal Lock, and Nonuniqueness;
- Euler Angle Rates and Angular Velocity.
Every convention sensitive Euler formula should be tested against a common battery of simple checks.
- identity:
- Single axis reduction: set two angles to zero and verify the correct elementary passive matrix.
- Positive
coordinate tests about , , and .
- Orthogonality:
 |
(39) |
- Proper rotation:
 |
(40) |
- Reverse map:
 |
(41) |
- Quaternion agreement:
 |
(42) |
- Euler to DCM to Euler round trip away from singularities.
- Explicit singular case with outer-angle coupling.
- Rate map rank loss at the same singular configuration.
These tests are intentionally repetitive. A formula can look algebraically reasonable while still carrying the wrong map direction, sign convention, or sequence interpretation.
- Calling a matrix simply “the rotation matrix.” A frame labeled map such as
is much safer.
- Mixing active and passive matrices.
- Naming a sequence
- - without stating intrinsic or extrinsic.
- Assuming
always mean first, second, and third sequence angles.
- Reading a matrix product from left to right as the order of action on a coordinate column.
- Treating Euler angles as an ordinary three component vector.
- Adding or subtracting finite Euler triples as though they were orientation increments.
- Ignoring the middle angle singularity.
- Using one-argument inverse tangent when quadrant information matters.
- Copying a DCM extraction formula without matching the source's matrix direction and sequence convention.
- Equating body angular velocity components with Euler angle rates.
- Copying quaternion Euler formulas from an active or opposite-direction quaternion convention without converting the entire convention set.
An engineering paper, simulation, software interface, or PhysicsLibrary entry using Euler angles should state enough information to reconstruct its orientation map.
A concise declaration should include:
- frame handedness;
- positive frame rotation sense;
- active or passive interpretation;
- map direction;
- intrinsic or extrinsic sequence;
- axis order;
- first, second, and third angle symbols;
- physical meanings such as yaw, pitch, and roll when applicable;
- principal extraction ranges;
- singularity handling policy when inverse conversion is performed.
For the PhysicsLibrary aerospace - - convention, a compact declaration is:
 |
(43) |
with intrinsic moving axes, passive
coordinate mapping, right handed frames, and
The PhysicsLibrary Euler angle series uses intrinsic moving axis sequences and passive coordinate transformations.
The central sequence rule is
 |
(44) |
The aerospace - - specialization is
 |
(45) |
The migrated quaternion series uses the same frame direction:
 |
(46) |
with
 |
(47) |
Euler angles remain valuable because they are minimal and interpretable. Their limitations are equally fundamental: noncommutativity, nonuniqueness, branch dependence, and coordinate singularities.
The purpose of the remaining articles is to make those strengths and limitations explicit enough that every formula can be traced back to a clear frame map rather than memorized as an isolated sign pattern.
Henderson's NASA memorandum is a classic engineering reference because it tabulates all twelve three angle transformations and emphasizes the importance of transformation direction.
Moore's multibody dynamics text develops orientation through reference frame basis relationships and is useful for passive direction cosine matrix interpretation.
Diebel surveys Euler angles, rotation matrices, quaternions, and rotation vectors in a unified attitude representation context.
Sommer and coauthors provide a modern discussion of quaternion convention management that is useful when comparing the Euler and quaternion series.
- 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
- 4
- H. Sommer, I. Gilitschenski, M. Bloesch, S. Weiss, R. Siegwart, and J. Nieto, “Why and How to Avoid the Flipped Quaternion Multiplication,” Aerospace, vol. 5, no. 3, article 72, 2018. Published under CC BY 4.0. Publisher article
Unless otherwise noted, this PhysicsLibrary entry is intended for release under the Creative Commons Attribution ShareAlike 4.0 International license.
|