Question
Question: How do you find the distance between two parallel lines in 3-dimensional space?...
How do you find the distance between two parallel lines in 3-dimensional space?
Solution
In the above question, we are given two parallel lines in a 3-dimensional space. We have to find the distance between those two given lines. Recall the formula of cross product of two vectors. The cross product of two vectors is itself a vector and is given by the formula a×b=∣a∣∣b∣sinθn, where n is the unit vector in the perpendicular direction of both vectors. This formula will be useful in finding the required distance, let see how.
Complete step by step answer:
Given that, two parallel lines that lie in a 3-dimensional space. Let the two parallel lines be l1 and l2. Let the equations of the two parallel lines be,
l1⇒r=a1+λb
And
l2⇒r=a2+μb
Where a1 and a2 are points on l1 and l2 and b is the line parallel to both l1 and l2 .
A diagram of both the lines is shown above where the distance between l1 and l2 is PT. Consider the vectors ST and b , their cross product can be written using the formula,
⇒a×b=∣a∣∣b∣sinθn
As,
⇒b×ST=bSTsinθ⋅n ...(1)
Also the distance ST can be written as,
ST=a2−a1 ...(2)
Now from the diagram, we have
⇒sinθ=STPT
That gives,
⇒∣ST∣sinθ=∣PT∣
Multiplying both sides by b⋅n , we get
⇒b∣ST∣sinθ⋅n=b⋅∣PT∣⋅n
Now, using the equation ...(1) we can write the above equation as
⇒b×ST=b∣PT∣⋅n
Taking modulus of both sides,
⇒b×ST=b∣PT∣⋅∣n∣
Since ∣n∣=1 that gives,
⇒b×ST=b∣PT∣
Again, putting ST=a2−a1 we get
⇒b×(a2−a1)=b∣PT∣
∴∣PT∣=bb×(a2−a1)
That is the required distance between the two parallel lines l1 and l2.
Therefore, the distance between two parallel lines in a 3-dimensional space is given by bb×(a2−a1).
Note: In three-dimensional geometry, skew lines are two lines that do not intersect and also are not parallel. As a result they do not lie in the same plane. A simple example of a pair of skew lines is the pair of lines through opposite edges of a regular tetrahedron. While intersecting lines and parallel lines lie in the same plane i.e. are coplanar.