Rotation matrix

from Wikipedia, the free encyclopedia

A rotation matrix or rotation matrix is a real , orthogonal matrix with determinant  +1. Its multiplication by a vector can be interpreted as a (so-called active) rotation of the vector in Euclidean space or as a passive rotation of the coordinate system , then with the opposite direction of rotation. In the case of passive rotation, the vector does not change, it just has a representation (coordinate values) in the old and in the new coordinate system. These are always rotations around the origin , as the multiplication of a matrix with the zero vector maps this onto itself .

In odd dimensions more vectors are mapped onto itself by rotation . In three-dimensional space it is a straight line, the axis of rotation. A rotation matrix contains trigonometric expressions of the rotation angle and the orientation of the invariant subspace. In even dimensions the rotation matrix does not have to have a real eigenvalue .

Rotation matrix of level ℝ²

In the Euclidean plane , the rotation of a vector (active rotation, conversion into the vector ) around a fixed origin around the angle mathematically positive ( counterclockwise ) is achieved by multiplying it with the rotation matrix :

Every rotation around the origin is a linear map . As with any linear mapping, it is therefore sufficient to define the images of the elements of any base to define the overall mapping . If the standard basis is selected, the images of the basis vectors are precisely the columns of the associated mapping matrix .

Here acts on the two basis vectors as follows:

For the rotation matrix of a rotation by this results

To rotate a point by the angle , one can simply rotate the associated position vector (written as a column vector) by applying the above formula to obtain the position vector of the new point :

This matrix multiplication gives:

With passive rotation, the coordinate system is rotated mathematically positive. The vector appears in the rotated coordinate system as a vector rotated back clockwise . Its coordinates in the rotated coordinate system can be found by multiplying with the matrix :

The rotation matrix for passive rotation is:

The concatenation of two positive rotations around the angle or is again a rotation, namely around the angle (see also circle group ). The matrix belonging to the chaining can be calculated from the two individual rotation matrices by means of multiplication :

Rotary matrices of space ℝ³

The elementary rotations in are rotations around the usual Cartesian coordinate axes . The following matrices rotate a point (or vector) around the angle with fixed coordinate axes. In physics, rotations of the coordinate system are often used, then the signs of all sine entries must be changed in the matrices below . Rotating a vector by a certain angle in a coordinate system leads to the same column vectors as rotating the coordinate system by the same angle in the opposite direction (rotation by negative angle).

The matrices apply to both right and left systems. Rotations with positive angles of rotation are counterclockwise rotations in the right system. In the left-hand system, it is turned clockwise for positive angles. The direction of rotation results when you look at the origin against the positive axis of rotation. A right-hand rule can also be used in right-hand systems: If the thumb of the right hand points in the direction of the axis of rotation, the remaining fingers that are bent indicate the direction of the angle of rotation. As a result, the sign of the sine entries of the rotation around the -axis is different from that of the other two matrices.

  • Rotation around the axis:
  • Rotation around the axis:
  • Rotation around the axis:
  • Rotation around a straight line through the origin , the direction and orientation of which is given by the arbitrary unit vector :

This arbitrary rotation can also be achieved via three successive rotations with the Euler angles around certain coordinate axes, so that this matrix can also be formulated with these angles.

A rotation around any axis (with ) around the angle can be written as:

With the Graßmann identity for double cross products and the dyadic product, this can be transformed into:

Where is the identity matrix and are the canonical unit vectors. is the cross product matrix of . The term in curly brackets represents the rotation matrix in . In the component representation it is written as follows:

There are the Kronecker Delta and the Levi Civita symbol .

A rotation matrix im has the eigenvalue  1, this is not degenerate, and the associated eigenspace forms the axis of rotation.

Parameterization

Several parameterizations are known for rotary matrices in three-dimensional space:

Therein is the angle of rotation, the unit vector in the direction of the axis of rotation and is the cross product matrix of the rotation vector. The listing gives four representations of the same rotation matrix that rotates around the axis of rotation with an angle .

Rotary matrices of space ℝⁿ

In -dimensional space, a rotation is not defined by an axis of rotation, but by the plane that is mapped onto itself during the rotation. This also applies in two dimensions, where the “axis” of rotation is only a point. Let im be the vectors and two mutually orthogonal unit vectors (i.e. and ), which accordingly span a plane. Be , and the identity matrix. Then the matrix mediates

a rotation by the angle in the im . It was

and defined. The representation results from the identities

such as

System of the rotary dies

Of each is on and perpendicular vector (with pictured) to itself. Hence these vectors are eigenvectors of with eigenvalue 1. Two eigenvalues ​​of are with the eigenvectors in which the imaginary unit is defined. The angle of rotation and the plane of rotation can be reconstructed from these complex eigenvalues ​​and eigenvectors. Furthermore, the following applies when rotating in one plane:

However, a rotation in dimensional space can take place simultaneously in (if even) or (if odd) planes with several different angles. As a result, in even dimensions it can happen that a general rotation matrix does not have the eigenvalue 1.

general definition

A matrix with real components is called a rotation matrix if it

a) the length of vectors and the angles between vectors is given (expressed by the scalar product ), if so for all vectors and des :

and

b) is orientation- preserving, if so applies.

Rotary matrices are orthogonal matrices with the determinant +1.

properties

Further properties of rotary dies :

  • ( orthogonal ), follows from the first part of the definition:
  • (The transpose and inverse of R are equal), follows from the orthogonality.
  • ( Determinant ), corresponds to the second part of the definition.
  • The alignment of the coordinate system ( right or left system) is retained as it is positive .
  • The combination of a rotation with a subsequent rotation is done with the matrix . Because the matrix multiplication is not commutative , the reverse order generally leads to a different result. The order is only interchangeable for infinitesimally small rotations, see # Commutativity of infinitesimal rotations .
  • In addition to the algebraic structure of a group , the set of all rotation matrices also has a topological structure : The operations multiplication and inversion of rotation matrices are continuously differentiable functions of their parameters, the rotation angle. The forms a differentiable manifold and is therefore a Lie group . This has the dimension .
  • A Lie algebra is linked to the Lie group , a vector space with a bilinear alternating product ( Lie bracket ), the vector space being closed with respect to the Lie bracket. This vector space is isomorphic to the tangent space on the neutral element of the (neutral element is the identity matrix), so that applies in particular . The Lie algebra consists of all skew-symmetric matrices and its basis are the so-called generators. The exponential mapping links the Lie algebra with the Lie group:

Especially for rotations in one plane, the following applies to rotation matrices :

  • Two vectors span the plane of rotation and vectors are mapped onto themselves. A vector is mapped onto itself in three dimensions, which then generates the axis of rotation.
  • The vectors perpendicular to the plane of rotation are the solution of
Since is not regular for odd dimensions , the calculation of these vectors is to be carried out via an eigenvalue decomposition . The vectors are eigenvectors of with eigenvalue 1. In even dimensions there does not have to be an eigenvector with eigenvalue 1, which is clear in the case .
  • The angle of rotation results from the scalar product:
with in the plane of rotation, in three dimensions that is orthogonal to the axis of rotation, or from the track of the rotation matrix
(See also formula for the matrix of a rotation around a general axis above).

Infinitesimal rotations

If one considers rotations by infinitesimally small angles , it is sufficient to develop the angular functions of the finite rotation up to the first order ( or ). Infinitesimal rotations can now be represented as

where represents the identity matrix and the generator of an infinitesimal rotation. The generators are the derivatives of the rotation matrix at the point of identity and form the basis of Lie algebra (see example below).

A finite rotation can be generated by executing infinitesimal rotations one after the other:

The exponential function was identified. The exponential function of matrices is defined by the series representation, as shown in the last step. It can be shown that generators must be free of traces :

and are skew symmetric:

With the concept of generators, the local group structure in the vicinity of the identical mapping can be expressed through the infinitesimal rotations. Because of the relationship via the exponential function, a multiplication of rotary matrices becomes an addition of their generators. The generators form a vector space of the same dimension as the rotation group ; thus there are linearly independent generators of the group .

The generators together with the Lie product ( commutator ) form the so-called Lie algebra . An algebra has two group structures, the commutative addition and a multiplication (Lie product). The commutator of two generators is again in the set of generators (isolation):

The coefficients are characteristic constants of the group. The Jacobi identity applies to all double commutators :

Lie groups play an important role in theoretical physics, e.g. B. in quantum mechanics (see angular momentum operator ) or elementary particle physics .

Level ℝ²

For rotations in, the infinitesimal rotation and its generator are:

For there is only one linearly independent generators.

A finite rotation can be represented using the exponential function of the angle of rotation and the generators. This is shown here in another way: The rotation matrix is broken down into a symmetrical and an antisymmetrical part and the trigonometric functions are represented by their Taylor series.

With or follows the result known from above:

Room ℝ³

For rotations around the Cartesian coordinate axes, the infinitesimal rotations and their generators are:

For there are three linearly independent generators. Compared to finite rotations, infinitesimal rotations interchange with one another (the commutator vanishes in first order in ).

An infinitesimal rotation and its generating line around any axis (with ) can also be written as:

This shows that any generator is always a skew-symmetric matrix.

A finite rotation around any axis (with ) around the angle can be represented as follows:

The generatrix , , form the so-called. Lie algebra , d. That is, the commutator (Lie product) of two generators is again in the set of generators:

and also for all cyclic permutations of the indices.

Commutativity of infinitesimal rotations

Two infinitesimal rotations are interchangeable in their order, which is generally not the case with large rotations, see #Properties . This can be seen from the product of two infinitesimal rotations and

because the terms that are proportional to the product of two infinitesimal quantities can be neglected compared to the others.

Determination of the rotation between two positions

The position of a body in two positions is given. In addition, the position change was made by rotating around the origin. We are looking for a rotation matrix that describes this rotation. In the -dimensional space, the position of the body is described by points that form the matrix . The starting position will be described by , the twisted position by . Then applies to the rotation

If regular, then the rotation matrix can be determined simply by multiplying to the right with :

If it is not regular, because for example one of the points of the body is at the origin, then the inverse cannot be formed. Even the pseudo inverse does not achieve the goal here. However, a singular value decomposition can be carried out. For a matrix this provides the unitary matrices and the diagonal matrix of the singular values:

One can show that the singular values ​​are invariant over a rotation. So it applies and with it

See also

literature

  • Gerd Fischer : Linear Algebra. An introduction for first-year students. 17th updated edition. Vieweg + Teubner, Wiesbaden 2010, ISBN 978-3-8348-0996-4 (Studies. Basic course in mathematics).
  • Karlheinz Goldhorn: Modern mathematical methods of physics. Volume 2. Springer, Berlin a. a. 2010, ISBN 978-3-642-05184-5 (Springer textbook).
  • Max Koecher : Linear Algebra and Analytical Geometry. 4th supplemented and updated edition. Springer, Berlin a. a. 1997, ISBN 3-540-62903-3 (Basic knowledge of mathematics - Springer textbook).
  • Florian Scheck : Theoretical Physics. Volume 1: Mechanics, from Newton's Laws to Deterministic Chaos. 8th edition. Springer, Berlin a. a. 2007, ISBN 978-3-540-71377-7 .
  • J. Hanson: Rotations in three, four, and five dimensions . arxiv : 1103.5263 .

Web links