Equation of line joining (1,2,3) and (2,3,4) is
r=(i^+2j^+3k^)+λ(i^+j^+k^)
Also, vector equation is
r=(i^−j^+2k^)+μ(2i^−j^)
So,
a1=(i^+2j^+3k^)
a2=(i^−j^+2k^)
Hence,
a2−a1=0i^−3j^−k^
And,
b1=i^+j^+k^
b2=2i^−j^+0k^
And,
b1×b2=∣i^12j^1−1k^10∣=i^+2j^−3k^
⇒∣b1×b2∣=14
Required shortest distance is
α=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣
⇒α=∣14(−3j^−k^)⋅(i^+2j^−3k^)∣
⇒α=∣14−6+3∣=143
Now, 28α2=228×149=18.