Line 1: r=(i^+2j^+3k^)+λ(2i^+3j^+4k^)
Point on line: a1=i^+2j^+3k^
Direction vector: b1=2i^+3j^+4k^
Line 2: r=(2i^+4j^+5k^)+μ(4i^+6j^+8k^)
Point on line: a2=2i^+4j^+5k^
Direction vector: b2=4i^+6j^+8k^
Notice: b2=4i^+6j^+8k^
b2=2(2i^+3j^+4k^)
b2=2b1
Since b2=2b1, the lines are parallel.
For parallel lines, the shortest distance is:
d=∣b1∣∣(a2−a1)×b1∣
a2−a1=(2−1)i^+(4−2)j^+(5−3)k^
a2−a1=i^+2j^+2k^
(a2−a1)×b1=(i^+2j^+2k^)×(2i^+3j^+4k^)
=i^12j^23k^24
i^ component: (2)(4)−(2)(3)=8−6=2
j^ component: −[(1)(4)−(2)(2)]=−(4−4)=0
k^ component: (1)(3)−(2)(2)=3−4=−1
(a2−a1)×b1=2i^+0j^−k^
∣(a2−a1)×b1∣=(2)2+(0)2+(−1)2
=4+0+1
=5
∣b1∣=(2)2+(3)2+(4)2
=4+9+16
=29
d=∣b1∣∣(a2−a1)×b1∣
d=295
d=295
Therefore, the shortest distance between the lines is 295.