The distance between two points \((x_1,y_1,z_1)\) and \((x_2,y_2,z_2)\) is given by $$ \sqrt{(x_1 - x_2)^2 + (y_1-y_2)^2 + (z_1-z_2)^2}. $$
Subtracting \(x^2 + y^2 + z^2\) from \((x-3)^2 + y^2 + z^2 = 4\) gives us the equation $$ (x-3)^2 - x^2 = 3. $$ This reduces to \(-6x + 9 = 3\) and this has one solution namely \(x = 1\). When \(x = 1\) and \(x^2 + y^2 + z^2 = 1\) we have \(y = 0\) and \(z = 0\). Similarly when \(x = 1\) and \((x-3)^2 + y^2 + z^2 = 4\) we also get \(y = 0\) and \(z = 0\). So the only common solution to the two equations \(x^2 + y^2 + z^2\) and \((x-3)^2 + y^2 + z^2 = 4\) is \((1,0,0)\). These two spheres, and their point of intersection, are pictured below:
The purple sphere is the set of solutions to \(x^2 + y^2 + z^2 = 1\) while the green sphere is the set of solutions to \((x-3)^2 + y^2 + z^2 = 4\). The point of intersection lies on the \(x\)-axis and is \((1,0,0)\).
Subtracting the equation \(x^2 + y^2 + z^2 = 1\) from \(x^2 + y^2 + \left(z - \frac{3}{2}\right)^2 = 1\) gives $$ -3z + \frac{9}{4} = 0. $$ So \(z = \frac{3}{4}\). When \(z = \frac{3}{4}\) both equations, \(x^2 + y^2 + z^2 = 1\) and \(x^2 + y^2 + \left(z - \frac{3}{2}\right)^2 = 1\) simplify to $$ x^2 + y^2 = \frac{7}{16}. $$ So the intersection of these two spheres is the circle \(x^2 + y^2 = \frac{7}{16}\) contained in the plane where \(z = \frac{3}{4}\). This is pictured below:
Below, the purple sphere has been removed from the picture in order to see more clearly where the two spheres meet (the shaded circle on the green sphere).
Commentary
This question examines the algebraic equations for three different spheres. The intersections of each pair of spheres are then studied, both using the equations and thinking about the geometry of the spheres. For two spheres where one is not contained inside of the other there are three possibilities for how they intersect:
Teachers should stress two different approaches to this problem: a visual approach and an algebraic approach. The equations for these spheres have been chosen in such a fashion as to make solving the pairs of equations algebraically feasible but the intuition behind the algebra would be greatly aided and assisted by having a geometric picture in mind.
Although only a couple of examples are considered here, it is not too hard to extrapolate from here to deal with equations of general spheres. By choosing coordinates appropriately one of the spheres may be centered at the origin \((0,0,0)\) and the other , for example, on the \(z\) axis so with center \((0,0,c)\) for some positive real number \(c\). In this case the equations are very similar to the ones solved in part (c) of this problem.
The results of this task are used in ''Global Positioning System II'' to examine how GPS systems function.