1 Introduction

Crystal orientation and how it varies is important when describing microstructures of materials [16]. When assessing structures that can vary their crystal orientation (dislocations, for example), it is often necessary to partition a rotation angle of the crystal orientation into components [79]. However, an established method for partitioning has not been shown in previous microstructural analyses. In this work, we discuss the partitioning of the rotation angle and show that the components around the coordinate axes are given by the elements of the logarithm of a rotation matrix. We also show examples of applications of the rotation components.

2 Analysis

2.1 The axis/angle pair

With respect to the \(x{-}y{-}z\) reference frame, certain crystal orientation can be expressed by a rotation angle \(\Phi \) around a unit vector \(\mathbf{n}=\left( {h,k,l} \right) \) [10]. The set of \(\mathbf{n}\) and \(\Phi \) is the well-known axis/angle pair. Figure 1 shows a model demonstrating the crystal rotation given by the axis/angle pair. A crystal with the \(x', y'\) and \(z'\) coordinate axes is located on the top of the model and the axis/angle pair determines the primed axes with respect to the reference frame. The primed and the unprimed axes are parallel when \(\Phi \) is null.

Fig. 1
figure 1

A model showing the rotation of a crystal with respect to the \(x{-}y{-}z\) reference frame given by the axis/angle pair \(\left( {\mathbf{n}, \Phi } \right) \)

The crystal orientation can also be expressed by a rotation matrix \(\mathbf{R}\). Matrix notation of Rodrigues’ formula gives the elements of \(\mathbf{R}\) corresponding to the axis/angle pair \(\left( {\mathbf{n},\hbox { }\Phi } \right) \) [10, 11]:

$$\begin{aligned} \mathbf{R}=\left( {{\begin{array}{lll} {(1-h^{2})\cos \Phi +h^{2}}&{}\quad {hk(1-\cos \Phi )-l\sin \Phi }&{}\quad {lh(1-\cos \Phi )+k\sin \Phi }\\ {hk(1-\cos \Phi )+l\sin \Phi }&{}\quad {(1-k^{2})\cos \Phi +k^{2}}&{}\quad {kl(1-\cos \Phi )-h\sin \Phi }\\ {lh(1-\cos \Phi )-k\sin \Phi }&{}\quad {kl(1-\cos \Phi )+h\sin \Phi }&{}\quad {(1-l^{2})\cos \Phi +l^{2}}\\ \end{array} }} \right) .\nonumber \\ \end{aligned}$$
(1)

2.2 The Euler angles

Any \(\mathbf{R}\) can be written as a product of appropriate successive rotations around coordinate axes. Here we consider the rotation matrices \(\mathbf{R}_x , \mathbf{R}_y \), and \(\mathbf{R}_z \) which are those around the coordinate axes xy and z as much as \(\theta , \phi \) and \(\psi \), respectively. When \(\mathbf{R}\) is a product of \(\mathbf{R}_x , \mathbf{R}_y \) and \(\mathbf{R}_z \) in the order given by

$$\begin{aligned} \mathbf{R}=\mathbf{R}_x \left( \theta \right) \mathbf{R}_y \left( \phi \right) \mathbf{R}_z \left( \psi \right) , \end{aligned}$$
(2)

we have Fig. 2 as a graphical or mechanical representation of \(\mathbf{R}\) [12]. The model in Fig. 2 consists of three rotation parts showing \(\mathbf{R}_x , \mathbf{R}_y \), and \(\mathbf{R}_z \) connected in series. Note the correspondence between the right-hand-side of (2) and the order of the rotation parts in Fig. 2. Similar models have been considered by Onaka et al. [13] as a goniometer-stage model, which is convenient to understand the combination of rotations [12]. Equation (2) and the model shown in Fig. 2 are a set of expressions for the same \(\mathbf{R}\). The matrix notation of \(\mathbf{R}\) corresponding to the model shown in Fig. 1 is derived in “Appendix 1”.

Fig. 2
figure 2

A goniometer-stage model showing the rotation of a crystal with respect to the \(x{-}y{-}z\) reference given by (2) with the rotation angles \(\theta , \phi \) and \(\psi \)

Equation (2) and Fig. 2 represent successive rotations around coordinate axes given by the concept of the Euler angles. However, the product of matrices is not commutative generally. Even if the angles \(\theta , \phi \) and \(\psi \) are fixed, the value of the product of \(\mathbf{R}_x , \mathbf{R}_y \), and \(\mathbf{R}_z \) depends on the order of the three rotations. In addition to that shown by (2) and Fig. 2, many kinds of the Euler angles exist, depending on the selection of the rotation axes and their order [14]. For example, the Bunge Euler angles, or the Euler angles due to Bunge, used for texture analysis, are those given by the successive rotations in the order of \(\mathbf{R}_z , \mathbf{R}_x \) and \(\mathbf{R}_z \). When we treat a set of the angles in the framework of the Euler angles, it is necessary to specify the rotation axes and their order.

2.3 Logarithm lnR of rotation matrix R

Exponential and logarithmic functions of matrices are necessary tools to consider rotations in the framework of the group theory [1517]. The logarithm \(\ln \mathbf{R}\) of the rotation matrix \(\mathbf{R}\) is a skew symmetric tensor and \(\ln \mathbf{R}\) of \(\mathbf{R}\) given by (1) is written as [16]

$$\begin{aligned} \ln \mathbf{R}=\left( {{\begin{array}{lll} 0&{}\quad {-l\Phi }&{}\quad {k\Phi } \\ {l\Phi }&{}\quad 0&{}\quad {-h\Phi } \\ {-k\Phi }&{}\quad {h\Phi }&{}\quad 0 \\ \end{array} }} \right) . \end{aligned}$$
(3)

The relationship between \(\mathbf{R}\) and \(\ln \mathbf{R}\) is generally given by [17]

$$\begin{aligned} \mathbf{R}=\mathop {\lim }\limits _{p\rightarrow \infty } \left( {\mathbf{E}+\frac{\ln \mathbf{R}}{p}} \right) ^{p}, \end{aligned}$$
(4)

where \(\mathbf{E}\) is a unit matrix. From (3) and (4), we have

$$\begin{aligned} \mathbf{R}\approx \left( {\delta \mathbf{R}} \right) ^{N} \end{aligned}$$
(5)

and

$$\begin{aligned} \delta \mathbf{R}=\mathbf{E}+\frac{\ln \mathbf{R}}{N}=\left( {{\begin{array}{lll} 1&{}\quad {-l\Phi {/}N}&{}\quad {k\Phi {/}N} \\ {l\Phi {/}N}&{}\quad 1&{}\quad {-h\Phi {/}N} \\ {-k\Phi {/}N}&{}\quad {h\Phi {/}N}&{} \quad 1 \\ \end{array} }} \right) , \end{aligned}$$
(6)

where N is a sufficiently large positive integer. Equation (5) means that the \(N\, (\gg 1)\) times successive operations of \(\delta \mathbf{R}\) are equivalent to \(\mathbf{R}\). Hence, we have Fig. 3 as a graphical representation of \(\mathbf{R}\) given by (5), where spherical units corresponding to \(\delta \mathbf{R}\) are stacked N times.

Fig. 3
figure 3

A goniometer-stage model showing the rotation of a crystal with respect to the \(x{-}y{-}z\) reference given by (5) and (6) with the log angles \(h\Phi , k\Phi \) and \(l\Phi \)

The operation \(\delta \mathbf{R}\) given by the third side of (6) can be represented by the three parts connected in series in the spherical unit in Fig. 3. This is because when the off-diagonal elements in the third side of (6) are small, we have

$$\begin{aligned}&\mathbf{R}_x \left( {\delta \theta } \right) \mathbf{R}_y \left( {\delta \phi } \right) \mathbf{R}_z \left( {\delta \psi } \right) \nonumber \\ \quad&=\left( {{\begin{array}{lll} 1&{}\quad 0&{}\quad 0 \\ 0&{}\quad {\cos \left( {\delta \theta } \right) }&{}\quad {-\sin \left( {\delta \theta } \right) } \\ 0&{}\quad {\sin \left( {\delta \theta } \right) }&{}\quad {\cos \left( {\delta \theta } \right) } \\ \end{array} }} \right) \left( {{\begin{array}{lll} {\cos \left( {\delta \phi } \right) }&{}\quad 0&{}\quad {\sin \left( {\delta \phi } \right) } \\ 0&{}\quad 1&{}\quad 0 \\ {-\sin \left( {\delta \phi } \right) }&{} \quad 0&{}\quad {\cos \left( {\delta \phi } \right) } \\ \end{array} }} \right) \nonumber \\&\qquad \left( {{\begin{array}{lll} {\cos \left( {\delta \psi } \right) }&{}\quad {-\sin \left( {\delta \psi } \right) }&{}\quad 0 \\ {\sin \left( {\delta \psi } \right) }&{}\quad {\cos \left( {\delta \psi } \right) }&{}\quad 0 \\ 0&{}\quad 0&{}\quad 1 \\ \end{array} }} \right) \nonumber \\ \quad&\approx \left( {{\begin{array}{lll} 1&{}\quad 0&{}\quad 0 \\ 0&{}\quad 1&{}\quad {-\delta \theta } \\ 0&{}\quad {\delta \theta }&{}\quad 1 \\ \end{array} }} \right) \left( {{\begin{array}{lll} 1&{}\quad 0&{} \quad {\delta \phi } \\ 0&{} \quad 1&{} \quad 0 \\ {-\delta \phi }&{}\quad 0&{}\quad 1 \\ \end{array} }} \right) \left( {{\begin{array}{lll} 1&{} \quad {-\delta \psi }&{}\quad 0 \\ {\delta \psi }&{}\quad 1&{}\quad 0 \\ 0&{}\quad 0&{} \quad 1 \\ \end{array} }} \right) \nonumber \\ \quad&\approx \left( {{\begin{array}{lll} 1&{}\quad {-\delta \psi }&{}\quad {\delta \phi } \\ {\delta \psi }&{}\quad 1&{} \quad {-\delta \theta } \\ {-\delta \phi }&{}\quad {\delta \theta }&{}\quad 1 \\ \end{array} }} \right) . \end{aligned}$$
(7)

The third and fourth sides of (7) are the results obtained by neglecting higher-order terms of infinitesimal \(\delta \theta , \delta \phi \) and \(\delta \psi \). Equation (5) is satisfied even if the third side of (6) is replaced with the product of matrices given by the type of second or third side of (7). Moreover, the order of the three parts in the spherical units in Fig. 3 can be changed since we can consider the product \(\mathbf{R}_x \left( {\delta \theta } \right) \mathbf{R}_y \left( {\delta \phi } \right) \mathbf{R}_z \left( {\delta \psi } \right) \) commutative for infinitesimal \(\delta \theta , \delta \phi \) and \(\delta \psi \).

Fig. 4
figure 4

Schematic illustration showing materials containing dislocations. Materials containing grain boundaries composed of a the array of dislocations DA1 and b the array of dislocations DA2 that cause the rotations of the upper grain with respect to the lower grain as much as \(\omega _1 \) around the x-axis and \(\omega _2 \) around the y-axis, respectively. c A grain containing both of the dislocations of DA1 and DA2 dispersed in a local region. The rotation angles \(\omega _1 \) and \(\omega _2 \) are the log angles of the rotation matrix \(\mathbf{R}\) giving the orientation change above and below the region shown in (c)

Fig. 5
figure 5

Schematic illustration showing the changes of crystal orientations in a grain caused by dislocation walls DW1 and DW2

From the model of \(\mathbf{R}\) shown in Fig. 3, the elements \(h\Phi , k\Phi \) and \(l\Phi \) of \(\ln \mathbf{R}\) are interpreted as the sums of the divided rotation angles around the coordinate axes. The elements \(h\Phi , k\Phi \) and \(l\Phi \) that can be called the log angles are determined uniquely for certain \(\mathbf{R}\). Hence, we can treat the log angles \(h\Phi , k\Phi \) and \(l\Phi \) as the rotation components of \(\Phi \) around the coordinate axes xy and z.

Using the elements \(h\Phi , k\Phi \) and \(l\Phi \), we can construct a vector \(\mathbf{w}\) written as

$$\begin{aligned} \mathbf{w}=\left( {h\Phi ,\hbox { }k\Phi ,\hbox { }l\Phi } \right) . \end{aligned}$$
(8)

Since hk and l are the components of the unit vector \(\mathbf{n}\), the norm \(\left| \mathbf{w} \right| \) is equal to the angle \(\Phi \). \(\mathbf{R}\) and its logarithm \(\ln \mathbf{R}\) can also be written as [16]

$$\begin{aligned} \mathbf{R}=\exp \left( {{\hat{\mathbf{w}}}} \right) \end{aligned}$$
(9)

and

$$\begin{aligned} \ln \mathbf{R}={\hat{\mathbf{w}}}, \end{aligned}$$
(10)

where \({\hat{\mathbf{w}}}\) is the skew symmetric tensor of the right-hand-side of (3) and called the hat map of \(\mathbf{w}\) [16]. The vector \(\mathbf{w}\) is different from Rodrigues’ vector \(\mathbf{v}\) [10, 11, 18]. The definition of Rodrigues’ vector \(\mathbf{v}\) and \(\mathbf{R}\) expressed by \(\mathbf{v}\) are shown in the “Appendix 2”.

3 Examples of applications

3.1 Changes caused by dislocations in materials

Crystal orientation changes when defects such as dislocations are included in materials. Figure 4 show materials containing dislocations. There are grain boundaries composed of arrays of dislocations [19]. Figure 4a, b show materials having grain boundaries between two grains composed of the arrays of dislocations DA1 and DA2. As shown in these figures, here we assume that the effects of DA1 and DA2 are respectively the rotations of the upper grain with respect to the lower grain as much as \(\omega _1 \) around the x-axis and \(\omega _2 \) around the y-axis when they exist solely. When both of the dislocations of DA1 and DA2 are dispersed in a local region in a grain as shown in Fig. 4c, crystal orientation changes above and below the region. When \(\mathbf{R}\) is the rotation matrix giving the orientation change above and below the region, we can consider that the rotation angles \(\omega _1 \) and \(\omega _2 \) are the log angles of \(\mathbf{R}\). To discuss such rotations of crystal orientation caused by many defects in materials, the log angles considering the sums of the divided rotation angles may be significant. In other words, the log angles can be used as measures to discuss structures of defects in materials. Comparing other parameters to describe rotations such as the Euler angles or the axis/angle pair [20], this is a unique characteristic of the log angles.

3.2 Changes caused by dislocation walls in a grain

Dislocation walls in grains cause orientation changes across the walls [2, 3]. Figure 5 shows two dislocation walls DW1 and DW2 and the orientation changes \(\delta \mathbf{R}_1 :\left( {\mathbf{n}_1 ,\hbox { }\delta \Phi _1 } \right) \) and \(\delta \mathbf{R}_2 :\left( {\mathbf{n}_2 ,\hbox { }\delta \Phi _2 } \right) \) across DW1 and DW2, respectively. When the rotation angles \(\delta \Phi _1 \) and \(\delta \Phi _2 \) are small, the product of \(\delta \mathbf{R}_1 \) and \(\delta \mathbf{R}_2 \) are commutative and we have

$$\begin{aligned} \delta \mathbf{R}\approx \delta \mathbf{R}_1 \delta \mathbf{R}_2 \approx \delta \mathbf{R}_2 \delta \mathbf{R}_1 \end{aligned}$$
(11)

and

$$\begin{aligned} \ln \delta \mathbf{R}\approx \ln \delta \mathbf{R}_1 +\ln \delta \mathbf{R}_2. \end{aligned}$$
(12)

Then, among the following \(\mathbf{w}\) vectors giving the log angles for each crystal rotation:

$$\begin{aligned} \mathbf{w}= & {} \mathbf{n} \delta \Phi =\delta \Phi \left( {h, k, l} \right) \hbox { for }\delta \mathbf{R},\nonumber \\ \mathbf{w}_1= & {} \mathbf{n}_1 \delta \Phi _1 =\delta \Phi _1 \left( {h_1, k_1 , l_1 } \right) \hbox { for }\delta \mathbf{R}_1 ,\nonumber \\ \mathbf{w}_2= & {} \mathbf{n}_2 \delta \Phi _2 =\delta \Phi _2 \left( {h_2 , k_2 , l_2 } \right) \hbox { for }\delta \mathbf{R}_2 , \end{aligned}$$
(13)

we have the relationship

$$\begin{aligned} \mathbf{w}=\mathbf{w}_1 +\mathbf{w}_2 . \end{aligned}$$
(14)

These equations can be used to analyze crystal rotations caused by certain dislocation walls. For example, when we know crystallographic directions \(\mathbf{n}_1 \) and \(\mathbf{n}_2 \), we can evaluate the ratio of the contributions of DW1 and DW2 from \(\mathbf{w}\).

4 Conclusions

With respect to a reference frame, certain crystal orientation can be expressed by a rotation angle \(\Phi \) around a unit vector \(\mathbf{n}=\left( {h,\hbox { }k,\hbox { }l} \right) \). We have discussed partitioning of \(\Phi \) into rotation components around coordinate axes of the reference frame. For a rotation matrix \(\mathbf{R}\) corresponding to the axis/angle pair, its logarithm \(\ln \mathbf{R}\) is a skew symmetric tensor with three independent elements, \(h\Phi , k\Phi \) and \(l\Phi \). We have shown that these elements can be interpreted to be sums of the divided rotation angles around the coordinate axes. The elements \(h\Phi , k\Phi \) and \(l\Phi \) of \(\ln \mathbf{R}\), called the log angles can be used as the rotation components to evaluate crystal orientation in materials.