Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
direction cosines (Definition)

The Direction Cosines define the orientation of a vector with respect to a coordinate reference frame. Each direction cosine is the cosine of the angle between the vector and its corresponding coordinate axis. Let us first look at a two dimensional example in figure 1:

Figure 1:2D - Direction Cosines
PIC

The direction cosines of v are

d  = cos(𝜃)
 1
(1)

d  = cos(ϕ)
 2
(2)

The x coordinate is given from simple trigonometry by

x = v cos(𝜃 )
(3)

where v is the magnitude of the vector v . Similarily, the y coordinate is given by

y = v sin(𝜃)
(4)

but we can convert this to a cosine through the trigonometric identity that

cos(90 − 𝜃) = sin (𝜃 )
(5)

From figure 1 we see that

ϕ = 90o − 𝜃
(6)

which can be subsitituded into 3 to get

y = vcos(ϕ )
(7)

Note that ϕ is the angle between the y-axis and v, so our vector v can be represented in this 2D coordinate frame by

⃗v =  vcos(𝜃)ˆx + v cos(ϕ )ˆy
(8)

Extending this concept to three dimensions is quite easy, from figure 2 we can define v with respect t x,ŷ,ẑ coordinate frame by

⃗v =  vcos(α )xˆ+ v cos(β)ˆy + v cos(γ )ˆz
(9)

in a more compact form with

v1 = v cos(α)
(10)

v2 = v cos(β)
(11)

v3 = v cos(γ)
(12)

we get the relation

⃗v = ⃗v1ˆx + ⃗v2ˆy + ⃗v3ˆz
(13)

The directional cosines for figure 2 are

d1 = cos(α)
(14)

d2 = cos(β)
(15)

d3 = cos(γ)
(16)

An important property of the direction cosines is that

α2 + β2 +  γ2 = 1
(17)

One important application is to use the direction cosines to define a coordinate system with reference to another. This can be accompished by defining the location of each coordinate axis unit vector with respect to the ’parent’. Once these nine direction cosines are determined (3 for each unit vector), than a transformation matrix exists to carry out coordinate transformations between the child frame and the parent frame.


"direction cosines" is owned by bloftin.
(view preamble)
View style:

Cross-references: matrix, unit vector, system, relation, concept, identity, magnitude, reference frame, vector
There are 4 references to this object.

This is version 13 of direction cosines, born on 2004-12-28, modified 2006-03-30.
Object id is 26, canonical name is DirectionCosines.
Accessed 13699 times total.

Classification:
Physics Classification45.40.-f (Dynamics and kinematics of rigid bodies)
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

No messages.

Interact
rate | post | correct | update request | add derivation | add example | add (any)