Euler Angles
Euler angles are a set of three angles that describe the orientation of a rigid body (or a rotated coordinate frame) relative to a fixed reference frame, expressed as a sequence of three elementary rotations about coordinate axes. Key result: any rotation in 3D space can be decomposed into exactly three successive rotations — most commonly labelled (or ) — about specified axes. Applies in: classical mechanics, robotics, aerospace navigation, computer graphics, crystallography, and quantum angular-momentum theory. Who/when: introduced by Leonhard Euler in the 1770s.
Three sequential rotations about coordinate axes can reach any orientation in 3D. The trick is that after the first rotation, the second rotation can be taken about a body axis (one that moved with the body) or a fixed/space axis; these two viewpoints generate the same set of orientations but require composing rotation matrices in opposite order. Euler angles trade the elegance of a single global description for three intuitive, separately measurable numbers — at the cost of coordinate singularities.
Formal Statement
An Euler-angle convention is a choice of an ordered triple of coordinate axes together with three angles such that the total rotation matrix is
Derivation hint: read right-to-left for <strong>intrinsic (body-fixed)</strong> rotations, or left-to-right composition for <strong>extrinsic (space-fixed)</strong> rotations; the two interpretations give the same matrix product reversed. Here denote the elementary (active) rotation matrices about the axes:
Derivation hint: rotate the basis vectors in the -plane by and read off the columns; the -axis is fixed.
Derivation hint: cyclically permute the indices in [2]; note the sign placement in from the cyclic ordering. There are twelve valid conventions, split into two families:
- Proper (classical) Euler angles, where the first and third axes repeat, e.g. ––, ––. Six such sequences.
- Tait–Bryan angles (also "Cardan angles"), where all three axes differ, e.g. –– (yaw–pitch–roll). Six such sequences.
Symbols: (first / precession), (second / nutation), (third / spin) for the classic –– proper convention.
For any fixed admissible convention, the map is surjective onto : every proper rotation is realizable. With the –– convention the standard ranges are
Derivation hint: count parameters ( is a 3-manifold), then show the second axis can tilt the body -axis to any point on the unit sphere via , with fixing the residual rotation about it. The map fails to be injective and is singular on the set — this is gimbal lock.
Why It Holds / Derivation
We show any equals .
Step 1 — fix the body -axis. Let be the image of the body's third axis. Since is a unit vector, write it in spherical coordinates with polar angle and azimuth :
Derivation hint: any unit vector on is parametrized by two angles; identify as the angle from and as the longitude.
Step 2 — reach . The composite sends to exactly : tilts by in the -plane, then swings it to longitude .
Step 3 — fix the residual spin. Both and map , so
fixes , hence is a rotation about : for some . Derivation hint: a rotation that fixes a vector acts on its orthogonal complement, i.e. lies in the subgroup of rotations about .
Step 4 — assemble. Rearranging [6],
Derivation hint: left-multiply [6] by . This proves surjectivity. The angle is recovered uniquely in from ; from off-diagonal entries — except when or , where becomes diagonal and only the combination is determined.
∎Euler introduced these angles in his analyses of rigid-body rotation and lunar motion in the 1770s. He proved the foundational rotation theorem — that any displacement of a rigid body with one fixed point is equivalent to a single rotation about some axis (the precursor to the axis–angle representation) — and recognized that three angles suffice to specify orientation. His name is attached not only to the angles but to the Euler's Rotation Theorem and the dynamical Euler's Equations (Rigid Body) governing how angular velocity evolves.
Building Intuition
Picture a gimbal: three nested rings, each free to spin about one axis. The outermost ring rotates by , the next (mounted inside it) by , the innermost by . The orientation of the payload at the center is the cumulative effect. Think of aircraft attitude: yaw (turn left/right about vertical), pitch (nose up/down), roll (bank). These are Tait–Bryan angles. Each is something a pilot feels separately — that physical separability is exactly why Euler angles persist despite their mathematical warts. The catch: tilt the pitch to (nose straight up) and the yaw axis and roll axis become parallel. Now turning the yaw ring and turning the roll ring do the same thing — you have lost the ability to rotate about the third independent direction. That's gimbal lock, and it lives at .
Worked Examples
Given: , , in the –– proper convention. Find and the new direction of the body -axis.
Step 1 — the body -axis. Using [5] with , :
Step 2 — full matrix. With ; ; , multiply [1]:
Step 3 — check. ✓, and the third column equals ✓.
Boxed answer: (dimensionless).
Given: a rotation matrix
Find its –– Euler angles.
Step 1 — get . .
Step 2 — gimbal lock! With the formula gives , so only the sum is determined:
Matching: .
Step 3 — convention. Set (standard choice), so .
Boxed answer: — and note the answer is non-unique; any with works.
Common Misconceptions
"Euler angles compose by adding." They do not. If you apply angles then , the result is not . You must multiply the rotation matrices (or quaternions) and re-extract angles. Euler angles live on a curved manifold, not a vector space.
"Intrinsic and extrinsic are different conventions." They describe the same set of rotations; an intrinsic –– sequence equals the extrinsic –– sequence with the angle order reversed. Confusing the two is the single most common source of sign and ordering bugs.
Consider trying to interpolate smoothly between two orientations by linearly interpolating their Euler angles. Take orientation A with and orientation B with . Linear interpolation in angle space sweeps and each through , producing a wild tumble — yet the actual orientations A and B are nearly identical (both are tiny tilts). The Euler-angle path bears no resemblance to the true Slerp (Spherical Linear Interpolation) geodesic on . This is why animation and robotics pipelines convert to quaternions before interpolating.
Connections
Euler angles are one chart among several for . They relate to:
- Quaternions — a 4-parameter, singularity-free double cover; the standard remedy for gimbal lock.
- Rotation Matrices — the orthogonal matrices that Euler angles construct via [1].
- Axis-Angle Representation — Euler's rotation theorem's single-axis form; convertible to/from Euler angles.
- Angular Velocity — the body angular velocity is a nonlinear function of ; the relation diverges at gimbal lock (see Euler's Equations (Rigid Body)).
- Lie Groups and Lie Algebras — is a compact 3-manifold; Euler angles are its local coordinate chart, its tangent algebra.
Real-World Applications
Historical Development
Subtleties & Limits
There is no global, smooth, singularity-free three-angle chart on . This is a topological certainty, not a convention defect: is a compact 3-manifold diffeomorphic to real projective space , which is not parallelizable by a single coordinate chart without a singularity (related to the hairy-ball-type obstructions). Every Euler convention therefore has a gimbal-lock locus. Open/practical questions that follow:
- Optimal singularity placement: given a known operating envelope (e.g., an aircraft that never pitches past ), which convention pushes the singularity furthest from use? This is a design optimization.
- Numerical conditioning near singularities: the map from angular rates to has a Jacobian that blows up like ; robust filtering near gimbal lock remains an engineering art.
- Mean orientation: averaging a set of orientations is ill-defined in Euler space; the correct treatment uses the Lie Groups and Lie Algebras structure or quaternion barycenters, and the "best" practical algorithm is still debated.
See Also
Quaternions · Rotation Matrices · Axis-Angle Representation · Euler's Rotation Theorem · Euler's Equations (Rigid Body) · Angular Velocity · Lie Groups and Lie Algebras · Slerp (Spherical Linear Interpolation)