User talk:Paul Wormer/scratchbook: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Paul Wormer
No edit summary
imported>Paul Wormer
No edit summary
Line 86: Line 86:
R_{\alpha \beta} = \cos\phi\; \delta_{\alpha \beta} + \frac{1}{1+\cos\phi} n_\alpha n_\beta -  \epsilon_{\alpha \beta\gamma} n_\gamma,
R_{\alpha \beta} = \cos\phi\; \delta_{\alpha \beta} + \frac{1}{1+\cos\phi} n_\alpha n_\beta -  \epsilon_{\alpha \beta\gamma} n_\gamma,
</math>
</math>
which is Eq. (1) of Möller and Hughes (1999).
which is Eq. (1) of Möller and Hughes (1999) modified by dividing out (1 - cos&phi;) in the second term, which M and H don't do.

Revision as of 22:29, 9 April 2009

Given are two unnormalized, non-parallel vectors, the rotation axis n and the vector r to be rotated. Decompose r into two orthogonal components:

Clearly, n and x are orthogonal. Define further y as a cross product, a vector orthogonal to the plane containing n, r, and x,

As is well-known the cross product can be written as a matrix-vector product

The matrix N has as general element

where εαβγ is the antisymmetric Levi-Civita tensor.

For further use we compute normalization constants of x and y,

and divide the two

When we rotate r over an angle φ around n, the component of r along n is unchanged, while the component x of r perpendicular to n becomes x

Hence the rotated vector r′ is

We may introduce the dyadic product of the vector n with itself, which has the form of a 3 × 3 symmetric matrix, and write

Now,

where E is the identity matrix. The quantity between square brackets is the matrix R that rotates r around n over an angle φ. This equation is very well-known and was first derived by Leonhard Euler [check]. A general element of R is

where the unit vector is

Consider now two non-parallel unit vectors f and t making an angle φ

We want to find the matrix that rotates f (the "from" vector) to t (the "to" vector). An obvious way is using the cross product f×t as a rotation axis and rotating f over φ. We can use the equation just derived by substituting

Hence

so that an element of the rotation matrix takes the form

which is Eq. (1) of Möller and Hughes (1999) modified by dividing out (1 - cosφ) in the second term, which M and H don't do.