Let be given the sphere has the equation $x^2 + y^2 + (z-3)^2 = 8$ and two points $A(4,4,3)$, $B(1,1,1)$. Find the locus of the points $M$ lie on the sphere so that $|MA-2MB|$ is smallest.
I tried. Put
$x=2\sqrt{2}\cos a \cdot \sin b$, $x=2\sqrt{2}\sin a \cdot \sin b$, $z=3+2\sqrt{2} \cos b.$
But, It's difficult for me to calculate.
It can be $0$.
Indeed, for which should be $$4((x-1)^2+(y-1)^2+(z-1)^2))=(x-4)^2+(y-4)^2+(z-3)^2,$$ where $M(x,y,z)$ or $$3(x^2+y^2+z^2)-2z=29$$ and since $x^2+y^2=8-(z-3)^2,$ we obtain $$3(8-(z-3)^2+z^2)-2z=29$$ or $$z=2,$$ which gives $$x^2+y^2=7.$$ Id est, we got a circle.