Find the equations of the lines joining the following pairs of vertices and then find the shortest distance between the lines

i. (0, 0, 0) and (1, 0, 2)


ii. (1, 3, 0) and (0, 3, 0)

We need to write this in vector form


Line I:


Equation of line passing through a (0, 0, 0) and b (1, 0, 2)





Line II:


Equation of line passing through a (1, 3, 0) and b (0, 3, 0)





Here






The shortest distance between two skew lines is













Putting these values in the expression,




d = 3 units


5