Find how the lines can be described in unit vectors:
AB=B−A=(2i^+3j^)−(i^+j^+k^)==i^+2j^−k^, CD=D−C=(−j^+k^)−(3i^+5j^−2k^)==−3i^−6j^+3k^.
Find the dot product:
AB⋅CD=(i^+2j^−k^)⋅(−3i^−6j^+3k^)==−3−12−3=−18.
Find the length of individual line:
∣AB∣=12+22+(−1)2=6.∣CD∣=(−3)2+(−6)2+32=54. ∣AB∣∣CD∣=3. Since the dot product is
AB⋅CD=∣AB∣⋅∣CD∣cosθ, we can find the angle θ between the lines to establish the configuration of the lines relative to each other:
θ=arccos∣AB∣⋅∣CD∣AB⋅CD=180°.
As we see, the lines are parallel to each other.
Comments