A rotation is a linear transformation (usually in three-dimensional space with a positive definite scalar product) that preserves scalar products. Usually a determinant of +1 is also postulated, else the transformation is called a reflection. If
Error creating thumbnail: Unable to save thumbnail to destination
and
Error creating thumbnail: Unable to save thumbnail to destination
are (three-dimensional) vectors, R is a rotation and
Error creating thumbnail: Unable to save thumbnail to destination
and
Error creating thumbnail: Unable to save thumbnail to destination
are the rotated vectors, then
Error creating thumbnail: Unable to save thumbnail to destination
Let
Error creating thumbnail: Unable to save thumbnail to destination
and
Error creating thumbnail: Unable to save thumbnail to destination
be orthonormal basis vectors, i.e.
Error creating thumbnail: Unable to save thumbnail to destination
. Define matrix elements
Error creating thumbnail: Unable to save thumbnail to destination
. Then
Error creating thumbnail: Unable to save thumbnail to destination
The
Error creating thumbnail: Unable to save thumbnail to destination
matrix
Error creating thumbnail: Unable to save thumbnail to destination
which represents the rotation R, is an orthogonal matrix, since
Error creating thumbnail: Unable to save thumbnail to destination
If x1, x2, x3 are the components of the vector
Error creating thumbnail: Unable to save thumbnail to destination
with respect to the basis
Error creating thumbnail: Unable to save thumbnail to destination
,
Error creating thumbnail: Unable to save thumbnail to destination
then
Error creating thumbnail: Unable to save thumbnail to destination
In matrix notation,
Error creating thumbnail: Unable to save thumbnail to destination
where R is the
Error creating thumbnail: Unable to save thumbnail to destination
matrix defined above.
If the rotation R is followed by a second rotation S, the result is a third rotation Q= SR, defined by
Error creating thumbnail: Unable to save thumbnail to destination
In terms of
Error creating thumbnail: Unable to save thumbnail to destination
matrices the composition SR is simply the matrix product, since
Error creating thumbnail: Unable to save thumbnail to destination
The above formalism treats rotations as active transformations, i.e. the vectors are rotated and the basis vectors are kept fixed. The passive point of view is often adopted, where a vector
Error creating thumbnail: Unable to save thumbnail to destination
is not transformed, but its coordinates x1, x2, x3 change because the basis vectors are rotated. If
Error creating thumbnail: Unable to save thumbnail to destination
then the new coordinates
Error creating thumbnail: Unable to save thumbnail to destination
are defined by
Error creating thumbnail: Unable to save thumbnail to destination
or in matrix notation
Error creating thumbnail: Unable to save thumbnail to destination
If one passive rotation (coordinate transformation) U is followed by another, V, such that
Error creating thumbnail: Unable to save thumbnail to destination
then the total result is a third passive rotation P, such that
Error creating thumbnail: Unable to save thumbnail to destination
Note that the composition of passive rotations, first U and then V, leads to a matrix product, P=UV, in which the order is reversed. The reason for the reversal is that the matrix elements of U and of V are taken with respect to two different bases,
Error creating thumbnail: Unable to save thumbnail to destination
and
Error creating thumbnail: Unable to save thumbnail to destination
.
A rotation is defined by a rotation axis
Error creating thumbnail: Unable to save thumbnail to destination
, and an angle of rotation
Error creating thumbnail: Unable to save thumbnail to destination
. With
Error creating thumbnail: Unable to save thumbnail to destination
the corresponding rotation matrix is
Error creating thumbnail: Unable to save thumbnail to destination
In vector notation,
Error creating thumbnail: Unable to save thumbnail to destination
A general rotation R can also be parameterized by the Euler angles
Error creating thumbnail: Unable to save thumbnail to destination
,
Error creating thumbnail: Unable to save thumbnail to destination
and
Error creating thumbnail: Unable to save thumbnail to destination
, as
Error creating thumbnail: Unable to save thumbnail to destination
, where
Error creating thumbnail: Unable to save thumbnail to destination
is an active rotation by an angle
Error creating thumbnail: Unable to save thumbnail to destination
about the axis
Error creating thumbnail: Unable to save thumbnail to destination
. (A different convention is to use
Error creating thumbnail: Unable to save thumbnail to destination
instead of
Error creating thumbnail: Unable to save thumbnail to destination
, the relation is very simply that
Error creating thumbnail: Unable to save thumbnail to destination
. The ranges of the angles are:
Error creating thumbnail: Unable to save thumbnail to destination
,
Error creating thumbnail: Unable to save thumbnail to destination
,
Error creating thumbnail: Unable to save thumbnail to destination
. Explicitly, with
Error creating thumbnail: Unable to save thumbnail to destination
,
Error creating thumbnail: Unable to save thumbnail to destination
,
Error creating thumbnail: Unable to save thumbnail to destination
,
Error creating thumbnail: Unable to save thumbnail to destination
, etc., we have
Error creating thumbnail: Unable to save thumbnail to destination
Example (
Error creating thumbnail: Unable to save thumbnail to destination
Coordinate Systems). A Euclidean coordinate system is determined by an origin
Error creating thumbnail: Unable to save thumbnail to destination
and three orthonormal basis vectors
Error creating thumbnail: Unable to save thumbnail to destination
. Let
Error creating thumbnail: Unable to save thumbnail to destination
be a second Euclidean coordinate system. Let x1,x2,x3 and
Error creating thumbnail: Unable to save thumbnail to destination
be the coordinates of a point
Error creating thumbnail: Unable to save thumbnail to destination
with respect to the two systems, i.e.
Error creating thumbnail: Unable to save thumbnail to destination
The coordinate transformations from one system to the other and back are:
Error creating thumbnail: Unable to save thumbnail to destination
where
Error creating thumbnail: Unable to save thumbnail to destination
, i.e. R is the rotation defined by
Error creating thumbnail: Unable to save thumbnail to destination
.
Suppose one has measured three reference points
Error creating thumbnail: Unable to save thumbnail to destination
,
Error creating thumbnail: Unable to save thumbnail to destination
, and
Error creating thumbnail: Unable to save thumbnail to destination
in the two systems in order to determine the coordinate transformation. The three distances
Error creating thumbnail: Unable to save thumbnail to destination
,
Error creating thumbnail: Unable to save thumbnail to destination
and
Error creating thumbnail: Unable to save thumbnail to destination
should be independent of the coordinate system; this gives three constraints
Error creating thumbnail: Unable to save thumbnail to destination
One should make a least squares fit in order to get the constraints exactly satisfied (the
Error creating thumbnail: Unable to save thumbnail to destination
of the fit gives a consistency check of the measurements). Define
Error creating thumbnail: Unable to save thumbnail to destination
. Then
Error creating thumbnail: Unable to save thumbnail to destination
if one defines
Error creating thumbnail: Unable to save thumbnail to destination
. Similarly,
Error creating thumbnail: Unable to save thumbnail to destination
. It follows that
Error creating thumbnail: Unable to save thumbnail to destination
, and the
Error creating thumbnail: Unable to save thumbnail to destination
matrix R can be found from the linear equation
Error creating thumbnail: Unable to save thumbnail to destination
The solution for R is unique whenever the vectors
Error creating thumbnail: Unable to save thumbnail to destination
and
Error creating thumbnail: Unable to save thumbnail to destination
are linearly independent. Finally,
Error creating thumbnail: Unable to save thumbnail to destination