Angle between two lines with direction ratios (a₁, b₁, c₁) and (a₂, b₂, c₂). Derived by normalizing DRs to DCs first.
Given DRs (a1,b1,c1) and (a2,b2,c2), the DCs are:
u^1=a12+b12+c12(a1,b1,c1),u^2=a22+b22+c22(a2,b2,c2)
cosθ=u^1⋅u^2=a12+b12+c12⋅a22+b22+c22a1a2+b1b2+c1c2
Taking the acute angle, use the absolute value of the numerator.
Perpendicularity condition: a1a2+b1b2+c1c2=0.
Parallelism condition: a1/a2=b1/b2=c1/c2.
Example: Angle between lines with DRs (1,2,2) and (3,4,0):
cosθ=9⋅25∣3+8+0∣=1511