Euler Angles
Consider a rigid object, such as an airplane, and a fixed set of reference directions, such as north, east, and down. The Euler angles of the object are three angles that describe the orientation of the object as three turns, made one after another, each about one axis.
For an airplane, the turns are usually applied in the following order
- the yaw (turning the nose left or right)
- pitch (tilting the nose up or down)
- roll (tilting the wings).
Consider a rigid body whose orientation is given by a rotation matrix $R$. The Euler angles $(\psi, \theta, \phi)$ of the body, in the $z$-$y$-$x$ convention, are the angles such that
\[R = R_z(\psi) \, R_y(\theta) \, R_x(\phi),\]where $R_z(\psi)$, $R_y(\theta)$, and $R_x(\phi)$ are the rotations by $\psi$, $\theta$, and $\phi$ about the $z$-, $y$-, and $x$-axes, and $-\pi < \psi \leq \pi$, $-\pi/2 \leq \theta \leq \pi/2$, and $-\pi < \phi \leq \pi$. The angles $\psi$, $\theta$, and $\phi$ are called the yaw, the pitch, and the roll.
Examples
Worked examples
-
The rotation of space by $90^\circ$ about the $y$-axis, counterclockwise when viewed from the positive $y$-axis UndergraduateValue:
Pitch $\theta = 90^\circ$, with every yaw $\psi$ and roll $\phi$ such that $\phi = \psi$
The $z$-$y$-$x$ Euler angles of the rotation by $90^\circ$ about the $y$-axis have the pitch $\theta = 90^\circ$, but the yaw and the roll are not unique (gimbal lock). With $\theta = 90^\circ$, the product $R_z(\psi) R_y(90^\circ) R_x(\phi)$ depends only on $\phi - \psi$, because the roll axis has been turned onto the yaw axis. So every pair of angles such that $\phi = \psi$, such as $\psi = \phi = 0^\circ$ or $\psi = \phi = 30^\circ$, gives this rotation. -
The rotation of space by $90^\circ$ about the $z$-axis, counterclockwise when viewed from the positive $z$-axis UndergraduateValue:
Yaw $\psi = 90^\circ$, pitch $\theta = 0^\circ$, roll $\phi = 0^\circ$
The $z$-$y$-$x$ Euler angles of the rotation by $90^\circ$ about the $z$-axis are a yaw of $90^\circ$ and no pitch or roll, because the yaw is the turn about the $z$-axis. -
Value:
Yaw $\psi = 0^\circ$, pitch $\theta = 0^\circ$, roll $\phi = 0^\circ$
The Euler angles of the identity rotation are all $0^\circ$, because no turns are needed.
Properties
- Euler angles describe an orientation with three numbers, which is the fewest possible.
- At a pitch of $\theta = \pm \pi/2$, the yaw and the roll turn about the same axis, so only their sum or difference is determined (gimbal lock). Near gimbal lock, small changes of orientation can need large changes of the yaw and the roll.
- Composing two rotations given by Euler angles has no simple formula in the angles; the rotation matrices or quaternions are multiplied instead.
Notes
There are twelve conventions for Euler angles, one for each order of axes in which consecutive axes differ. The six that use three different axes, such as $z$-$y$-$x$, are also called Tait–Bryan angles, and the six that repeat the first axis, such as $z$-$x$-$z$, are the proper Euler angles. Conventions also differ in whether each turn is about an axis fixed in space or an axis of the turning body.
Distinctions involving this term
- Representations of Orientation and Rotation: Euler angles, axis–angle representations, rotation matrices, and unit quaternions are four ways to write down a rotation or the orientation of a rigid body in three-dimensional space. Euler angles use three angles of turns about coordinate axes, which are easy to picture but fail to be unique at gimbal lock. An axis–angle representation uses a unit vector along the axis of the rotation and the angle turned about it, which is easy to picture but composes by no simple formula. A rotation matrix uses a $3 \times 3$ matrix with orthonormal columns, which composes by matrix multiplication but has nine entries for three degrees of freedom. A unit quaternion uses four numbers with one condition, which composes by quaternion multiplication and has no gimbal lock, but each rotation has two unit quaternions, $q$ and $-q$.
All definitions · All distinctions · All examples · Notation