archive old Appendix A
PDF · 4 pages · 199.0 KB
Open PDF file
Phil's appendix draft, dated 3.1.17 and marked as an old version, from his work on rotating frames and coordinate systems. It builds R(ξ) for spherical coordinates as a product of active rotations about z and y, giving the spherical unit vectors in terms of Cartesian ones and the inverse. It then covers orthogonality, det R = +1, a permutation-tensor identity for rotation matrices, and a proof that cross products transform covariantly. Matrix entries are lost in the text extraction.
AI-written summary; may contain errors. This description is approximate.
Extracted text (machine-read; may contain errors)
1
archive old Appendix A
PhL
3.1.17
Appendix A: Derivation of R(ξ) and Properties of Rotation Matrices
Here we derive equations (14.4) through (14.6) for spherical coordinates. First, just for reference, here are
the three active rotation matrices used below :
Rx(θ) =
1 0
0
0 cosθ -sinθ
0 sinθ cosθ
Ry(θ) =
cosθ 0 sinθ
0 1 0
-sinθ 0 cosθ
Rz(θ) =
cosθ -sinθ 0
sinθ cosθ 0
0
0 1
.
(A.1)
These are called "active" since they rotate a vector forward (counterclockwise) relative to fixed axes by
amount θ according to the right hand rule when the thumb is aligned with the axis in question.
From the usual picture of spherical coordinates,
(A.2)
one can see (by staring hard enough) that
r^ = Rz(φ) Ry(θ) z^
= Rz^
R ≡ Rz(φ) Ry(θ)
θ^ = Rz(φ) Ry(θ) x^
= Rx^
φ^ = Rz(φ) Ry(θ) y^
= Ry^
// Ry(θ) does nothing here
(A.3)
which we rewrite as
e^1 = R e3
where
e^1 = r^
e3 = z^
e^2 = R e1
e^2 = θ^
e1 = x^
e^3 = R e2
e^3 = φ^
e2 = y^ .
(A.4)
We can repair the ordering of the basis vectors en on the right using R2 = (z^,x^,y^) as follows
e3 = R2 e1
0
0
1
=
0 1 0
0 0 1
1 0 0
1
0
0
R2 =
0 1 0
0 0 1
1 0 0
= (z^,x^,y^)
2
e1 = R2 e2
1
0
0
=
0 1 0
0 0 1
1 0 0
0
1
0
e2 = R2 e3
0
1
0
=
0 1 0
0 0 1
1 0 0
0
0
1
.
(A.5)
Maple tells us that R2-1 = R2T and det(R2) = 1, confirming that R2 is a rotation. Putting (A.5) into (A.4),
e^1 = R R2 e1
e^2 = R R2 e2
e^3 = R R2 e3
(A.6)
or
e^i = R(ξ) ei .
(A.7)
Recalling (14.4),
e^n = R(ξ) en
=>
en = R(ξ)nme^m
or
e^n = [R(ξ)]-1nm em
e^'n = R'(ξ') e'n
=>
e'n = R'(ξ ')nme^'m
or
e^'n = [R'(ξ ')]-1nm e'm
.
(14.4)
we have therefore found the sought-after matrix R(ξ) appearing in the top left of (14.4).
R(ξ) = R R2 .
(A.8)
Specific evaluation gives
R = Rz(φ) Ry(θ) =
cosφ -sinφ 0
sinφ cosφ 0
0
0 1
cosθ 0 sinθ
0 1 0
-sinθ 0 cosθ
=
cosφcosθ -sinφ cosφsinθ
sinφsinθ cosφ sinφsinθ
-sinθ
0
cosθ
(A.9)
and then
R(ξ) = R R2 =
cosφcosθ -sinφ cosφsinθ
sinφsinθ cosφ sinφsinθ
-sinθ
0
cosθ
0 1 0
0 0 1
1 0 0
=
cosφsinθ cosφcosθ -sinφ
sinφsinθ sinφcosθ cosφ
cosθ
-sinθ
0
(A.10)
from which we find
[R(ξ)]-1 = [R(ξ)]T =
cosφsinθ sinφsinθ cosθ
cosφcosθ sinφcosθ -sinθ
-sinφ
cosφ
0
.
(A.11)
From the top right equation of (14.4) (quoted above) we can write
e^i = [R(ξ) ]-1ij ej = [R(ξ) ]-1i1 e1 + [R(ξ) ]-1i2 e2 + [R(ξ) ]-1i3 e3 .
(A.12)
3
This can be written in this matrix notation:
e^1
e^2
e^3
=
cosφsinθ sinφsinθ cosθ
cosφcosθ sinφcosθ -sinθ
-sinφ
cosφ
0
e1
e2
e3
= [R(ξ)]-1
e1
e2
e3
(A.13a)
or
r^
θ^
φ^
=
cosφsinθ sinφsinθ cosθ
cosφcosθ sinφcosθ -sinθ
-sinφ
cosφ
0
x^
y^
z^
= [R(ξ)]-1
x^
y^
z^
(A.13b)
or
r^ = cosφsinθ x^ + sinφsinθ y^ + cosθ z^
θ^ = cosφcosθ x^ + sinφcosθ y^ - sinθ z^
φ^ = -sinφ x^ + cosφ y^
(A.13c)
which are the well known expressions for the spherical unit vectors in terms of the Cartesian ones. The
inverse of the last three equations can be obtained in the following manner (matrix from (A.10))
e1
e2
e3
= [R(ξ)]
e^1
e^2
e^3
=
cosφsinθ cosφcosθ -sinφ
sinφsinθ sinφcosθ cosφ
cosθ
-sinθ
0
e^1
e^2
e^3
(A.14a)
or
x^
y^
z^
= [R(ξ)]
r^
θ^
φ^
=
cosφsinθ cosφcosθ -sinφ
sinφsinθ sinφcosθ cosφ
cosθ
-sinθ
0
r^
θ^
φ^
(A.14b)
or
x^ = cosφsinθ r^ + cosφcosθ θ^ - sinφ φ^
y^ = sinφsinθ r^ + sinφcosθ θ^ + cosφ φ^
z^ = cosθ r^ - sinθ θ^ .
(A.14c)
Appendix E contains further information on spherical coordinates.
Some Properties of Rotation Matrices
A rotation matrix R is always real orthogonal which means R-1 = RT. It follows that
RRT = 1
ΣkRik(RT)kj = δi'j
ΣkRikRjk = δi,j
RTR = 1
Σk(RT)ikRkj = δi'j
ΣkRkiRkj = δi,j .
(A.15)
Also
RRT = 1
det(RRT) = det(1)
[det(R)]2 = 1
For a rotation matrix, det(R) = +1.
(A.16)
4
The determinant of R may be written using a standard expansion for the determinant of a matrix,
1 = det(R) = ΣijkεijkRi1Rj2Rk3 ,
(A.17)
where the permutation tensor was described in (1.5.3). This can be generalized to read
εabc = ΣijkεijkRiaRjbRkc
for any a,b,c
(A.18)
where (A.17) is the particular case with abc = 123. We leave the proof of (A.18) as a Reader Exercise.
Now apply ΣaRna to both sides and sum on a to get
ΣaRna εabc = ΣaRna ΣijkεijkRiaRjbRkc
= Σijkεijk [ ΣaRnaRia] RjbRkc
= Σijkεijk [δn,i] RjbRkc
// (A.15)
= Σjk εnjkRjbRkc .
We have just derived the following rarely-stated property of any 3x3 rotation matrix R :
ΣaRnaεabc = ΣjkεnjkRjbRkc
for any n,b,c .
(A.19)
Theorem: If A' = RA, B' =RB and C' = RC, then C = A x B C' = A' x B' .
(A.20)
Proof :
C' = A' x B'
C'n = Σjkεnjk A'jB'k (RC)n = Σjkεnjk (RA)j(RB)k
(ΣaRnaCa) = Σjkεnjk(ΣbRjbAb)(ΣcRkcBc) =
= Σbc [ ΣjkεnjkRjbRkc] AbBc
= Σbc [ ΣaRnaεabc] AbBc
// (A.19)
= ΣaRna [ΣbcεabcAbBc ]
= Σa Rna [A x B ]a .
In vector notation we have just shown that RC = R(AxB). Apply R-1 from the left to conclude that
C = A x B, QED. Run the steps in reverse to prove .
This theorem confirms the intuitive fact that if A,B,C all transform as normal vectors under R, then if
C = AxB in Frame S, then C' = A'xB' in rotated Frame S' . The fact that A•B = A'•B' is more obvious and
requires only (A.15) : Σj(A')j(B')j = Σj(ΣbRjbAb)(ΣcRjcBc) = Σbc δbcAbBc = ΣbAbBb .