Skip to main content

Euler Angles

  • Situation: Three angles, one explicit rotation order
  • Target: Convention · Angle names · Units and order
  • Convention: Right-handed orthonormal frame; column vectors; rightmost matrix first; angles in radians unless marked °; lengths in m · Overview

Core concepts​

  • Convention: right-handed active rotations of column vectors; R=Rz(ψ)Ry(θ)Rx(φ), fixed x then y then z

  • Angle names: roll φ around x, pitch θ around y, yaw ψ around z in this chapter; application-specific names requiring an axis check

  • Units and order: formulas in radians, marked examples in degrees; same angles with another order generally a different orientation

  • Gimbal lock: θ=±π/2 for this ZYX convention; first and last rotation axes aligned, nonunique angle representation, valid physical orientation

  • Wrapping and interpolation: shortest signed difference in [−180°,180°); componentwise Euler interpolation not generally a shortest 3D rotation

Worked example​

Single z rotation: (φ,θ,ψ)=(0°,0°,90°) → x axis mapped to +y; wrapped interpolation 350°→10° → Δ=+20°, midpoint 0°

Rx(ϕ)=[1000cos⁡ϕ−sin⁡ϕ0sin⁡ϕcos⁡ϕ],Ry(θ)=[cos⁡θ0sin⁡θ010−sin⁡θ0cos⁡θ]R_x(\phi)=\begin{bmatrix}1&0&0\\0&\cos\phi&-\sin\phi\\0&\sin\phi&\cos\phi\end{bmatrix},\quad R_y(\theta)=\begin{bmatrix}\cos\theta&0&\sin\theta\\0&1&0\\-\sin\theta&0&\cos\theta\end{bmatrix} Δ=((b−a+180∘) mod 360∘)−180∘,mod⁡ in [0,360∘)\Delta=((b-a+180^\circ)\bmod 360^\circ)-180^\circ,\qquad \operatorname{mod}\ \text{in }[0,360^\circ)
Three angles, one explicit rotation order
Figure 1. Three angles, one explicit rotation order

Practice​

  • Preparation → prediction → calculation: Prior R; predict x-axis output → evaluate three elementary matrices → compare RxRy with RyRx → inspect θ=90°; order and units retained
  • Record: Assumed exercise inputs; predictions before calculation; calculated answers and optional viewer output in separate columns; no physical measurements
CasePredictionCalculated resultViewer output (optional)
90∘ in rad90^\circ\ \text{in rad}
Ry(π/2)(1,0,0)TR_y(\pi/2)(1,0,0)^T
350∘→10∘: Δ350^\circ\to10^\circ:\ \Delta
  • Optional extension: Exact 180° tie: −180° under the chosen half-open interval

Exercises​

  1. Problem: 90∘ in rad90^\circ\ \text{in rad}
  2. Problem: Ry(π/2)(1,0,0)TR_y(\pi/2)(1,0,0)^T
  3. Problem: 350∘→10∘: Δ350^\circ\to10^\circ:\ \Delta
  4. Problem: Physical orientation at gimbal lock
Answers and checks
  1. Answer: π/2\pi/2
  2. Answer: (0,0,−1)T(0,0,-1)^T
  3. Answer: +20∘+20^\circ
  4. Answer: Valid; singular angle coordinates, not a lost orientation

Connections​