Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random | Template Test |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
[parent] example of Euler angles: Tait Bryan angles (Example)

Euler Angles: Tait Bryan Angles Examples, Exercises, and Solutions

This entry is the self study companion to Euler Angles: Tait Bryan angles.

The exercises emphasize the six distinct-axis sequences, their passive intrinsic matrix products, the universal Tait Bryan singularity, aerospace $3$-$2$-$1$ yaw pitch roll, and consistency with passive quaternion representations.

All exercises are stated first. Complete worked solutions follow afterward.

Convention summary

PhysicsLibrary uses passive coordinate maps:

$\displaystyle {}^B\mathbf v = {}^BC_A\,{}^A\mathbf v.$ (1)

For intrinsic $i$-$j$-$k$,

$\displaystyle {}^BC_A = C_k(\gamma)C_j(\beta)C_i(\alpha).$ (2)

For Tait Bryan angles,

$\displaystyle i\neq j, \qquad j\neq k, \qquad i\neq k.$ (3)

The six intrinsic Tait Bryan sequences are

$\displaystyle 123,\quad132,\quad213,\quad231,\quad312,\quad321.$ (4)

Their generic middle-angle singularity is

$\displaystyle \cos\beta=0.$ (5)

For the aerospace intrinsic $3$-$2$-$1$ sequence,

$\displaystyle \alpha=\psi, \qquad \beta=\theta, \qquad \gamma=\phi,$ (6)

and

$\displaystyle {}^BC_A = C_1(\phi)C_2(\theta)C_3(\psi).$ (7)

Visual reference

Image EA05_six_tait_bryan_sequences

Figure. The six intrinsic Tait Bryan sequences.
Image EA05_tait_bryan_middle_angle_singularity

Figure. The generic Tait Bryan singularity illustrated with intrinsic $3$-$2$-$1$.

Exercises

  1. Recognize a Tait Bryan sequence.

    Which of the following are Tait Bryan sequences?

    $\displaystyle 123,\quad 121,\quad 312,\quad 323,\quad 231,\quad 313. $
  2. Generate the six sequences.

    Starting from the statement that each coordinate axis is used exactly once, derive the six possible Tait Bryan axis orders.

  3. Write all six passive products.

    Write the passive intrinsic DCM product for each of the six Tait Bryan sequences using generic angles $(\alpha,\beta,\gamma)$.

  4. Sequence from a matrix product.

    A passive intrinsic DCM is written

    $\displaystyle {}^BC_A = C_2(\gamma)C_1(\beta)C_3(\alpha). $

    Identify the chronological Tait Bryan sequence.

  5. Another sequence from a matrix product.

    A passive intrinsic DCM is written

    $\displaystyle {}^BC_A = C_3(\gamma)C_2(\beta)C_1(\alpha). $

    Identify the sequence.

  6. Single-angle checks for 2-3-1.

    For intrinsic $2$-$3$-$1$,

    $\displaystyle {}^BC_A = C_1(\gamma)C_3(\beta)C_2(\alpha). $

    Find the remaining matrix when:

    1. $\beta=\gamma=0$;
    2. $\alpha=\gamma=0$;
    3. $\alpha=\beta=0$.
  7. Universal singularity condition.

    Show that every Tait Bryan sequence has the same generic singularity condition

    $\displaystyle \cos\beta=0. $

    What are the singular values on the usual principal branch?

  8. Interpret the singularity geometrically.

    For intrinsic $3$-$2$-$1$, explain what happens to the first and third physical rotation axes at

    $\displaystyle \theta=+\frac{\pi}{2} $

    and at

    $\displaystyle \theta=-\frac{\pi}{2}. $
  9. Why the physical orientation remains valid.

    Explain why gimbal lock does not mean that the rigid body orientation itself becomes undefined.

  10. Aerospace notation.

    For intrinsic $3$-$2$-$1$, identify which generic angle is yaw, pitch, and roll.

    Write the passive DCM product.

  11. Expand the first row of the 3-2-1 DCM.

    Starting from

    $\displaystyle {}^BC_A = C_1(\phi)C_2(\theta)C_3(\psi), $

    derive the first row of the matrix.

  12. Extract yaw pitch roll.

    Suppose a nonsingular passive $3$-$2$-$1$ DCM is

    $\displaystyle C= \begin{bmatrix} C_{11}&C_{12}&C_{13}\ C_{21}&C_{22}&C_{23}\ C_{31}&C_{32}&C_{33} \end{bmatrix}. $

    Write the principal extraction formulas for

    $\displaystyle \psi,\qquad\theta,\qquad\phi. $
  13. Numerical yaw pitch roll matrix.

    Compute the passive $3$-$2$-$1$ DCM for

    $\displaystyle \psi=40^\circ,\qquad \theta=-15^\circ,\qquad \phi=25^\circ. $
  14. Numerical round trip.

    Using the matrix from Exercise 13, apply the extraction equations and recover the original principal yaw pitch roll angles.

  15. Equivalent extrinsic description.

    Find the extrinsic sequence and chronological angle order equivalent to

       intrinsic $\displaystyle 3$-$\displaystyle 2$-$\displaystyle 1 (\psi,\theta,\phi). $
  16. Another intrinsic/extrinsic conversion.

    Find the extrinsic sequence equivalent to

       intrinsic $\displaystyle 1$-$\displaystyle 3$-$\displaystyle 2 (\alpha,\beta,\gamma). $
  17. Tait Bryan triples are not vectors.

    Explain why

    $\displaystyle (\psi_2-\psi_1,\theta_2-\theta_1,\phi_2-\phi_1) $

    is not generally the exact relative attitude between two finite $3$-$2$-$1$ orientations.

  18. Quaternion counterpart.

    Write the passive quaternion product for intrinsic $3$-$2$-$1$ yaw pitch roll.

  19. Small pitch case.

    For intrinsic $3$-$2$-$1$, suppose

    $\displaystyle \phi=0, \qquad \psi=0, \qquad \vert\theta\vert\ll1. $

    Write the first-order DCM approximation.

  20. Convention audit.

    A textbook says only:

    Yaw pitch roll is represented by $R_z(\psi)R_y(\theta)R_x(\phi)$.

    List at least five convention questions that must be answered before comparing that formula with PhysicsLibrary.

Solutions

Solution 1: recognize a Tait Bryan sequence

A Tait Bryan sequence uses all three axes exactly once.

Therefore

$\displaystyle 123,\qquad312,\qquad231 $

are Tait Bryan.

The sequences

$\displaystyle 121,\qquad323,\qquad313 $

are proper Euler because the first and third axis labels match.

Solution 2: generate the six sequences

Choose a first axis in three ways.

Then arrange the remaining two axes in two possible orders.

Therefore

$\displaystyle 3\times2=6. $

The six sequences are

$\displaystyle 123,\quad132,\quad213,\quad231,\quad312,\quad321.$ (8)

Solution 3: write all six passive products

Using

$\displaystyle {}^BC_A=C_k(\gamma)C_j(\beta)C_i(\alpha), $

the six products are

$\displaystyle C_{123} = C_3(\gamma)C_2(\beta)C_1(\alpha),$ (9)
$\displaystyle C_{132} = C_2(\gamma)C_3(\beta)C_1(\alpha),$ (10)
$\displaystyle C_{213} = C_3(\gamma)C_1(\beta)C_2(\alpha),$ (11)
$\displaystyle C_{231} = C_1(\gamma)C_3(\beta)C_2(\alpha),$ (12)
$\displaystyle C_{312} = C_2(\gamma)C_1(\beta)C_3(\alpha),$ (13)

and

$\displaystyle C_{321} = C_1(\gamma)C_2(\beta)C_3(\alpha).$ (14)

Solution 4: sequence from a matrix product

Compare

$\displaystyle C_2(\gamma)C_1(\beta)C_3(\alpha) $

with

$\displaystyle C_k(\gamma)C_j(\beta)C_i(\alpha). $

Thus

$\displaystyle i=3,\qquad j=1,\qquad k=2. $

The chronological intrinsic sequence is

$\displaystyle 3$-$\displaystyle 1$-$\displaystyle 2.$ (15)

Solution 5: another sequence from a matrix product

For

$\displaystyle C_3(\gamma)C_2(\beta)C_1(\alpha), $

we identify

$\displaystyle i=1,\qquad j=2,\qquad k=3. $

Therefore the sequence is

$\displaystyle 1$-$\displaystyle 2$-$\displaystyle 3.$ (16)

Solution 6: single-angle checks for 2-3-1

From

$\displaystyle {}^BC_A = C_1(\gamma)C_3(\beta)C_2(\alpha), $

we obtain

$\displaystyle \beta=\gamma=0 \quad\Longrightarrow\quad {}^BC_A=C_2(\alpha),$ (17)
$\displaystyle \alpha=\gamma=0 \quad\Longrightarrow\quad {}^BC_A=C_3(\beta),$ (18)

and

$\displaystyle \alpha=\beta=0 \quad\Longrightarrow\quad {}^BC_A=C_1(\gamma).$ (19)

Solution 7: universal singularity condition

For every Tait Bryan sequence, the Jacobian from Euler coordinate rates to angular velocity loses rank when the first and third physical rotation axes become collinear.

That occurs when the middle rotation turns through a right angle:

$\displaystyle \cos\beta=0.$ (20)

On the usual principal branch,

$\displaystyle -\frac{\pi}{2} \leq\beta\leq \frac{\pi}{2},$ (21)

so the singular values are

$\displaystyle \beta=\pm\frac{\pi}{2}.$ (22)

Solution 8: interpret the singularity geometrically

For intrinsic $3$-$2$-$1$, the first rotation axis is $z_A$.

The third rotation is about $x_2$.

At

$\displaystyle \theta=+\frac{\pi}{2}, $

the axis $x_2$ becomes anti-aligned with $z_A$.

At

$\displaystyle \theta=-\frac{\pi}{2}, $

the axis $x_2$ becomes aligned with $z_A$.

Thus the first and third rotations are about the same physical line, so yaw and roll can no longer be determined independently.

Solution 9: why the physical orientation remains valid

The rigid body still has a perfectly valid orientation in three-dimensional space.

Only the chosen three-coordinate parameterization loses local uniqueness.

A quaternion or DCM remains nonsingular at the same physical attitude.

Therefore gimbal lock is a coordinate singularity, not a disappearance of physical orientation.

Solution 10: aerospace notation

PhysicsLibrary uses

$\displaystyle \alpha=\psi=$yaw$\displaystyle , $

$\displaystyle \beta=\theta=$pitch$\displaystyle , $

and

$\displaystyle \gamma=\phi=$roll$\displaystyle . $

Thus

$\displaystyle {}^BC_A = C_1(\phi)C_2(\theta)C_3(\psi).$ (23)

Solution 11: expand the first row of the 3-2-1 DCM

First multiply

$\displaystyle C_2(\theta)C_3(\psi). $

The first row of that product is

$\displaystyle \begin{bmatrix} c_\theta c_\psi & c_\theta s_\psi & -s_\theta \end{bmatrix}. $

Premultiplication by $C_1(\phi)$ leaves the first row unchanged because the first row of $C_1(\phi)$ is

$\displaystyle \begin{bmatrix} 1&0&0 \end{bmatrix}. $

Therefore the first row of the full DCM is

$\displaystyle \begin{bmatrix} c_\theta c_\psi & c_\theta s_\psi & -s_\theta \end{bmatrix}.$ (24)

Solution 12: extract yaw pitch roll

On the nonsingular principal branch,

$\displaystyle \theta=\arcsin(-C_{13}),$ (25)
$\displaystyle \phi=\operatorname{atan2}(C_{23},C_{33}),$ (26)

and

$\displaystyle \psi=\operatorname{atan2}(C_{12},C_{11}).$ (27)

Solution 13: numerical yaw pitch roll matrix

With

$\displaystyle \psi=40^\circ, \qquad \theta=-15^\circ, \qquad \phi=25^\circ, $

the passive DCM is

$\displaystyle {}^BC_A \approx \begin{bmatrix} 0.73994&0.62089&0.25882\ -0.66635&0.63247&0.40822\ 0.08906&-0.46246&0.88211 \end{bmatrix}.$ (28)

Solution 14: numerical round trip

From the matrix,

$\displaystyle C_{13}\approx0.25882. $

Thus

$\displaystyle \theta = \arcsin(-0.25882) \approx -15^\circ. $

Next,

$\displaystyle \phi = \operatorname{atan2}(0.40822,0.88211) \approx25^\circ, $

and

$\displaystyle \psi = \operatorname{atan2}(0.62089,0.73994) \approx40^\circ. $

Therefore the principal round trip recovers

$\displaystyle (\psi,\theta,\phi) = (40^\circ,-15^\circ,25^\circ).$ (29)

Solution 15: equivalent extrinsic description

Reverse both axis order and associated angle order:

intrinsic $\displaystyle 3$-$\displaystyle 2$-$\displaystyle 1 (\psi,\theta,\phi) \equiv$   extrinsic $\displaystyle 1$-$\displaystyle 2$-$\displaystyle 3 (\phi,\theta,\psi).$ (30)

Solution 16: another intrinsic/extrinsic conversion

For intrinsic $1$-$3$-$2$,

intrinsic $\displaystyle 1$-$\displaystyle 3$-$\displaystyle 2 (\alpha,\beta,\gamma) \equiv$   extrinsic $\displaystyle 2$-$\displaystyle 3$-$\displaystyle 1 (\gamma,\beta,\alpha).$ (31)

Solution 17: Tait Bryan triples are not vectors

Euler coordinates are nonlinear sequence-dependent coordinates.

The second and third rotations occur about intermediate axes whose directions depend on earlier rotations.

Therefore subtracting coordinate triples does not reproduce exact finite rotation composition.

The exact relative attitude should instead be computed from DCMs or quaternions.

Solution 18: quaternion counterpart

For intrinsic $3$-$2$-$1$ yaw pitch roll,

$\displaystyle {}^Bq_A = q_1^P(\phi) q_2^P(\theta) q_3^P(\psi).$ (32)

The quaternion and DCM must satisfy

$\displaystyle {}^BC_A = C({}^Bq_A).$ (33)

Solution 19: small pitch case

With

$\displaystyle \phi=0,\qquad\psi=0, $

the DCM reduces to

$\displaystyle {}^BC_A=C_2(\theta). $

For small $\vert\theta\vert$,

$\displaystyle \cos\theta\approx1, \qquad \sin\theta\approx\theta. $

Thus

$\displaystyle {}^BC_A \approx \begin{bmatrix} 1&0&-\theta\ 0&1&0\ \theta&0&1 \end{bmatrix}.$ (34)

Solution 20: convention audit

Before comparing the textbook formula with PhysicsLibrary, one should ask:

  1. Is the rotation active or passive?
  2. Is the sequence intrinsic or extrinsic?
  3. What map direction does the matrix represent?
  4. Does the source use right hand positive angles?
  5. Does “yaw pitch roll” mean chronological $3$-$2$-$1$ intrinsic rotation?
  6. Are column vectors or row vectors being used?
  7. Is the written product chronological order or operator composition order?
  8. Are the frame labels and basis conventions the same?

Without those declarations, identical-looking symbols can represent different transformations.

Compact review

Tait Bryan sequences use the three coordinate axes exactly once:

$\displaystyle 123,\quad132,\quad213,\quad231,\quad312,\quad321.$ (35)

For intrinsic $i$-$j$-$k$,

$\displaystyle {}^BC_A=C_k(\gamma)C_j(\beta)C_i(\alpha).$ (36)

Their generic singularity is

$\displaystyle \cos\beta=0.$ (37)

For aerospace intrinsic $3$-$2$-$1$,

$\displaystyle {}^BC_A=C_1(\phi)C_2(\theta)C_3(\psi),$ (38)

with

$\displaystyle \theta=\arcsin(-C_{13}),$ (39)
$\displaystyle \phi=\operatorname{atan2}(C_{23},C_{33}),$ (40)

and

$\displaystyle \psi=\operatorname{atan2}(C_{12},C_{11}).$ (41)

Sources and exercise provenance

The exercises and solutions in this companion are newly written for PhysicsLibrary to reinforce the Tait Bryan framework developed in Euler angles: Tait Bryan angles.

Bibliography

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
H. Goldstein, C. Poole, and J. Safko, Classical Mechanics, 3rd ed., Addison Wesley, 2002. Publisher search

License

Unless otherwise noted, this PhysicsLibrary entry is intended for release under the Creative Commons Attribution ShareAlike 4.0 International license.



"example of Euler angles: Tait Bryan angles" is owned by bloftin.
(view preamble)
View style:
Keywords:  Euler angles, Tait Bryan angles, Cardan angles, yaw pitch roll, passive transformation, intrinsic rotation, direction cosine matrix, gimbal lock, exercises

This object's parent.

Cross-references: operator, composition, velocity, quaternion product, relative attitude, vectors, formulas, rigid body, matrix, Tait Bryan sequence, Tait Bryan sequences, representations, quaternion, matrix products, Euler Angles

This is version 1 of example of Euler angles: Tait Bryan angles, born on 2026-08-29.
Object id is 1128, canonical name is ExampleOfEulerAnglesTaitBryanAngles.
Accessed 10 times total.

Classification:
Physics Classification45.40.-f (Dynamics and kinematics of rigid bodies)
 02.40.Yy (Geometric mechanics )
 02.10.Ud (Linear algebra)
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

No messages.

Interact
rate | post | correct | update request | add example | add (any)