The lines \(g\) and \(h\) are given by
\(g: (x,y,z)=(2,0,1)+r\langle 1,2,2\rangle\)
and
\(h: (x,y,z)=(5,4,7)+s\langle 2,-2,1\rangle\).
a) Show that the lines are skew.
b) Find the distance between them.
c) Find the points \(F_g\) on \(g\) and \(F_h\) on \(h\) that realize the minimum distance.
d) A sphere centered at \(M(5,3,4)\) is tangent to \(g\). Find its radius.
Hints
- Test for parallel direction vectors and then for an intersection.
- Find a vector orthogonal to both line directions.
- The shortest connecting segment is perpendicular to both lines.
- A tangent sphere's radius equals the distance from its center to the line.
Solution
1. The direction vectors \(\langle 1,2,2\rangle\) and \(\langle 2,-2,1\rangle\) are not scalar multiples. If the lines intersect, matching the \(x\)- and \(y\)-coordinates gives \(r-2s=3\) and \(r+s=2\), so \(s=-\frac{1}{3}\) and \(r=\frac{7}{3}\). But matching \(z\) would require \(2r-s=6\), whereas these values give \(5\). Thus the lines do not intersect and are skew.
2. A vector perpendicular to both directions is \(\mathbf{n}=\langle 2,1,-2\rangle\), since both dot products are \(0\). Its magnitude is \(3\).
3. The vector between the given points is \(\mathbf{w}=\langle 3,4,6\rangle\). Thus, \(d(g,h)=\frac{\lvert\mathbf{w}\cdot\mathbf{n}\rvert}{\lVert\mathbf{n}\rVert}=\frac{\lvert 6+4-12\rvert}{3}=\frac{2}{3}\).
4. Let \(F_g=(2,0,1)+r\langle 1,2,2\rangle\) and \(F_h=(5,4,7)+s\langle 2,-2,1\rangle\). The shortest connecting vector \(F_h-F_g\) is perpendicular to both line directions. Solving \((F_h-F_g)\cdot\langle 1,2,2\rangle=0\) and \((F_h-F_g)\cdot\langle 2,-2,1\rangle=0\) gives \(r=\frac{23}{9}\) and \(s=-\frac{4}{9}\).
5. Therefore, \(F_g=\left(\frac{41}{9},\frac{46}{9},\frac{55}{9}\right)\) and \(F_h=\left(\frac{37}{9},\frac{44}{9},\frac{59}{9}\right)\).
6. For the tangent sphere, let \(G=(2+r,2r,1+2r)\) be a point on \(g\). The perpendicular-foot condition is \((G-M)\cdot\langle 1,2,2\rangle=0\), which gives \(9r-15=0\), so \(r=\frac{5}{3}\). Then \(G-M=\left\langle-\frac{4}{3},\frac{1}{3},\frac{1}{3}\right\rangle\), and the sphere's radius is \(\sqrt{\frac{16}{9}+\frac{1}{9}+\frac{1}{9}}=\sqrt{2}\).
Answer
a) The directions are not parallel. The \(x\)- and \(y\)-equations give \(r=\frac{7}{3}\), \(s=-\frac{1}{3}\), but the \(z\)-equation requires \(2r-s=6\), while \(2r-s=5\). Thus the lines are skew.
b) \(\frac{2}{3}\) unit
c) \(F_g=\left(\frac{41}{9},\frac{46}{9},\frac{55}{9}\right)\), \(F_h=\left(\frac{37}{9},\frac{44}{9},\frac{59}{9}\right)\)
d) \(r=\sqrt{2}\) units