(i)
Comparing the given equations with the equations , we get
The shortest distance between the lines is given by
(ii)
Comparing the given equations with the equations , we get
The shortest distance between the lines is given by
(iii)
Comparing the given equations with the equations, we get
The shortest distance between the lines is given by
(iv)
The vector equations of the given lines can be re-written as
Comparing the given equations with the equations , we get
The shortest distance between the line is given by
(v)
The vector equations of the given lines can be re-written as
Comparing the given equations with the equations , we get
The shortest distance between the lines is given by
(vi)
Comparing the given equations with the equations , we get
The shortest distance between the lines is given by
(vii)
Comparing the given equations with the equations, we get
The shortest distance between the lines is given by
(viii) The vector equations of the given lines can be re-written as
and
Comparing the given equations with the equations , we get
Also,
We know that the shortest distance between the lines is given by .
∴ Required shortest distance between the given pairs of lines,