In 3D geometry, direction cosines play a key role in understanding the orientation of a line in space. Direction Cosines are the cosines of the angles that a line makes with the positive x, y, and z axes in three-dimensional space. Represented as , they indicate the orientation of a line relative to each coordinate axis. Together, these values form a unit vector, satisfying the identity . Direction cosines are essential in vector geometry, helping describe the direction of lines, resolve vectors, and calculate angles between them. They are particularly useful in physics, engineering, and competitive exams like JEE.
The direction cosines of a line are the cosines of the angles between the line and the positive x, y, and z coordinate axes.
Let a line make angles α, β, and γ with the x, y, and z axes, respectively.
Then, the direction cosines are:
The triple (l, m, n) is called the set of direction cosines (DCs) of the line.
Geometric Meaning
Imagine a line in 3D space pointing in any direction. To describe how that line is oriented, we observe the angles it makes with the three coordinate axes. The cosines of these angles are the direction cosines.
DCs vs DRs
Given direction ratios a, b, c, convert them into direction cosines using:
Relationship:
Always valid for any direction cosines because they form a unit vector.
Use in Line Equations
A line passing through point with direction cosines (l, m, n):
Given two lines with DCs:
Then:
For vector A = ai+bj+ck:
Example 1: Find the direction cosines of a line through origin and (2, -3, 6).
Solution:
DRs = (2, -3, 6)
Magnitude = 7
DCs =
Example 2: A line makes equal angles with x, y, and z axes. Find its DCs.
Solution:
DCs =
Example 3: Find angle between lines with DCs (1/3, 2/3, 2/3) and (2/3, 2/3, 1/3).
Solution:
(Session 2025 - 26)