As you can tell from the title, I need to find the equation of the sphere with points $P$ such that $2|PB| = |PA|$. The coordinates for $A$ are $(-2, 4, 4)$ and the coordinates for $B$ are $(6, 3, -1)$. I've been stuck on this for two hours and can't seem to figure it out. I got as far as $x^2 + y^2 + z^2 - \frac{52}{3}x - \frac{16}{3}y+\frac{16}{3}z + \frac{148}{3} = 0$ but apparently this is wrong.
Thanks

Let an arbitrary point, P be (x,y,z). We have $A(-2,4,4)$ and $B(6, 3, -1)$ From the question, we know |PA| = 2|PB|. Therefore, $$ \sqrt{(x - (-2))^2 + (y-4)^2 + (z-4)^2} = 2\sqrt{(x - 6)^2 + (y-3)^2 + (z-(-1))^2}$$ $$(x +2)^2 + (y-4)^2 + (z-4)^2 = 4((x - 6)^2 + (y-3)^2 + (z+1)^2)$$ Using algebra, $$x^2+4x+4+y^2-8y+16+z^2-8z+16= 4(x^2-12x+36+y^2-6y+9+z^2+2z+1)$$ $$x^2+4x+4+y^2-8y+16+z^2-8z+16= 4x^2-48x+144+4y^2-24y+36+4z^2+8z+4$$ $$-3x^2+52x-140-3y^2+16y-20-3z^2-16z+12=0$$ $$x^2+y^2+z^2-(52/3)x-(16/3)y+(16/3)z+148/3=0$$ which is the form you were looking for. I am assuming there was some error somewhere in your calculations.