Appendix/Ramblings/DirectionCosines

From jetwiki
Jump to navigation Jump to search


Direction Cosines

Following [MF53], a generalized coordinate system consists of a threefold family of surfaces whose equations in terms of Cartesian coordinates are, ξ1(x,y,z)= constant, ξ2(x,y,z)= constant, and ξ3(x,y,z)= constant. The lines of intersection of these surfaces constitute three families of lines, in general curved. At any point (x,y,z) or (ξ1,ξ2,ξ3) we can place three unit vectors — (ı^,ȷ^,k^) or (e^1,e^2,e^3), respectively — each tangent to the corresponding coordinate line of the curvilinear system which goes through the point.

The three angles measured between any one of these unit vectors, e^n, and the three unit vectors of the Cartesian coordinate system, ı^,ȷ^,k^, are referred to as the direction cosines of the unit vector, e^n. Specifically,

γn1

e^nı^,

     

γn2

e^nȷ^,

      and,      

γn3

e^nk^.

Basic Definitions and Relations

The three direction cosines that are associated with the unit vector, e^n, can be obtained from the defining functional relationship, ξn(x,y,z), and an associated "scale factor," hn, (discussed immediately below) via the expressions,

γni

=

hnξnxi;

      or,      

γni

=

hnξnxi;

[ MF53, §1.3, p. 25, Eq. (1.3.5) ]

depending on whether the ξ's are given in terms of x,y,z or visa versa. This means that the following inverse relationship applies in general:

xiξn=hn2ξnxi.

The coordinate system (ξ1,ξ2,ξ3) is orthogonal if all the direction cosines obey the following …

DC.01

General Orthogonality Condition

sγmsγns

=

sγsmγsn

=

δmn,

[ MF53, §1.3, p. 23, Eq. (1.3.1) ]

where the Kronecker delta function, δmn, is defined such that δmn=1 if m=n but δmn=0 if mn.

Usage

Scale Factors

The above relations can be used to define the scale factors (h1,h2,h3). For example,

sγ1sγ1s

=

s(h1ξ1xs)2=1

h12

=

[(ξ1x)2+(ξ1y)2+(ξ1z)2]1;

or,

sγ1sγ1s

=

s(1h1xsξ1)2=1

h12

=

[(xξ1)2+(yξ1)2+(zξ1)2].

[ MF53, §1.3, p. 24, Eq. (1.3.4) ]

Unit Vectors

Direction cosines can be used to switch between the basis vectors of different orthogonal coordinate systems. The defining expressions are:

e^n=ı^γn1+ȷ^γn2+k^γn3;

and,

ı^=n=1,3e^nγn1;etc.

More explicitly, this last expression(s) implies,

ı^

=

e^1γ11+e^2γ21+e^3γ31;

ȷ^

=

e^1γ12+e^2γ22+e^3γ32;

k^

=

e^1γ13+e^2γ23+e^3γ33;

notice that we have liberally used the idea that, for orthogonal systems, γnm=γmn.

Orthogonality

How can we check to make sure that the coordinate ξ1 is everywhere orthogonal to the coordinate ξ2? Well, for an orthogonal system, the unit vectors should be everywhere perpendicular to one another, that is, the dot product of two (different) unit vectors should be zero at all coordinate positions. Drawing on the above unit-vector transformation expressions, this means that, for mn,

e^me^n=[ı^γm1+ȷ^γm2+k^γm3][ı^γn1+ȷ^γn2+k^γn3]=γm1γn1+γm2γn2+γm1γn2=0

s=13γmsγns=0.

This is precisely the condition enforced on direction cosines in conjunction with their definition, shown above as Equation DC.01. Notice as well that, when m=n, Equation DC.01 is equivalent to the statement, e^me^m=1.

Here we'll illustrate how orthogonality can be checked for any axisymmetric coordinate system; that is, we'll examine behavior only in the (ϖ,z) plane. First, note that,

ϖx=x(x2+y2)1/2=xϖ,

and,

ϖy=x(x2+y2)1/2=yϖ,

Hence,

ξix=ξiϖϖx=(xϖ)ξiϖ,

and,

ξiy=ξiϖϖy=(yϖ)ξiϖ.

Therefore also,

(ξix)2+(ξiy)2=(ξiϖ)2

hi2=[(ξiϖ)2+(ξiz)2]1.

The relationship between the direction cosines when mn gives a key orthogonality condition. Take, for example, m=1 and n=2:

sγ1sγ2s=0.

This means that if ξ1 is orthogonal to ξ2,

h1ξ1xh2ξ2x+h1ξ1yh2ξ2y+h1ξ1zh2ξ2z=0

h1h2[(x2ϖ2)ξ1ϖξ2ϖ+(y2ϖ2)ξ1ϖξ2ϖ+ξ1zξ2z]=0.

Hence,

DC.02

An Example Orthogonality Condition

ξ1ϖξ2ϖ=ξ1zξ2z.

Position Vector

Employing the unit-vector transformation relations tells us that in general the position vector is,

x

=

ı^x+ȷ^y+k^z

 

=

(e^1γ11+e^2γ21+e^3γ31)x+(e^1γ12+e^2γ22+e^3γ32)y+(e^1γ13+e^2γ23+e^3γ33)z

 

=

e^1(xγ11+yγ12+zγ13)+e^2(xγ21+yγ22+zγ23)+e^3(xγ31+yγ32+zγ33).

See Also


Tiled Menu

Appendices: | VisTrailsEquations | VisTrailsVariables | References | Ramblings | VisTrailsImages | myphys.lsu | ADS |