The general equation of a sphere is written in the completed-square form to read its centre and radius.
Start with the given sphere
x2+y2+z2−6x−12y−2z+20=0
Complete the squares term-wise:
x2−6x=(x−3)2−9
y2−12y=(y−6)2−36
z2−2z=(z−1)2−1
Insert these back into the equation:
(x−3)2−9+(y−6)2−36+(z−1)2−1+20=0
Simplify the constants:
(x−3)2+(y−6)2+(z−1)2=26
Hence the centre of the sphere is C(3,6,1) and the radius is \sqrt{26}\,.$</p>
<p>LetP(2,\,3,\,5)beoneendofadiameterandQ(x,\,y,\,z)betheotherend.Foranydiameter,thecentreisthemidpointofitsendpoints,so</p><p>C = \left(22+x,\,23+y,\,25+z\right).</p><p>EquateeachcoordinatetothecentreC(3,\,6,\,1):</p><p>22+x=3 \;⇒\; x = 4<br/>23+y=6 \;⇒\; y = 9<br/>25+z=1 \;⇒\; z = -3</p><p>ThereforetheotherendofthediameterisQ(4,\,9,\,-3).</p><p>OptionAwhichis:(4, 9, -3)$$