Conversion of a vector from cylindrical to cartesian

Click For Summary

Homework Help Overview

The discussion revolves around converting a cylindrical vector into Cartesian coordinates, specifically the vector $$\vec A = \vec a_r(3*cos(\phi)-\vec a_{\phi}*2r+\vec a_z5$$. Participants are exploring the relationships between the cylindrical and Cartesian coordinate systems.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to derive Cartesian components from a given cylindrical vector and expresses confusion about the conversion process. Some participants discuss the definitions of the unit vectors in cylindrical coordinates and question the assumptions made by the original poster regarding the relationship between the variables.

Discussion Status

Participants are actively engaging with the problem, providing insights into the conversion process and pointing out potential errors in the original poster's assumptions. There is a recognition of the need to clarify the definitions and relationships between the variables involved.

Contextual Notes

Some participants note that the original poster's approach may not be valid for the specific vector form being used, suggesting that the conversion formulas should be referenced for accuracy. There is also mention of the variability of unit vectors in cylindrical coordinates depending on the angle phi.

Armani
Messages
8
Reaction score
0
(mentor note: thread moved from general to here hence no template)

Hi,

I need some help with converting this cylindrical vector: $$\vec A = \vec a_r(3*cos(\phi)-\vec a_{\phi}*2r+\vec a_z5$$ into the cartesian:

I have found these:
where

$$A_x =3cos^2(\phi)+2sin(\phi)*r\\
A_y=3sin(\phi)cos(\phi)-2cos(\phi)*r\\
A_z=5$$

Also
$$x=rcos(\phi)=3*cos(\phi)cos(\phi)=3cos^2(\phi)\\
y=rsin(\phi)=3cos(\phi)sin(\phi)\\
z=5$$

I am a bit stuck after this:
I know that i have to use this formula: $$\phi=tan^{-1}\left(\frac{y}{x}\right)$$ but i am not getting the right solution...
Can someone help?
 
Last edited by a moderator:
Physics news on Phys.org
You also need ## \hat{a_r}=cos(\phi) \hat{i} +\sin(\phi) \hat{j} ## where ## cos(\phi)=x/(x^2+y^2)^{1/2} ## and ## sin(\phi)=y/(x^2+y^2)^{1/2} ##. I let you try to figure out ## \hat{a_{\phi}} ##. Also, do you see that ## r=(x^2+y^2)^{1/2} ##?
 
  • Like
Likes   Reactions: Armani
are those two expressions for ##cos(\phi)## and ##sin(\phi)## already given? Or did you derive them?
And thanks:)
 
Last edited by a moderator:
Armani said:
are those two expressions for ##cos(\phi)## and ##sin(\phi)## already given? Or did you derive them?
And thanks:)
You could probably google them. ##cos(\phi)=x/r ##. ## sin(\phi)=y/r ##. That's how cylindrical coordinates work. Meanwhile, the unit vectors ## \hat{a_r} ## and ## \hat{a_{\phi}} ## are not fixed. They change with ## \phi ##.
 
Last edited by a moderator:
Okay, thanks for your help.
 
Armani said:
(mentor note: thread moved from general to here hence no template)

Hi,

I need some help with converting this cylindrical vector: $$\vec A = \vec a_r(3*cos(\phi)-\vec a_{\phi}*2r+\vec a_z5$$ into the cartesian:

I have found these:
where

$$A_x =3cos^2(\phi)+2sin(\phi)*r\\
A_y=3sin(\phi)cos(\phi)-2cos(\phi)*r\\
A_z=5$$

Also
$$x=rcos(\phi)=3*cos(\phi)cos(\phi)=3cos^2(\phi)\\
y=rsin(\phi)=3cos(\phi)sin(\phi)\\
z=5$$

I am a bit stuck after this:
I know that i have to use this formula: $$\phi=tan^{-1}\left(\frac{y}{x}\right)$$ but i am not getting the right solution...
Can someone help?
If you apply what @Charles Link suggested, you will find that your first attempt was correct. Your 2nd approach only works for a position vector from the origin.
 
Chestermiller said:
If you apply what @Charles Link suggested, you will find that your first attempt was correct. Your 2nd approach only works for a position vector from the origin.
I think @Chestermiller is pointing out an error in the OP's work that I didn't spot on the first reading: the OP assumed the vector ## A ## is of the form ## r \hat{a_r}+...## so that he thought ## r=3 \cos(\phi) ## which is not the case. In any case, converting from cylindrical to Cartesian simply involves using vector formulas that can be googled. Anyone who has good command of trigonometry can derive the necessary vector formulas with very little effort. Otherwise, the simplest way to work a problem like this is to look up the coordinate conversion formulas which are often found in the back cover of E&M textbooks and other math books. No doubt a google of the topic would work equally well.
 
Charles Link said:
I think @Chestermiller is pointing out an error in the OP's work that I didn't spot on the first reading: the OP assumed the vector ## A ## is of the form ## r \hat{a_r}+...## so that he thought ## r=3 \cos(\phi) ## which is not the case. In any case, converting from cylindrical to Cartesian simply involves using vector formulas that can be googled. Anyone who has good command of trigonometry can derive the necessary vector formulas with very little effort. Otherwise, the simplest way to work a problem like this is to look up the coordinate conversion formulas which are often found in the back cover of E&M textbooks and other math books. No doubt a google of the topic would work equally well.
I agree that the method you suggested using the unit vectors will lead to the correct answer, as obtained by the OP with his first method.
 
  • Like
Likes   Reactions: Armani and Charles Link

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
33
Views
5K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K