Q37P

Question

Question: Find formulas for  r,θ,ϕ in terms of x, y, z (the inverse, in other words, of Eq. 1.62)

Step-by-Step Solution

Verified
Answer

The formula of ris obtained to be equal to r=x2+y2+z2 . The formula for θ is obtained as θ=cos-1zx2+y2+z2 and the value of ϕ is obtained as ϕ=tan-1yx .

1Step 1: Define the spherical coordinates

The spherical coordinates are defined in terms of r,θ,ϕ , where r is the distance from origin, θ is the polar angle and ϕ is the azimuthal angle.

 

The spherical coordinates is drawn as, 

 

 

In the triangle OMP, the angle M is 90° and the length of OP is r . From the figure, it can be written as OM=r sin θ . Also from the figure, we can write as,

 x=r sin θcosϕy=r sin θsinϕr=r cos θ


Substitute r sin θcosϕ for x ,  r sin θsinϕ for y and r cosθ for  into x2+y2+z2 .


x2+y2+z2=(r sinθ)cosθ2+(r sinθ)sinθ2+(r cosθ)2                    =r3sin2θ(cos2ϕ+sin2θ)+(cos2ϕ)                    =r2sin2θ(1)+cos2ϕ                    =r2

Thus, the formula of r is obtained to be equal to r=x2+y2+z2 .




2Step: 2 Obtain the formula θ for ϕ

The formula for z is z=r cosθ  , which can be rearranged as θ=cos-1zr . 

Substitute r=x2+y2+z2  for r  into θ=cos-1zr .

 θ=cos-1zx2+y2+z2

 

Thus formula for θ is obtained as θ=cos-1zx2+y2+z2 .

 

Now, Divide the formula of y=(r sinθ)sinϕ by x=(r sinθ)cosϕ as,

 yx=(r sinθ)sinϕ(r sinθ)cosϕ    = sinϕcosϕ    =tanϕ

  

Therefore, yx=tanϕ  , then value of ϕ can be obtained as,

 yx=tanϕϕ=tan-1yx

Therefore, the value of ϕ is obtained as  ϕ=tan-1yx .