I am not sure how to proceed with this question from Stewart's SV Calculus text:
Find equations of the sphere's with center $(2, -3, 6)$ that touch (a) the $xy$-plane, (b) the $yz$-plane, (c) the $xz$-plane.
I know that the equation for a sphere should look like this: $(x - 2)^2 + (y + 3)^2 + (z - 6)^2 = r^2$
But I am not sure how to solve for $r^2$ to satisfy each of the above requirements. I noticed that the book's answers for $r^2$ are 36, 4, and 9 for $xy, yz$ and $xz$ (respectively). It appears that, to find the radius for each plane, I should just calculate the square of the axis that doesn't appear in the given plane. Is this really all there is to it? Can someone give me a more thorough explanation as to why this is the case?