Azimuth and Direction Cosines
📂Mathematical PhysicsAzimuth and Direction Cosines
Definition
Suppose we are given a three-dimensional vector a=(a1,a2,a3). The angles that a forms with the x-, y-, and z-axes are denoted as α, β, and γ, respectively. These are called direction angles.

The cosines of the direction angles cosα, cosβ, and cosγ are called direction cosines.
Properties
From the definition of direction angles and the properties of the dot product, the direction cosines are given by the following.
cosα=∣a∣∣i∣a⋅i=∣a∣a1,cosβ=∣a∣∣j∣a⋅j=∣a∣a2,cosγ=∣a∣∣k∣a⋅k=∣a∣a3
Additionally, the following holds true.
cos2α+cos2β+cos2γ=∣a∣2a12+a22+a32=1
The vector a can be expressed as follows.
a=(a1,a2,a3)=(∣a∣cosα,∣a∣cosβ,∣a∣cosγ)=∣a∣(cosα,cosβ,cosγ)
Therefore, a unit vector in the same direction as a is as follows.
∣a∣a=(cosα,cosβ,cosγ)