Spherical coordinates via a rotation matrix

Click For Summary

Discussion Overview

The discussion revolves around the representation of spherical coordinates using a rotation matrix. Participants explore the differences between a specific method presented in a video and the conventional equations for spherical coordinates, examining the implications of different angle definitions and coordinate systems.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant notes a discrepancy between the spherical coordinates derived from a video and the conventional equations, questioning the validity of the method used.
  • Another participant asserts that the differences arise from arbitrary conventions in defining angles and coordinate axes, emphasizing the importance of consistency in applying these definitions.
  • A participant shares a personal experience of being penalized for using a different angle convention in a physics exam, highlighting the potential confusion caused by varying definitions in different contexts.
  • Some participants suggest that the method can still lead to the conventional spherical coordinates if the angles are renamed and the measurements adjusted accordingly.
  • There is a consensus that the method itself is valid, but the interpretation of the results depends on the definitions used for angles and axes.

Areas of Agreement / Disagreement

Participants generally agree that the method is valid but express differing views on the implications of using different conventions for spherical coordinates. The discussion remains unresolved regarding the best approach to reconcile these differences.

Contextual Notes

Participants note that conventions in spherical coordinates can vary, and the choice of angle definitions can lead to different representations. There is an acknowledgment of the need for consistency when applying these definitions in problems.

Who May Find This Useful

This discussion may be useful for students and practitioners in physics and engineering who encounter varying definitions of spherical coordinates and seek to understand the implications of these conventions in their work.

unicornflyers
Messages
8
Reaction score
0
First, I'd like to say I apologize if my formatting is off! I am trying to figure out how to do all of this on here, so please bear with me!

So I was watching this video on spherical coordinates via a rotation matrix:



and in the end, he gets:

x = \rho * sin(\theta) * sin(\phi)
y = \rho* cos(\theta) * sin(\phi)
z = \rho cos(\theta)

Clearly, this doesn't look like the equations we normally get for spherical coordinates, which are:

x = \rho* cos(\theta) * sin(\phi)
y = \rho * sin(\theta) * sin(\phi)
z = \rho * cos(\theta)

What I don't understand is he says that they are not the same as some of the spherical coordinates as we've seen, but selecting measures is an arbitrary choice. Additionally, most resources I find that get the answer I'm more used to.

However, it seems to me that if someone was using these equations, they would get completely the wrong stuff. So is there a way to get our usual equations using this method? Or what's going on here that makes this ok? I don't see how we should get a completely different result. I really like this method because it makes a lot of sense to me, but I don't like how it gets what I consider a completely wrong result.

From what I can tell, the issue seems to come from the rotation table/matrix from the a to n coordinate frame which is:

R = [cos(\theta), sin(\theta), 0
sin(\theta), cos(\theta), 0
0, 0, 1]

However, I can't seem to think of a way that this is inherently wrong given the geometry, nor how we would get the usual equations from this.

Can someone please help/elaborate/explain this situation to me?
 
Physics news on Phys.org
unicornflyers said:
x = \rho* cos(\theta) * sin(\phi)
y = \rho * sin(\theta) * sin(\phi)
z = \rho * cos(\theta)
This is not the usual spherical coordinates. The correct usual ones are:
## x=\rho \sin\theta \cos\phi \\ y=\rho \sin \theta \sin\phi \\ z=\rho \cos\theta ##
unicornflyers said:
However, it seems to me that if someone was using these equations, they would get completely the wrong stuff.
You don't get the wrong stuff. Its just a convention. Conventions are just arbitrary choices that don't change the results but of course you need to be consistent about them. You can't use one definition of spherical coordinates for some part of the problem and another definition for another part. This is what makes you think this convention gives the wrong stuff. As long as you're consistent, it doesn't matter what definition you use. So you're free to use this definition of spherical coordinates but you need to be careful that anywhere you see spherical coordinates, you should make sure you can make it consistent with this definition you're using.
unicornflyers said:
So is there a way to get our usual equations using this method? Or what's going on here that makes this ok? I don't see how we should get a completely different result. I really like this method because it makes a lot of sense to me, but I don't like how it gets what I consider a completely wrong result.

From what I can tell, the issue seems to come from the rotation table/matrix from the a to n coordinate frame which is:

R = [cos(\theta), sin(\theta), 0
sin(\theta), cos(\theta), 0
0, 0, 1]

However, I can't seem to think of a way that this is inherently wrong given the geometry, nor how we would get the usual equations from this.

Can someone please help/elaborate/explain this situation to me?

There is nothing wrong with his method. And the reason he gets different results than usual is not his method! His method can be used to find out the definition for the usual convention of spherical coordinates too. What makes he get different results, is just the names he assigns to the angles and the axis he chose from which he measures ## \theta ##. Rename ## \phi \to \theta ## and ## \theta \to \phi ## and measure the new named ## \phi ## from the x-axis instead of the y-axis that he uses. Then do the calculations as he explains and you'll get the usual definition of the spherical coordinates.
 
I can share one bad experience. I once had 2 points out of 10 deducted from a physics qualifying exam by solving a problem (correctly) but using the "latitude" angle from the equatorial plane rather than the polar angle downward from the z-axis. It turned out I was returning to graduate school from work in an area where we used an Earth-based coordinate system, so that latitude was more natural. In addition, I had to take the exam in January, after starting in September, without the first year grad courses, so I did not have much chance to see how the physics texts define the angles. (I was placed in 2nd year graduate courses).

By the way, it gets worse. Some rotation matrices use the x-y-x convention for Euler angles, rather than the x-y-z convention or the z-x-z convention. If this does not make sense to you right now, forget about it.

Try to do what your grader expects, but if you differ, you can usually do the problem OK if you are consistent. If you get a different answer from the book, you can usually square your answer with the book if you are consistent.
 
Shyan said:
This is not the usual spherical coordinates. The correct usual ones are:
## x=\rho \sin\theta \cos\phi \\ y=\rho \sin \theta \sin\phi \\ z=\rho \cos\theta ##

You don't get the wrong stuff. Its just a convention. Conventions are just arbitrary choices that don't change the results but of course you need to be consistent about them. You can't use one definition of spherical coordinates for some part of the problem and another definition for another part. This is what makes you think this convention gives the wrong stuff. As long as you're consistent, it doesn't matter what definition you use. So you're free to use this definition of spherical coordinates but you need to be careful that anywhere you see spherical coordinates, you should make sure you can make it consistent with this definition you're using.There is nothing wrong with his method. And the reason he gets different results than usual is not his method! His method can be used to find out the definition for the usual convention of spherical coordinates too. What makes he get different results, is just the names he assigns to the angles and the axis he chose from which he measures ## \theta ##. Rename ## \phi \to \theta ## and ## \theta \to \phi ## and measure the new named ## \phi ## from the x-axis instead of the y-axis that he uses. Then do the calculations as he explains and you'll get the usual definition of the spherical coordinates.
Thank you so much! This explained it clearly! I went back with your suggestions and rederived the equations and got the same result that we would consider the usual definition using his method. I truly appreciate your time!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K