Find the shortest distance between the lines and
Let the two lines be l1 and l2.
So, and
We need to find the shortest distance between l1 and l2.
Recall the shortest distance between the lines: and
is given by
Here, (x1, y1, z1) = (–1, –1, –1) and (x2, y2, z2) = (3, 5, 7)
Also (a1, b1, c1) = (7, –6, 1) and (a2, b2, c2) = (1, –2, 1)
We will evaluate the numerator first.
Let
⇒ N = (4)[(–6)(1) – (–2)(1)] – (6)[(7)(1) – (1)(1)] + (8)[(7)(–2) – (1)(–6)]
⇒ N = 4(–6 + 2) – 6(7 – 1) + 8(–14 + 6)
⇒ N = –16 – 36 – 64
∴ N = –116
Now, we will evaluate the denominator.
Let
b1c2 – b2c1 = (–6)(1) – (–2)(1) = –6 + 2 = –4
c1a2 – c2a1 = (1)(1) – (1)(7) = 1 – 7 = –6
a1b2 – a2b1 = (7)(–2) – (1)(–6) = –14 + 6 = –8
So, shortest distance =
Thus, the required shortest distance is units.