Show that x2+y2+z2+2x+4y−2z=10
is the equation of a sphere. Find its center and radius.
Solution We begin by writing the equation as (x2+2x)+(y2+4y)+(z2−2z)=10
Completing the square is discussed in Appendix A.1, pp. A-2 to A-3.
and then we complete the square three times. The result is (x2+2x+1)+(y2+4y+4)+(z2−2z+1)=10+1+4+1(x+1)2+(y+2)2+(z−1)2=16
This is the equation of a sphere with radius 4 and center at (−1,−2,1).