The correct option is B x2+y2+z2+43x−83y+83z−21=0
Since line passes through the centre,
x1=y−2=z2=1So, any point on the line can be represented as (t,−2t,2t).
Let's assume that this point is the centre of the sphere, then according to the question, radius of sphere is 5. So,
√(t−1)2+(−2t+2)2+(2t−2)2 =5√(t−1)2+4(t−1)2+4(t−1)2=5√9(t−1)2=53(t−1)=5, 3(1−t)=5t=83, −23
So the coordinates of center of the sphere can be (83,−163,163) or (−23, 43, −43).
The equation of the sphere in the first case is
(x−83)2+(y+163)2+(z−163)2=52x2+y2+z2−163x+323y−323z=−39
The equation of the sphere in the second case is
(x+23)2+(y−43)2+(z+43)2=52x2+y2+z2+43x−83y+83z−21=0