Loading [MathJax]/jax/output/HTML-CSS/jax.js

Angle Between Two Lines in 3d

Here you learn formula for angle between two lines in 3d in both vector form and cartesian form with examples.

Let’s begin – 

Angle Between Two Lines in 3d

(a) Vector Form 

Let the vector equations of the two lines be r = a1 + λb1 and r = a2 + μb2.

These two lines are parallel to the vectors b1 and b2 respectively. Therefore, angle between  these two lines is equal to the angle between b1 and b2.

Thus, if θ is the angle between the given lines, then

cosθ = b1.b2|b1||b2|

Condition of Perpendicularity : If the lines b1 and b2 are perpendicular. Then

b1. b2 = 0

Condition of Parallelism : If the lines are parallel, then b1 and b2 are parallel,

b1 = λb2 for some scalar λ

(b) Cartesian Form

Let the cartesian equation of the two lines be

xx1a1 = yy1b1 = zz1c1                       …………(i)

and xx1a2 = yy1b2 = zz1c2                 …………(ii)

Direction ratios of line (i) are proportional to a1, b1, c1.

m1 = Vector parallel to line (i) = a1ˆi+b1ˆj+c1ˆk.

Direction ratios of line (ii) are proportional to a2, b2, c2.

m2 = Vector parallel to line (ii) = a2ˆi+b2ˆj+c2ˆk.

Let θ be the angle between (i) and (ii).

Then, θ is also the angle between m1 and m2.

cosθ = m1.m2|m1||m2|

cosθ = a1a2+b1b2+c1c2a12+b12+c12a12+b12+c12

Condition of Perpendicularity : If the lines are perpendicular. Then

m1. m2 = 0 a1a2+b1b2+c1c2 = 0

Condition of Parallelism : If the lines are parallel, then m1 and m2 are parallel,

m1 = λm2 for some scalar λ

a1a2 = b1b2 = c1c2

Example : Find the angle between the lines 

r = 3ˆi+2ˆj4ˆk + λ (ˆi+2ˆj+2ˆk) and

r = (5ˆj2ˆk) + μ (3ˆi+2ˆj+6ˆk)

Solution : Let θ be the angle between the given lines. These given lines are parallel to the vectors b1 = ˆi+2ˆj+2ˆk and b2 = 3ˆi+2ˆj+6ˆk respectively.

So, the angle θ between them is given by

cosθ = b1.b2|b1||b2|

cosθ = 3+4+121+4+49+4+36 = 1921

Hence, θ = cos1(1921)

Leave a Comment

Your email address will not be published. Required fields are marked *