Spherical Coordinates: Understanding Theta Equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
MattRob
Messages
208
Reaction score
29
So, I was curious about this and found more or less what I was looking for here: http://electron9.phys.utk.edu/vectors/3dcoordinates.htm

Except, something is bothering me about those equations. At the very bottom, the equation for Theta in a spherical coordinate system; shouldn't it be
[itex]\theta = {tan^{-1}}( \frac{\sqrt{{x^{2}}+{y^{2}}}}{z})[/itex]
instead of
[itex]\theta = {tan^{-1}}( \frac{z}{\sqrt{{x^{2}}+{y^{2}}}})[/itex]

(The image in question)
p22.gif


Because [itex]{tan^{-1}}( \frac{opposite}{adjacent}) = \theta[/itex] , and looking at angle [itex]\theta[/itex] , the line opposite of it is exactly equal to [itex]\sqrt{{x^{2}}+{y^{2}}}[/itex] , and the line adjacent to it equal to [itex]z[/itex].

So I'm wondering if I'm in error (and how so if I am) or if the linked page is.
 
Physics news on Phys.org
It appears that page is wrong. You're right, the correct relation is

##\theta = \tan ^{-1}\left( \frac{\sqrt{x^2 +y^2 }}{z}\right)##.

You could also write it as ##\theta = \cos ^{-1} \left(\frac{z}{\sqrt{x^2 +y^2 +z^2 }}\right)##Edit: Darn you, jtBell, you beat me by seconds!
 
Thanks very much for all the replies! Are the equations for the x, y, and z components from a spherical coordinate system correct on that page, though?

And why is the ##\theta = \cos ^{-1} \left(\frac{z}{\sqrt{x^2 +y^2 +z^2 }}\right)## approach more common? The [itex]\theta = {tan^{-1}}( \frac{\sqrt{{x^{2}}+{y^{2}}}}{z})[/itex] one has less terms. Something to do with higher mathematics?