Infinitesimal rotation matrix

From HandWiki
Revision as of 15:29, 6 February 2024 by AIposter (talk | contribs) (link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

An infinitesimal rotation matrix or differential rotation matrix is a matrix representing an infinitely small rotation. While a rotation matrix is an orthogonal matrix [math]\displaystyle{ R^\mathsf{T} = R^{-1} }[/math] representing an element of [math]\displaystyle{ SO(n) }[/math] (the special orthogonal group), the differential of a rotation is a skew-symmetric matrix [math]\displaystyle{ A^\mathsf{T} = -A }[/math] in the tangent space [math]\displaystyle{ \mathfrak{so}(n) }[/math] (the special orthogonal Lie algebra), which is not itself a rotation matrix.

An infinitesimal rotation matrix has the form

[math]\displaystyle{ I + d\theta \, A, }[/math]

where [math]\displaystyle{ I }[/math] is the identity matrix, [math]\displaystyle{ d\theta }[/math] is vanishingly small, and [math]\displaystyle{ A \in \mathfrak{so}(n). }[/math]

For example, if [math]\displaystyle{ A = L_x, }[/math] representing an infinitesimal three-dimensional rotation about the x-axis, a basis element of [math]\displaystyle{ \mathfrak{so}(3), }[/math]

[math]\displaystyle{ dL_{x} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & -d\theta \\ 0 & d\theta & 1 \end{bmatrix}. }[/math]

The computation rules for infinitesimal rotation matrices are as usual except that infinitesimals of second order are routinely dropped. With these rules, these matrices do not satisfy all the same properties as ordinary finite rotation matrices under the usual treatment of infinitesimals.[1] It turns out that the order in which infinitesimal rotations are applied is irrelevant.

Discussion

An infinitesimal rotation matrix is a skew-symmetric matrix where:

  • As any rotation matrix has a single real eigenvalue, which is equal to +1, the corresponding eigenvector defines the rotation axis.
  • Its module defines an infinitesimal angular displacement.

The shape of the matrix is as follows: [math]\displaystyle{ A = \begin{pmatrix} 1 & -d\phi_z(t) & d\phi_y(t) \\ d\phi_z(t) & 1 & -d\phi_x(t) \\ -d\phi_y(t) & d\phi_x(t) & 1 \\ \end{pmatrix} }[/math]

Associated quantities

Associated to an infinitesimal rotation matrix [math]\displaystyle{ A }[/math] is an infinitesimal rotation tensor [math]\displaystyle{ d\Phi(t) = A - I }[/math]:

[math]\displaystyle{ d\Phi(t) = \begin{pmatrix} 0 & -d\phi_z(t) & d\phi_y(t) \\ d\phi_z(t) & 0 & -d\phi_x(t) \\ -d\phi_y(t) & d\phi_x(t) & 0 \\ \end{pmatrix} }[/math]

Dividing it by the time difference yields the angular velocity tensor:

[math]\displaystyle{ \Omega = \frac{d\Phi(t)}{dt} = \begin{pmatrix} 0 & -\omega_z(t) & \omega_y(t) \\ \omega_z(t) & 0 & -\omega_x(t) \\ -\omega_y(t) & \omega_x(t) & 0 \\ \end{pmatrix} }[/math]

Order of rotations

These matrices do not satisfy all the same properties as ordinary finite rotation matrices under the usual treatment of infinitesimals .[2] To understand what this means, consider

[math]\displaystyle{ dA_{\mathbf{x}} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & -d\theta \\ 0 & d\theta & 1 \end{bmatrix}. }[/math]

First, test the orthogonality condition, QTQ = I. The product is

[math]\displaystyle{ dA_\mathbf{x}^\textsf{T} \, dA_\mathbf{x} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 + d\theta^2 & 0 \\ 0 & 0 & 1 + d\theta^2 \end{bmatrix}, }[/math]

differing from an identity matrix by second order infinitesimals, discarded here. So, to first order, an infinitesimal rotation matrix is an orthogonal matrix.

Next, examine the square of the matrix,

[math]\displaystyle{ dA_{\mathbf{x}}^2 = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 - d\theta^2 & -2d\theta \\ 0 & 2\,d\theta & 1 - d\theta^2 \end{bmatrix}. }[/math]

Again discarding second order effects, note that the angle simply doubles. This hints at the most essential difference in behavior, which we can exhibit with the assistance of a second infinitesimal rotation,

[math]\displaystyle{ dA_\mathbf{y} = \begin{bmatrix} 1 & 0 & d\phi \\ 0 & 1 & 0 \\ -d\phi & 0 & 1 \end{bmatrix}. }[/math]

Compare the products dAx dAy to dAydAx,

[math]\displaystyle{ \begin{align} dA_{\mathbf{x}}\,dA_{\mathbf{y}} &= \begin{bmatrix} 1 & 0 & d\phi \\ d\theta\,d\phi & 1 & -d\theta \\ -d\phi & d\theta & 1 \end{bmatrix} \\ dA_{\mathbf{y}}\,dA_{\mathbf{x}} &= \begin{bmatrix} 1 & d\theta\,d\phi & d\phi \\ 0 & 1 & -d\theta \\ -d\phi & d\theta & 1 \end{bmatrix}. \\ \end{align} }[/math]

Since [math]\displaystyle{ d\theta \, d\phi }[/math] is second-order, we discard it: thus, to first order, multiplication of infinitesimal rotation matrices is commutative. In fact,

[math]\displaystyle{ dA_{\mathbf{x}}\,dA_{\mathbf{y}} = dA_{\mathbf{y}}\,dA_{\mathbf{x}}, }[/math]

again to first order. In other words, the order in which infinitesimal rotations are applied is irrelevant.

This useful fact makes, for example, derivation of rigid body rotation relatively simple. But one must always be careful to distinguish (the first order treatment of) these infinitesimal rotation matrices from both finite rotation matrices and from Lie algebra elements. When contrasting the behavior of finite rotation matrices in the Baker–Campbell–Hausdorff formula above with that of infinitesimal rotation matrices, where all the commutator terms will be second order infinitesimals one finds a bona fide vector space. Technically, this dismissal of any second order terms amounts to Group contraction.

Generators of rotations

Main pages: Rotation matrix, Rotation group SO(3), and Infinitesimal transformation

Suppose we specify an axis of rotation by a unit vector [x, y, z], and suppose we have an infinitely small rotation of angle Δθ about that vector. Expanding the rotation matrix as an infinite addition, and taking the first order approach, the rotation matrix ΔR is represented as:

[math]\displaystyle{ \Delta R = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} + \begin{bmatrix} 0 & z & -y \\ -z & 0 & x \\ y & -x & 0 \end{bmatrix}\,\Delta \theta = I + A\,\Delta\theta. }[/math]

A finite rotation through angle θ about this axis may be seen as a succession of small rotations about the same axis. Approximating Δθ as θ/N, where N is a large number, a rotation of θ about the axis may be represented as:

[math]\displaystyle{ R = \left(I + \frac{A\theta}{N}\right)^N \approx e^{A\theta}. }[/math]

It can be seen that Euler's theorem essentially states that all rotations may be represented in this form. The product is the "generator" of the particular rotation, being the vector (x, y, z) associated with the matrix A. This shows that the rotation matrix and the axis-angle format are related by the exponential function.

One can derive a simple expression for the generator G. One starts with an arbitrary plane[3] defined by a pair of perpendicular unit vectors a and b. In this plane one can choose an arbitrary vector x with perpendicular y. One then solves for y in terms of x and substituting into an expression for a rotation in a plane yields the rotation matrix R, which includes the generator G = baTabT.

[math]\displaystyle{ \begin{align} x &= a \cos\left( \alpha \right) + b \sin\left( \alpha \right) \\ y &= -a \sin\left( \alpha \right) + b \cos\left( \alpha \right) \\ \cos\left( \alpha \right) &= a^\mathrm{T} x \\ \sin\left( \alpha \right) &= b^\mathrm{T} x \\ y &= -ab^\mathrm{T} x + ba^\mathrm{T} x = \left( ba^\mathrm{T} - ab^\mathrm{T} \right)x \\ \\ x' &= x \cos\left( \beta \right) + y \sin\left( \beta \right) \\ &= \left[ I \cos\left( \beta \right) + \left( ba^\mathrm{T} - ab^\mathrm{T} \right) \sin\left( \beta \right) \right]x \\ \\ R &= I \cos\left( \beta \right) + \left( ba^\mathrm{T} - ab^\mathrm{T} \right) \sin\left( \beta \right) \\ &= I \cos\left( \beta \right) + G \sin\left( \beta \right) \\ \\ G &= ba^\mathrm{T} - ab^\mathrm{T} \\ \end{align} }[/math]

To include vectors outside the plane in the rotation one needs to modify the above expression for R by including two projection operators that partition the space. This modified rotation matrix can be rewritten as an exponential function.

[math]\displaystyle{ \begin{align} P_{ab} &= -G^2 \\ R &= I - P_{ab} + \left[ I \cos\left( \beta \right) + G \sin\left( \beta \right) \right] P_{ab} = e^{G\beta} \\ \end{align} }[/math]

Analysis is often easier in terms of these generators, rather than the full rotation matrix. Analysis in terms of the generators is known as the Lie algebra of the rotation group.

Exponential map

Connecting the Lie algebra to the Lie group is the exponential map, which is defined using the standard matrix exponential series for eA[4] For any skew-symmetric matrix A, exp(A) is always a rotation matrix.[lower-alpha 1]

An important practical example is the 3 × 3 case. In rotation group SO(3), it is shown that one can identify every Aso(3) with an Euler vector ω = θ u, where u = (x,y,z) is a unit magnitude vector.

By the properties of the identification su(2) ≅ R3, u is in the null space of A. Thus, u is left invariant by exp(A) and is hence a rotation axis.

Using Rodrigues' rotation formula on matrix form with θ = ​θ2 + ​θ2, together with standard double angle formulae one obtains,

[math]\displaystyle{ \begin{align} \exp( A ) &{}= \exp(\theta(\boldsymbol{u\cdot L})) = \exp \left( \left[\begin{smallmatrix} 0 & -z \theta & y \theta \\ z \theta & 0&-x \theta \\ -y \theta & x \theta & 0 \end{smallmatrix}\right] \right)= \boldsymbol{I} + 2\cos\frac{\theta}{2}\sin\frac{\theta}{2}~\boldsymbol{u\cdot L} + 2\sin^2\frac{\theta}{2} ~(\boldsymbol{u\cdot L} )^2 , \end{align} }[/math]

This is the matrix for a rotation around axis u by the angle θ in half-angle form. For full detail, see exponential map SO(3).

Notice that for infinitesimal angles second order terms can be ignored and remains exp(A) = I + A

Relationship to skew-symmetric matrices

Skew-symmetric matrices over the field of real numbers form the tangent space to the real orthogonal group [math]\displaystyle{ O(n) }[/math] at the identity matrix; formally, the special orthogonal Lie algebra. In this sense, then, skew-symmetric matrices can be thought of as infinitesimal rotations.

Another way of saying this is that the space of skew-symmetric matrices forms the Lie algebra [math]\displaystyle{ o(n) }[/math] of the Lie group [math]\displaystyle{ O(n). }[/math] The Lie bracket on this space is given by the commutator:

[math]\displaystyle{ [A, B] = AB - BA.\, }[/math]

It is easy to check that the commutator of two skew-symmetric matrices is again skew-symmetric:

[math]\displaystyle{ \begin{align} {[}A, B{]}^\textsf{T} &= B^\textsf{T} A^\textsf{T} - A^\textsf{T} B^\textsf{T} \\ &= (-B)(-A) - (-A)(-B) = BA - AB = -[A, B] \, . \end{align} }[/math]

The matrix exponential of a skew-symmetric matrix [math]\displaystyle{ A }[/math] is then an orthogonal matrix [math]\displaystyle{ R }[/math]:

[math]\displaystyle{ R = \exp(A) = \sum_{n=0}^\infty \frac{A^n}{n!}. }[/math]

The image of the exponential map of a Lie algebra always lies in the connected component of the Lie group that contains the identity element. In the case of the Lie group [math]\displaystyle{ O(n), }[/math] this connected component is the special orthogonal group [math]\displaystyle{ SO(n), }[/math] consisting of all orthogonal matrices with determinant 1. So [math]\displaystyle{ R = \exp(A) }[/math] will have determinant +1. Moreover, since the exponential map of a connected compact Lie group is always surjective, it turns out that every orthogonal matrix with unit determinant can be written as the exponential of some skew-symmetric matrix. In the particular important case of dimension [math]\displaystyle{ n=2, }[/math] the exponential representation for an orthogonal matrix reduces to the well-known polar form of a complex number of unit modulus. Indeed, if [math]\displaystyle{ n=2, }[/math] a special orthogonal matrix has the form

[math]\displaystyle{ \begin{bmatrix} a & -b \\ b & \,a \end{bmatrix}, }[/math]

with [math]\displaystyle{ a^2 + b^2 = 1 }[/math]. Therefore, putting [math]\displaystyle{ a = \cos\theta }[/math] and [math]\displaystyle{ b = \sin\theta, }[/math] it can be written

[math]\displaystyle{ \begin{bmatrix} \cos\,\theta & -\sin\,\theta \\ \sin\,\theta & \,\cos\,\theta \end{bmatrix} = \exp\left(i\theta\begin{bmatrix} 0 & -1 \\ 1 & \,0 \end{bmatrix}\right), }[/math]

which corresponds exactly to the polar form [math]\displaystyle{ \cos \theta + i \sin \theta = e^{i \theta} }[/math] of a complex number of unit modulus.

The exponential representation of an orthogonal matrix of order [math]\displaystyle{ n }[/math] can also be obtained starting from the fact that in dimension [math]\displaystyle{ n }[/math] any special orthogonal matrix [math]\displaystyle{ R }[/math] can be written as [math]\displaystyle{ R = QSQ^\textsf{T}, }[/math] where [math]\displaystyle{ Q }[/math] is orthogonal and S is a block diagonal matrix with [math]\displaystyle{ \lfloor n/2\rfloor }[/math] blocks of order 2, plus one of order 1 if [math]\displaystyle{ n }[/math] is odd; since each single block of order 2 is also an orthogonal matrix, it admits an exponential form. Correspondingly, the matrix S writes as exponential of a skew-symmetric block matrix [math]\displaystyle{ \Sigma }[/math] of the form above, [math]\displaystyle{ S = \exp(\Sigma), }[/math] so that [math]\displaystyle{ R = Q\exp(\Sigma)Q^\textsf{T} = \exp(Q\Sigma Q^\textsf{T}), }[/math] exponential of the skew-symmetric matrix [math]\displaystyle{ Q\Sigma Q^\textsf{T}. }[/math] Conversely, the surjectivity of the exponential map, together with the above-mentioned block-diagonalization for skew-symmetric matrices, implies the block-diagonalization for orthogonal matrices.

See also

Notes

  1. Note that this exponential map of skew-symmetric matrices to rotation matrices is quite different from the Cayley transform discussed earlier, differing to 3rd order, [math]\displaystyle{ e^{2A} - \frac{I+A}{I-A} = - \frac{2}{3} A^3 +\mathrm{O} (A^4) ~. }[/math]
    Conversely, a skew-symmetric matrix A specifying a rotation matrix through the Cayley map specifies the same rotation matrix through the map exp(2 artanh A).

References

  1. (Goldstein Poole)
  2. (Goldstein Poole)
  3. in Euclidean space
  4. (Wedderburn 1934)

Sources