Angle Between Two Lines (Direction Cosines)
Acute angle θ between two lines with direction cosines (l₁, m₁, n₁) and (l₂, m₂, n₂). The absolute value ensures the acute angle is taken.
Derivation
Let two lines have direction cosines and . Their unit direction vectors are and .
The angle between the lines satisfies:
Since each vector is a unit vector, , so no normalization is needed.
Taking the acute angle: .
Perpendicularity: .
Parallelism: , , (same direction) or all negatives (opposite direction).
Note on angle between skew lines: Two lines in 3D that do not intersect (skew lines) still have a well-defined angle — it is the angle between their direction vectors, as if translated to meet at a point.