If x=r sinα cosβ,y=r sinα sinβ and z=rcosα, then
x2+y2+z2=r2
x2+y2−z2=r2
x2−y2+z2=r2
Given:
x=r sinα cosβ, y=r sinα sinβ and z=rcosα∴x2+y2+z2=r2sin2αcos2β+r2sin2αsin2β+r2cos2α=r2sin2α (cos2β+sin2β)+r2cos2α=r2sin2α + r2cos2α=r2
⇒x2+y2+z2=r2