Line 1: r=i^+j^+λ(2i^−j^+k^)
Fixed point: a1=i^+j^+0k^ → (1,1,0)
Direction vector: b1=2i^−j^+k^ → (2,−1,1)
Line 2: r′=2i^+j^−k^+μ(4i^−2j^+2k^)
Fixed point: a2=2i^+j^−k^ → (2,1,−1)
Direction vector: b2=4i^−2j^+2k^ → (4,−2,2)
Notice that b2=2b1:
b2=(4,−2,2)=2(2,−1,1)=2b1
The lines are parallel to each other.
For parallel lines, the shortest distance is:
d=∣b1∣∣b1×(a2−a1)∣
Calculate a2−a1:
a2−a1=(2,1,−1)−(1,1,0)
a2−a1=(1,0,−1)
Calculate the cross product b1×(a2−a1):
b1×(a2−a1)=i^21j^−10k^1−1
i^ component: (−1)(−1)−(1)(0)=1
j^ component: −[(2)(−1)−(1)(1)]=−[−3]=3
k^ component: (2)(0)−(−1)(1)=1
Therefore: b1×(a2−a1)=i^+3j^+k^ → (1,3,1)
Calculate the magnitude of the cross product:
∣b1×(a2−a1)∣=12+32+12
∣b1×(a2−a1)∣=11
Calculate the magnitude of b1:
∣b1∣=22+(−1)2+12
∣b1∣=6
Calculate the shortest distance:
d=611
d=611×66
d=666
Therefore, the shortest distance between the lines is 666.