# Euler angles

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Euler_angles
> Markdown URL: https://mediated.wiki/source/Euler_angles.md
> Source: https://en.wikipedia.org/wiki/Euler_angles
> Source revision: 1354644581
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|Description of the orientation of a rigid body}}
[[Image:Eulerangles.svg|thumb|Classic Euler angles geometrical definition. 
{{Legend-line|solid #0f52ba 2px|Fixed coordinate system ({{math|x, y, z}})}}
{{Legend-line|solid red 2px|Rotated coordinate system ({{math|X, Y, Z}})}}
{{Legend-line|solid green 2px|[Line of nodes](/source/Line_of_nodes) ({{math|N}})}}
]]

The '''Euler angles''' are three angles introduced by [Leonhard Euler](/source/Leonhard_Euler) to describe the [orientation](/source/Orientation_(geometry)) of a [rigid body](/source/rigid_body) with respect to a fixed [coordinate system](/source/coordinate_system).<ref name="Euler">{{Citation
  |last = Euler
  |first = Leonhard
  |title = Du mouvement d'un corps solide quelconque lorsqu'il tourne autour d'un axe mobile
  |journal = Mémoires de l'Académie des Sciences de Berlin
  |year = 1767
  |volume = 16
  |pages = 176—227; figures on separate plate facing page 228
  |id    = Academy year 1760; Eneström number E336
  |url = https://bibliothek.bbaw.de/digitalisierte-sammlungen/akademieschriften/ansicht-akademieschriften?tx_bbaw_academicpublicationshow%5Baction%5D=show&tx_bbaw_academicpublicationshow%5Bcontroller%5D=AcademicPublication%5CVolume&tx_bbaw_academicpublicationshow%5Bpage%5D=186&tx_bbaw_academicpublicationshow%5Bvolume%5D=16&cHash=0d077822c83d8525b438a27723d92c19}}</ref>

They can also represent the orientation of a mobile [frame of reference](/source/frame_of_reference) in physics or the orientation of a general [basis](/source/Basis_(linear_algebra)) in  three dimensional [linear algebra](/source/linear_algebra).

Classic Euler angles usually take the inclination angle in such a way that zero degrees represent the vertical orientation. Alternative forms were later introduced by [Peter Guthrie Tait](/source/Peter_Guthrie_Tait) and [George H. Bryan](/source/George_H._Bryan) intended for use in [aeronautics](/source/aeronautics) and engineering in which zero degrees represent the horizontal position.

==Chained rotations equivalence==
{{multiple image
   | width1     = 170
   | footer    = Any target orientation can be reached, starting from a known reference orientation, using a specific sequence of intrinsic rotations, whose magnitudes are the Euler angles of the target orientation. This example uses the ''z-x′-z″'' sequence.
   | image1    = euler2a.gif
   | alt1      =
   | width2 = 150
   | image2    = intermediateframes.svg
   | alt2      =
   | caption2  =
  }}
{{See also |chained rotations}}

Euler angles can be defined by elemental [geometry](/source/geometry) or by composition of rotations (i.e. [chained rotations](/source/chained_rotations)). The geometrical definition demonstrates that three consecutive ''[elemental rotation](/source/elemental_rotation)s'' (rotations about the axes of a [coordinate system](/source/coordinate_system)) are ''always'' sufficient to reach any target frame.

The three elemental rotations may be extrinsic (rotations about the axes ''xyz'' of the original coordinate system, which is assumed to remain motionless), or intrinsic (rotations about the axes of the rotating coordinate system ''XYZ'', solidary with the moving body, which changes its orientation with respect to the extrinsic frame after each elemental rotation).

In the sections below, an axis designation with a prime mark superscript (e.g., ''z''″) denotes the new axis after an elemental rotation.

Euler angles are typically denoted as [''α''](/source/Alpha), [''β''](/source/Beta), [''γ''](/source/Gamma), or [''φ''](/source/Phi), [''θ''](/source/Theta), [''ψ''](/source/Psi_(Greek)) respectively. Different authors may use different sets of rotation axes to define Euler angles, or different names for the same angles. Therefore, any discussion employing Euler angles should ''always'' be preceded by their definition.

Without considering the possibility of using two different conventions for the definition of the rotation axes (intrinsic or extrinsic), there exist twelve possible sequences of rotation axes, divided in two groups:

* '''Proper Euler angles''' {{math|(''z''-''x''-''z'', ''x''-''y''-''x'', ''y''-''z''-''y'', ''z''-''y''-''z'', ''x''-''z''-''x'', ''y''-''x''-''y'')}}
* '''Tait-Bryan angles''' {{math|(''x''-''y''-''z'', ''y''-''z''-''x'', ''z''-''x''-''y'', ''x''-''z''-''y'', ''z''-''y''-''x'', ''y''-''x''-''z'')}}.

Tait-Bryan angles are also called '''Cardan angles'''; '''nautical angles'''; '''[heading](/source/heading_(navigation)), elevation, and bank'''; or '''yaw, pitch, and roll'''. Sometimes, both kinds of sequences are called "Euler angles". In that case, the sequences of the first group are called ''proper'' or ''classic'' Euler angles.

==Classic Euler angles==
The Euler angles are three angles introduced by Swiss mathematician [Leonhard Euler](/source/Leonhard_Euler) (1707–1783) to describe the [orientation](/source/Orientation_(geometry)) of a [rigid body](/source/rigid_body) with respect to a fixed [coordinate system](/source/coordinate_system).<ref name="Euler"/>
{{multiple image
| image1            = gimbaleuler.svg
| width1            = 180
| image2            = gimbaleuler2.svg
| width2            = 160
| footer            = '''Left:''' A [gimbal](/source/gimbal) set, showing a ''z''-''x''-''z'' rotation sequence. External frame shown in the base. Internal axes in red color. '''Right:''' A simple diagram showing similar Euler angles.
}}

===Geometrical definition===
The axes of the original frame are denoted as ''x'', ''y'', ''z'' and the axes of the rotated frame as ''X'', ''Y'', ''Z''. The '''geometrical definition''' (sometimes referred to as static) begins by defining the [line of nodes](/source/line_of_nodes) (N) as the intersection of the planes ''xy'' and ''XY'' (it can also be defined as the common perpendicular to the axes ''z'' and ''Z'' and then written as the vector product ''N'' = ''z'' &times; ''Z''). Using it, the three '''Euler angles''' can be defined as follows:

* <math>\alpha</math> (or <math>\varphi</math>) is the signed angle between the ''x'' axis and the ''N'' axis (''x''-convention — it could also be defined between ''y'' and ''N'', called ''y''-convention).
* <math>\beta</math> (or <math>\theta</math>) is the angle between the ''z'' axis and the ''Z'' axis.
* <math>\gamma</math> (or <math>\psi</math>) is the signed angle between the ''N'' axis and the ''X'' axis (''x''-convention).

Euler angles between two reference frames are defined only if both frames have the same [handedness](/source/Orientation_(mathematics)).

===Definition by intrinsic rotations===
{{anchor|Intrinsic rotations}}

Intrinsic rotations are elemental rotations that occur about the axes of a coordinate system ''XYZ'' attached to a moving body. Therefore, they change their orientation after each elemental rotation. The ''XYZ'' system rotates, while ''xyz'' is fixed. Starting with ''XYZ'' overlapping ''xyz'', a composition of three intrinsic rotations can be used to reach any target orientation for ''XYZ''.

Euler angles can be defined by intrinsic rotations. The rotated frame ''XYZ'' may be imagined to be initially aligned with ''xyz'', before undergoing the three elemental rotations represented by Euler angles. Its successive orientations may be denoted as follows:

* ''x''-''y''-''z'' or ''x''<sub>0</sub>-''y''<sub>0</sub>-''z''<sub>0</sub> (initial)
* ''x''′-''y''′-''z''′ or ''x''<sub>1</sub>-''y''<sub>1</sub>-''z''<sub>1</sub> (after first rotation)
* ''x''″-''y''″-''z''″ or ''x''<sub>2</sub>-''y''<sub>2</sub>-''z''<sub>2</sub> (after second rotation)
* ''X''-''Y''-''Z'' or ''x''<sub>3</sub>-''y''<sub>3</sub>-''z''<sub>3</sub> (final)

For the above-listed sequence of rotations, the [line of nodes](/source/line_of_nodes) ''N'' can be simply defined as the orientation of ''X'' after the first elemental rotation. Hence, ''N'' can be simply denoted ''x''′. Moreover, since the third elemental rotation occurs about ''Z'', it does not change the orientation of ''Z''. Hence ''Z'' coincides with ''z''″. This allows us to simplify the definition of the Euler angles as follows:

* ''α'' (or ''φ'') represents a rotation around the ''z'' axis,
* ''β'' (or ''θ'') represents a rotation around the ''x''′ axis, 
* ''γ'' (or ''ψ'') represents a rotation around the ''z''″ axis.

Examples: Wigner<ref>{{cite book|first1=Eugen|last1=Wigner|title=Gruppentheorie und ihre Anwendung auf die Quantenmechanik der Atomspektren|publisher=Springer|year=1977|doi=10.1007/978-3-663-02555-9|language=de|orig-date=1931|page=100}}</ref> uses a ZX'Z' order to define the Euler angles.
Hirschfelder at al.<ref>{{cite book|first1=Joseph O. |last1=Hirschfelder|first2=Charles F.|last2=Curtiss | first3= R.|last3=Byron Bird|title = Molecular theory of gases and liquids|year=1954|publisher = J. Wiley & Sons|lccn=66001476|bibcode=1964mtgl.book.....H|page=908|isbn=978-0-471-40065-3}}</ref> use a ZY'Z' order to define the Euler angles.

===Definition by extrinsic rotations===
{{anchor|Extrinsic  rotations}}

Extrinsic rotations are elemental rotations that occur about the axes of the fixed coordinate system ''xyz''. The ''XYZ'' system rotates, while ''xyz'' is fixed. Starting with ''XYZ'' overlapping ''xyz'', a composition of three extrinsic rotations can be used to reach any target orientation for ''XYZ''. The Euler or Tait-Bryan angles (''α'', ''β'', ''γ'') are the amplitudes of these elemental rotations. For instance, the target orientation can be reached as follows (note the reversed order of Euler angle application):

* The ''XYZ'' system rotates about the ''z'' axis by ''γ''. The ''X'' axis is now at angle ''γ'' with respect to the ''x'' axis.
* The ''XYZ'' system rotates again, but this time about the ''x'' axis by ''β''. The ''Z'' axis is now at angle ''β'' with respect to the ''z'' axis.
* The ''XYZ'' system rotates a third time, about the ''z'' axis again, by angle ''α''.

In sum, the three elemental rotations occur about ''z'', ''x'' and ''z''. This sequence is often denoted ''z''-''x''-''z'' (or 3-1-3). Sets of rotation axes associated with both proper Euler angles and Tait-Bryan angles are commonly named using this notation (see above for the six possibilities for each).

Examples: Bradley and Cracknell
<ref>{{cite book|first1=C. J. |last1=Bradley|first2=A. P. |last2=Cracknell|title=The mathematical theory of symmetry  in solids|year=1972|publisher=Clarendon press|isbn=978-0-19-958258-7|page=52}}</ref> and Evarestov
<ref>{{cite book|first1=R. A. |last1=Evarestov|first2=V. P. |last2=Smirnov|title=Site  symmetry in crystals|year=1993|isbn=3-540-56052-1|publisher=Springer|page=33}}</ref> use rotations around fixed (non-primed) axes.

If each step of the rotation acts on the rotating coordinate system XYZ, the rotation is intrinsic (''Z-X'-Z<nowiki>''</nowiki>''). ''Intrinsic'' rotation can also be denoted 3-1-3.

===Signs, ranges and conventions===
Angles are commonly defined according to the [right-hand rule](/source/right-hand_rule). Namely, they have positive values when they represent a rotation that appears clockwise when looking in the positive direction of the axis, and negative values when the rotation appears counter-clockwise. The opposite convention (left hand rule) is less frequently adopted.

About the ranges (using [interval notation](/source/Interval_(mathematics))):

* for ''α'' and ''γ'', the range is defined [modulo](/source/Modular_arithmetic) 2{{pi}} [radian](/source/radian)s. For instance, a valid range could be {{closed-closed|&minus;{{pi}}, {{pi}}}}.
* for ''β'', the range covers {{pi}} radians (but can not be said to be modulo&nbsp;{{pi}}). For example, it could be {{closed-closed|0, {{pi}}}} or {{closed-closed|&minus;{{pi}}/2, {{pi}}/2}}.

The angles ''α'', ''β'' and ''γ'' are uniquely determined except for the singular case that the ''xy'' and the ''XY'' planes are identical, i.e. when the ''z'' axis and the ''Z'' axis have the same or opposite directions. Indeed, if the ''z'' axis and the ''Z'' axis are the same, ''β''&nbsp;=&nbsp;0 and only (''α''&nbsp;+&nbsp;''γ'') is uniquely defined (not the individual values), and, similarly, if the ''z'' axis and the ''Z'' axis are opposite, ''β''&nbsp;=&nbsp;{{pi}} and only (''α''&nbsp;&minus;&nbsp;''γ'') is uniquely defined (not the individual values). These ambiguities are known as [gimbal lock](/source/gimbal_lock) in applications.

There are six possibilities of choosing the rotation axes for proper Euler angles. In all of them, the first and third rotation axes are the same. The six possible sequences are:

# ''z''<sub>1</sub>-''x''′-''z''<sub>2</sub>″ (intrinsic rotations) or ''z''<sub>2</sub>-''x''-''z''<sub>1</sub> (extrinsic rotations)
# ''x''<sub>1</sub>-''y''′-''x''<sub>2</sub>″ (intrinsic rotations) or ''x''<sub>2</sub>-''y''-''x''<sub>1</sub> (extrinsic rotations)
# ''y''<sub>1</sub>-''z''′-''y''<sub>2</sub>″ (intrinsic rotations) or ''y''<sub>2</sub>-''z''-''y''<sub>1</sub> (extrinsic rotations)
# ''z''<sub>1</sub>-''y''′-''z''<sub>2</sub>″ (intrinsic rotations) or ''z''<sub>2</sub>-''y''-''z''<sub>1</sub> (extrinsic rotations)
# ''x''<sub>1</sub>-''z''′-''x''<sub>2</sub>″ (intrinsic rotations) or ''x''<sub>2</sub>-''z''-''x''<sub>1</sub> (extrinsic rotations)
# ''y''<sub>1</sub>-''x''′-''y''<sub>2</sub>″ (intrinsic rotations) or ''y''<sub>2</sub>-''x''-''y''<sub>1</sub> (extrinsic rotations)

===Precession, nutation and intrinsic rotation===
thumb|Euler basic motions of the Earth. Intrinsic rotation (green), Precession (blue) and Nutation (red)
[Precession](/source/Precession), [nutation](/source/nutation), and [intrinsic rotation](/source/rotation) are defined as the movements obtained by changing one of the Euler angles while leaving the other two constant. These motions are not all expressed in terms of the external frame, or all in terms of the co-moving rotated body frame, but in a mixture. They constitute a '''mixed axes of rotation''' system{{dash}}precession moves the line of nodes around the external axis ''z'', nutation rotates around the line of nodes ''N'', and intrinsic rotation is around ''Z'', an axis fixed in the body that moves.

Note: If an object undergoes a certain change of orientation this can be described as a combination of precession, nutation, and internal rotation, but how much of each depends on what XYZ coordinate system one has chosen for the object.

As an example, consider a [top](/source/Spinning_top). If we define the Z axis to be the symmetry axis of the top, then the top spinning around its own axis of symmetry corresponds to intrinsic rotation. It also rotates around its pivotal axis, with its [center of mass](/source/center_of_mass) orbiting the pivotal axis; this rotation is a precession. Finally, the top may wobble up and down (if it is not what is called a [symmetric top](/source/symmetric_top)); the change of inclination angle is nutation. The same example can be seen with the movements of the earth.

Though all three movements can be represented by rotation matrices, only precession can be expressed in general as a matrix in the basis of the space without dependencies on the other angles.

These movements also behave as a gimbal set. Given a set of frames, able to move each with respect to the former according to just one angle, like a gimbal, there will exist an external fixed frame, one final frame and two frames in the middle, which are called "intermediate frames". The two in the middle work as two gimbal rings that allow the last frame to reach any orientation in space.

==Tait-Bryan angles==
{{See also|Aircraft principal axes}}
thumb|left|Tait-Bryan angles. ''z''-''y''′-''x''″ sequence (intrinsic rotations; ''N'' coincides with ''y'''). The angle rotation sequence is ''ψ'', ''θ'', ''φ''. Note that in this case {{nowrap|''ψ'' > 90°}} and ''θ'' is a negative angle.

The second type of formalism is called '''Tait-Bryan angles''', after Scottish mathematical physicist [Peter Guthrie Tait](/source/Peter_Guthrie_Tait) (1831–1901) and English applied mathematician [George H. Bryan](/source/George_H._Bryan) (1864–1928). It is the convention normally used for aerospace applications, so that zero degrees elevation represents the horizontal attitude. Tait-Bryan angles represent the orientation of the aircraft with respect to the world frame. When dealing with other vehicles, different [axes conventions](/source/axes_conventions) are possible.

===Definitions===
thumb|Tait-Bryan angles. ''z''-''x''′-''y''″ sequence (intrinsic rotations; ''N'' coincides with ''x''′)
The definitions and notations used for Tait-Bryan angles are similar to those described above for proper Euler angles (geometrical definition, intrinsic rotation definition, extrinsic rotation definition). The only difference is that Tait-Bryan angles represent rotations about three distinct axes (e.g. ''x''-''y''-''z'', or ''x''-''y''′-''z''″), while proper Euler angles use the same axis for both the first and third elemental rotations (e.g., ''z''-''x''-''z'', or ''z''-''x''′-''z''″).

This implies a different definition for the [line of nodes](/source/line_of_nodes) in the geometrical construction. In the proper Euler angles case it was defined as the intersection between two homologous Cartesian planes (parallel when Euler angles are zero; e.g. ''xy'' and ''XY''). In the Tait-Bryan angles case, it is defined as the intersection of two non-homologous planes (perpendicular when Euler angles are zero; e.g. ''xy'' and ''YZ'').

===Conventions===
thumb|Heading, elevation and bank angles (''Z''-''Y''′-''X''″) for an aircraft using onboard ENU axes both onboard and for the ground tracking station. The fixed reference frame ''x''-''y''-''z'' represents such a tracking station. Onboard axes ''Y'' and ''Z'' are not shown. ''X'' shown in green color. According to RHS rules the shown ''y''-axis is negative.

The three elemental rotations may occur either about the axes of the original coordinate system, which remains motionless (extrinsic rotations), or about the axes of the rotating coordinate system, which changes its orientation after each elemental rotation (intrinsic rotations).

There are six possibilities of choosing the rotation axes for Tait-Bryan angles. The six possible sequences are:

* ''x''-''y''′-''z''″ (intrinsic rotations) or ''z''-''y''-''x'' (extrinsic rotations)
* ''y''-''z''′-''x''″ (intrinsic rotations) or ''x''-''z''-''y'' (extrinsic rotations)
* ''z''-''x''′-''y''″ (intrinsic rotations) or ''y''-''x''-''z'' (extrinsic rotations)
* ''x''-''z''′-''y''″ (intrinsic rotations) or ''y''-''z''-''x'' (extrinsic rotations)
* ''z''-''y''′-''x''″ (intrinsic rotations) or ''x''-''y''-''z'' (extrinsic rotations): the intrinsic rotations are known as: yaw, pitch and roll
* ''y''-''x''′-''z''″ (intrinsic rotations) or ''z''-''x''-''y'' (extrinsic rotations)

===Signs and ranges===
[[Image:Yaw Axis Corrected.svg|thumb|The [principal axes](/source/Aircraft_principal_axes) of an aircraft according to the air norm [DIN](/source/Deutsches_Institut_f%C3%BCr_Normung) 9300. Notice that fixed and mobile frames must be coincident with angles zero. Therefore, this norm would also force a compatible [axes convention](/source/Axes_conventions) in the reference system]]
Tait-Bryan convention is widely used in engineering with different purposes. There are several [axes conventions](/source/axes_conventions) in practice for choosing the mobile and fixed axes, and these conventions determine the signs of the angles. Therefore, signs must be studied in each case carefully.

The range for the angles ''ψ'' and ''φ'' covers 2{{pi}} radians. For ''θ'' the range covers {{pi}} radians.

===Alternative names===
These angles are normally taken as one in the external reference frame ([heading](/source/Heading_(navigation)), [bearing](/source/Bearing_(navigation))), one in the intrinsic moving frame ([bank](/source/Banked_turn)) and one in a middle frame, representing an [elevation](/source/Elevation_(ballistics)) or inclination with respect to the horizontal plane, which is equivalent to the line of nodes for this purpose.

===As chained rotations===
thumb|Mnemonics to remember angle names
For an aircraft, they can be obtained with three rotations around its [principal axes](/source/aircraft_principal_axes) if done in the proper order and starting from a frame coincident with the reference frame. 

* A [yaw](/source/Yaw_(rotation)) will obtain the bearing, 
* a [pitch](/source/Pitching_moment) will yield the elevation, and
* a roll gives the bank angle. 

Therefore, in aerospace they are sometimes called '''yaw, pitch, and roll'''. Notice that this will not work if the rotations are applied in any other order or if the airplane axes start in any position non-equivalent to the reference frame.

Tait-Bryan angles, following ''z''-''y''′-''x''″ (intrinsic rotations) convention, are also known as '''nautical angles''', because they can be used to describe the orientation of a ship or aircraft, or '''Cardan angles''', after the Italian mathematician and physicist [Gerolamo Cardano](/source/Gerolamo_Cardano), who first described in detail the [Cardan suspension](/source/Cardan_suspension) and the [Cardan joint](/source/Cardan_joint).

==Angles of a given frame==
thumb|Projections of ''Z'' vector
alt=Image showing the projection of the final Y axis on the initial z axis, getting us the third or z-component of the final Y axis.|thumb|Projections of ''Y'' vector
A common problem is to find the Euler angles of a given frame. The fastest way to get them is to write the three given vectors as columns of a matrix and compare it with the expression of the theoretical matrix (see later table of matrices). Hence the three Euler Angles can be calculated. Nevertheless, the same result can be reached avoiding matrix algebra and using only elemental geometry. Here we present the results for the two most commonly used conventions: ''ZXZ'' for proper Euler angles and ''ZYX'' for Tait-Bryan. Notice that any other convention can be obtained just changing  the name of the axes.

===Proper Euler angles===
Assuming a frame with [unit vector](/source/unit_vector)s (''X'', ''Y'', ''Z'') given by their coordinates as in the main diagram, it can be seen that:

:<math>\cos (\beta) = Z_3.</math>

And, since
:<math>\sin^2 x = 1 - \cos^2 x,</math>
for <math> 0<x<\pi </math> we have
:<math>\sin (\beta) = \sqrt {1 - Z_3^2}.</math>

As <math>Z_2</math> is the double projection of a unitary vector,
:<math>\cos(\alpha) \cdot \sin(\beta) = -Z_2,</math>
:<math>\cos(\alpha) = \frac{-Z_2}{\sqrt{1 - Z_3^2}}.</math>

There is a similar construction for <math>Y_3</math>, projecting it first over the <math display="inline">y''</math> axis (the resulting <math>y</math>-axis after first two rotations) and then projecting the projection to the initial <math>z</math>-axis. As the angle between <math>Y</math>-axis and <math>y''</math>-axis is <math>\gamma</math> and that between <math>y''</math> and <math>z</math>-axis is <math>\pi/2 - \beta</math> and <math>\cos(\pi/2 - \beta) = \sin(\beta)</math>, this leads to:

:<math>\sin(\beta) \cdot \cos(\gamma) = Y_3,</math>
:<math>\cos(\gamma) = \frac{Y_3}{\sqrt{1 - Z_3^2}},</math>

and finally, using the [inverse cosine](/source/inverse_trigonometric_functions) function,

:<math>\alpha = \arccos\left(\frac{-Z_2}{\sqrt{1 - Z_3^2}}\right),</math>
:<math>\beta = \arccos\left(Z_3\right),</math>
:<math>\gamma = \arccos\left(\frac{Y_3}{\sqrt{1 - Z_3^2}}\right).</math>

===Tait-Bryan angles===
thumb|right|Projections of ''x''-axis after three Tait-Bryan rotations. Notice that theta is a negative rotation around the axis ''y''′.

Assuming a frame with [unit vector](/source/unit_vector)s (''X'', ''Y'', ''Z'') given by their coordinates as in this new diagram (notice that the angle theta is negative), it can be seen that:

:<math>\sin (\theta) = -X_3</math>

As before,
:<math>\cos^2 x = 1 - \sin^2 x,</math>
for <math> -\pi/2<x<\pi/2 </math> we have
:<math>\cos (\theta) = \sqrt {1 - X_3^2}.</math>

in a way analogous to the former one:

:<math>\sin(\psi) = \frac{X_2}{\sqrt{1 - X_3^2}}.</math>
:<math>\sin(\phi) = \frac{Y_3}{\sqrt{1 - X_3^2}}.</math>

Looking for similar expressions to the former ones:

:<math>\psi = \arcsin\left(\frac{X_2}{\sqrt{1 - X_3^2}}\right),</math>
:<math>\theta = \arcsin(-X_3),</math>
:<math>\phi = \arcsin\left(\frac{Y_3}{\sqrt{1 - X_3^2}}\right).</math>

===Last remarks===
Note that the inverse sine and cosine functions yield two possible values for the argument. In this geometrical description, only one of the solutions is valid. When Euler angles are defined as a sequence of rotations, all the solutions can be valid, but there will be only one inside the angle ranges. This is because the sequence of rotations to reach the target frame is not unique if the ranges are not previously defined.<ref>[http://eecs.qmul.ac.uk/~gslabaugh/publications/euler.pdf Gregory G. Slabaugh, Computing Euler angles from a rotation matrix]</ref>

For computational purposes, it may be useful to represent the angles using {{nowrap|[atan2](/source/atan2)(''y'', ''x'')}}. For example, in the case of proper Euler angles:

:<math>\alpha = \operatorname{atan2}(Z_1 , -Z_2),</math>
:<math>\gamma = \operatorname{atan2}(X_3 , Y_3).</math>

==Conversion to other orientation representations==
{{Main|Rotation formalisms in three dimensions#Conversion formulae between formalisms}}

Euler angles are one way to represent orientations. There are others, and it is possible to change to and from other conventions. Three parameters are always required to describe orientations in a [3-dimensional](/source/dimension) [Euclidean space](/source/Euclidean_space). They can be given in several ways, Euler angles being one of them; see [charts on SO(3)](/source/charts_on_SO(3)) for others.

The most common orientation representations are the [rotation matrices](/source/rotation_matrix), the [axis-angle](/source/axis-angle) and the [quaternion](/source/quaternion)s, also known as [Euler-Rodrigues parameters](/source/Euler-Rodrigues_parameters), which provide [another mechanism](/source/Quaternions_and_spatial_rotation) for representing 3D rotations. This is equivalent to the special unitary group description.

Expressing rotations in 3D as unit quaternions instead of matrices has some advantages:

* Concatenating rotations is computationally faster and numerically more stable.
* Extracting the angle and axis of rotation is simpler.
* Interpolation is more straightforward. See for example [slerp](/source/slerp).
* Quaternions do not suffer from [gimbal lock](/source/gimbal_lock) as Euler angles do.

Regardless, the rotation matrix calculation is the first step for obtaining the other two representations.

===Rotation matrix===
Any orientation can be achieved by composing three elemental rotations, starting from a known standard orientation. Equivalently, any [rotation matrix](/source/rotation_matrix) ''R'' can be [decomposed](/source/Matrix_decomposition) as a product of three elemental rotation matrices. For instance:
<math display="block">R = X(\alpha) Y(\beta) Z(\gamma)</math>
is a rotation matrix that may be used to represent a composition of extrinsic rotations about axes ''z'', ''y'', ''x'', (in that order), or a composition of intrinsic rotations about axes ''x''-''y''′-''z''″ (in that order). However, both the definition of the elemental rotation matrices ''X'', ''Y'', ''Z'', and their multiplication order depend on the choices taken by the user about the definition of both rotation matrices and Euler angles (see, for instance, [Ambiguities in the definition of rotation matrices](/source/Rotation_matrix)). Unfortunately, different sets of conventions are adopted by users in different contexts. The following table was built according to this set of conventions:

# Each matrix is meant to operate by pre-multiplying [column vector](/source/column_vector)s <math display="inline">\begin{bmatrix} x \\ y \\ z \end{bmatrix}</math> (see [Ambiguities in the definition of rotation matrices](/source/Rotation_matrix))
# Each matrix is meant to represent an [active rotation](/source/Active_and_passive_transformation) (the composing and composed matrices are supposed to act on the coordinates of vectors defined in the initial fixed reference frame and give as a result the coordinates of a rotated vector defined in the same reference frame).
# Each matrix is meant to represent, primarily, a composition of [intrinsic rotations](/source/intrinsic_rotations) (around the axes of the rotating reference frame) and, secondarily, the composition of three [extrinsic rotations](/source/extrinsic_rotations) (which corresponds to the constructive evaluation of the R matrix by the multiplication of three truly elemental matrices, in reverse order).
# [Right handed](/source/Right_hand_rule) reference frames are adopted, and the [right hand rule](/source/right_hand_rule) is used to determine the sign of the angles ''α'', ''β'', ''γ''.
For the sake of simplicity, the following table of matrix products uses the following nomenclature:
# ''X'', ''Y'', ''Z'' are the matrices representing the elemental rotations about the axes ''x'', ''y'', ''z'' of the fixed frame (e.g., ''X''<sub>''α''</sub> represents a rotation about ''x'' by an angle ''α'').
# ''s'' and ''c'' represent sine and cosine (e.g., ''s''<sub>''α''</sub> represents the sine of ''α'').

{| class="wikitable" style="padding-left:1.5em;"
|-
! Proper Euler angles !! Tait-Bryan angles
|-
|<math>X_\alpha Z_\beta X_\gamma = \begin{bmatrix}
 c_\beta          & - c_\gamma s_\beta                            & s_\beta s_\gamma \\
 c_\alpha s_\beta & c_\alpha c_\beta c_\gamma - s_\alpha s_\gamma & - c_\gamma s_\alpha - c_\alpha c_\beta s_\gamma \\
 s_\alpha s_\beta & c_\alpha s_\gamma + c_\beta c_\gamma s_\alpha & c_\alpha c_\gamma - c_\beta s_\alpha s_\gamma
\end{bmatrix}</math>
|<math>X_\alpha Z_\beta Y_\gamma = \begin{bmatrix}
 c_\beta c_\gamma                              & - s_\beta        & c_\beta s_\gamma \\
 s_\alpha s_\gamma + c_\alpha c_\gamma s_\beta & c_\alpha c_\beta & c_\alpha s_\beta s_\gamma - c_\gamma s_\alpha \\
 c_\gamma s_\alpha s_\beta - c_\alpha s_\gamma & c_\beta s_\alpha & c_\alpha c_\gamma + s_\alpha s_\beta s_\gamma
\end{bmatrix}</math>
|-
|<math>X_\alpha Y_\beta X_\gamma = \begin{bmatrix}
 c_\beta            & s_\beta s_\gamma                              & c_\gamma s_\beta \\
 s_\alpha s_\beta   & c_\alpha c_\gamma - c_\beta s_\alpha s_\gamma & - c_\alpha s_\gamma - c_\beta c_\gamma s_\alpha \\
 - c_\alpha s_\beta & c_\gamma s_\alpha + c_\alpha c_\beta s_\gamma & c_\alpha c_\beta c_\gamma - s_\alpha s_\gamma
\end{bmatrix}</math>
|<math>X_\alpha Y_\beta Z_\gamma = \begin{bmatrix}
 c_\beta c_\gamma                              & - c_\beta s_\gamma                            & s_\beta \\
 c_\alpha s_\gamma + c_\gamma s_\alpha s_\beta & c_\alpha c_\gamma - s_\alpha s_\beta s_\gamma & - c_\beta s_\alpha \\
 s_\alpha s_\gamma - c_\alpha c_\gamma s_\beta & c_\gamma s_\alpha + c_\alpha s_\beta s_\gamma & c_\alpha c_\beta
\end{bmatrix}</math>
|-
|<math>Y_\alpha X_\beta Y_\gamma = \begin{bmatrix}
 c_\alpha c_\gamma - c_\beta s_\alpha s_\gamma   & s_\alpha s_\beta & c_\alpha s_\gamma + c_\beta c_\gamma s_\alpha \\
 s_\beta s_\gamma                                & c_\beta          & - c_\gamma s_\beta \\
 - c_\gamma s_\alpha - c_\alpha c_\beta s_\gamma & c_\alpha s_\beta & c_\alpha c_\beta c_\gamma - s_\alpha s_\gamma
\end{bmatrix}</math>
|<math>Y_\alpha X_\beta Z_\gamma = \begin{bmatrix}
 c_\alpha c_\gamma + s_\alpha s_\beta s_\gamma & c_\gamma s_\alpha s_\beta - c_\alpha s_\gamma &   c_\beta s_\alpha \\
 c_\beta s_\gamma                              & c_\beta c_\gamma                              & - s_\beta \\
 c_\alpha s_\beta s_\gamma - c_\gamma s_\alpha & c_\alpha c_\gamma s_\beta + s_\alpha s_\gamma & c_\alpha c_\beta
\end{bmatrix}</math>
|-
|<math>Y_\alpha Z_\beta Y_\gamma = \begin{bmatrix}
 c_\alpha c_\beta c_\gamma - s_\alpha s_\gamma    & - c_\alpha s_\beta & c_\gamma s_\alpha + c_\alpha c_\beta s_\gamma \\
 c_\gamma s_\beta                                 & c_\beta            & s_\beta s_\gamma \\
  - c_\alpha s_\gamma - c_\beta c_\gamma s_\alpha & s_\alpha s_\beta   & c_\alpha c_\gamma - c_\beta s_\alpha s_\gamma
\end{bmatrix}</math>
|<math>Y_\alpha Z_\beta X_\gamma = \begin{bmatrix}
 c_\alpha c_\beta   & s_\alpha s_\gamma - c_\alpha c_\gamma s_\beta & c_\gamma s_\alpha + c_\alpha s_\beta s_\gamma \\
 s_\beta            & c_\beta c_\gamma                              & - c_\beta s_\gamma \\
 - c_\beta s_\alpha & c_\alpha s_\gamma + c_\gamma s_\alpha s_\beta & c_\alpha c_\gamma - s_\alpha s_\beta s_\gamma
\end{bmatrix}</math>
|-
|<math>Z_\alpha Y_\beta Z_\gamma = \begin{bmatrix}
 c_\alpha c_\beta c_\gamma - s_\alpha s_\gamma &  - c_\gamma s_\alpha - c_\alpha c_\beta s_\gamma & c_\alpha s_\beta \\
 c_\alpha s_\gamma + c_\beta c_\gamma s_\alpha & c_\alpha c_\gamma - c_\beta s_\alpha s_\gamma    & s_\alpha s_\beta \\
 - c_\gamma s_\beta                            & s_\beta s_\gamma                                 & c_\beta
\end{bmatrix}</math>
|<math>Z_\alpha Y_\beta X_\gamma = \begin{bmatrix}
 c_\alpha c_\beta & c_\alpha s_\beta s_\gamma - c_\gamma s_\alpha & s_\alpha s_\gamma + c_\alpha c_\gamma s_\beta \\
 c_\beta s_\alpha & c_\alpha c_\gamma + s_\alpha s_\beta s_\gamma & c_\gamma s_\alpha s_\beta - c_\alpha s_\gamma \\
 - s_\beta        & c_\beta s_\gamma                              & c_\beta c_\gamma
\end{bmatrix}</math>
|-
|<math>Z_\alpha X_\beta Z_\gamma = \begin{bmatrix}
 c_\alpha c_\gamma - c_\beta s_\alpha s_\gamma & - c_\alpha s_\gamma - c_\beta c_\gamma s_\alpha &  s_\alpha s_\beta \\
 c_\gamma s_\alpha + c_\alpha c_\beta s_\gamma & c_\alpha c_\beta c_\gamma - s_\alpha s_\gamma   & - c_\alpha s_\beta \\
 s_\beta s_\gamma                              & c_\gamma s_\beta                                & c_\beta
\end{bmatrix}</math>
|<math>Z_\alpha X_\beta Y_\gamma = \begin{bmatrix}
 c_\alpha c_\gamma - s_\alpha s_\beta s_\gamma & - c_\beta s_\alpha & c_\alpha s_\gamma + c_\gamma s_\alpha s_\beta \\
 c_\gamma s_\alpha + c_\alpha s_\beta s_\gamma & c_\alpha c_\beta   & s_\alpha s_\gamma - c_\alpha c_\gamma s_\beta \\
 - c_\beta s_\gamma                            & s_\beta            & c_\beta c_\gamma
\end{bmatrix}</math>
|}

These tabular results are available in numerous textbooks.<ref>''E.g.'' Appendix I (p. 483) of: {{cite book | last1 = Roithmayr | first1 = Carlos M. | last2 = Hodges | first2 = Dewey H. | title = Dynamics: Theory and Application of Kane's Method | edition = 1st | publisher = Cambridge University Press | year = 2016 | isbn = 978-1107005693 }}</ref>  For each column the last row constitutes the most commonly used convention.

To change the formulas for [passive rotations](/source/Active_and_passive_transformation) (or find reverse active rotation), transpose the matrices (then each matrix transforms the initial coordinates of a vector remaining fixed to the coordinates of the same vector measured in the rotated reference system; same rotation axis, same angles, but now the coordinate system rotates, rather than the vector).  (Crystallographic Texture will typically use passive rotations.)

The following table contains formulas for angles ''α'', ''β'' and ''γ'' from elements of a rotation matrix <math>R</math>.<ref>{{Cite tech report | last = Henderson | first = D. M. | date = 1977-06-09 | title = Euler angles, quaternions, and transformation matrices for space shuttle analysis|url=https://ntrs.nasa.gov/citations/19770019231|institution = NASA | language = en | pages = 12–24}}</ref>
{| class="wikitable"
! colspan="2" |Proper Euler angles
! colspan="2" |Tait-Bryan angles
|-
|<math>X_\alpha Z_\beta X_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{R_{31}}{R_{21}}\right) \\
\beta & = \arccos\left(R_{11}\right) \\
\gamma & = \arctan\left(\frac{R_{13}}{-R_{12}}\right)
\end{align}</math>
|<math>X_\alpha Z_\beta Y_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{R_{32}}{R_{22}}\right) \\
\beta & = \arcsin\left(-R_{12}\right) \\
\gamma & = \arctan\left(\frac{R_{13}}{R_{11}}\right)
\end{align}</math>
|-
|<math>X_\alpha Y_\beta X_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{R_{21}}{-R_{31}}\right) \\
\beta & = \arccos\left(R_{11}\right) \\
\gamma & = \arctan\left(\frac{R_{12}}{R_{13}}\right)
\end{align}</math>
|<math>X_\alpha Y_\beta Z_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{-R_{23}}{R_{33}}\right) \\
\beta & = \arcsin\left(R_{13}\right) \\
\gamma & = \arctan\left(\frac{-R_{12}}{R_{11}}\right)
\end{align}</math>
|-
|<math>Y_\alpha X_\beta Y_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{R_{12}}{R_{32}}\right) \\
\beta & = \arccos\left(R_{22}\right) \\
\gamma & = \arctan\left(\frac{R_{21}}{-R_{23}}\right)
\end{align}</math>
|<math>Y_\alpha X_\beta Z_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{R_{13}}{R_{33}}\right) \\
\beta & = \arcsin\left(-R_{23}\right) \\
\gamma & = \arctan\left(\frac{R_{21}}{R_{22}}\right)
\end{align}</math>
|-
|<math>Y_\alpha Z_\beta Y_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{R_{32}}{-R_{12}}\right) \\
\beta & = \arccos\left(R_{22}\right) \\
\gamma & = \arctan\left(\frac{R_{23}}{R_{21}}\right)
\end{align}</math>
|<math>Y_\alpha Z_\beta X_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{-R_{31}}{R_{11}}\right) \\
\beta & = \arcsin\left(R_{21}\right) \\
\gamma & = \arctan\left(\frac{-R_{23}}{R_{22}}\right)
\end{align}</math>
|-
|<math>Z_\alpha Y_\beta Z_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{R_{23}}{R_{13}}\right) \\
\beta & = \arctan\left(\frac{\sqrt{1-R_{33}^2}}{R_{33}}\right) \\
\gamma & = \arctan\left(\frac{R_{32}}{-R_{31}}\right)
\end{align}</math>
|<math>Z_\alpha Y_\beta X_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{R_{21}}{R_{11}}\right) \\
\beta & = \arcsin\left(-R_{31}\right) \\
\gamma & = \arctan\left(\frac{R_{32}}{R_{33}}\right)
\end{align}</math>
|-
|<math>Z_\alpha X_\beta Z_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{R_{13}}{-R_{23}}\right) \\
\beta & = \arccos\left(R_{33}\right) \\
\gamma & = \arctan\left(\frac{R_{31}}{R_{32}}\right)
\end{align}</math>
|<math>Z_\alpha X_\beta Y_\gamma</math>
|<math>\begin{align}
\alpha & = \arctan\left(\frac{-R_{12}}{R_{22}}\right) \\
\beta & = \arcsin\left(R_{32}\right) \\
\gamma & = \arctan\left(\frac{-R_{31}}{R_{33}}\right)
\end{align}</math>
|}

==Properties==
{{See also|Charts on SO(3)|Quaternions and spatial rotation}}
The Euler angles form a [chart](/source/chart_(topology)) on all of [SO(3)](/source/SO(3)), the [special orthogonal group](/source/special_orthogonal_group) of rotations in 3D space. The chart is smooth except for a polar coordinate style singularity along {{Nowrap|1=''β'' = 0}}. See [charts on SO(3)](/source/charts_on_SO(3)) for a more complete treatment.

The space of rotations is called in general "The [Hypersphere of rotations](/source/Quaternions_and_spatial_rotation)", though this is a misnomer: the group [Spin(3)](/source/Spin_group) is [isometric](/source/isometric_embedding) to the hypersphere ''S''<sup>3</sup>, but the rotation space SO(3) is instead isometric to the [real projective space](/source/real_projective_space) '''RP'''<sup>3</sup> which is a 2-fold [quotient space](/source/Quotient_space_(topology)) of the hypersphere. This 2-to-1 ambiguity is the mathematical origin of [spin in physics](/source/Spin_(physics)).

A similar three angle decomposition applies to [SU(2)](/source/SU(2)), the [special unitary group](/source/special_unitary_group) of rotations in complex 2D space, with the difference that ''β'' ranges from 0 to 2{{pi}}. These are also called Euler angles.

The [Haar measure](/source/Haar_measure) for SO(3) in Euler angles is given by the Hopf angle parametrisation of SO(3), <math>\textrm{d}V \propto \sin \beta \cdot \textrm{d}\alpha \cdot \textrm{d}\beta \cdot \textrm{d}\gamma</math>,<ref>{{cite journal|at=Section 8 — Derivation of Hopf parametrisation |pmc=2896220 |year=2010 |last1=Yershova |first1=A. |last2=Jain |first2=S. |last3=Lavalle |first3=S. M. |last4=Mitchell |first4=J. C. |title=Generating Uniform Incremental Grids on SO(3) Using the Hopf Fibration |journal=The International Journal of Robotics Research |volume=29 |issue=7 |doi=10.1177/0278364909352700 |pmid=20607113 |bibcode=2010IJRR...29..801Y }}</ref> where <math>(\beta, \alpha)</math> parametrise <math>S^{2}</math>, the space of rotation axes.

For example, to generate uniformly randomized orientations, let ''α'' and ''γ'' be uniform from 0 to 2{{pi}}, let ''z'' be uniform from &minus;1 to 1, and let {{nowrap|1=''β'' = arccos(''z'')}}.

===Geometric algebra===
Other properties of Euler angles and rotations in general can be found from the [geometric algebra](/source/geometric_algebra), a higher level abstraction, in which the quaternions are an even subalgebra. The principal tool in geometric algebra is the rotor <math> \mathbf{R} = [ \cos(\theta / 2) - I u \sin(\theta / 2) ] </math> where <math>\theta =</math>[angle of rotation](/source/angle_of_rotation), <math>\mathbf{u} </math> is the rotation axis (unitary vector) and <math>\mathbf{I}</math> is the pseudoscalar (trivector in <math>\mathbb{R}^3</math>)

===Higher dimensions===
It is possible to define parameters analogous to the Euler angles in dimensions higher than three.<ref>{{Citation
  |last = Hoffman
  |first = D. K.
  |title = Generalization of Euler Angles to N-Dimensional Orthogonal Matrices
  |journal = Journal of Mathematical Physics
  |publisher = [J. Math. Phys. 13, 528–533]
  |year = 1972
  |volume = 13
  |issue = 4
  |pages = 528–533
  |doi = 10.1063/1.1666011
  |bibcode = 1972JMP....13..528H
  |url = https://pubs.aip.org/aip/jmp/article/13/4/528/440286/Generalization-of-Euler-Angles-to-N-Dimensional
  |url-access = subscription}}</ref>
<ref>{{in lang|it}} [http://ansi.altervista.org A generalization of Euler Angles to ''n''-dimensional real spaces]</ref>{{unreliable source?|date=December 2022}} In four dimensions and above, the concept of "rotation about an axis" loses meaning and instead becomes "rotation in a plane." The number of Euler angles needed to represent the group {{math|SO(''n'')}} is {{math|''n''(''n'' − 1)/2}}, equal to the number of planes containing two distinct coordinate axes in ''n''-dimensional Euclidean space.  (In other words, choose from ''n'' dimensions for the first axis, choose from the remaining ''n'' - 1 dimensions for the second axis, and then divide by two because it doesn't matter which of that pair was selected "first".) 

In [SO(4)](/source/SO(4)) a rotation matrix [is defined by two unit quaternions](/source/Rotation_(mathematics)), and therefore has six degrees of freedom, three from each quaternion.

==Applications==

===Vehicles and moving frames===
{{Main|rigid body}}

{{See also|axes conventions}}

Their main advantage over other orientation descriptions is that they are directly measurable from a gimbal mounted in a vehicle. As gyroscopes keep their rotation axis constant, angles measured in a gyro frame are equivalent to angles measured in the lab frame. Therefore, gyros are used to know the actual orientation of moving spacecraft, and Euler angles are directly measurable. Intrinsic rotation angle cannot be read from a single gimbal, so there has to be more than one gimbal in a spacecraft. Normally there are at least three for redundancy. There is also a relation to the well-known [gimbal lock](/source/gimbal_lock) problem of [mechanical engineering](/source/mechanical_engineering).<ref>The relation between the Euler angles and the Cardan suspension is explained in chap. 11.7 of the following textbook: U. Krey, A. Owen, ''Basic Theoretical Physics — A Concise Overview'', New York, London, Berlin, Heidelberg, Springer (2007)&nbsp;.</ref>

When studying rigid bodies in general, one calls the ''xyz'' system ''space coordinates'', and the ''XYZ'' system ''body coordinates''. The space coordinates are treated as unmoving, while the body coordinates are considered embedded in the moving body. Calculations involving [acceleration](/source/acceleration), [angular acceleration](/source/angular_acceleration), [angular velocity](/source/angular_velocity), [angular momentum](/source/angular_momentum), and [kinetic energy](/source/kinetic_energy) are often easiest in body coordinates, because then the moment of inertia tensor does not change in time.  If one also diagonalizes the rigid body's moment of inertia tensor (with nine components, six of which are independent), then one has a set of coordinates (called the principal axes) in which the moment of inertia tensor has only three components.

The angular velocity of a rigid body takes a [simple form](/source/Angular_velocity) using Euler angles in the moving frame. Also the [Euler's rigid body equations](/source/Euler's_equations_(rigid_body_dynamics)) are simpler because the inertia tensor is constant in that frame.

===Crystallographic texture===
thumb|Pole figures displaying crystallographic texture of gamma-TiAl in an alpha2-gamma alloy, as measured by high energy X-rays.<ref name=Liss>{{ cite journal |vauthors=Liss KD, Bartels A, Schreyer A, Clemens H |title=High energy X-rays: A tool for advanced bulk investigations in materials science and physics |journal=Textures Microstruct. |year=2003 |volume=35 |issue=3/4 |pages=219–52 |doi=10.1080/07303300310001634952 |doi-access=free }}</ref>
In materials science, crystallographic [texture](/source/texture_(crystalline)) (or preferred orientation) can be described using Euler angles. In texture analysis, the Euler angles provide a mathematical depiction of the orientation of individual crystallites within a polycrystalline material, allowing for the quantitative description of the macroscopic material.<ref>{{Citation
  |last1 = Kocks
  |first1 = U.F.
  |last2 = Tomé
  |first2 = C.N.
  |last3 = Wenk
  |first3 = H.-R.
  |title = Texture and Anisotropy: Preferred Orientations in Polycrystals and their effect on Materials Properties
  |publisher = [Cambridge](/source/Cambridge_University_Press)
  |year = 2000
  |isbn = 978-0-521-79420-6}}</ref>  
The most common definition of the angles is due to Bunge and corresponds to the ''ZXZ'' convention. However, that the application generally involves axis transformations of tensor quantities, i.e. passive rotations.  Thus the matrix that corresponds to the Bunge Euler angles is the transpose of that shown in the table above.<ref>{{Citation
  |last = Bunge
  |first = H.
  |title = Texture Analysis in Materials Science: Mathematical Methods
  |publisher = [Cuvillier Verlag](/source/Cuvillier_Verlag)
  |year = 1993
  |asin = B0014XV9HU}}</ref>

===Others===
thumb|right|Industrial robot operating in a foundry
Euler angles, normally in the Tait-Bryan convention, are also used in [robotics](/source/Industrial_robot) for speaking about the degrees of freedom of a [wrist](/source/Robotic_arm). They are also used in [electronic stability control](/source/electronic_stability_control) in a similar way, and also for pointing a camera in [3D modeling](/source/3D_modeling).

Gun fire control systems require corrections to gun-order angles (bearing and elevation) to compensate for deck tilt (pitch and roll). In traditional systems, a stabilizing gyroscope with a vertical spin axis corrects for deck tilt, and stabilizes the optical sights and radar antenna. However, gun barrels point in a direction different from the line of sight to the target, to anticipate target movement and fall of the projectile due to gravity, among other factors. Gun mounts roll and pitch with the deck plane, but also require stabilization. Gun orders include angles computed from the vertical gyro data, and those computations involve Euler angles.

Euler angles are also used extensively in the quantum mechanics of angular momentum. In quantum mechanics, explicit descriptions of the representations of SO(3) are very important for calculations, and almost all the work has been done using Euler angles. In the early history of quantum mechanics, when physicists and chemists had a sharply negative reaction towards abstract group theoretic methods (called the ''Gruppenpest''), reliance on Euler angles was also essential for basic theoretical work.

Many mobile computing devices contain [accelerometer](/source/accelerometer)s which can determine these devices' Euler angles with respect to the earth's gravitational attraction.  These are used in applications such as games, [bubble level](/source/bubble_level) simulations, and [kaleidoscope](/source/kaleidoscope)s.{{citation needed|reason=accelerometers can measure orientation, yes; is there any evidence they use Euler angles for this?|date=May 2011}}

==See also==

* [3D projection](/source/3D_projection)
* [Rotation](/source/Rotation)
* [Axis-angle representation](/source/Axis-angle_representation)
* [Conversion between quaternions and Euler angles](/source/Conversion_between_quaternions_and_Euler_angles)
* [Davenport chained rotations](/source/Davenport_chained_rotations)
* [Euler's rotation theorem](/source/Euler's_rotation_theorem)
* [Gimbal lock](/source/Gimbal_lock)
* [Quaternion](/source/Quaternion)
* [Quaternions and spatial rotation](/source/Quaternions_and_spatial_rotation)
* [Rotation formalisms in three dimensions](/source/Rotation_formalisms_in_three_dimensions)
* [Spherical coordinate system](/source/Spherical_coordinate_system)

==References==
{{Reflist}}<!--added under references heading by script-assisted edit-->

==Bibliography==
* {{citation
 |last1= Biedenharn
 |first1= L. C.
 |last2= Louck
 |first2= J. D.
 |title= Angular Momentum in Quantum Physics
 |publisher= [Addison-Wesley](/source/Addison-Wesley)
 |place= Reading, MA
 |year= 1981
 |isbn= 978-0-201-13507-7
 }}
* {{citation
 |last1= Goldstein
 |first1= Herbert
 |author1-link= Herbert Goldstein
 |title= Classical Mechanics
 |edition= 2nd
 |publisher= Addison-Wesley
 |place= Reading, MA
 |year= 1980
 |isbn= 978-0-201-02918-5
 }}
* {{citation
 |last1= Gray
 |first1= Andrew
 |title= A Treatise on Gyrostatics and Rotational Motion
 |publisher= [Macmillan](/source/Macmillan_Publishers)
 |place= London
 |year= 1918
 |publication-date= 2007
 |isbn= 978-1-4212-5592-7
 }}
* {{citation
 |last1= Rose
 |first1= M. E.
 |title= Elementary Theory of Angular Momentum
 |publisher= [John Wiley & Sons](/source/John_Wiley_%26_Sons)
 |place= New York, NY
 |year= 1957
 |publication-date= 1995
 |isbn= 978-0-486-68480-2
 }}
* {{citation
 |last1= Symon
 |first1= Keith
 |title= Mechanics
 |publisher= Addison-Wesley
 |place= Reading, MA
 |year= 1971
 |isbn= 978-0-201-07392-8
 }}
* {{citation
 |last1= Landau
 |first1= L.D.
 |author1-link=Lev Landau
 |last2= Lifshitz
 |first2= E. M.
 |author2-link= Evgeny Lifshitz
 |title= Mechanics
 |edition= 3rd
 |publisher=  Butterworth-Heinemann
 |year= 1996
 |isbn= 978-0-7506-2896-9
 |location= Oxford
 }}

==External links==
{{Commons}}

* {{springer|title=Euler angles|id=p/e036390}}
* {{MathWorld|urlname=EulerAngles|title=Euler Angles}}
* David Eberly. [https://www.geometrictools.com/Documentation/EulerAngles.pdf Euler Angle Formulas], Geometric Tools
* An interactive tutorial on Euler angles available at https://www.mecademic.com/en/how-is-orientation-in-space-represented-with-euler-angles
* [https://web.archive.org/web/20130601130801/https://itunes.apple.com/us/app/eulerangles/id584911325 EulerAngles]{{snd}} an iOS app for visualizing in 3D the three rotations associated with Euler angles
* [https://sourceforge.net/projects/orilib Orientation Library]{{snd}} "orilib", a collection of routines for rotation / orientation manipulation, including special tools for crystal orientations
* Online tool to convert rotation matrices available at [https://www.andre-gaschler.com/rotationconverter rotation converter] (numerical conversion)
* Online tool to convert symbolic rotation matrices (dead, but still available from the [Wayback Machine](/source/Wayback_Machine)) [https://web.archive.org/web/20131208033145/http://vectoralgebra.info/eulermatrix.html symbolic rotation converter]
* {{cite book|first1=R. M. |last1=Brannon|url=http://iopscience.iop.org/book/978-0-7503-1454-1 |title=Rotation, Reflection, and Frame Change: Orthogonal tensors in computational engineering mechanics|publisher=IOP Publishing|year=2018}}
*[https://ntrs.nasa.gov/api/citations/19770019231/downloads/19770019231.pdf Euler Angles, Quaternions, and Transformation Matrices for Space Shuttle Analysis], NASA

{{Authority control}}

{{DEFAULTSORT:Euler Angles}}
Category:Rotation in three dimensions
Category:Euclidean symmetries
Category:Angle
Category:Analytic geometry

---
Adapted from the Wikipedia article [Euler angles](https://en.wikipedia.org/wiki/Euler_angles) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Euler_angles?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
