How do I know if two lines are parallel in three-dimensional space?
1 Answer
Great question, because in space two lines that "never meet" might not be parallel. Those would be skew lines, like a freeway and an overpass.
To check for parallel-ness (parallelity?) we can choose two points on each line (depending on how the lines and equations are presented), then for each pair of points, subtract the coordinates to get the displacement vector. If the two displacement or direction vectors are multiples of each other, the lines were parallel.
If your lines are given in the "double equals" form
Example: Say your lines are given by equations:
These lines are parallel since the direction vectors are
and it's easy to see that
If your lines are given in parametric form, its like the above:
Find the (same) direction vectors as before and see if they are scalar multiples of each other.
This space-y answer was provided by \ dansmath /