# Distance in 3D

## Homework Statement

If distance |AB| = root 83, and i also know that |PA| is twice |PB|, then how do you find? |PA| or |PB| ?

The whole question states: consider the points P such that the distance from P to A (-1,5,3) is twice the distance from P to B (6,2,-2).
Show that the set of all such points is a sphere, and find its center and radius.

## The Attempt at a Solution

Do you know the distance formula? Let P be the general point (x,y,z). Then the distance from P to (-1, 5, 3) is $\sqrt{(x+1)^2+ (y-5)^2+ (z-3)^2}$ and the distance from P to (6, 2, -2) is $\sqrt{(x- 6)^2+ (y-2)^2+ (z+2)^3}$. Those are the |PA| and |PB| rock.freak667 is talking about. Put them into the equation he gives and simplify (I would square both sides).