Coordinate Rotation in a Cartesian 3-Space

Click For Summary
SUMMARY

The discussion focuses on deriving equations for a new Cartesian coordinate system after rotation in a three-dimensional space. The user transforms Cartesian coordinates (x, y, z) into spherical coordinates (r, p, q) and applies rotations defined by angles p0 and q0. The resulting equations for the new coordinates (x', y', z') still contain sine and cosine terms that depend on the original coordinates, leading to the user's inquiry about achieving a coordinate-independent formulation. The conversation highlights the complexity of using spherical coordinates for general rotations, suggesting that simpler methods may exist.

PREREQUISITES
  • Understanding of Cartesian and spherical coordinate systems
  • Familiarity with trigonometric functions (sine and cosine)
  • Knowledge of rotation matrices in three-dimensional space
  • Basic concepts of the Special Orthogonal Group SO(3)
NEXT STEPS
  • Research rotation matrices for three-dimensional transformations
  • Explore quaternion representations for 3D rotations
  • Study the properties and applications of the Special Orthogonal Group SO(3)
  • Learn about Euler angles and their role in 3D rotations
USEFUL FOR

Mathematicians, physicists, computer graphics developers, and anyone involved in 3D modeling or simulations requiring coordinate transformations and rotations.

ForMyThunder
Messages
149
Reaction score
0
I have been trying to derive a set of equations for a new Cartesian coordinate system after a rotation of an original coordinate system. This is what I did:

1) I transformed the Cartesian coordinates (x,y,z) into spherical coordinates (r,p,q):
x= r cos(q) cos(p)
y= r cos(q) sin(p)
z= r sin (q)

2) The coordinates are to be rotated by angles of p0 and q0 so that:

p'= p-p0
q'= q-q0
r'= r

3) Substitution:

x'= r cos(q-q0) cos (p-p0)
y'= r cos(q-q0) sin (p-p0)
z'= r sin(q-q0)

4) Simplifying and substituting the original values of x, y, and z:

x'= (r cos(q) cos(q0) + r sin(q) sin(q0)) (cos(p) cos(p0) + sin(p) sin(p0))
= r cos(q) cos(q0) cos(p) cos(p0) + r cos(q) cos(q0) sin(p) sin(p0) + r sin(q) sin(q0)cos(p) cos(p0) + r sin(q) sin(q0) sin(p) sin(p0)
= x cos(q0) cos(p0) + y cos(q0) sin(p0) + z sin(p0)cos(p) cos(p0) + z sin(q0) sin(p)
sin(p0)

y'=(r cos(q) cos(q0) + r sin(q) sin(q0)) (sin(p) cos(p0) - cos(p) sin(p0))
=r cos(q) cos(q0) sin(p) cos(p0) - r cos(q) cos(q0) cos(p) sin(p0) + r sin(q) sin(q0)
sin(p) cos(p0) - r sin(q) sin(q0) cos(p) sin(p0)
=y cos(q0) cos(p0) - x cos(q0) sin(p0) + z sin(q0) sin(p) cos(p0) - z sin(q0) cos(p)
sin(p0)

z'= r sin(q) cos(q0) - r cos(q) sin(q0)
= z cos(q0) - r cos(q) sin(q0)

This is as far as I got, but in the equations for x and y, there are still some sin(p)'s and
cos(p)'s left in there which cannot be evaluated without the original coordinates and I want to find a coordinate-independent set of equations so that the same equations can be used for every point in the original coordinate system.

My question is: Is there any way to get rid of these sine's and cosine's? Or do you see anything that I could have done wrong or different?

If you know any simpler equations, please send them to me.

Thanks.
 
Physics news on Phys.org
The spherical coordinates are useful only for the rotation around z-axis. With your notation, that means translation of variable p. For more general rotations, the spherical coordinates are making things only more difficult.

Here's something about rotations in three dimensions: Elements of SO(3)?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
16
Views
3K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K