Thread Closed

Transform a vector from Cartesian to Cylindrical coordinates

 
Share Thread Thread Tools
Sep4-08, 11:30 PM   #1
 
Arrow

Transform a vector from Cartesian to Cylindrical coordinates


1. The problem statement, all variables and given/known data

Transform the vector below from Cartesian to Cylindrical coordinates:

[tex]Q\,=\,\frac{\sqrt{x^2\,+\,y^2}}{\sqrt{x^2\,+\,y^2\,+\,z^2}}\,\hat{x}\,-\,\frac{y\,z}{x^2\,+\,y^2\,+\,z^2}\,\hat{z}[/tex]



2. Relevant equations

Use these equations:

[tex]A_{\rho}\,=\,\hat{\rho}\,\cdot\,\overrightarrow{A}\,=\,A_x\,cos\,\phi\, +\,A_y\,sin\,\phi[/tex]

[tex]A_{\phi}\,=\,\hat{\phi}\,\cdot\,\overrightarrow{A}\,=\,-A_x\,sin\,\phi\,+\,A_y\,cos\,\phi[/tex]

[tex]A_z\,=\,A_z[/tex]

[tex]x\,=\,\rho\,cos\,\phi[/tex]

[tex]y\,=\,\rho\,sin\,\phi[/tex]



3. The attempt at a solution

[tex]Q_{\rho}\,=\,\frac{\sqrt{\left(\rho\,cos\,\phi\right)^2\,+\,\left(\rho\ ,\sin\,\phi\right)^2}}{\sqrt{\left(\rho\,cos\,\phi\right)^2\,+\,\left(\ rho\,\sin\,\phi\right)^2\,+\,z^2}}\,cos\,\phi[/tex]

[tex]Q_{\rho}\,=\,\frac{\rho}{\sqrt{\rho^2\,+\,z^2}}\,cos\,\phi[/tex]

[tex]Q_{\phi}\,=\,-\,\frac{\rho}{\sqrt{\rho^2\,+\,z^2}}\,sin\,\phi[/tex]

[tex]Q_z\,=\,-\,\frac{z\,\rho\,sin\,\phi}{\rho^2\,+\,z^2}[/tex]




Does the above look correct?
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Front-row seats to climate change
>> Attacking MRSA with metals from antibacterial clays
>> New formula invented for microscope viewing, substitutes for federally controlled drug
Sep5-08, 04:00 AM   #2
 
Blog Entries: 27
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Hi VinnyCee!
Quote by VinnyCee View Post
[tex]A_{\rho}\,=\,\hat{\rho}\,\cdot\,\overrightarrow{A}\,=\,A_x\,cos\,\phi\, +\,A_y\,sin\,\phi[/tex]

[tex]A_{\phi}\,=\,\hat{\phi}\,\cdot\,\overrightarrow{A}\,=\,-A_x\,sin\,\phi\,+\,A_y\,cos\,\phi[/tex]
No … these are the equations for an ordinary rotation of the x and y axes through an angle phi.
[tex]Q_{\rho}\,=\,\frac{\rho}{\sqrt{\rho^2\,+\,z^2}}\,cos\,\phi[/tex]

[tex]Q_{\phi}\,=\,-\,\frac{\rho}{\sqrt{\rho^2\,+\,z^2}}\,sin\,\phi[/tex]
hmm … you want polar coordinates of a vector along the x-axis … so what will its phi coordinate be?
 
Sep5-08, 10:43 AM   #3
 
Really? The equations for transforming from Cartesian to Cylindrical were given in the notes for the class in a matrix form and then solved out to a formula, the one below.

Here is a more detailed version for the [itex]\rho[/itex] coordinate transformation only:

[tex]A_{\rho}\,=\,\hat{\rho}\,\cdot\,\overrightarrow{A} \,=\,\left(\hat{\rho}\,\cdot\,\hat{x}\right)\,A_x\,+\,\left(\hat{\rho}\ ,\cdot\,\hat{y}\right)\,A_y\,+\,\left(\hat{\rho}\,\cdot\,\hat{z}\right) \,A_z\,=\,A_x\,cos\,\phi\,+\,A_y\,sin\,\phi[/tex]

Is that incorrect? If so, what is the correct way to transform from Cartesian to Cylindrical?


I think the [itex]\phi[/itex] coordinate would be zero in this case since there is no y-component, right?
 
Sep5-08, 10:55 AM   #4
 
Mentor
Blog Entries: 10

Transform a vector from Cartesian to Cylindrical coordinates


Quote by VinnyCee View Post
[tex]A_{\rho}\,=\,\hat{\rho}\,\cdot\,\overrightarrow{A}\,=\,A_x\,cos\,\phi\, +\,A_y\,sin\,\phi[/tex]

[tex]x\,=\,\rho\,cos\,\phi[/tex]

[tex]y\,=\,\rho\,sin\,\phi[/tex]



3. The attempt at a solution

[tex]Q_{\rho}\,=\,\frac{\sqrt{\left(\rho\,cos\,\phi\right)^2\,+\,\left(\rho\ ,\sin\,\phi\right)^2}}{\sqrt{\left(\rho\,cos\,\phi\right)^2\,+\,\left(\ rho\,\sin\,\phi\right)^2\,+\,z^2}}\,cos\,\phi[/tex]

Here you've included the Ax cos(phi) term, but forgot the Ay sin(phi) term
 
Sep5-08, 11:05 AM   #5
 
[itex]A_y[/itex] is zero, so it need not be included, right?
 
Sep5-08, 12:13 PM   #6
 
Mentor
Blog Entries: 10
Oops, I was confusing Ay and Az. My bad.

Your results from post #1 look okay to me. My understanding is the dot product of the vector Q with the coordinate unit-vector is the component of Q in that coordinate direction, which is exactly what you did.

On the other hand I'm hesitant to disagree with tiny-tim, since he knows this stuff pretty well also.
 
Sep5-08, 12:44 PM   #7
 
Blog Entries: 27
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by VinnyCee View Post
[itex]A_y[/itex] is zero
That's right! for x > 0 and y = 0, phi must be zero.
, so it need not be included, right?
No!

A three-dimensional vector needs three coordinates …

if one coordinate is 0, you have to say so!
Quote by VinnyCee View Post
Here is a more detailed version for the [itex]\rho[/itex] coordinate transformation only:

[tex]A_{\rho}\,=\,\hat{\rho}\,\cdot\,\overrightarrow{A} \,=\,\left(\hat{\rho}\,\cdot\,\hat{x}\right)\,A_x\,+\,\left(\hat{\rho}\ ,\cdot\,\hat{y}\right)\,A_y\,+\,\left(\hat{\rho}\,\cdot\,\hat{z}\right) \,A_z\,=\,A_x\,cos\,\phi\,+\,A_y\,sin\,\phi[/tex]

Is that incorrect?
No, that is correct … the other one is wrong.
 
Sep5-08, 12:54 PM   #8
 
Mentor
Blog Entries: 10
Isn't that the same expression as in post #1 for Aρ ?
 
Sep5-08, 01:12 PM   #9
 
Blog Entries: 27
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by Redbelly98 View Post
Isn't that the same expression as in post #1 for Aρ ?
ah … I meant the phi-coordinate [tex]A_{\phi}\,=\,\hat{\phi}\,\cdot\,\overrightarrow{A}\,=\,-A_x\,sin\,\phi\,+\,A_y\,cos\,\phi[/tex] is wrong.
 
Sep5-08, 01:29 PM   #10
 
Mentor
Blog Entries: 10
Um, if we use the convention that φ's unit vector points counterclockwise, and φ is taken counterclockwise from the positive x-axis, then I agree with VinnyCee's formula.
 
Sep5-08, 05:23 PM   #11
 
So, does that mean that the original post contains the correct answer? Or is the [itex]Q_{\phi}[/itex] variable still going to be zero even though the formulas given produce the expression I wrote in the first post?

The expression written from a matrix in class is:

[tex]A_{\phi}\,=\,\hat{\phi}\,\cdot\,\overrightarrow{A} \,=\,\left(\hat{\phi}\,\cdot\,\hat{x}\right)\,A_x\,+\,\left(\hat{\phi}\ ,\cdot\,\hat{y}\right)\,A_y\,+\,\left(\hat{\phi}\,\cdot\,\hat{z}\right) \,A_z\,=\,-A_x\,sin\,\phi\,+\,A_y\,cos\,\phi[/tex]

Since...

[tex]\hat{x}\,\cdot\,\hat{\phi}\,=\,-\,sin\,\phi[/tex]

[tex]\hat{y}\,\cdot\,\hat{\phi}\,=\,cos\,\phi[/tex]

[tex]\hat{z}\,\cdot\,\hat{\phi}\,=\,0[/tex]

Right?
 
Sep6-08, 07:01 AM   #12
 
Blog Entries: 27
Recognitions:
Gold Membership Gold Member
Homework Helper Homework Help
Science Advisor Science Advisor
Quote by Redbelly98 View Post
Um, if we use the convention that φ's unit vector points counterclockwise, and φ is taken counterclockwise from the positive x-axis, then I agree with VinnyCee's formula.
Quote by VinnyCee View Post
So, does that mean that the original post contains the correct answer?
Hi VinnyCee and Redbelly98!

Yes, I completely mis-read the original question.

Your original answer was totally right.

Please ignore my previous posts.

Sorry.
 
Thread Closed
Thread Tools


Similar Threads for: Transform a vector from Cartesian to Cylindrical coordinates
Thread Forum Replies
Vector addition in cylindrical coordinates Calculus 3
Vector addition in cylindrical coordinates Differential Geometry 2
Conversion from Cartesian to Cylindrical Coordinates Calculus & Beyond Homework 14
Vector question: dot product in cylindrical coordinates Introductory Physics Homework 2
vector in cylindrical polar coordinates Introductory Physics Homework 1