← 2022 Paper 1

UPSC 2022 Maths Optional Paper 1 Q3c — Step-by-Step Solution

15 marks · Section A

Sphere · Analytic Geometry · asked 17× in 13 yrs · Read the full method →

Question

Find the equation of the sphere of smallest possible radius which touches the straight lines:

L1:  x33=y81=z31,L2:  x+33=y+72=z64.L_1:\;\dfrac{x-3}{3}=\dfrac{y-8}{-1}=\dfrac{z-3}{1},\quad L_2:\;\dfrac{x+3}{-3}=\dfrac{y+7}{2}=\dfrac{z-6}{4}.

Technique

Find common perpendicular of two skew lines (parameterise both, require perpendicularity to both direction vectors); centre at midpoint; radius is half the shortest distance.

Solution

Setup. Two skew lines (we’ll verify skewness). The smallest sphere tangent to both lines has diameter equal to the shortest distance between the lines (the common perpendicular segment).

The centre lies on the common perpendicular of the two lines, at its midpoint.

Step 1 — Find direction vectors and a point on each line

L1L_1: point P1=(3,8,3)P_1=(3,8,3), direction d1=(3,1,1)\vec d_1=(3,-1,1).

L2L_2: point P2=(3,7,6)P_2=(-3,-7,6), direction d2=(3,2,4)\vec d_2=(-3,2,4).

Step 2 — Verify the lines are skew

Compute d1×d2\vec d_1\times\vec d_2:

d1×d2=det(ı^ȷ^k^311324).\vec d_1\times\vec d_2=\det\begin{pmatrix}\hat\imath & \hat\jmath & \hat k\\ 3 & -1 & 1\\ -3 & 2 & 4\end{pmatrix}.

ı^:  (1)(4)(1)(2)=42=6\hat\imath:\;(-1)(4)-(1)(2)=-4-2=-6. ȷ^:  [(3)(4)(1)(3)]=[12+3]=15\hat\jmath:\;-[(3)(4)-(1)(-3)]=-[12+3]=-15. k^:  (3)(2)(1)(3)=63=3\hat k:\;(3)(2)-(-1)(-3)=6-3=3.

d1×d2=(6,15,3)\vec d_1\times\vec d_2=(-6,-15,3). d1×d2=36+225+9=270=330|\vec d_1\times\vec d_2|=\sqrt{36+225+9}=\sqrt{270}=3\sqrt{30}.

Step 3 — Shortest distance between L1L_1 and L2L_2

P1P2=P2P1=(33,  78,  63)=(6,15,3)\vec{P_1 P_2}=P_2-P_1=(-3-3,\;-7-8,\;6-3)=(-6,-15,3).

Shortest distance d=P1P2(d1×d2)d1×d2d=\dfrac{|\vec{P_1 P_2}\cdot(\vec d_1\times\vec d_2)|}{|\vec d_1\times\vec d_2|}.

P1P2(d1×d2)=(6)(6)+(15)(15)+(3)(3)=36+225+9=270\vec{P_1 P_2}\cdot(\vec d_1\times\vec d_2)=(-6)(-6)+(-15)(-15)+(3)(3)=36+225+9=270.

d=270330=9030=903030=330d=\dfrac{270}{3\sqrt{30}}=\dfrac{90}{\sqrt{30}}=\dfrac{90\sqrt{30}}{30}=3\sqrt{30}.

Hmm — interesting, P1P2\vec{P_1 P_2} is parallel to d1×d2\vec d_1\times\vec d_2 (both equal (6,15,3)(-6,-15,3)). So P1P2\vec{P_1 P_2} is itself along the common perpendicular direction!

Step 4 — Common perpendicular foot points

The common perpendicular is the line segment connecting the closest points AL1A\in L_1 and BL2B\in L_2. We have AB=λd1×d2/d1×d2\vec{AB}=\lambda\,\vec d_1\times\vec d_2/|\vec d_1\times\vec d_2| for λ=d\lambda=d.

Parameterise: A=P1+sd1A=P_1+s\vec d_1, B=P2+td2B=P_2+t\vec d_2. Then AB=BA=(P2P1)+td2sd1=P1P2+td2sd1\vec{AB}=B-A=(P_2-P_1)+t\vec d_2-s\vec d_1=\vec{P_1 P_2}+t\vec d_2-s\vec d_1.

Require ABd1=0\vec{AB}\cdot\vec d_1=0 and ABd2=0\vec{AB}\cdot\vec d_2=0:

P1P2d1+t(d2d1)s(d1d1)=0\vec{P_1 P_2}\cdot\vec d_1+t(\vec d_2\cdot\vec d_1)-s(\vec d_1\cdot\vec d_1)=0 P1P2d2+t(d2d2)s(d1d2)=0\vec{P_1 P_2}\cdot\vec d_2+t(\vec d_2\cdot\vec d_2)-s(\vec d_1\cdot\vec d_2)=0

Compute:

System:

0+t(7)s(11)=07t+11s=0,0+t(-7)-s(11)=0\Rightarrow 7t+11s=0, 0+t(29)s(7)=029t+7s=0.0+t(29)-s(-7)=0\Rightarrow 29t+7s=0.

From second: 7s=29ts=29t/77s=-29t\Rightarrow s=-29t/7. Substitute into first: 7t+11(29t/7)=7t319t/7=(49t319t)/7=270t/7=0t=07t+11(-29t/7)=7t-319t/7=(49t-319t)/7=-270t/7=0\Rightarrow t=0.

Then s=0s=0.

So A=P1=(3,8,3)A=P_1=(3,8,3) and B=P2=(3,7,6)B=P_2=(-3,-7,6).

Centre of sphere: midpoint of ABAB = (0,1/2,9/2)(0,1/2,9/2).

Step 5 — Radius

Radius = half of AB=P1P2/2|\vec{AB}|=|\vec{P_1 P_2}|/2.

P1P2=36+225+9=270=330|\vec{P_1 P_2}|=\sqrt{36+225+9}=\sqrt{270}=3\sqrt{30}.

Radius r=3302r=\dfrac{3\sqrt{30}}{2}.

Step 6 — Equation of sphere

(x0)2+ ⁣(y12)2+ ⁣(z92)2=2704=1352.(x-0)^2+\!\left(y-\dfrac{1}{2}\right)^2+\!\left(z-\dfrac{9}{2}\right)^2=\dfrac{270}{4}=\dfrac{135}{2}.

Answer

  x2+(y1/2)2+(z9/2)2=1352.  \boxed{\;x^2+(y-1/2)^2+(z-9/2)^2=\dfrac{135}{2}.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.