Register to reply

How to rotate Cartesian coordinate system?

Share this thread:
leoleo2
#1
Jul30-13, 12:36 PM
P: 5
Hello,
I would like to rotate the Cartesian coordinate system ( i=(1,0,0); j=(0,1,0); k=(0,0,1) ) so that angles between new and the old axes be equal to α, β and γ, respectively. Is any simple way similar to the Euler transformations to accomplish that?
Phys.Org News Partner Mathematics news on Phys.org
Heat distributions help researchers to understand curved space
Professor quantifies how 'one thing leads to another'
Team announces construction of a formal computer-verified proof of the Kepler conjecture
Mandelbroth
#2
Jul30-13, 01:47 PM
Mandelbroth's Avatar
P: 615
Quote Quote by leoleo2 View Post
Hello,
I would like to rotate the Cartesian coordinate system ( i=(1,0,0); j=(0,1,0); k=(0,0,1) ) so that angles between new and the old axes be equal to α, β and γ, respectively. Is any simple way similar to the Euler transformations to accomplish that?
This link should be very helpful for you.
leoleo2
#3
Jul30-13, 03:58 PM
P: 5
Quote Quote by Mandelbroth View Post
This link should be very helpful for you.
Wikipedia really? :)) It's not even close to helpful. :)

Mandelbroth
#4
Jul30-13, 04:06 PM
Mandelbroth's Avatar
P: 615
How to rotate Cartesian coordinate system?

Quote Quote by leoleo2 View Post
Wikipedia really? :)) It's not even close to helpful. :)
Mathematics pages on Wikipedia are almost religiously checked for accuracy because math people are strict in their pursuit of accuracy. We're crazy like that. If you doubt me, try messing up a formula on a random math page and watch it get fixed, unless it's an arguably correct change, within an hour.

It's very helpful. Wikipedia is always the first place I start looking when I have a question.

If you don't like Wikipedia, though, there's always this alternative.
leoleo2
#5
Jul30-13, 04:38 PM
P: 5
Quote Quote by Mandelbroth View Post
Mathematics pages on Wikipedia are almost religiously checked for accuracy because math people are strict in their pursuit of accuracy. We're crazy like that. If you doubt me, try messing up a formula on a random math page and watch it get fixed, unless it's an arguably correct change, within an hour.

It's very helpful. Wikipedia is always the first place I start looking when I have a question.

If you don't like Wikipedia, though, there's always this alternative.
OK. I believe you that Wikipedia generally is helpful and I use it too. But I can not find any specific idea on Wikipedia for my specific problem.
hilbert2
#6
Jul30-13, 04:55 PM
P: 327
You're basically looking for a matrix A such that the vectors Ai, Aj and Ak form a basis for 3D space and are in angles α, β and γ relative to the vectors i, j and k.

You can form a system of equations from which you can solve the elements of matrix A by requiring that:

1. A must be an orthogonal matrix, i.e. vectors Ai, Aj and Ak form an orthonormal set, too, when i, j and k do.

2. The dot products are [itex] {\bf i} \cdot(A {\bf i} )=cos(\alpha)[/itex], [itex] {\bf j} \cdot(A {\bf j} )=cos(\beta)[/itex], [itex] {\bf k} \cdot(A {\bf k} )=cos(\gamma)[/itex]

These conditions are enough to determine the matrix elements.
SteamKing
#7
Jul30-13, 05:00 PM
Emeritus
Sci Advisor
HW Helper
Thanks
PF Gold
P: 6,546
Don't give up. I think this fits your bill: http://inside.mines.edu/~gmurray/ArbitraryAxisRotation/
leoleo2
#8
Jul30-13, 06:06 PM
P: 5
Quote Quote by hilbert2 View Post
You're basically looking for a matrix A such that the vectors Ai, Aj and Ak form a basis for 3D space and are in angles α, β and γ relative to the vectors i, j and k.

You can form a system of equations from which you can solve the elements of matrix A by requiring that:

1. A must be an orthogonal matrix, i.e. vectors Ai, Aj and Ak form an orthonormal set, too, when i, j and k do.

2. The dot products are [itex] {\bf i} \cdot(A {\bf i} )=cos(\alpha)[/itex], [itex] {\bf j} \cdot(A {\bf j} )=cos(\beta)[/itex], [itex] {\bf k} \cdot(A {\bf k} )=cos(\gamma)[/itex]

These conditions are enough to determine the matrix elements.
Thank you very much for you reply. You stated the problem more clearly than I did.

From the initial conditions (2.) I can define immediately three components of new basis vectors ([itex] A{\bf i}_x = acos(\alpha)[/itex], [itex] A{\bf j}_y = acos(\beta)[/itex], [itex] A{\bf k}_z = acos(\gamma)[/itex]).
For the rest of components I can write the orthogonality (using scalar or/and vector products) and the normalization conditions for new basis vectors. However, this gives system of six quadratic equations with six unknowns which is quite ugly to solve generally. Bedsides that, I would get 8 or 16 different solutions of that system and I doubt existence of more than two solutions for the original problem.
leoleo2
#9
Jul30-13, 06:11 PM
P: 5
Quote Quote by SteamKing View Post
Don't give up. I think this fits your bill: http://inside.mines.edu/~gmurray/ArbitraryAxisRotation/
Thank you very much!
The page looks interesting but it's not clear for me how to correlate the Rotation About an Arbitrary Axis to my problem.
sridhar
#10
Nov17-13, 01:21 PM
P: 19
Could someone help me figure out how to rotate a coordinate system about the z-axis such that the the line y = mx + c coincides with the x-axis?
Shouldn't a simple projection of all the coordinates i.e xj = xicos(theta), yj =yicos(theta) and zj = zj cos(theta) work?


Register to reply

Related Discussions
A cylinder rotating in Cartesian coordinate system Introductory Physics Homework 6
Defining geometry within a cartesian coordinate system General Math 10
Rotation of cartesian coordinate system Introductory Physics Homework 5
Need help rotating a parabola on cartesian coordinate system General Math 4
Combination of cartesian and cylindrical coordinate system General Physics 0