Appendix/Ramblings/DirectionCosines
Direction Cosines
Following [MF53], a generalized coordinate system consists of a threefold family of surfaces whose equations in terms of Cartesian coordinates are, constant, constant, and constant. The lines of intersection of these surfaces constitute three families of lines, in general curved. At any point or we can place three unit vectors — or , 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, , and the three unit vectors of the Cartesian coordinate system, , are referred to as the direction cosines of the unit vector, . Specifically,
|
|
|
|
|
|
|
and, |
|
|
|
Basic Definitions and Relations
The three direction cosines that are associated with the unit vector, , can be obtained from the defining functional relationship, , and an associated "scale factor," , (discussed immediately below) via the expressions,
|
|
|
|
or, |
|
|
|
| [ MF53, §1.3, p. 25, Eq. (1.3.5) ] | ||||||
depending on whether the 's are given in terms of or visa versa. This means that the following inverse relationship applies in general:
The coordinate system is orthogonal if all the direction cosines obey the following …
| DC.01 |
|---|
|
General Orthogonality Condition |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||
where the Kronecker delta function, , is defined such that if but if .
Usage
Scale Factors
The above relations can be used to define the scale factors . For example,
|
|
|
|
|
|
|
|
or,
|
|
|
|
|
|
|
|
| [ 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:
and,
More explicitly, this last expression(s) implies,
|
|
|
|
|
|
|
|
|
|
|
|
notice that we have liberally used the idea that, for orthogonal systems, .
Orthogonality
How can we check to make sure that the coordinate is everywhere orthogonal to the coordinate ? 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 ,
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 , Equation DC.01 is equivalent to the statement, .
Here we'll illustrate how orthogonality can be checked for any axisymmetric coordinate system; that is, we'll examine behavior only in the plane. First, note that,
and,
Hence,
and,
Therefore also,
The relationship between the direction cosines when gives a key orthogonality condition. Take, for example, and :
This means that if is orthogonal to ,
Hence,
| DC.02 |
|---|
|
An Example Orthogonality Condition |
|---|
|
|
Position Vector
Employing the unit-vector transformation relations tells us that in general the position vector is,
|
|
|
|
|
|
|
|
|
|
|
|
See Also
|
Appendices: | VisTrailsEquations | VisTrailsVariables | References | Ramblings | VisTrailsImages | myphys.lsu | ADS | |