Solution:
Key idea: Two lines that are not parallel intersect only when their shortest distance b1×b2(a2−a1)⋅(b1×b2) is 0.
Step 1 — Read the points and directions.
Each equation has the form r=a+λb.
a1=i^−j^,b1=2i^+k^
a2=2i^−j^,b2=i^+j^−k^
The direction ratios 2,0,1 and 1,1,−1 are not proportional, so the lines are not parallel. Also a2−a1=i^.
Step 2 — Find the cross product and its magnitude.
The cross product is perpendicular to both lines.
b1×b2=i^21j^01k^1−1
b1×b2=(0−1)i^−(−2−1)j^+(2−0)k^
b1×b2=−i^+3j^+2k^
b1×b2=(−1)2+32+22
b1×b2=14
Step 3 — Find the shortest distance.
We take the dot product of a2−a1 with the cross product.
(a2−a1)⋅(b1×b2)=(1)(−1)+(0)(3)+(0)(2)
(a2−a1)⋅(b1×b2)=−1
Dividing its modulus by the magnitude gives the shortest distance.
S.D.=141
This is not zero, so the lines cannot have a common point.
Therefore, the shortest distance is 141 units, which is not zero, so the lines do not intersect.